The application embodiment discloses an application startup method, a device, a storage medium and a terminal. This method includes: determining the application to be preloaded when the application preload event is triggered; preloading the startup resources corresponding to the application to be preloaded; and receiving the startup instructions of the target application contained in the application to be preloaded, according to the latest network number corresponding to the target application. According to the pre-loaded startup resources corresponding to the target application, the target application is started. The startup resources corresponding to the target application contain the dynamically updated network data on the network side. By adopting the above-mentioned technical scheme, the embodiment of the present application can improve the application start-up speed, at the same time, ensure that the network data in the corresponding start-up resources can be updated in real-time on the network side of the application, and the timeliness of the start-up content at the terminal side can be guaranteed.
【技术实现步骤摘要】
应用程序启动方法、装置、存储介质及终端
本申请实施例涉及应用程序预加载
,尤其涉及应用程序启动方法、装置、存储介质及终端。
技术介绍
目前,随着智能终端技术的快速发展,诸如智能手机、平板电脑以及智能电视等智能设备已成为人们生活中必不可少的电子设备。智能终端上可以安装有各种各样的应用程序(ApplicationSoftware,APP),以满足用户不同的需求。而随着应用程序的功能日益丰富,应用程序运行时所需加载的资源也越来越多。当用户选择启动一个应用程序时,终端会对该应用程序启动所需的资源进行加载,待加载完毕后,进入应用程序的初始界面,整个过程通常要花费数秒甚至十几秒的时间,导致应用程序的启动效率较低,亟需改进。
技术实现思路
本申请实施例提供应用程序启动方法、装置、存储介质及终端,可以优化终端中应用程序的预加载方案。第一方面,本申请实施例提供了一种应用程序启动方法,包括:检测到应用预加载事件被触发时,确定待预加载应用程序;对所述待预加载应用程序对应的启动资源进行预加载;在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,根据所述目标应用程序对应的最新网络数据及所述目标应用程序对应的已预加载的启动资源,启动所述目标应用程序,其中,所述目标应用程序对应的启动资源中包含在网络侧动态更新的网络数据。第二方面,本申请实施例提供了一种应用程序启动装置,包括:应用确定模块,用于检测到应用预加载事件被触发时,确定待预加载应用程序;应用预加载模块,用于对所述待预加载应用程序对应的启动资源进行预加载;应用启动模块,用于在接收到所述待预加载应用程序中包含的目标应用程 ...
【技术保护点】
1.一种应用程序启动方法,其特征在于,包括:检测到应用预加载事件被触发时,确定待预加载应用程序;对所述待预加载应用程序对应的启动资源进行预加载;在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,根据所述目标应用程序对应的最新网络数据及所述目标应用程序对应的已预加载的启动资源,启动所述目标应用程序,其中,所述目标应用程序对应的启动资源中包含在网络侧动态更新的网络数据。
【技术特征摘要】
1.一种应用程序启动方法,其特征在于,包括:检测到应用预加载事件被触发时,确定待预加载应用程序;对所述待预加载应用程序对应的启动资源进行预加载;在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,根据所述目标应用程序对应的最新网络数据及所述目标应用程序对应的已预加载的启动资源,启动所述目标应用程序,其中,所述目标应用程序对应的启动资源中包含在网络侧动态更新的网络数据。2.根据权利要求1所述的方法,其特征在于,在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,根据所述目标应用程序对应的最新网络数据及所述目标应用程序对应的已预加载的启动资源,启动所述目标应用程序,包括:在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,获取所述目标应用程序对应的最新网络数据;基于所述目标应用程序对应的已预加载的启动资源及所述目标应用程序对应的最新网络数据,启动所述目标应用程序。3.根据权利要求1所述的方法,其特征在于,在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,根据所述目标应用程序对应的最新网络数据及所述目标应用程序对应的已预加载的启动资源,启动所述目标应用程序,包括:当所述待预加载应用程序中包含预设类型应用程序时,获取所述预设类型应用程序对应的最新网络数据;其中,所述预设类型应用程序对应的启动资源中包含在网络侧动态更新的网络数据;基于所述预设类型应用程序对应的最新网络数据更新所述预设类型应用程序对应的已预加载的启动资源;在接收到所述待预加载应用程序中包含的目标应用程序的启动指令时,根据所述目标应用程序对应的已预加载的更新后的启动资源,启动所述目标应用程序;其中,所述目标应用程序属于预设类型应用程序。4.根据权利要求3所述的方法,其特征在于,当所述待预加载应用程序中包含预设类型应用程序时,获取所述预设类型应用程序对应的最新网络数据,包...
【专利技术属性】
技术研发人员:黄粟,
申请(专利权)人:OPPO广东移动通信有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。