WO2020206691A1 - Application processing method and apparatus, storage medium, and electronic device - Google Patents
Application processing method and apparatus, storage medium, and electronic device Download PDFInfo
- Publication number
- WO2020206691A1 WO2020206691A1 PCT/CN2019/082506 CN2019082506W WO2020206691A1 WO 2020206691 A1 WO2020206691 A1 WO 2020206691A1 CN 2019082506 W CN2019082506 W CN 2019082506W WO 2020206691 A1 WO2020206691 A1 WO 2020206691A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- page
- data
- module
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Definitions
- This application belongs to the technical field of electronic equipment, and in particular relates to an application processing method, device, storage medium, and electronic equipment.
- terminals have gradually evolved from simply providing call equipment to a platform for general software operation.
- the platform no longer provides call management as its main purpose, but provides an operating environment including call management, game entertainment, office notes, mobile payment and other application software.
- call management As a large number of popularization, it has penetrated into people's All aspects of life and work.
- a variety of applications can be installed on smart phones for users to use.
- applications such as camera applications, game applications, map applications, etc.
- the functions of applications become more and more powerful, the corresponding storage space occupied by each application is also increasing, which is likely to affect the normal operation of the smartphone system.
- you can currently set it on the browser The designated entrance of the application, when the user's trigger operation on the designated entrance is detected, the browser can display the application page.
- This application provides an application processing method, device, storage medium, and electronic equipment, which can save the storage space of the electronic equipment.
- an application processing method including:
- an embodiment of the present application provides an application processing device, including: a first acquisition module, a first judgment module, a deletion module, and a creation module;
- the first obtaining module is configured to obtain the first frequency of use of the target application within a preset time period after the electronic device freezes the target application;
- the first judgment module is configured to judge whether the first use frequency is less than a preset frequency
- the deletion module is configured to save the application data and the application icon of the application program and delete the application program when the first judgment module determines that it is yes;
- the creation module is configured to receive an instruction to restart the application program, and create an application page according to the instruction and application data.
- an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above-mentioned application processing method.
- an embodiment of the present application provides an electronic device, including a processor and a memory, the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
- Fig. 1 is a schematic diagram of an implementation environment of an application processing method provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of a method for processing an application program provided by an embodiment of the application.
- FIG. 3 is a schematic diagram of another flow of an application processing method provided by an embodiment of the application.
- FIG. 4 is a schematic structural diagram of an application processing apparatus provided by an embodiment of the application.
- FIG. 5 is a schematic diagram of another structure of an application processing apparatus provided by an embodiment of the application.
- FIG. 6 is a schematic diagram of another structure of an application processing apparatus provided by an embodiment of the application.
- FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
- FIG. 8 is a schematic diagram of another structure of an electronic device provided by an embodiment of the application.
- an electronic device can run multiple application programs, and the electronic device can prioritize these application programs according to the standby grouping function, so that the scheduling of these application programs calling device resources such as CPU or network is different.
- the priority level of applications in this way is fixed, there is no order for applications at the same level, and the device resource scheduling method is not smart and accurate.
- the embodiment of the application provides an application processing method, and the execution subject of the application processing method may be the application processing device provided in the embodiment of the application, or an electronic device integrated with the application processing device, where The processing device of the application program can be implemented in hardware or software.
- the embodiments of the present application will be described from the perspective of a processing device of an application program, and the processing device of the application program may be specifically integrated in an electronic device.
- the processing method of the application program includes: after the electronic device freezes the target application program, obtaining the first frequency of use of the target application program within a preset time period;
- the method further includes:
- reinstalling the application program includes:
- the application program is installed according to the installation file and the application data.
- the step of receiving an instruction to restart the application program includes:
- creating an application page according to the instruction and application data includes:
- An application page is generated according to the configuration file and the application data, and the application page is displayed.
- the configuration file includes global configuration information describing the application page
- generating an application page based on the configuration file and the application data and displaying the application page includes:
- An application page is generated according to the native page and the user data, and the application page is displayed.
- the method before saving the application data and application icons of the application and deleting the application, the method further includes:
- FIG. 1 is a schematic diagram of an implementation environment of an application processing method provided by an embodiment of the present application.
- the implementation environment includes a smart phone 10, a communication network 20 and a server 30.
- the operating system of the smart phone 10 may be an Android system, a Blackberry system, an Apple system, etc.
- the smartphone 10 and the server 30 are connected through a communication network 20.
- the communication network 20 includes a wireless network and a wired network.
- the wireless network includes one or a combination of wireless wide area networks, wireless local area networks, wireless metropolitan area networks, and wireless personal networks.
- the server 30 stores an application configuration file, and the configuration file contains data required to run the application.
- the smart phone 10 can obtain the configuration file of the application from the server 30, generate and display the page of the application page according to the configuration file.
- the application page is an application that can be used without downloading and installing. It implements the application The dream of "at your fingertips", users can open applications by scanning or searching. It is an application software that uses a web browser to operate on the Internet or corporate intranet. It is a web language (such as HTML, JavaScript, Applications written in Java and other programming languages need to be executed through a browser.
- the existing "Quick Application” installation package and the cached data generated during runtime are all stored in the server of the open platform, which does not need to be installed and run on the user device, thereby saving the memory of the user device as much as possible
- the user equipment can communicate with the manufacturer’s server of the application page through the application interface in the open platform to achieve access to the application page.
- the server of the open platform acts as a proxy server.
- the page corresponds to an application interface. In this way, the operation of the application is realized without installing the application program, and the data required for the operation of the application can be obtained from the server 30 immediately.
- the server 30 may also update the configuration file of the application, so as to provide the smart phone 10 with the updated configuration file.
- the server 30 may also store the installation file of the application, and the smartphone 10 may also obtain the installation file of the application from the server 30 and run the application completely by installing the installation file. For example, after a user uses a certain application page, the native application of the application can be further installed. It is easy to think that the server 30 may also update the installation file of the application, so as to provide the smart phone 10 with the updated installation file.
- the device may be specifically integrated in an electronic device, which may be an electronic device such as a mobile interconnection network device (such as a smart phone or a tablet computer).
- a mobile interconnection network device such as a smart phone or a tablet computer.
- FIG. 2 is a schematic flowchart of an application processing method provided by an embodiment of this application.
- the application processing method provided in the embodiment of the present application is applied to an electronic device, and the specific process may be as follows:
- Step 101 After the electronic device freezes the target application, obtain the first use frequency of the target application within a preset time period.
- this application is for an application that is frozen by an electronic device. Specifically, it can be determined whether the currently running application in the electronic device meets the freezing condition.
- the application may be a background application, and the freezing condition It can be set by the user.
- the freezing condition for the application is set in the setting page of the electronic device, and the application is frozen when it is met.
- isolate the system resources occupied by the application isolate the application in the system framework, and send a freeze signal to the process group of the application.
- the purpose of freezing the application is to prevent the application placed in the background from continuing to occupy system resources. Therefore, it is necessary to isolate the system resources occupied by the application.
- System resources include resources that cannot be released when the application is frozen, such as wake lock resources, GPS Resources, sensor resources, etc.
- isolation refers to releasing the system resources occupied by the application program, or disconnecting the application program from the system resource.
- the first frequency of use of the application program in a preset time period is acquired, and the preset time period may be one week.
- the above-mentioned first frequency of use may be calculated according to the number of startups of the application, such as acquiring the number of startups of the application within a preset time period, and then acquiring the total number of startups of all applications in the electronic device, and then Calculate the first frequency of use of the application within the preset time period according to the number of activations and the total number of activations.
- the above-mentioned number of times of starting the application program may include the number of times of starting according to a user instruction (user click), the number of self-starting times of the electronic device, and the number of times of associated starting of other applications.
- the frequency of use can also be calculated according to the running time of the application. For example, the running time of the application in a preset time period is obtained, and then the application is calculated at the preset time according to the running time and the preset time period. The first frequency of use within the segment.
- the running time may include the foreground running time and the background running time of the application program.
- Step 102 Determine whether the first frequency of use is less than the preset frequency, and if so, perform step 103.
- a judgment standard needs to be set. For the user, if the application program is used less frequently or never used in a week or more, it proves that the application program is not necessary. To delete the application, it is necessary to set the frequency judgment standard, that is, to set a preset frequency.
- the preset frequency can be automatically set by the electronic device system or can be set according to user needs. This application does not further limit this.
- Step 103 Save the application data and application icon of the application, and delete the application.
- the installation file of the application can be deleted by silent uninstallation.
- silent uninstallation is adopted, without the user's confirmation, which reduces the process of interacting with the user, makes it more convenient to use, and has a better user experience.
- the application data of the application may be saved, and the application data may include data generated during the user's use of the application and stored in the electronic device. It can include user cache data, cookies (user identity data), historical record data, and so on. And because each user operates differently in the process of using the application, the application data is also different. Among them, the application data is generally stored in a specific folder. The storage path of the user usage data can be determined, and the data folder of the corresponding application data can be found through the storage path of the user usage data, and then the data folder in the folder can be found. The file is saved.
- the embodiment of the present application can delete the installation file of an application program with low frequency of use, thereby saving the storage space of the electronic device, before deleting the installation file of the application program, the current remaining storage of the electronic device can also be obtained Space, and determine whether to delete the installation file of the application according to the remaining storage space. That is, before saving the application data of the application program and deleting the installation file of the application program, the method further includes:
- Step 104 Receive an instruction to restart the application program, and create an application page according to the instruction and application data.
- the above application data may include user data and application icons of the application.
- the icon of the application After deleting the installation file of the application, the icon of the application is retained on the human-computer interaction interface of the electronic device, but the icon is marked as a program Deleted status. After deleting an application, keep the icon of the application and mark it as deleted. For example, use a gray icon.
- the user can directly determine the current state of the application through the interactive interface.
- you can directly click the icon of the application to directly create and display an application page based on the application data, which is more convenient to use. That is, the step of restarting the application program includes:
- the application processing method can obtain the first usage frequency of the application within a preset time period when the electronic device freezes the application, and determine whether the first usage frequency is less than the preset Frequency. If yes, save the application data of the application and delete the installation file of the application.
- an application page is created and displayed based on the application data.
- a frozen application is uninstalled according to its frequency of use while retaining the application data, and when the user opens it again after uninstallation, an application page of the application is created based on the application data.
- the storage space of the electronic device can be saved, and the usage efficiency of the application page can be improved.
- FIG. 3 is another flowchart of the application processing method provided by the embodiment of the application, and the application processing method includes:
- Step 201 When the electronic device freezes the application, obtain the first frequency of use of the application within a preset time period.
- the first frequency of use of the application program in a preset time period is acquired, and the preset time period may be one week.
- the aforementioned frequency of use can be calculated according to the number of times the application is started, for example, the number of times the application is started within a preset time period is obtained, and then the total number of times of all applications in the electronic device is obtained, and then according to the aforementioned The number of starts and the total number of starts calculate the first frequency of use of the application within a preset time period.
- the above-mentioned number of times of starting the application program may include the number of times of starting according to a user instruction (user click), the number of self-starting times of the electronic device, and the number of times of associated starting of other applications.
- Step 202 Determine whether the first use frequency is less than the preset frequency, and if so, perform step 203.
- a judgment standard needs to be set. For the user, if the application program is used less frequently or never used in a week or more, it proves that the application program is not necessary. Delete the application, therefore, it is necessary to set the frequency judgment standard. If the first frequency of use is less than the preset frequency, the step of deleting the installation file of the application is executed, and if it is not small, the process can be ended.
- Step 203 Save the application data of the application and delete the installation file of the application.
- the application data of the application may be saved, and the application data may include data generated during the user's use of the application and stored in the electronic device. It can include user cache data, cookies (user identity data), historical record data, and so on. Further, the above-mentioned application data may also include application icons. After the installation file of the application is deleted, the application icon is retained on the human-computer interaction interface of the electronic device.
- Step 204 When the application is started again, the application identifier of the application is obtained and the configuration server is sent, and the configuration file returned by the configuration server according to the application identifier is received.
- the configuration server stores a configuration file corresponding to each application.
- the configuration file contains the data and running logic required to run the application, as well as global configuration information.
- the global configuration information indicates which pages the application is composed of. Window background color of the page, configuration of navigation bar style, configuration of default title, etc.
- the electronic device sends the application identifier to the configuration server.
- the configuration server receives the application identifier, it matches the configuration file corresponding to the application identifier, and returns the obtained configuration file to the electronic device.
- the application identifier can be an application name.
- Step 205 Generate an application page according to the configuration file and user data, and display the application page.
- the script file in the operating system is loaded and executed.
- the script file may be a JavaScript scripting language file.
- JavaScript is a scripting language belonging to the network. It has been widely used in Web application development. It is commonly used to add various dynamic functions to web pages for users. Provide a smoother and beautiful browsing effect. Usually JavaScript scripts realize their functions by embedding them in HTML.
- the global configuration information in the configuration file is parsed through the JavaScript script language file loaded and run to generate the native page of the application, and then the application page is generated based on the native page and user data, and the application page is displayed. That is, generating an application page according to the configuration file and the user data, and displaying the application page, includes:
- An application page is generated according to the native page and the user data, and the application page is displayed.
- Step 206 Obtain a second usage frequency of the application page within a preset time period.
- Step 207 Determine whether the second frequency of use is less than the preset frequency, and if not, perform step 208.
- the application can be downloaded again. Specifically, the judgment can be made by judging the second frequency of use of the application page within a preset time period.
- the preset time period may be one week.
- the aforementioned second frequency of use can be calculated according to the number of startups of the application, such as acquiring the number of startups of the application within a preset time period, and then acquiring the total number of startups of all applications in the electronic device, and then based on the number of startups and the total number of startups.
- the number of startups calculates the second frequency of use of the application within a preset time period.
- Step 208 Download the installation file of the application program, and install the application program according to the installation file and the application data.
- the configuration server may also store an application installation file, and the installation file is used to install the corresponding application. Further, the configuration file and installation file are uploaded to the configuration server through a third-party supplier or developer, and the third-party supplier and developer can also update and delete the configuration file and installation file in the configuration server.
- the installation file of the application program is re-downloaded from the configuration server and installed, and the application data is copied to the corresponding file directory to restore the data.
- the application processing method can obtain the first usage frequency of the application within a preset time period when the electronic device freezes the application, and determine whether the first usage frequency is less than the preset Frequency. If yes, save the application data of the application and delete the installation file of the application.
- the application is started again, obtain the application ID of the application and send the configuration server, and receive the configuration file returned by the configuration server according to the application ID.
- an application page based on the configuration file and user data, and display the application page, obtain the second usage frequency of the application page within a preset time period, and determine whether the second usage frequency is less than the preset frequency, if not, download the installation of the application File and install the application according to the installation file and application data.
- a frozen application is uninstalled according to its frequency of use while retaining the application data, and when the user opens it again after uninstallation, an application page of the application is created based on the application data.
- the storage space of the electronic device can be saved, and the usage efficiency of the application page can be improved.
- FIG. 4 is a schematic structural diagram of an application processing device provided by an embodiment of the application.
- the processing device 300 of the application program includes a first acquisition module 301, a first judgment module 302, a deletion module 303, and a creation module 304;
- the first obtaining module 301 is configured to obtain the first frequency of use of the target application within a preset time period after the electronic device freezes the target application;
- the first determining module 302 is configured to determine whether the first frequency of use is less than a preset frequency
- the deletion module 303 is configured to save the application data and the application icon of the application program and delete the application program when the first judgment module 302 judges yes;
- the creation module 304 is configured to receive an instruction to restart the application program, and create an application page according to the instruction and application data.
- FIG. 5 is a schematic diagram of a structure of an application processing apparatus provided in an embodiment of the application, wherein the apparatus 30 further includes: a second acquisition module 305 and a second judgment module 306 and the installation module 307;
- the second obtaining module 305 is configured to obtain a second frequency of use of the application page within a preset time period after the application page is created according to the instruction and application data;
- the second judgment module 306 is configured to judge whether the second use frequency is less than a preset frequency
- the installation module 307 is configured to reinstall the application program when the second judgment module 306 judges no.
- the installation module 307 includes: a download sub-module 3071 and an installation sub-module 3072;
- the download submodule 3071 is used to download the installation file of the application program
- the installation submodule 3072 is configured to install the application program according to the installation file and the application data.
- the application data includes user data and application icons of the application program.
- the creation module 304 may include: a judgment sub-module 3041 and a determination sub-module 3042;
- the judging submodule 3041 is used to judge whether the application icon receives a user's click operation
- the determining sub-module 3042 is configured to determine to start the application when the determining sub-module 3041 determines that it is yes.
- the creation module 304 may further include: an obtaining sub-module 3043 and a generating sub-module 3044;
- the obtaining submodule 3043 is configured to obtain the application identifier of the application program and send it to the configuration server, and receive the configuration file returned by the configuration server according to the application identifier;
- the generating submodule 3044 is configured to generate an application page according to the configuration file and the application data, and display the application page.
- the application processing apparatus of the embodiment of the present application can obtain the first use frequency of the application within a preset time period when the electronic device freezes the application, and determine whether the first use frequency is less than the preset frequency If yes, save the application data of the application and delete the installation file of the application.
- the application page is created and displayed based on the application data.
- a frozen application is uninstalled according to its frequency of use while retaining the application data, and when the user opens it again after uninstallation, an application page of the application is created based on the application data.
- the storage space of the electronic device can be saved, and the usage efficiency of the application page can be improved.
- the processing device of the application program belongs to the same concept as the processing method of the application program in the above embodiment. Any method provided in the embodiment of the processing method of the application program can be run on the processing device of the application program. For the specific implementation process, refer to the embodiment of the processing method of the application program, which will not be repeated here.
- module used herein can be regarded as a software object executed on the operating system.
- the different components, modules, engines, and services described in this article can be regarded as implementation objects on the computing system.
- the devices and methods described herein can be implemented in the form of software, or of course, can also be implemented on hardware, and they are all within the protection scope of the present application.
- the embodiments of the present application also provide a storage medium on which a computer program is stored, and when the computer program is run on a computer, the computer is caused to execute the above-mentioned application program processing method.
- the embodiment of the present application also provides an electronic device, such as a tablet computer, a mobile phone, and so on.
- the processor in the electronic device will load the instructions corresponding to the process of one or more application programs into the memory according to the following steps, and the processor will run the application programs stored in the memory to realize various functions:
- the processor is further configured to perform the following steps:
- the processor when the application is reinstalled, the processor is configured to perform the following steps:
- the application program is installed according to the installation file and the application data.
- the processor when receiving an instruction to restart the application program, the processor is configured to execute the following steps:
- the processor when creating an application page according to the instructions and application data, the processor is configured to perform the following steps:
- An application page is generated according to the configuration file and the user data, and the application page is displayed.
- the configuration file includes global configuration information describing the application page, and when the application page is generated according to the configuration file and the application data, and the application page is displayed, the processor is configured to execute The following steps:
- An application page is generated according to the native page and the application data, and the application page is displayed.
- the processor before saving the application data and application icons of the application and deleting the application, the processor is further configured to perform the following steps:
- the electronic device 400 includes a processor 401 and a memory 402.
- the processor 401 is electrically connected to the memory 402.
- the processor 400 is the control center of the electronic device 400. It uses various interfaces and lines to connect the various parts of the entire electronic device. It executes the electronic device by running or loading the computer program stored in the memory 402 and calling the data stored in the memory 402. Various functions of the device 400 and processing data, so as to monitor the electronic device 400 as a whole.
- the memory 402 may be used to store software programs and modules.
- the processor 401 executes various functional applications and data processing by running the computer programs and modules stored in the memory 402.
- the memory 402 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, a computer program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of electronic equipment, etc.
- the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
- the processor 401 in the electronic device 400 will load the instructions corresponding to the process of one or more computer programs into the memory 402 according to the following steps, and the processor 401 will run and store the instructions in the memory 402 In order to realize various functions in the computer program, as follows:
- an application page is created and displayed according to the application data.
- the electronic device 400 may further include: a display 403, a radio frequency circuit 404, an audio circuit 405, and a power supply 406.
- the display 403, the radio frequency circuit 404, the audio circuit 405, and the power supply 406 are electrically connected to the processor 401, respectively.
- the display 403 may be used to display information input by the user or information provided to the user, and various graphical user interfaces. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof.
- the display 403 may include a display panel.
- the display panel may be configured in the form of a liquid crystal display (LCD), or an organic light-emitting diode (OLED).
- LCD liquid crystal display
- OLED organic light-emitting diode
- the radio frequency circuit 404 may be used to transmit and receive radio frequency signals to establish wireless communication with network equipment or other electronic equipment through wireless communication, and to transmit and receive signals with the network equipment or other electronic equipment.
- the audio circuit 405 may be used to provide an audio interface between the user and the electronic device through a speaker or a microphone.
- the power supply 406 can be used to power various components of the electronic device 400.
- the power supply 406 may be logically connected to the processor 401 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system.
- the electronic device 400 may also include a camera, a Bluetooth module, etc., which will not be repeated here.
- the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
- the processing method of the application in the embodiment of this application can be controlled by a computer program.
- the computer program can be stored in a computer readable storage medium, such as stored in the memory of an electronic device, and executed by at least one processor in the electronic device.
- the execution process can include applications such as application programs.
- the storage medium can be magnetic disk, optical disk, read-only memory, random access memory, etc.
- the processing device of the application program of the embodiment of the present application its functional modules may be integrated in one processing chip, or each module may exist alone physically, or two or more modules may be integrated in one module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
本申请属于电子设备技术领域,尤其涉及一种应用程序的处理方法、装置、存储介质及电子设备。This application belongs to the technical field of electronic equipment, and in particular relates to an application processing method, device, storage medium, and electronic equipment.
随着终端技术的发展,终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of terminal technology, terminals have gradually evolved from simply providing call equipment to a platform for general software operation. The platform no longer provides call management as its main purpose, but provides an operating environment including call management, game entertainment, office notes, mobile payment and other application software. With a large number of popularization, it has penetrated into people's All aspects of life and work.
在智能手机上可以安装各种各样的应用,如拍照应用、游戏应用、地图应用等等,以供用户使用。但是,随着应用的功能越来越强大,每个应用对应占用的存储空间也越来越大,很可能会影响智能手机系统的正常运行,为了解决这个问题,目前可通过在浏览器上设置应用的指定入口,当检测到用户对指定入口的触发操作时,浏览器可以实现应用页面的展示。A variety of applications, such as camera applications, game applications, map applications, etc., can be installed on smart phones for users to use. However, as the functions of applications become more and more powerful, the corresponding storage space occupied by each application is also increasing, which is likely to affect the normal operation of the smartphone system. In order to solve this problem, you can currently set it on the browser The designated entrance of the application, when the user's trigger operation on the designated entrance is detected, the browser can display the application page.
发明内容Summary of the invention
本申请提供一种应用程序的处理方法、装置、存储介质及电子设备,能够节省电子设备的存储空间。This application provides an application processing method, device, storage medium, and electronic equipment, which can save the storage space of the electronic equipment.
第一方面,本申请实施例提供一种应用程序的处理方法,包括:In the first aspect, an embodiment of the present application provides an application processing method, including:
在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率;After the electronic device freezes the target application, acquiring the first frequency of use of the target application within a preset time period;
判断所述第一使用频率是否小于预设频率;Determine whether the first use frequency is less than a preset frequency;
若是,则保存所述应用程序的应用数据以及应用图标,并删除所述应用程序;If yes, save the application data and application icon of the application, and delete the application;
接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。Receive an instruction to restart the application program, and create an application page according to the instruction and application data.
第二方面,本申请实施例提供一种应用程序的处理装置,包括:第一获取模块、第一判断模块、删除模块以及创建模块;In a second aspect, an embodiment of the present application provides an application processing device, including: a first acquisition module, a first judgment module, a deletion module, and a creation module;
所述第一获取模块,用于在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率;The first obtaining module is configured to obtain the first frequency of use of the target application within a preset time period after the electronic device freezes the target application;
所述第一判断模块,用于判断所述第一使用频率是否小于预设频率;The first judgment module is configured to judge whether the first use frequency is less than a preset frequency;
所述删除模块,用于在所述第一判断模块判断为是时,则保存所述应用程序的应用数据以及应用图标,并删除所述应用程序;The deletion module is configured to save the application data and the application icon of the application program and delete the application program when the first judgment module determines that it is yes;
所述创建模块,用于接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。The creation module is configured to receive an instruction to restart the application program, and create an application page according to the instruction and application data.
第三方面,本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述的应用程序的处理方法。In a third aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above-mentioned application processing method.
第四方面,本申请实施例提供一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率;After the electronic device freezes the target application, acquiring the first frequency of use of the target application within a preset time period;
判断所述第一使用频率是否小于预设频率;Determine whether the first use frequency is less than a preset frequency;
若是,则保存所述应用程序的应用数据以及应用图标,并删除所述应用程序;If yes, save the application data and application icon of the application, and delete the application;
接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。Receive an instruction to restart the application program, and create an application page according to the instruction and application data.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的应用程序的处理方法的实施环境的示意图Fig. 1 is a schematic diagram of an implementation environment of an application processing method provided by an embodiment of the present application
图2为本申请实施例提供的应用程序的处理方法的一种流程示意图。FIG. 2 is a schematic flowchart of a method for processing an application program provided by an embodiment of the application.
图3为本申请实施例提供的应用程序的处理方法的另一流程示意图。FIG. 3 is a schematic diagram of another flow of an application processing method provided by an embodiment of the application.
图4为本申请实施例提供的应用程序的处理装置的结构示意图。FIG. 4 is a schematic structural diagram of an application processing apparatus provided by an embodiment of the application.
图5为本申请实施例提供的应用程序的处理装置的另一结构示意图。FIG. 5 is a schematic diagram of another structure of an application processing apparatus provided by an embodiment of the application.
图6为本申请实施例提供的应用程序的处理装置的又一结构示意图。FIG. 6 is a schematic diagram of another structure of an application processing apparatus provided by an embodiment of the application.
图7为本申请实施例提供的电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
图8为本申请实施例提供的电子设备的另一结构示意图。FIG. 8 is a schematic diagram of another structure of an electronic device provided by an embodiment of the application.
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings, in which the same component symbols represent the same components, and the principle of the present application is implemented in an appropriate computing environment for illustration. The following description is based on the exemplified specific embodiments of the present application, which should not be regarded as limiting other specific embodiments that are not described in detail herein.
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being executed by a computer. The computer execution referred to in this article includes the operation of a computer processing unit that represents an electronic signal of data in a structured form. This operation converts the data or maintains it in a position in the computer's memory system, which can be reconfigured or otherwise changed the operation of the computer in a manner well known to testers in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principle of this application is described in the above text, which does not represent a limitation. Testers in the field will understand that the various steps and operations described below can also be implemented in hardware.
本申请中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是某些实施例还包括没有列出的步骤或模块,或某些实施例还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。The terms "first", "second" and "third" in this application are used to distinguish different objects, rather than describing a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments It also includes other steps or modules inherent to these processes, methods, products, or equipment.
现有技术当中,电子设备当中能够运行多个应用程序,电子设备可以根据待机分组功能对这些应用程序划分优先级,使这些应用程序调用CPU或网络等设备资源的调度不同。然而这种方式应用的优先级级别是固定的,同一层级的应用程序没有顺序先后,其设备资源调度的方式不够智能和准确。In the prior art, an electronic device can run multiple application programs, and the electronic device can prioritize these application programs according to the standby grouping function, so that the scheduling of these application programs calling device resources such as CPU or network is different. However, the priority level of applications in this way is fixed, there is no order for applications at the same level, and the device resource scheduling method is not smart and accurate.
本申请实施例提供一种应用程序的处理方法,该应用程序的处理方法的执行主体可以是本申请实施例提供的应用程序的处理装置,或者集成了该应用程序的处理装置的电子设备,其中该应用程序的处理装置可以采用硬件或者软件的方式实现。The embodiment of the application provides an application processing method, and the execution subject of the application processing method may be the application processing device provided in the embodiment of the application, or an electronic device integrated with the application processing device, where The processing device of the application program can be implemented in hardware or software.
本申请实施例将从应用程序的处理装置的角度进行描述,该应用程序的处理装置具体可以集成在电子设备中。该应用程序的处理方法包括:在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率;The embodiments of the present application will be described from the perspective of a processing device of an application program, and the processing device of the application program may be specifically integrated in an electronic device. The processing method of the application program includes: after the electronic device freezes the target application program, obtaining the first frequency of use of the target application program within a preset time period;
判断所述第一使用频率是否小于预设频率;Determine whether the first use frequency is less than a preset frequency;
若是,则保存所述应用程序的应用数据以及应用图标,并删除所述应用程序;If yes, save the application data and application icon of the application, and delete the application;
接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。Receive an instruction to restart the application program, and create an application page according to the instruction and application data.
一实施例中,在根据所述指令以及应用数据创建应用页面之后,所述方法还包括:In an embodiment, after creating an application page according to the instruction and application data, the method further includes:
获取所述应用页面在预设时间段内的第二使用频率;Acquiring a second frequency of use of the application page within a preset time period;
判断所述第二使用频率是否小于预设频率;Determine whether the second use frequency is less than a preset frequency;
若否,则重新安装所述应用程序。If not, then reinstall the application.
一实施例中,重新安装所述应用程序,包括:In an embodiment, reinstalling the application program includes:
下载所述应用程序的安装文件;Download the installation file of the application;
根据所述安装文件以及所述应用数据安装所述应用程序。The application program is installed according to the installation file and the application data.
一实施例中,所述接收再次启动所述应用程序的指令的步骤包括:In an embodiment, the step of receiving an instruction to restart the application program includes:
判断所述应用图标是否接收到用户的点击操作;Judging whether the application icon receives a user's click operation;
若是,则确定启动所述应用程序。If so, it is determined to start the application.
一实施例中,根据所述指令以及应用数据创建应用页面,包括:In an embodiment, creating an application page according to the instruction and application data includes:
获取所述应用程序的应用标识并发送至配置服务器,并接收所述配置服务器根据所述应用标识返回的配置文件;Acquiring the application identifier of the application program and sending it to the configuration server, and receiving the configuration file returned by the configuration server according to the application identifier;
根据所述配置文件和所述应用数据生成应用页面,并展示所述应用页面。An application page is generated according to the configuration file and the application data, and the application page is displayed.
一实施例中,所述配置文件包括描述所述应用程序页面的全局配置信息,根据所述配置文件和所述应用数据生成应用页面,并展示所述应用页面,包括:In an embodiment, the configuration file includes global configuration information describing the application page, and generating an application page based on the configuration file and the application data and displaying the application page includes:
加载并运行电子设备系统中的脚本文件;Load and run the script file in the electronic equipment system;
通过所述脚本文件解析所述全局配置信息,生成应用的原生页面;Parse the global configuration information through the script file to generate a native page of the application;
根据所述原生页面和所述用户数据生成应用页面,并展示所述应用页面。An application page is generated according to the native page and the user data, and the application page is displayed.
一实施例中,在保存所述应用程序的应用数据以及应用图标,并删除所述应用程序之前,所述方法还包括:In an embodiment, before saving the application data and application icons of the application and deleting the application, the method further includes:
获取所述电子设备当前的剩余存储空间;Acquiring the current remaining storage space of the electronic device;
判断所述剩余存储空间是否小于预设值;Judging whether the remaining storage space is less than a preset value;
若是,则执行保存所述应用程序的应用数据以及应用图标,并删除所述应用程序的步骤。If yes, perform the steps of saving the application data and application icon of the application, and deleting the application.
请参阅图1,图1是本申请实施例提供的应用程序的处理方法的实施环境的示意图,如图1所示,该实施环境包括智能手机10、通信网络20以及服务器30。Please refer to FIG. 1, which is a schematic diagram of an implementation environment of an application processing method provided by an embodiment of the present application. As shown in FIG. 1, the implementation environment includes a
该智能手机10的操作系统可以为安卓系统、黑莓系统、苹果系统等。该智能手机10和服务器30之间通过通信网络20连接。The operating system of the
该通信网络20,包括无线网络及有线网络。其中无线网络包括无线广域网、无线局域网、无线城域网、以及无线个人网中的一种或多种的组合。The
该服务器30中存储有应用的配置文件,该配置文件包含运行应用所需的数据。该智能手机10可以从服务器30获取应用的配置文件,根据配置文件生成应用页面的页面并展示,需要理解的是,该应用页面是一种不需要下载安装即可使用的应用,它实现了应用“触 手可及”的梦想,用户扫一扫或搜一下即可打开应用,是一种使用网页浏览器在互联网或企业内部网上操作的应用软件,是一种以网页语言(例如HTML、JavaScript、Java等编程语言)撰写的应用程式,需要透过浏览器来执行,比如可以统一通过某个开放平台进行访问,俗称“快应用”。需要解释的是,现有“快应用”的安装包、以及运行时产生的缓存数据均存储在该开放平台的服务器中,其不需要在用户设备中安装运行,从而尽可能节省用户设备的内存资源,而用户设备可以通过该开放平台中的应用接口与该应用页面的厂家服务器进行数据通信,实现对该应用页面的访问,此时,该开放平台的服务器充当代理服务器的角色,每一应用页面对应一个应用接口。从而在未安装应用程序的前提下,实现应用的运行,应用运行所需的数据可即时从服务器30获取。The
服务器30还可以对应用的配置文件进行更新操作,以便为智能手机10提供更新后的配置文件。The
在一实施方式中,该服务器30还可以存储应用的安装文件,智能手机10还可以从该服务器30上获取应用的安装文件,并通过安装该安装文件来完整的运行该应用。比如当用户使用某一应用页面后还可以进一步安装该应用的原生应用。容易想到的是,该服务器30也可以对应用的安装文件进行更新,以便为智能手机10提供更新后的安装文件。In one embodiment, the
本实施例将从应用程序的处理装置的角度进行描述,该装置具体可以集成在电子设备中,该电子设备可以为移动互连接网络设备(如智能手机、平板电脑)等电子设备。This embodiment will be described from the perspective of an application processing device. The device may be specifically integrated in an electronic device, which may be an electronic device such as a mobile interconnection network device (such as a smart phone or a tablet computer).
请参阅图2,图2为本申请实施例提供的应用程序的处理方法的流程示意图。本申请实施例提供的应用程序的处理方法应用于电子设备,具体流程可以如下:Please refer to FIG. 2, which is a schematic flowchart of an application processing method provided by an embodiment of this application. The application processing method provided in the embodiment of the present application is applied to an electronic device, and the specific process may be as follows:
步骤101,在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率。Step 101: After the electronic device freezes the target application, obtain the first use frequency of the target application within a preset time period.
在一实施例中,本申请针对的是被电子设备冻结的应用程序,具体的,可以判断电子设备中当前运行应用程序是否满足冻结条件,其中,该应用程序可以为后台应用程序,该冻结条件可以由用户自行设定,例如在电子设备的设置页面中设置对应用程序的冻结条件,当满足时,对应用程序进行冻结。例如,隔离应用程序所占用的系统资源,并在系统框架中隔离应用程序,向应用程序的进程组发送冻结信号等。对应用程序进行冻结,是为了避免置于后台的应用程序继续占用系统资源,因此需要隔离应用所占用的系统资源,系统资源包括应用程序在冻结时无法被释放的资源,如唤醒锁资源、GPS资源以及传感器(sensor)资源等。在本申请的一个实施例中,隔离指的是将应用程序所占用的系统资源进行释放,或者断开应用程序与系统资源的连接。In one embodiment, this application is for an application that is frozen by an electronic device. Specifically, it can be determined whether the currently running application in the electronic device meets the freezing condition. The application may be a background application, and the freezing condition It can be set by the user. For example, the freezing condition for the application is set in the setting page of the electronic device, and the application is frozen when it is met. For example, isolate the system resources occupied by the application, isolate the application in the system framework, and send a freeze signal to the process group of the application. The purpose of freezing the application is to prevent the application placed in the background from continuing to occupy system resources. Therefore, it is necessary to isolate the system resources occupied by the application. System resources include resources that cannot be released when the application is frozen, such as wake lock resources, GPS Resources, sensor resources, etc. In an embodiment of the present application, isolation refers to releasing the system resources occupied by the application program, or disconnecting the application program from the system resource.
当电子设备对应用程序进行冻结时,获取应用程序在预设时间段内的第一使用频率,该预设时间段可以为一周。在一实施例中,上述第一使用频率可以根据应用程序的启动次数来计算,比如获取在预设时间段内该应用程序的启动次数,再获取电子设备中全部应用程序的总启动次数,然后根据上述启动次数和总启动次数计算应用程序在预设时间段内的第一使用频率。其中,上述启动应用程序的次数可以包括根据用户指令(用户点击)启动的次数,电子设备自启动次数以及其他应用程序关联启动的次数。When the electronic device freezes the application program, the first frequency of use of the application program in a preset time period is acquired, and the preset time period may be one week. In one embodiment, the above-mentioned first frequency of use may be calculated according to the number of startups of the application, such as acquiring the number of startups of the application within a preset time period, and then acquiring the total number of startups of all applications in the electronic device, and then Calculate the first frequency of use of the application within the preset time period according to the number of activations and the total number of activations. Wherein, the above-mentioned number of times of starting the application program may include the number of times of starting according to a user instruction (user click), the number of self-starting times of the electronic device, and the number of times of associated starting of other applications.
在其他实施例中,还可以根据该应用程序的运行时长计算使用频率,比如获取在预设时间段内该应用程序的运行时长,然后根据运行时长和预设时间段计算应用程序在预设时间段内的第一使用频率。其中,该运行时长可以包括应用程序的前台运行时长和后台运行时长。In other embodiments, the frequency of use can also be calculated according to the running time of the application. For example, the running time of the application in a preset time period is obtained, and then the application is calculated at the preset time according to the running time and the preset time period. The first frequency of use within the segment. Wherein, the running time may include the foreground running time and the background running time of the application program.
步骤102,判断第一使用频率是否小于预设频率,若是,则执行步骤103。Step 102: Determine whether the first frequency of use is less than the preset frequency, and if so, perform
在一实施例中,需要设置判断标准,对于用户来说,如果一周或者更久内应用程序的使用频率较低或是从不使用该应用程序,则证明该应用程序并不是必须的,则可以删除该应用程序,因此,需要设置频率的判断标准,即设置预设频率,该预设频率可以由电子设备系统自动设置,也可以根据用户需求自行设定,本申请对此不做进一步限定。In one embodiment, a judgment standard needs to be set. For the user, if the application program is used less frequently or never used in a week or more, it proves that the application program is not necessary. To delete the application, it is necessary to set the frequency judgment standard, that is, to set a preset frequency. The preset frequency can be automatically set by the electronic device system or can be set according to user needs. This application does not further limit this.
步骤103,保存应用程序的应用数据以及应用图标,并删除应用程序。Step 103: Save the application data and application icon of the application, and delete the application.
在一实施例中,可以通过静默卸载的方式删除应用程序的安装文件。在电子设备删除应用程序的安装文件时,采用静默卸载,不需要用户进行确认,减少了与用户交互的流程,使用更加方便,用户体验更好。In one embodiment, the installation file of the application can be deleted by silent uninstallation. When the electronic device deletes the installation file of the application, silent uninstallation is adopted, without the user's confirmation, which reduces the process of interacting with the user, makes it more convenient to use, and has a better user experience.
在一实施例中,在删除应用程序的安装文件之前,可以保存该应用程序的应用数据,该应用数据可以包括用户使用应用程序的过程中所生成的并存储在电子设备中的数据,示例性地,可包括用户缓存数据、cookies(用户身份数据)和历史记录数据等等。而因为每个用户在使用应用程序的过程中操作不同,所以应用数据也有所不同。其中,应用数据一般存储在特定的文件夹内,可以通过确定用户使用数据的存储路径,并通过所述用户使用数据的存储路径找到对应的应用数据的数据文件夹,进而对该文件夹里面的文件进行保存。In an embodiment, before deleting the installation file of the application, the application data of the application may be saved, and the application data may include data generated during the user's use of the application and stored in the electronic device. It can include user cache data, cookies (user identity data), historical record data, and so on. And because each user operates differently in the process of using the application, the application data is also different. Among them, the application data is generally stored in a specific folder. The storage path of the user usage data can be determined, and the data folder of the corresponding application data can be found through the storage path of the user usage data, and then the data folder in the folder can be found. The file is saved.
进一步的,考虑到本申请实施例可以删除使用频率低的应用程序的安装文件,从而节省电子设备的存储空间,因此在删除所述应用程序的安装文件之前,还可以获取电子设备当前的剩余存储空间,并根据剩余存储空间判断是否需要删除该应用程序的安装文件。也即在保存所述应用程序的应用数据,并删除所述应用程序的安装文件之前,所述方法还包括:Further, considering that the embodiment of the present application can delete the installation file of an application program with low frequency of use, thereby saving the storage space of the electronic device, before deleting the installation file of the application program, the current remaining storage of the electronic device can also be obtained Space, and determine whether to delete the installation file of the application according to the remaining storage space. That is, before saving the application data of the application program and deleting the installation file of the application program, the method further includes:
获取所述电子设备当前的剩余存储空间;Acquiring the current remaining storage space of the electronic device;
判断所述剩余存储空间是否小于预设值;Judging whether the remaining storage space is less than a preset value;
若是,则执行保存所述应用程序的应用数据,并删除所述应用程序的安装文件的步骤。If yes, perform the steps of saving the application data of the application program and deleting the installation file of the application program.
步骤104,接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。Step 104: Receive an instruction to restart the application program, and create an application page according to the instruction and application data.
再删除该应用程序的安装文件后,若再次接收到用户打开该应用程序的指令,则根据该指令以及应用数据创建应用页面并显示。After deleting the installation file of the application, if the user's instruction to open the application is received again, an application page is created and displayed according to the instruction and application data.
在一实施例中,上述应用数据可以包括该应用程序的用户数据和应用图标,删除应用程序的安装文件后,在电子设备的人机交互界面上保留应用程序的图标,但将图标标记为程序已删除状态。在删除应用程序后,保留应用程序的图标并标记为删除状态,如采用灰色图标,一方面,用户可以直接通过交互界面确定该应用程序当前的状态,另一方面,当用户需要再次运行已删除的应用程序时,可直接点击该应用程序的图标,直接根据应用数据创建应用页面并显示,使用更加方便。也即所述再次启动所述应用程序的步骤包括:In an embodiment, the above application data may include user data and application icons of the application. After deleting the installation file of the application, the icon of the application is retained on the human-computer interaction interface of the electronic device, but the icon is marked as a program Deleted status. After deleting an application, keep the icon of the application and mark it as deleted. For example, use a gray icon. On the one hand, the user can directly determine the current state of the application through the interactive interface. On the other hand, when the user needs to run the deleted again In the case of an application, you can directly click the icon of the application to directly create and display an application page based on the application data, which is more convenient to use. That is, the step of restarting the application program includes:
判断所述应用图标是否接收到用户的点击操作;Judging whether the application icon receives a user's click operation;
若是,则确定启动所述应用程序。If so, it is determined to start the application.
由上可知,本申请实施例提供的应用程序的处理方法可以当电子设备对应用程序进行冻结时,获取应用程序在预设时间段内的第一使用频率,判断第一使用频率是否小于预设频率,若是,则保存应用程序的应用数据,并删除应用程序的安装文件,当再次启动应用程序时,根据应用数据创建应用页面并显示。本申请实施例针对被冻结的应用程序,根据其使用频率进行卸载同时保留应用数据,并在卸载后用户再次打开时,根据应用数据创建该应用程序的应用页面。可以节省电子设备的存储空间,并且提升了应用页面的使用效率。It can be seen from the above that the application processing method provided in the embodiments of the present application can obtain the first usage frequency of the application within a preset time period when the electronic device freezes the application, and determine whether the first usage frequency is less than the preset Frequency. If yes, save the application data of the application and delete the installation file of the application. When the application is started again, an application page is created and displayed based on the application data. In this embodiment of the application, a frozen application is uninstalled according to its frequency of use while retaining the application data, and when the user opens it again after uninstallation, an application page of the application is created based on the application data. The storage space of the electronic device can be saved, and the usage efficiency of the application page can be improved.
下面将在上述实施例描述的方法基础上,对本申请的清理方法做进一步介绍。参阅图3,图3为本申请实施例提供的应用程序的处理方法的另一流程示意图,该应用程序的处理方法包括:On the basis of the method described in the foregoing embodiment, the cleaning method of the present application will be further introduced below. Referring to FIG. 3, FIG. 3 is another flowchart of the application processing method provided by the embodiment of the application, and the application processing method includes:
步骤201,当电子设备对应用程序进行冻结时,获取应用程序在预设时间段内的第一使用频率。Step 201: When the electronic device freezes the application, obtain the first frequency of use of the application within a preset time period.
当电子设备对应用程序进行冻结时,获取应用程序在预设时间段内的第一使用频率,该预设时间段可以为一周。在一实施例中,上述使用频率可以根据应用程序的启动次数来计算,比如获取在预设时间段内该应用程序的启动次数,再获取电子设备中全部应用程序的总启动次数,然后根据上述启动次数和总启动次数计算应用程序在预设时间段内的第一 使用频率。其中,上述启动应用程序的次数可以包括根据用户指令(用户点击)启动的次数,电子设备自启动次数以及其他应用程序关联启动的次数。When the electronic device freezes the application program, the first frequency of use of the application program in a preset time period is acquired, and the preset time period may be one week. In one embodiment, the aforementioned frequency of use can be calculated according to the number of times the application is started, for example, the number of times the application is started within a preset time period is obtained, and then the total number of times of all applications in the electronic device is obtained, and then according to the aforementioned The number of starts and the total number of starts calculate the first frequency of use of the application within a preset time period. Wherein, the above-mentioned number of times of starting the application program may include the number of times of starting according to a user instruction (user click), the number of self-starting times of the electronic device, and the number of times of associated starting of other applications.
步骤202,判断第一使用频率是否小于预设频率,若是,则执行步骤203。Step 202: Determine whether the first use frequency is less than the preset frequency, and if so, perform
在一实施例中,需要设置判断标准,对于用户来说,如果一周或者更久内应用程序的使用频率较低或是从不使用该应用程序,则证明该应用程序并不是必须的,则可以删除该应用程序,因此,需要设置频率的判断标准。若第一使用频率小于该预设频率,则执行删除应用程序的安装文件的步骤,若不小,则可以结束流程。In one embodiment, a judgment standard needs to be set. For the user, if the application program is used less frequently or never used in a week or more, it proves that the application program is not necessary. Delete the application, therefore, it is necessary to set the frequency judgment standard. If the first frequency of use is less than the preset frequency, the step of deleting the installation file of the application is executed, and if it is not small, the process can be ended.
步骤203,保存应用程序的应用数据,并删除应用程序的安装文件。Step 203: Save the application data of the application and delete the installation file of the application.
在一实施例中,在删除应用程序的安装文件之前,可以保存该应用程序的应用数据,该应用数据可以包括用户使用应用程序的过程中所生成的并存储在电子设备中的数据,示例性地,可包括用户缓存数据、cookies(用户身份数据)和历史记录数据等等。进一步的,上述应用数据还可以包括应用图标,删除应用程序的安装文件后,在电子设备的人机交互界面上保留应用程序的图标。In an embodiment, before deleting the installation file of the application, the application data of the application may be saved, and the application data may include data generated during the user's use of the application and stored in the electronic device. It can include user cache data, cookies (user identity data), historical record data, and so on. Further, the above-mentioned application data may also include application icons. After the installation file of the application is deleted, the application icon is retained on the human-computer interaction interface of the electronic device.
步骤204,当再次启动应用程序时,获取应用程序的应用标识并发送配置服务器,并接收配置服务器根据应用标识返回的配置文件。Step 204: When the application is started again, the application identifier of the application is obtained and the configuration server is sent, and the configuration file returned by the configuration server according to the application identifier is received.
比如,当用户再次点击应用图标时,确定用户再次启动该应用程序,此时获取应用程序的应用标识并发送配置服务器,并接收配置服务器根据应用标识返回的配置文件。其中,该配置服务器中存储了每一应用对应的配置文件,该配置文件中包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面组成,配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。For example, when the user clicks the application icon again, it is determined that the user starts the application again. At this time, the application identification of the application is obtained and the configuration server is sent, and the configuration file returned by the configuration server according to the application identification is received. Among them, the configuration server stores a configuration file corresponding to each application. The configuration file contains the data and running logic required to run the application, as well as global configuration information. The global configuration information indicates which pages the application is composed of. Window background color of the page, configuration of navigation bar style, configuration of default title, etc.
其中,电子设备将应用标识发送至配置服务器,该配置服务器接收到该应用标识后,匹配该应用标识对应的配置文件,将得到的配置文件返回至电子设备中。该应用标识可以为应用名。The electronic device sends the application identifier to the configuration server. After the configuration server receives the application identifier, it matches the configuration file corresponding to the application identifier, and returns the obtained configuration file to the electronic device. The application identifier can be an application name.
步骤205,根据配置文件和用户数据生成应用页面,并展示应用页面。Step 205: Generate an application page according to the configuration file and user data, and display the application page.
在一实施例中,当确定用户再次启动应用程序时,加载并运行操作系统中的脚本文件。在一实施方式中,该脚本文件可以为JavaScript脚本语言文件,JavaScript是一种属于网络的脚本语言,已经被广泛用于Web应用开发,常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果。通常JavaScript脚本是通过嵌入在HTML中来实现自身的功能的。In an embodiment, when it is determined that the user starts the application again, the script file in the operating system is loaded and executed. In one embodiment, the script file may be a JavaScript scripting language file. JavaScript is a scripting language belonging to the network. It has been widely used in Web application development. It is commonly used to add various dynamic functions to web pages for users. Provide a smoother and beautiful browsing effect. Usually JavaScript scripts realize their functions by embedding them in HTML.
基于此,通过加载并运行的JavaScript脚本语言文件解析配置文件中的全局配置信息,以生成应用的原生页面,然后根据原生页面和用户数据生成应用页面,并展示该应用页面。 也即根据所述配置文件和所述用户数据生成应用页面,并展示所述应用页面,包括:Based on this, the global configuration information in the configuration file is parsed through the JavaScript script language file loaded and run to generate the native page of the application, and then the application page is generated based on the native page and user data, and the application page is displayed. That is, generating an application page according to the configuration file and the user data, and displaying the application page, includes:
加载并运行电子设备系统中的脚本文件;Load and run the script file in the electronic equipment system;
通过所述脚本文件解析所述全局配置信息,生成应用的原生页面;Parse the global configuration information through the script file to generate a native page of the application;
根据所述原生页面和所述用户数据生成应用页面,并展示所述应用页面。An application page is generated according to the native page and the user data, and the application page is displayed.
步骤206,获取应用页面在预设时间段内的第二使用频率。Step 206: Obtain a second usage frequency of the application page within a preset time period.
步骤207,判断第二使用频率是否小于预设频率,若否,则执行步骤208。Step 207: Determine whether the second frequency of use is less than the preset frequency, and if not, perform
在一实施例中,若在删除应用程序的安装文件之后,用户的使用习惯发生变化,该应用页面的使用频率较高,则可以重新下载该应用程序。具体可以通过判断该应用页面在预设时间段内的第二使用频率来进行判断。In one embodiment, if the user's usage habits change after the installation file of the application is deleted, and the application page is used more frequently, the application can be downloaded again. Specifically, the judgment can be made by judging the second frequency of use of the application page within a preset time period.
在一实施例中,该预设时间段可以为一周。上述第二使用频率可以根据应用程序的启动次数来计算,比如获取在预设时间段内该应用程序的启动次数,再获取电子设备中全部应用程序的总启动次数,然后根据上述启动次数和总启动次数计算应用程序在预设时间段内的第二使用频率。In an embodiment, the preset time period may be one week. The aforementioned second frequency of use can be calculated according to the number of startups of the application, such as acquiring the number of startups of the application within a preset time period, and then acquiring the total number of startups of all applications in the electronic device, and then based on the number of startups and the total number of startups. The number of startups calculates the second frequency of use of the application within a preset time period.
步骤208,下载应用程序的安装文件,并根据安装文件以及应用数据安装应用程序。Step 208: Download the installation file of the application program, and install the application program according to the installation file and the application data.
在一实施方式这,配置服务器中还可以保存有应用的安装文件,该安装文件用于安装对应的应用。进一步的,该配置文件和安装文件为通过第三方供应商或者开发人员上传至配置服务器中,该第三方供应商以及开发人员还可以对配置服务器中的配置文件和安装文件进行更新以及删除操作。当确定第二使用频率不小于预设频率时,从配置服务器上重新下载该应用程序的安装文件并安装,并将应用数据拷贝到对应的文件目录下以恢复数据。In an implementation manner, the configuration server may also store an application installation file, and the installation file is used to install the corresponding application. Further, the configuration file and installation file are uploaded to the configuration server through a third-party supplier or developer, and the third-party supplier and developer can also update and delete the configuration file and installation file in the configuration server. When it is determined that the second frequency of use is not less than the preset frequency, the installation file of the application program is re-downloaded from the configuration server and installed, and the application data is copied to the corresponding file directory to restore the data.
由上可知,本申请实施例提供的应用程序的处理方法可以当电子设备对应用程序进行冻结时,获取应用程序在预设时间段内的第一使用频率,判断第一使用频率是否小于预设频率,若是,则保存应用程序的应用数据,并删除应用程序的安装文件,当再次启动应用程序时,获取应用程序的应用标识并发送配置服务器,并接收配置服务器根据应用标识返回的配置文件,根据配置文件和用户数据生成应用页面,并展示应用页面,获取应用页面在预设时间段内的第二使用频率,判断第二使用频率是否小于预设频率,若否,则下载应用程序的安装文件,并根据安装文件以及应用数据安装应用程序。本申请实施例针对被冻结的应用程序,根据其使用频率进行卸载同时保留应用数据,并在卸载后用户再次打开时,根据应用数据创建该应用程序的应用页面。可以节省电子设备的存储空间,并且提升了应用页面的使用效率。It can be seen from the above that the application processing method provided in the embodiments of the present application can obtain the first usage frequency of the application within a preset time period when the electronic device freezes the application, and determine whether the first usage frequency is less than the preset Frequency. If yes, save the application data of the application and delete the installation file of the application. When the application is started again, obtain the application ID of the application and send the configuration server, and receive the configuration file returned by the configuration server according to the application ID. Generate an application page based on the configuration file and user data, and display the application page, obtain the second usage frequency of the application page within a preset time period, and determine whether the second usage frequency is less than the preset frequency, if not, download the installation of the application File and install the application according to the installation file and application data. In this embodiment of the application, a frozen application is uninstalled according to its frequency of use while retaining the application data, and when the user opens it again after uninstallation, an application page of the application is created based on the application data. The storage space of the electronic device can be saved, and the usage efficiency of the application page can be improved.
请参阅图4,图4为本申请实施例提供的应用程序的处理装置的一种结构示意图。其 中该应用程序的处理装置300包括第一获取模块301、第一判断模块302、删除模块303以及创建模块304;Please refer to FIG. 4, which is a schematic structural diagram of an application processing device provided by an embodiment of the application. The processing device 300 of the application program includes a
所述第一获取模块301,用于在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率;The first obtaining
所述第一判断模块302,用于判断所述第一使用频率是否小于预设频率;The first determining
所述删除模块303,用于在所述第一判断模块302判断为是时,则保存所述应用程序的应用数据以及应用图标,并删除所述应用程序;The
所述创建模块304,用于接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。The
在一实施例中,请参阅图5,图5为本申请实施例提供的应用程序的处理装置的一种结构示意图,其中,所述装置30还包括:第二获取模块305、第二判断模块306以及安装模块307;In an embodiment, please refer to FIG. 5. FIG. 5 is a schematic diagram of a structure of an application processing apparatus provided in an embodiment of the application, wherein the
所述第二获取模块305,用于在根据所述指令以及应用数据创建应用页面之后,获取所述应用页面在预设时间段内的第二使用频率;The second obtaining
所述第二判断模块306,用于判断所述第二使用频率是否小于预设频率;The
所述安装模块307,用于在所述第二判断模块306判断为否时,重新安装所述应用程序。The
在一实施例中,所述安装模块307包括:下载子模块3071和安装子模块3072;In an embodiment, the
所述下载子模块3071,用于下载所述应用程序的安装文件;The
所述安装子模块3072,用于根据所述安装文件以及所述应用数据安装所述应用程序。The
在一实施例中,所述应用数据包括所述应用程序的用户数据和应用图标。如图6所述,所述创建模块304可以包括:判断子模块3041和确定子模块3042;In an embodiment, the application data includes user data and application icons of the application program. As shown in FIG. 6, the
所述判断子模块3041,用于判断所述应用图标是否接收到用户的点击操作;The judging submodule 3041 is used to judge whether the application icon receives a user's click operation;
所述确定子模块3042,用于在所述判断子模块3041判断为是时,确定启动所述应用程序。The determining sub-module 3042 is configured to determine to start the application when the determining sub-module 3041 determines that it is yes.
在一实施例中,所述创建模块304还可以包括:获取子模块3043和生成子模块3044;In an embodiment, the
所述获取子模块3043,用于获取所述应用程序的应用标识并发送至配置服务器,并接收所述配置服务器根据所述应用标识返回的配置文件;The obtaining
所述生成子模块3044,用于根据所述配置文件和所述应用数据生成应用页面,并展示所述应用页面。The generating
由上述可知,本申请实施例的应用程序的处理装置可以当电子设备对应用程序进行冻结时,获取应用程序在预设时间段内的第一使用频率,判断第一使用频率是否小于预设频率,若是,则保存应用程序的应用数据,并删除应用程序的安装文件,当再次启动应用程序时,根据应用数据创建应用页面并显示。本申请实施例针对被冻结的应用程序,根据其使用频率进行卸载同时保留应用数据,并在卸载后用户再次打开时,根据应用数据创建该应用程序的应用页面。可以节省电子设备的存储空间,并且提升了应用页面的使用效率。From the foregoing, it can be seen that the application processing apparatus of the embodiment of the present application can obtain the first use frequency of the application within a preset time period when the electronic device freezes the application, and determine whether the first use frequency is less than the preset frequency If yes, save the application data of the application and delete the installation file of the application. When the application is started again, the application page is created and displayed based on the application data. In this embodiment of the application, a frozen application is uninstalled according to its frequency of use while retaining the application data, and when the user opens it again after uninstallation, an application page of the application is created based on the application data. The storage space of the electronic device can be saved, and the usage efficiency of the application page can be improved.
本申请实施例中,应用程序的处理装置与上文实施例中的应用程序的处理方法属于同一构思,在应用程序的处理装置上可以运行应用程序的处理方法实施例中提供的任一方法,其具体实现过程详见应用程序的处理方法的实施例,此处不再赘述。In the embodiment of the application, the processing device of the application program belongs to the same concept as the processing method of the application program in the above embodiment. Any method provided in the embodiment of the processing method of the application program can be run on the processing device of the application program. For the specific implementation process, refer to the embodiment of the processing method of the application program, which will not be repeated here.
本文所使用的术语“模块”可看作为在该运算系统上执行的软件对象。本文所述的不同组件、模块、引擎及服务可看作为在该运算系统上的实施对象。而本文所述的装置及方法可以以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。The term "module" used herein can be regarded as a software object executed on the operating system. The different components, modules, engines, and services described in this article can be regarded as implementation objects on the computing system. The devices and methods described herein can be implemented in the form of software, or of course, can also be implemented on hardware, and they are all within the protection scope of the present application.
本申请实施例还提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述的应用程序的处理方法。The embodiments of the present application also provide a storage medium on which a computer program is stored, and when the computer program is run on a computer, the computer is caused to execute the above-mentioned application program processing method.
本申请实施例还提供一种电子设备,如平板电脑、手机等。电子设备中的处理器会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器中,并由处理器来运行存储在存储器中的应用程序,从而实现各种功能:The embodiment of the present application also provides an electronic device, such as a tablet computer, a mobile phone, and so on. The processor in the electronic device will load the instructions corresponding to the process of one or more application programs into the memory according to the following steps, and the processor will run the application programs stored in the memory to realize various functions:
在电子设备对目标应用程序冻结后,获取所述目标应用程序在预设时间段内的第一使用频率;After the electronic device freezes the target application, acquiring the first frequency of use of the target application within a preset time period;
判断所述第一使用频率是否小于预设频率;Determine whether the first use frequency is less than a preset frequency;
若是,则保存所述应用程序的应用数据以及应用图标,并删除所述应用程序;If yes, save the application data and application icon of the application, and delete the application;
接收再次启动所述应用程序的指令,并根据所述指令以及应用数据创建应用页面。Receive an instruction to restart the application program, and create an application page according to the instruction and application data.
在一实施例中,在在根据所述指令以及应用数据创建应用页面之后之后,所述处理器还用于执行以下步骤:In an embodiment, after creating an application page according to the instructions and application data, the processor is further configured to perform the following steps:
获取所述应用页面在预设时间段内的第二使用频率;Acquiring a second frequency of use of the application page within a preset time period;
判断所述第二使用频率是否小于预设频率;Determine whether the second use frequency is less than a preset frequency;
若否,则重新安装所述应用程序。If not, then reinstall the application.
在一实施例中,重新安装所述应用程序时,所述处理器用于执行以下步骤:In an embodiment, when the application is reinstalled, the processor is configured to perform the following steps:
下载所述应用程序的安装文件;Download the installation file of the application;
根据所述安装文件以及所述应用数据安装所述应用程序。The application program is installed according to the installation file and the application data.
在一实施例中,接收再次启动所述应用程序的指令时,所述处理器用于执行以下步骤:In an embodiment, when receiving an instruction to restart the application program, the processor is configured to execute the following steps:
判断所述应用图标是否接收到用户的点击操作;Judging whether the application icon receives a user's click operation;
若是,则确定启动所述应用程序。If so, it is determined to start the application.
在一实施例中,根据所述指令以及应用数据创建应用页面时,所述处理器用于执行以下步骤:In an embodiment, when creating an application page according to the instructions and application data, the processor is configured to perform the following steps:
获取所述应用程序的应用标识并发送配置服务器,并接收所述配置服务器根据所述应用标识返回的配置文件;Acquiring the application identifier of the application program and sending the configuration server, and receiving the configuration file returned by the configuration server according to the application identifier;
根据所述配置文件和所述用户数据生成应用页面,并展示所述应用页面。An application page is generated according to the configuration file and the user data, and the application page is displayed.
在一实施例中,所述配置文件包括描述所述应用程序页面的全局配置信息,根据所述配置文件和所述应用数据生成应用页面,并展示所述应用页面时,所述处理器用于执行以下步骤:In an embodiment, the configuration file includes global configuration information describing the application page, and when the application page is generated according to the configuration file and the application data, and the application page is displayed, the processor is configured to execute The following steps:
加载并运行电子设备系统中的脚本文件;Load and run the script file in the electronic equipment system;
通过所述脚本文件解析所述全局配置信息,生成应用的原生页面;Parse the global configuration information through the script file to generate a native page of the application;
根据所述原生页面和所述应用数据生成应用页面,并展示所述应用页面。An application page is generated according to the native page and the application data, and the application page is displayed.
在一实施例中,在保存所述应用程序的应用数据以及应用图标,并删除所述应用程序之前,所述处理器还用于执行以下步骤:In an embodiment, before saving the application data and application icons of the application and deleting the application, the processor is further configured to perform the following steps:
获取所述电子设备当前的剩余存储空间;Acquiring the current remaining storage space of the electronic device;
判断所述剩余存储空间是否小于预设值;Judging whether the remaining storage space is less than a preset value;
若是,则执行保存所述应用程序的应用数据以及应用图标,并删除所述应用程序的步骤。If yes, perform the steps of saving the application data and application icon of the application, and deleting the application.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
请参阅图7,电子设备400包括处理器401以及存储器402。其中,处理器401与存储器402电性连接。Please refer to FIG. 7, the
处理器400是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的计算机程序,以及调用存储在存储器402内的数据,执行电子设备400的各种功能并处理数据,从而对电子设备400进行整体监控。The
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的 计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问。The
在本申请实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器402中,并由处理器401运行存储在存储器402中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the
当电子设备对应用程序进行冻结时,获取所述应用程序在预设时间段内的第一使用频率;When the electronic device freezes the application, acquiring the first frequency of use of the application within a preset time period;
判断所述第一使用频率是否小于预设频率;Determine whether the first use frequency is less than a preset frequency;
若是,则保存所述应用程序的应用数据,并删除所述应用程序的安装文件;If yes, save the application data of the application and delete the installation file of the application;
当再次启动所述应用程序时,根据所述应用数据创建应用页面并显示。When the application is started again, an application page is created and displayed according to the application data.
请一并参阅图8,在一些实施方式中,电子设备400还可以包括:显示器403、射频电路404、音频电路405以及电源406。其中,其中,显示器403、射频电路404、音频电路405以及电源406分别与处理器401电性连接。Please also refer to FIG. 8. In some embodiments, the
显示器403可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器403可以包括显示面板,在一些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。The
射频电路404可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The
音频电路405可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。The
电源406可以用于给电子设备400的各个部件供电。在一些实施例中,电源406可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
尽管图8中未示出,电子设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 8, the
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory, ROM)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
需要说明的是,对本申请实施例的应用程序的处理方法而言,本领域普通测试人员可以理解实现本申请实施例应用程序的处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如应用程序的处理方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that for the processing method of the application in the embodiment of this application, ordinary testers in the field can understand that all or part of the process of implementing the processing method of the application in the embodiment of this application can be controlled by a computer program. Completed by hardware, the computer program can be stored in a computer readable storage medium, such as stored in the memory of an electronic device, and executed by at least one processor in the electronic device. The execution process can include applications such as application programs. The flow of the embodiment of the processing method. Among them, the storage medium can be magnetic disk, optical disk, read-only memory, random access memory, etc.
对本申请实施例的应用程序的处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,存储介质譬如为只读存储器,磁盘或光盘等。For the processing device of the application program of the embodiment of the present application, its functional modules may be integrated in one processing chip, or each module may exist alone physically, or two or more modules may be integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk.
以上对本申请实施例所提供的一种应用程序的处理方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above describes in detail an application processing method, device, storage medium, and electronic equipment provided by the embodiments of this application. Specific examples are used in this article to illustrate the principles and implementations of this application. The description is only used to help understand the methods and core ideas of this application; at the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation and the scope of application. In summary, The content of this manual should not be construed as a limitation on this application.
Claims (20)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/082506 WO2020206691A1 (en) | 2019-04-12 | 2019-04-12 | Application processing method and apparatus, storage medium, and electronic device |
| CN201980092366.7A CN113474756A (en) | 2019-04-12 | 2019-04-12 | Application processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/082506 WO2020206691A1 (en) | 2019-04-12 | 2019-04-12 | Application processing method and apparatus, storage medium, and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020206691A1 true WO2020206691A1 (en) | 2020-10-15 |
Family
ID=72752189
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/082506 Ceased WO2020206691A1 (en) | 2019-04-12 | 2019-04-12 | Application processing method and apparatus, storage medium, and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113474756A (en) |
| WO (1) | WO2020206691A1 (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112764833A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Application program management method and device and electronic equipment |
| CN113467858A (en) * | 2021-07-23 | 2021-10-01 | 北京光启元数字科技有限公司 | Program starting method, device, equipment and medium |
| CN113485929A (en) * | 2021-07-12 | 2021-10-08 | 北大方正集团有限公司 | Data processing method, device, equipment, storage medium and program product |
| CN113608794A (en) * | 2021-05-28 | 2021-11-05 | 北京达佳互联信息技术有限公司 | Applet processing method, device and system, electronic equipment and storage medium |
| CN113625680A (en) * | 2021-07-13 | 2021-11-09 | 深圳市元征未来汽车技术有限公司 | Diagnostic software processing method and device and computer equipment |
| CN113821205A (en) * | 2021-01-21 | 2021-12-21 | 北京沃东天骏信息技术有限公司 | Method and device for controlling small program page parameters, medium and electronic equipment |
| CN114090133A (en) * | 2021-11-30 | 2022-02-25 | 深圳市元征科技股份有限公司 | Application program configuration method and device, electronic equipment and storage medium |
| CN114546767A (en) * | 2022-02-15 | 2022-05-27 | 北京百度网讯科技有限公司 | Application monitoring method, application management method and device and electronic equipment |
| CN115098160A (en) * | 2022-07-27 | 2022-09-23 | 平安付科技服务有限公司 | Method, system, computer device and medium for optimizing size of application program installation package |
| WO2024067256A1 (en) * | 2022-09-28 | 2024-04-04 | 华为技术有限公司 | Application management method, electronic device and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106201464A (en) * | 2016-06-27 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application icon processing method freezing application and mobile terminal |
| CN106293921A (en) * | 2016-08-15 | 2017-01-04 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method freezing application program and terminal |
| CN106325993A (en) * | 2016-08-22 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Freezing method of application program and terminal |
| US10089093B1 (en) * | 2011-05-24 | 2018-10-02 | BlueStack Systems, Inc. | Apparatuses, systems and methods of switching operating systems |
| CN109117153A (en) * | 2018-08-28 | 2019-01-01 | 上海闻泰电子科技有限公司 | Processing method, device, terminal and the storage medium of application program |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105843367A (en) * | 2016-03-24 | 2016-08-10 | 维沃移动通信有限公司 | Application processing method and electronic device |
| CN106095482A (en) * | 2016-05-31 | 2016-11-09 | 宇龙计算机通信科技(深圳)有限公司 | The freezing method of application program and device |
| WO2019061045A1 (en) * | 2017-09-27 | 2019-04-04 | 深圳传音通讯有限公司 | Application management method, terminal and computer readable storage medium |
| CN108459884A (en) * | 2018-02-13 | 2018-08-28 | 广东欧珀移动通信有限公司 | Application program closing method and device, storage medium and electronic equipment |
| CN109388453B (en) * | 2018-09-07 | 2020-05-12 | Oppo广东移动通信有限公司 | Application page display method and device, storage medium and electronic equipment |
| CN109408150A (en) * | 2018-10-30 | 2019-03-01 | 维沃移动通信有限公司 | It is a kind of to apply loading method and mobile terminal fastly |
-
2019
- 2019-04-12 WO PCT/CN2019/082506 patent/WO2020206691A1/en not_active Ceased
- 2019-04-12 CN CN201980092366.7A patent/CN113474756A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10089093B1 (en) * | 2011-05-24 | 2018-10-02 | BlueStack Systems, Inc. | Apparatuses, systems and methods of switching operating systems |
| CN106201464A (en) * | 2016-06-27 | 2016-12-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application icon processing method freezing application and mobile terminal |
| CN106293921A (en) * | 2016-08-15 | 2017-01-04 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method freezing application program and terminal |
| CN106325993A (en) * | 2016-08-22 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Freezing method of application program and terminal |
| CN109117153A (en) * | 2018-08-28 | 2019-01-01 | 上海闻泰电子科技有限公司 | Processing method, device, terminal and the storage medium of application program |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113821205A (en) * | 2021-01-21 | 2021-12-21 | 北京沃东天骏信息技术有限公司 | Method and device for controlling small program page parameters, medium and electronic equipment |
| CN112764833A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Application program management method and device and electronic equipment |
| CN113608794A (en) * | 2021-05-28 | 2021-11-05 | 北京达佳互联信息技术有限公司 | Applet processing method, device and system, electronic equipment and storage medium |
| CN113485929A (en) * | 2021-07-12 | 2021-10-08 | 北大方正集团有限公司 | Data processing method, device, equipment, storage medium and program product |
| CN113625680A (en) * | 2021-07-13 | 2021-11-09 | 深圳市元征未来汽车技术有限公司 | Diagnostic software processing method and device and computer equipment |
| CN113467858A (en) * | 2021-07-23 | 2021-10-01 | 北京光启元数字科技有限公司 | Program starting method, device, equipment and medium |
| CN113467858B (en) * | 2021-07-23 | 2024-06-11 | 腾讯云计算(北京)有限责任公司 | Program starting method, device, equipment and medium |
| CN114090133A (en) * | 2021-11-30 | 2022-02-25 | 深圳市元征科技股份有限公司 | Application program configuration method and device, electronic equipment and storage medium |
| CN114546767A (en) * | 2022-02-15 | 2022-05-27 | 北京百度网讯科技有限公司 | Application monitoring method, application management method and device and electronic equipment |
| CN115098160A (en) * | 2022-07-27 | 2022-09-23 | 平安付科技服务有限公司 | Method, system, computer device and medium for optimizing size of application program installation package |
| WO2024067256A1 (en) * | 2022-09-28 | 2024-04-04 | 华为技术有限公司 | Application management method, electronic device and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113474756A (en) | 2021-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020206691A1 (en) | Application processing method and apparatus, storage medium, and electronic device | |
| US20210191996A1 (en) | Method for displaying application page, non-transitory storage medium and electronic device | |
| CN109408136B (en) | Information processing method, device, storage medium and electronic device | |
| US20210216700A1 (en) | Information Processing Method and System | |
| US10467025B2 (en) | Managing delivery of code and dependent data using application containers | |
| CN108319489B (en) | Application page startup method, device, storage medium and electronic device | |
| CN103617057B (en) | Application program installation method and device | |
| TWI708185B (en) | Method and device for running program, calculating apparatus and storage medium | |
| CN108228305A (en) | Application page display method, device, storage medium and electronic device | |
| CN108363528B (en) | Application page starting method and device, storage medium and electronic equipment | |
| CN108549568B (en) | Application entry processing method, device, storage medium and electronic device | |
| CN108391009A (en) | Application page display method, device, storage medium and electronic device | |
| CN108345478B (en) | Application processing method, device, storage medium and electronic device | |
| US20150365463A1 (en) | Dynamic application deployment | |
| WO2019149026A1 (en) | Method and device for generating link for application page, storage medium, and electronic apparatus | |
| CN107943505A (en) | Application upgrade management method and device, storage medium and electronic equipment | |
| CN108287918A (en) | Method for playing music, device, storage medium based on five application page and electronic equipment | |
| CN105955770A (en) | Application program uninstalling method and terminal | |
| CN108334330B (en) | Application uninstallation method, device, storage medium and electronic device | |
| CN108563476B (en) | Application running method, device, storage medium and electronic device | |
| CN108268274B (en) | Application management method and device, storage medium and electronic equipment | |
| CN111008050B (en) | Page task execution method, device, terminal and storage medium | |
| WO2024212776A1 (en) | Resource reloading method and apparatus, electronic device, and storage medium | |
| CN107301089B (en) | An APP deployment and invocation method and terminal | |
| CN109753291A (en) | Intelligent terminal, application management method and device thereof, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19924385 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19924385 Country of ref document: EP Kind code of ref document: A1 |