Application control method, device, equipment and medium
By preloading applications that meet the conditions and using historical usage data and geographical location, the problem of pop-up windows affecting the user experience is solved, the application interface is quickly displayed, and the user experience is improved.
Patent Information
- Application Number
- CN202210862835.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-07-21
AI Technical Summary
Open-screen pop-ups affect the user's experience of using the application, causing users to wait for the pop-up window to disappear before they can see the application interface when launching the application.
By preloading applications that meet specific conditions based on the application's pop-up window duration and historical usage time, the historical opening time period and geographical location are used to determine the preloading opportunity, thereby reducing the pop-up window display time.
It reduces the impact of pop-up windows on the user's use of the application, and improves the display speed and user experience of the application interface.
Smart Images

Figure CN115016884B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to an application control method, device, equipment and medium. Background Art
[0002] With the development of electronic devices and software technology, more and more applications are installed in electronic devices. Some applications have pop-up windows (commonly known as splash screen ads), and some interfaces of applications also have pop-up windows. The splash screen pop-up window is the advertisement screen that appears when the application is started.
[0003] When an application with a pop-up window is started (that is, when the user opens the application) or when the user opens an interface with a pop-up window, these pop-ups will be displayed first. After these pop-ups are displayed for a period of time, the application interface will be displayed. Pop-ups affect the user's use of the application. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an application control method, apparatus, device and medium, which can solve the problem that pop-up windows affect the user's use of applications.
[0005] In a first aspect, an embodiment of the present application provides an application control method, including:
[0006] Determine, from the N applications, a first application satisfying a first condition according to the pop-up window duration and the historical usage duration of the N applications, where N is a positive integer greater than 1;
[0007] When the historical opening time period and / or the historical opening geographical location meet the second condition, the first application is preloaded; wherein the historical opening time period is the time period when the user historically opened the first application, and the historical opening geographical location is the geographical location where the electronic device was located when the first application was historically opened.
[0008] In a second aspect, an embodiment of the present application provides an application control device, including:
[0009] A determination module, configured to determine a first application satisfying a first condition from the N applications according to the pop-up window duration and the historical usage duration of the N applications, wherein N is a positive integer greater than 1;
[0010] A preloading module is used to preload the first application when the historical opening time period and / or the historical opening geographical location meet the second condition; wherein the historical opening time period is the time period when the user historically opened the first application, and the historical opening geographical location is the geographical location where the electronic device was located when the first application was historically opened.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a chip, including a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.
[0014] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0015] In an embodiment of the present application, a first application satisfying the first condition is determined from N applications according to the pop-up window duration and historical usage duration of N applications; the first application is preloaded when the time period when the user historically opened the first application and / or the geographical location of the electronic device when the first application was historically opened meet the second condition. Since the first application is preloaded, after the first application is preloaded, the pop-up window duration of the first application is consumed as time passes. When the user uses the first application, the interface of the first application can be quickly displayed, which can reduce the impact of the screen pop-up window on the user's use of the first application. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flowchart of an application control method provided in an embodiment of the present application;
[0017] Figure 2 This is a schematic diagram of the first process of application control provided by an embodiment of the present application;
[0018] Figure 3 This is a schematic diagram of a second process of application control provided by an embodiment of the present application;
[0019] Figure 4 is a schematic diagram of the structure of an application control device provided in an embodiment of the present application;
[0020] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0021] Figure 6It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0024] The following, in conjunction with the accompanying drawings, describes in detail the application control method, device, equipment and medium provided in the embodiments of the present application through specific embodiments and their application scenarios.
[0025] Figure 1 is a flow chart of the application control method provided in the embodiment of the present application. Figure 1 As shown, the application control method may include:
[0026] Step 101: Determine a first application satisfying a first condition from among the N applications according to the pop-up window duration and historical usage duration of the N applications, where N is a positive integer greater than 1;
[0027] Step 102: Preload the first application when the historical opening time period and / or the historical opening geographic location meet the second condition; wherein the historical opening time period is the time period when the user historically opened the first application, and the historical opening geographic location is the geographic location where the electronic device was located when the first application was historically opened.
[0028] The specific implementation of the above steps will be described in detail below.
[0029] In an embodiment of the present application, a first application satisfying the first condition is determined from N applications according to the pop-up window duration and historical usage duration of the N applications; the first application is preloaded when the time period when the user historically opened the first application and / or the geographical location of the electronic device when the first application was historically opened meet the second condition. Since the first application is preloaded, after the first application is preloaded, the duration of the pop-up window of the first application is consumed as time passes. When the user uses the first application, the interface of the first application can be quickly displayed, which can reduce the impact of the pop-up window on the user's use of the first application.
[0030] In some possible implementations of the embodiments of the present application, the N applications in the embodiments of the present application may be all applications installed in the electronic device, or may be applications selected by the user from the applications installed in the electronic device.
[0031] In some possible implementations of the embodiments of the present application, step 101 may include: for a second application, calculating the quotient of the pop-up duration of the second application and the average historical usage duration; wherein the second application is any one of the N applications, and the average historical usage duration is the average duration of each historical use of the second application; based on the quotient, determining the first application.
[0032] In some possible implementations of the embodiments of the present application, determining the first application according to the quotient may include: if the quotient is greater than a first threshold, determining the second application as the first application.
[0033] In some possible implementations of the embodiments of the present application, for each of the N applications, the average duration of each historical use of the application within a preset time period (e.g., one week, half a month, one month) may be calculated, and then the quotient of the pop-up window duration of the application and the average value is calculated. When the quotient is greater than a preset threshold, the application is used as the first application.
[0034] In some possible implementations of the embodiments of the present application, determining the first application according to the quotient may include: sorting the quotients corresponding to the N applications; and determining the first application according to the sorting result of the quotients.
[0035] In some possible implementations of the embodiments of the present application, for each of the N applications, the average duration of each historical use of the application within a preset time period (e.g., one week, half a month, one month) may be calculated, and then the quotient of the pop-up window duration of the application and the average value is calculated. The quotients corresponding to the various applications are sorted, and then the first application is determined according to the sorting result.
[0036] For example, when the quotients corresponding to the various applications are sorted from largest to smallest, the top N applications may be used as the first application.
[0037] For example, when the quotients corresponding to the various applications are sorted from small to large, the sorted N applications can be used as the first application.
[0038] In some possible implementations of the embodiments of the present application, in step 101, the single usage duration of each application in the N applications may also be counted, and when the single usage duration of a certain application is less than the usage duration threshold for a number of times greater than the number threshold, the application is determined as the first application; or, when the single usage duration of a certain application is greater than the usage duration threshold for a number of times greater than the number threshold, the application is determined as the first application. Determining the first application based on the single usage duration of the application may be set according to actual needs.
[0039] In some possible implementations of the embodiments of the present application, 24 hours of a day may be divided into multiple time periods according to a division granularity (for example, a division granularity of 15 minutes, 30 minutes, or 1 hour, etc.) For a certain application, a user usually opens the application between 8:00 and 8:30, and the historical opening time period of the application is 8:00 to 8:30.
[0040] In some possible implementations of the embodiments of the present application, the geographical location in the embodiments of the present application can be a circular area with a certain coordinate point on the earth as the center, or a rectangular area composed of certain coordinate points.
[0041] In some possible implementations of the embodiments of the present application, the coordinate points in the embodiments of the present application may be longitude and latitude coordinate points.
[0042] For example, the latitude and longitude of the user's home are: 39.979434 North Latitude, 116.464954 East Longitude. If the user often uses a food delivery application at home or within 100 meters of home, the historical opening geographic location of the food delivery application may be within a circle with 39.979434 North Latitude, 116.464954 East Longitude as the center and 100 meters as the radius.
[0043] In some possible implementations of the embodiments of the present application, the second condition includes at least one of the following items:
[0044] The distance between the current time and the start time of the historical open time period is equal to the time threshold;
[0045] Electronic devices are in historically open geographic locations.
[0046] Exemplarily, the correspondence between the application programs and the historical opening time periods is shown in Table 1.
[0047] Table 1
[0048] app Historical opening time period A 8:30-9:30 B 11:30-12:30 C 20:00-21:00
[0049] The duration threshold is 10 minutes. When the current time is 8:20, preload application A; when the current time is 11:20, preload application B; when the current time is 19:50, preload application C.
[0050] As another example, the correspondence between the application programs and the historically opened geographic locations is shown in Table 2.
[0051] Table 2
[0052]
[0053] When the electronic device is within a circular range with a center at 39.979434 north latitude and 116.464954 east longitude and a radius of 100 meters, application A is preloaded.
[0054] When the electronic device is within a circular range with a center at 40.254786 north latitude and 116.58649 east longitude and a radius of 100 meters, application B is preloaded.
[0055] When the electronic device is within a circular range with a center at 39.84579 north latitude and 116.348567 east longitude and a radius of 100 meters, application C is preloaded.
[0056] As another example, the correspondence between the application, the historical opening time period, and the historical opening geographical location is shown in Table 3.
[0057] Table 3
[0058]
[0059] The duration threshold is 10 minutes.
[0060] When the current time is 8:20 and the electronic device is within a circular range with a center at 39.979434 north latitude and 116.464954 east longitude and a radius of 100 meters, application A is preloaded.
[0061] When the current time is 11:20 and the electronic device is within a circular range with a center of 40.254786 north latitude and 116.58649 east longitude and a radius of 100 meters, application B is preloaded.
[0062] When the current time is 19:50 and the electronic device is within a circular range with a center of 39.84579 north latitude and 116.348567 east longitude and a radius of 100 meters, application C is preloaded.
[0063] In some possible implementations of the embodiments of the present application, the preloaded application in the embodiments of the present application may be to open the application in the background, or may be to preload the next level interface of a certain interface of the application when the interface is opened.
[0064] In some possible implementations of the embodiments of the present application, the above-mentioned pop-up duration can be the duration of the pop-up window when the application opens the screen, or it can be a duration determined based on the pop-up duration of all pop-up windows of the application, for example, the average pop-up duration of all pop-up windows of the application.
[0065] In some possible implementations of the embodiments of the present application, after step 102, the application control method provided by the embodiments of the present application may also include: when the pop-up duration of a first pop-up window of a first application has not expired and the first pop-up window is displayed, displaying a first control whose size is larger than the close control of the first pop-up window, wherein the first control is used to close the first pop-up window; receiving a first input to the first control; and closing the first pop-up window in response to the first input.
[0066] In some possible implementations of the embodiments of the present application, the first pop-up window in the embodiments of the present application may be a pop-up window for opening the first application, or may be a pop-up window displayed when a certain interface of the first application is opened.
[0067] In some possible implementations of the embodiments of the present application, the first input of the embodiments of the present application may be a click input of clicking the first control.
[0068] For example, Figure 2 As shown. Figure 2 In the example, when a user opens page M of a first application, a first pop-up window is displayed, and part of the content of page M is blocked by the first pop-up window. Since the close control of the first pop-up window is small, it is not convenient for the user to click to close the first pop-up window. In this case, a first control larger than the close control can be displayed. When the user clicks the first control, the first pop-up window can be closed and page M can be displayed. Figure 2 In the example, the first control is a button named "Click this button to close the first pop-up window".
[0069] In the embodiment of the present application, by displaying a first control whose size is larger than the close control of the first pop-up window, the user can close the first pop-up window by performing an input on the first control. Since the size of the first control is larger than the size of the close control of the first pop-up window, the first control is easier for the user to operate, which can improve the efficiency of closing the first pop-up window.
[0070] In some possible implementations of the embodiments of the present application, after step 102, the application control method provided by the embodiments of the present application may also include: when the pop-up duration of the second pop-up window of the first application has not expired and the second pop-up window is displayed, receiving a second input from the user to a preset area on the screen of the electronic device; and closing the second pop-up window in response to the second input.
[0071] In some possible implementations of the embodiments of the present application, the second pop-up window of the embodiments of the present application may be a pop-up window for opening the first application, or may be a pop-up window displayed when a certain interface of the first application is opened.
[0072] In some possible implementations of the embodiments of the present application, the preset area of the embodiments of the present application can be set according to the actual needs of the user. For example, a rectangular area in the lower left corner of the screen is set as the preset area.
[0073] In some possible implementations of the embodiments of the present application, the second input of the embodiments of the present application may be a double-click input or a triple-click input of a preset area, etc.
[0074] For example, Figure 3 As shown. Figure 3 In the example, when the user opens the page M of the first application, the first pop-up window is displayed, and part of the content of the page M is blocked by the second pop-up window. When the user quickly double-clicks the preset area in the lower left corner of the screen, the second pop-up window can be closed and the page M can be displayed.
[0075] In the embodiment of the present application, the user can close the second pop-up window by performing an input on a preset area on the screen of the electronic device. There is no need to click the close control of the second pop-up window, which can improve the efficiency of closing the second pop-up window.
[0076] It should be noted that the application control method provided in the embodiment of the present application can be executed by an application control device. In the embodiment of the present application, the application control device provided in the embodiment of the present application is described by taking the application control method executed by the application control device as an example.
[0077] Figure 4 Schematic diagram of the structure of the application control device provided in the embodiment of the present application. Figure 4 As shown, the application control device 400 may include:
[0078] A determination module 401 is used to determine a first application satisfying a first condition from the N applications according to the pop-up window duration and the historical usage duration of the N applications, where N is a positive integer greater than 1;
[0079] The preloading module 402 is used to preload the first application when the historical opening time period and / or the historical opening geographical location meet the second condition; wherein the historical opening time period is the time period when the user historically opened the first application, and the historical opening geographical location is the geographical location where the electronic device was located when the first application was historically opened.
[0080] In an embodiment of the present application, a first application satisfying the first condition is determined from N applications according to the pop-up window duration and historical usage duration of N applications; the first application is preloaded when the time period when the user historically opened the first application and / or the geographical location of the electronic device when the first application was historically opened meet the second condition. Since the first application is preloaded, after the first application is preloaded, the pop-up window duration of the first application is consumed as time passes. When the user uses the first application, the interface of the first application can be quickly displayed, which can reduce the impact of the screen pop-up window on the user's use of the first application.
[0081] In some possible implementations of the embodiments of the present application, the determination module 401 may include:
[0082] A calculation submodule, for calculating, for a second application, a quotient of a pop-up window duration of the second application and an average historical usage duration; wherein the second application is any one of the N applications, and the average historical usage duration is an average duration of each historical use of the second application;
[0083] The determination submodule is used to determine the first application according to the quotient.
[0084] In some possible implementations of the embodiments of the present application, the second condition includes at least one of the following items:
[0085] The distance between the current time and the start time of the historical open time period is equal to the time threshold;
[0086] Electronic devices are in historically open geographic locations.
[0087] In some possible implementations of the embodiments of the present application, the application control device 400 may further include:
[0088] A display module, configured to display a first control whose size is larger than a close control of the first pop-up window when the pop-up window duration of the first pop-up window of the first application is not exhausted and the first pop-up window is displayed, wherein the first control is used to close the first pop-up window;
[0089] A first receiving module, used for receiving a first input to a first control;
[0090] The first closing module is used to close the first pop-up window in response to the first input.
[0091] In the embodiment of the present application, by displaying a first control whose size is larger than the close control of the first pop-up window, the user can close the first pop-up window by performing an input on the first control. Since the size of the first control is larger than the size of the close control of the first pop-up window, the first control is easier for the user to operate, which can improve the efficiency of closing the first pop-up window.
[0092] In some possible implementations of the embodiments of the present application, the application control device 400 may further include:
[0093] A second receiving module is used to receive a second input from a user to a preset area on the screen of the electronic device when the pop-up window duration of the second pop-up window of the first application has not expired and the second pop-up window is displayed;
[0094] The second closing module is used to close the second pop-up window in response to the second input.
[0095] In the embodiment of the present application, the user can close the second pop-up window by performing an input on a preset area on the screen of the electronic device. There is no need to click the close control of the second pop-up window, which can improve the efficiency of closing the second pop-up window.
[0096] The application control device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0097] The application control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0098] The application control device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes in the application control method embodiment are not described here.
[0099] Optional, such as Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores programs or instructions that can be executed on the processor 501, and when the program or instructions are executed by the processor 501, the various steps of the above-mentioned application control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0100] In some possible implementations of the embodiments of the present application, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0101] In some possible implementations of the embodiments of the present application, the memory 502 may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory 502 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the application control method according to the embodiments of the present application.
[0102] Figure 6 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0103] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0104] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0105] Among them, processor 610 is used to: determine a first application that meets a first condition from N applications based on the pop-up duration and historical usage duration of N applications, where N is a positive integer greater than 1; preload the first application when the historical opening time period and / or the historical opening geographic location meet the second condition; wherein the historical opening time period is the time period when the user historically opened the first application, and the historical opening geographic location is the geographic location where the electronic device was located when the first application was historically opened.
[0106] In an embodiment of the present application, a first application satisfying the first condition is determined from N applications according to the pop-up window duration and historical usage duration of N applications; the first application is preloaded when the time period when the user historically opened the first application and / or the geographical location of the electronic device when the first application was historically opened meet the second condition. Since the first application is preloaded, after the first application is preloaded, the pop-up window duration of the first application is consumed as time passes. When the user uses the first application, the interface of the first application can be quickly displayed, which can reduce the impact of the screen pop-up window on the user's use of the first application.
[0107] In some possible implementations of the embodiments of the present application, the processor 610 may be specifically configured to:
[0108] For the second application, calculate the quotient of the pop-up duration of the second application and the average historical usage duration; wherein the second application is any one of the N applications, and the average historical usage duration is the average duration of each historical use of the second application; based on the quotient, determine the first application.
[0109] In some possible implementations of the embodiments of the present application, the second condition includes at least one of the following items:
[0110] The distance between the current time and the start time of the historical open time period is equal to the time threshold;
[0111] The electronic device 600 is in a historical open geographic location.
[0112] In some possible implementations of the embodiments of the present application, the display unit 606 is used to:
[0113] When the pop-up window duration of a first pop-up window of the first application has not expired and the first pop-up window is displayed, displaying a first control whose size is larger than a close control of the first pop-up window, wherein the first control is used to close the first pop-up window;
[0114] The user input unit 607 is used to: receive a first input to a first control;
[0115] The processor 610 may also be configured to: in response to the first input, close the first pop-up window.
[0116] In the embodiment of the present application, by displaying a first control whose size is larger than the close control of the first pop-up window, the user can close the first pop-up window by performing an input on the first control. Since the size of the first control is larger than the size of the close control of the first pop-up window, the first control is easier for the user to operate, which can improve the efficiency of closing the first pop-up window.
[0117] In some possible implementations of the embodiments of the present application, the user input unit 607 may also be used to:
[0118] When the pop-up window duration of the first pop-up window of the first application has not expired and the second pop-up window is displayed, receiving a second input from the user to a preset area on the screen of the electronic device;
[0119] The processor 610 may also be configured to: in response to a second input, close the second pop-up window.
[0120] In the embodiment of the present application, the user can close the second pop-up window by performing an input on a preset area on the screen of the electronic device. There is no need to click the close control of the second pop-up window, which can improve the efficiency of closing the second pop-up window.
[0121] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0122] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0123] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.
[0124] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned application control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0125] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include a non-transitory computer-readable storage medium, such as a ROM, RAM, a magnetic disk or an optical disk.
[0126] An embodiment of the present application further provides a chip, including a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned application control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0127] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0128] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned application control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0129] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0131] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An application control method, characterized in that: The method comprises: Determine, from the N applications, a first application satisfying a first condition according to the pop-up window duration and the historical usage duration of the N applications, where N is a positive integer greater than 1; If the historical opening time period and / or the historical opening geographical location meet the second condition, preloading the first application; wherein the historical opening time period is the time period when the user historically opened the first application, and the historical opening geographical location is the geographical location where the electronic device was located when the user historically opened the first application; The determining, according to the pop-up window duration and the historical usage duration of the N applications, a first application satisfying the first condition from the N applications comprises: For a second application, calculate the quotient of the pop-up duration of the second application and the average historical usage duration; wherein the second application is any one of the N applications, and the average historical usage duration is the average duration of each historical use of the second application; The first application is determined according to the quotient.
2. The method according to claim 1, characterized in that The second condition includes at least one of the following: The distance between the current time and the start time of the historical open time period is equal to the time threshold; The electronic device is located at the historical turned-on geographic location.
3. The method according to claim 1, characterized in that After preloading the first application, the method further includes: If the pop-up window duration of the first pop-up window of the first application has not expired and the first pop-up window is displayed, display a first control whose size is larger than the close control of the first pop-up window, wherein the first control is used to close the first pop-up window; receiving a first input to the first control; In response to the first input, the first pop-up window is closed.
4. The method according to claim 1, characterized in that: After preloading the first application, the method further includes: When the pop-up window duration of the second pop-up window of the first application has not expired and the second pop-up window is displayed, receiving a second input from the user to a preset area on the screen of the electronic device; In response to the second input, close the second pop-up window.
5. An application control device, characterized in that: The device comprises: A determination module, configured to determine a first application satisfying a first condition from the N applications according to the pop-up window duration and the historical usage duration of the N applications, wherein N is a positive integer greater than 1; a preloading module, configured to preload the first application when a historical opening time period and / or a historical opening geographical location satisfies a second condition; wherein the historical opening time period is a time period when a user historically opens the first application, and the historical opening geographical location is a geographical location where the electronic device is located when the user historically opens the first application; The determining module comprises: a calculation submodule, for calculating, for a second application, a quotient of a pop-up window duration of the second application and an average historical usage duration; wherein the second application is any one of the N applications, and the average historical usage duration is an average duration of each historical use of the second application; A determination submodule is used to determine the first application according to the quotient.
6. The device according to claim 5, characterized in that The second condition includes at least one of the following: The distance between the current time and the start time of the historical open time period is equal to the time threshold; The electronic device is located at the historical turned-on geographic location.
7. The device according to claim 5, characterized in that The device also includes: A display module, configured to display a first control whose size is larger than a close control of a first pop-up window when the pop-up window duration of the first pop-up window of the first application is not exhausted and the first pop-up window is displayed, wherein the first control is used to close the first pop-up window; A first receiving module, used for receiving a first input to the first control; The first closing module is used to close the first pop-up window in response to the first input.
8. The device according to claim 5, characterized in that The device also includes: A second receiving module is used to receive a second input from a user to a preset area on the screen of the electronic device when the pop-up window duration of the second pop-up window of the first application has not expired and the second pop-up window is displayed; A second closing module is used to close the second pop-up window in response to the second input.
9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the application control method according to any one of claims 1 to 4 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the application control method according to any one of claims 1 to 4 are implemented.
