CN110795172B - Foreground process control method and device, electronic equipment and storage medium - Google Patents
Foreground process control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110795172B CN110795172B CN201911027708.5A CN201911027708A CN110795172B CN 110795172 B CN110795172 B CN 110795172B CN 201911027708 A CN201911027708 A CN 201911027708A CN 110795172 B CN110795172 B CN 110795172B
- Authority
- CN
- China
- Prior art keywords
- foreground process
- preset
- foreground
- application program
- electronic device
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a foreground process control method and device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to the electronic equipment, and comprises the following steps: and acquiring a foreground process of the electronic equipment, acquiring an application program running on the foreground of the electronic equipment, matching the foreground process with the application program, and limiting the foreground process according to a preset rule when the foreground process is not matched with the application program. According to the foreground process control method, the foreground process control device, the electronic equipment and the storage medium, when the foreground process of the electronic equipment is not matched with an application program running in the foreground of the electronic equipment, the foreground process is limited, so that the power consumption of the electronic equipment is reduced.
Description
Technical Field
The present application relates to the technical field of electronic devices, and in particular, to a foreground process control method, a foreground process control device, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic devices are increasingly widely used, and have more and more functions, and become one of the necessities in daily life. At present, an electronic device can install and operate an application program, but the electronic device can cause larger power consumption in the process of operating the application program, and the user experience is poor.
Disclosure of Invention
In view of the above, the present application proposes a foreground process control method, apparatus, electronic device, and storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a foreground process control method, applied to an electronic device, where the method includes: acquiring a foreground process of the electronic equipment, and acquiring an application program running in the foreground of the electronic equipment; matching the foreground process with the application program; and when the foreground process and the application program are not matched, limiting the foreground process according to a preset rule.
In a second aspect, an embodiment of the present application provides a foreground process control apparatus, applied to an electronic device, where the apparatus includes: the foreground process acquisition module is used for acquiring a foreground process of the electronic equipment; the application program acquisition module is used for acquiring an application program corresponding to the foreground process; and the foreground process limiting module is used for limiting the foreground process according to a preset rule when the application program runs in the background of the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that when executed by the processor perform the above-described method.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, the program code being callable by a processor to perform the above method.
According to the foreground process control method, the foreground process control device, the electronic equipment and the storage medium, the foreground process of the electronic equipment is obtained, the application program running on the foreground of the electronic equipment is obtained, the foreground process is matched with the application program, when the foreground process is not matched with the application program, the foreground process is limited according to the preset rule, and therefore when the foreground process of the electronic equipment is not matched with the application program running on the foreground of the electronic equipment, the foreground process is limited, and the power consumption of the electronic equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a foreground process control method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a foreground process control method according to another embodiment of the present application;
FIG. 3 is a flow chart illustrating step S230 of the foreground process control method of FIG. 2 according to the present application;
FIG. 4 is a flow chart illustrating step S250 of the foreground process control method of FIG. 2 of the present application;
FIG. 5 shows a block diagram of a foreground process control apparatus according to an embodiment of the present application;
FIG. 6 shows a block diagram of an electronic device for performing a foreground process control method according to an embodiment of the application;
fig. 7 illustrates a storage unit for storing or carrying program codes for implementing a foreground process control method according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings.
With the development of electronic device technology, an electronic device may run multiple applications at the same time, for example, may run multiple applications in the background of the electronic device at the same time, may run one application in the foreground of the electronic device, may run multiple applications in the background of the electronic device at the same time, and so on. However, since only one application program can be run in the foreground of the electronic device during the process of running the plurality of application programs by the electronic device at the same time, the plurality of application programs can only be run in the background of the electronic device, and accordingly, the plurality of application programs running in the background of the electronic device may be respectively hung on the foreground of the electronic device in correspondence with the foreground processes, so that the power consumption of the electronic device is increased due to the corresponding foreground processes when part of application programs are not used.
For example, when the front-end operation of the electronic device is backed up to the back-end operation of the electronic device, there is a camera process running in the front-end of the electronic device, which is represented as a resident Foreground process process camera.
In order to solve the problems, the inventor discovers through long-term research and proposes a foreground process control method, a device, an electronic device and a storage medium, wherein the foreground process of the electronic device is limited when the foreground process of the electronic device is not matched with an application program running in the foreground of the electronic device, so that the power consumption of the electronic device is reduced. The specific foreground process control method is described in detail in the following embodiments.
Referring to fig. 1, fig. 1 is a flow chart illustrating a foreground process control method according to an embodiment of the application. The foreground process control method is used for limiting the foreground process of the electronic equipment when the foreground process of the electronic equipment is not matched with an application program running in the foreground of the electronic equipment, so that the power consumption of the electronic equipment is reduced. In a specific embodiment, the foreground process control method is applied to the foreground process control apparatus 200 shown in fig. 5 and the electronic device 100 (fig. 6) configured with the foreground process control apparatus 200. The specific flow of the present embodiment will be described below by taking an electronic device as an example, and it will be understood that the electronic device applied in the present embodiment may be a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited herein. The following details about the flow shown in fig. 1, the foreground process control method specifically may include the following steps:
Step S110: and acquiring a foreground process of the electronic equipment, and acquiring an application program running in the foreground of the electronic equipment.
In this embodiment, a foreground process of the electronic device may be acquired. In some implementations, the foreground process of the electronic device may be obtained by detecting the process of Foreground process of the electronic device. In other embodiments, the foreground Process of the electronic device may be obtained through a Running Task, a Running Process, activity Lifecycle Callbacks, access bility service, etc. of the electronic device.
Taking a foreground process of the electronic device obtained through a Running Task of the electronic device as an example for explanation, when a process runs in the foreground of the electronic device, the process is located at the stack top of the stack of the Running Task, so that a Task process at the stack top of the Running Task can be taken out to obtain the foreground process of the electronic device. Taking a foreground Process of the electronic device obtained through the Running Process as an example for explanation, the electronic device can obtain a list of currently Running processes through the Running Process, then traverse each Process in the obtained list, judge whether an import attribute of each Process is the foreground Process, if the import attribute of the Process is the foreground Process, characterize the Process as the foreground Process of the electronic device, and therefore the foreground Process of the electronic device can be obtained.
In some embodiments, the electronic device may run an application, for example, the electronic device may run an application in the foreground, may run an application in the background, or may switch between running an application in the foreground and in the background, without limitation. Specifically, the application running in the foreground refers to an application which can interact with a user in general and can run in the foreground and can be suspended (such as a game) when the application is invisible; the background running application program is very limited in interaction with the user, and other times of the lifetime of the application program are hidden except during configuration (such as an SMS automatic replying program and an alarm clock program); the application program which is switched between the foreground and the background of the electronic device is an application program which can be switched between the foreground and the background at will. It will be appreciated that when an application is not killed (kill), it is characterized as running on the electronic device.
For example, the electronic device may run an image processing application in the foreground and display an image processing page corresponding to the image processing application, where the electronic device may run the image processing application in the foreground and display an image processing page corresponding to the image processing application when detecting a touch operation on an icon acting on the image processing application; when touch operation on a link corresponding to the image processing application program is detected, the image processing application program is operated in the foreground and an image processing page corresponding to the image processing application program is displayed; when voice information input by a user and indicating to start the image processing application is received, the image processing application may be run in the foreground and an image processing page corresponding to the image processing application may be displayed.
In this embodiment, an application running in the foreground of the electronic device may be acquired. In some embodiments, it may be detected that the electronic device is in a bright screen state or a screen-off state, and when it is detected that the electronic device is in the bright screen state, it is detected whether an application program is running in the foreground of the electronic device, and when it is detected that the application program is running in the foreground of the electronic device, it is then acquired that the application program is running in the foreground of the electronic device.
Specifically, state information of a display screen of the electronic device may be detected, where the state information of the display screen may include a bright screen state and a blank screen state, that is, in this embodiment, whether the display screen is currently in the bright screen state or the blank screen state may be detected. As a way, the screen BRIGHTNESS (settings. System. Screen_brigntness) of the electronic device may be detected and obtained, the obtained screen BRIGHTNESS may be compared with a preset BRIGHTNESS to determine whether the screen BRIGHTNESS is greater than the preset BRIGHTNESS, when the screen BRIGHTNESS is greater than the preset BRIGHTNESS, the state information of the display screen may be considered as a bright screen state, when the screen BRIGHTNESS is not greater than the preset BRIGHTNESS, the state information of the display screen may be considered as a blank screen state. Alternatively, in this embodiment, the preset luminance value is 0, when the screen luminance is greater than 0, the state information of the display screen may be considered as a bright screen state, and when the screen state is not greater than 0, the state information of the display screen may be considered as a blank screen state. Of course, in this embodiment, other methods for detecting the status information of the display screen may be further included, which will not be described herein.
In some embodiments, when the electronic device is determined to be in the bright screen state based on the above manner, whether the electronic device runs an application program in the foreground may be determined by detecting the current display interface of the display screen, where when detecting that the current display interface of the display screen is a desktop or a lock screen interface, it may be determined that the electronic device does not run the application program in the foreground, and when detecting that the current display interface of the display screen is an application page, it may be determined that the electronic device runs the application program in the foreground. Of course, in this embodiment, other ways of detecting whether the electronic device is running an application in the foreground may be used, which will not be described herein.
In some embodiments, when it is determined that the electronic device has an application running in the foreground, the application running in the foreground of the electronic device may be acquired by querying an application manager of the electronic device, which is not limited herein.
Step S120: and matching the foreground process with the application program.
The number of foreground processes may be one or more, and the number of applications running in the foreground of the electronic device is one. Thus, in some implementations, matching a foreground process with an application running in the foreground of an electronic device may be matching one or more foreground processes with an application running in the foreground of the electronic device. For example, when the number of foreground processes is one, the one foreground process may be compared with an application running in the foreground of the electronic device to determine whether the one foreground process matches the application running in the foreground of the electronic device; when the number of foreground processes is plural, the plural foreground processes may be respectively compared with the application running in the foreground of the electronic device to respectively determine whether the plural foreground processes match with the application running in the foreground of the electronic device.
In some embodiments, after the application program running on the foreground of the electronic device is acquired, a foreground process corresponding to the application program running on the foreground of the electronic device may be acquired as a target foreground process, and then the foreground process is compared with the target foreground process to determine whether the foreground process is consistent with the target foreground process, where it may be determined that the foreground process matches the application program running on the foreground of the electronic device when the foreground process is consistent with the target foreground process, and where it may be determined that the foreground process does not match the application program running on the foreground of the electronic device when the foreground process is inconsistent with the target foreground process. Of course, when the number of foreground processes is one, one foreground process may be compared with the target foreground process to determine whether the one foreground process is consistent with the target foreground process, and when the number of foreground processes is multiple, the plurality of foreground processes may be respectively compared with the target foreground process to respectively determine whether the plurality of foreground processes are consistent with the target foreground process.
In some embodiments, after the foreground process of the electronic device is acquired, an application corresponding to the foreground process may be acquired as a target application program, and then the application running in the foreground of the electronic device is compared with the target application program to determine whether the application running in the foreground of the electronic device is consistent with the target application program, where it may be determined that the foreground process is matched with the application running in the foreground of the electronic device when the application running in the foreground of the electronic device is consistent with the target application program, and where it may be determined that the foreground process is not matched with the application running in the foreground of the electronic device when the application running in the foreground of the electronic device is inconsistent with the target application program. Of course, when the number of foreground processes is one, an application corresponding to the foreground process may be obtained as a target application, and the target application is compared with an application running in the foreground of the electronic device to determine whether the target application is consistent with the application running in the foreground of the electronic device, and when the number of foreground processes is multiple, multiple applications corresponding to the foreground processes may be obtained as multiple target applications, where the foreground processes and the target applications are in one-to-one correspondence, and the target applications are compared with the application running in the foreground of the electronic device, so as to determine whether the target applications are consistent with the application running in the foreground of the electronic device.
Step S130: and when the foreground process and the application program are not matched, limiting the foreground process according to a preset rule.
In some embodiments, when the foreground process and the application program running in the foreground of the electronic device are not matched, the application program corresponding to the foreground process may be hung on the background running of the electronic device and not used by the user, but the foreground process still causes the power consumption of the electronic device to increase, so that the foreground process can be limited to reduce the power consumption of the electronic device and improve the user experience.
In some embodiments, the electronic device preset and stores a preset rule, where the preset rule is used as a limiting basis for the foreground process, so in this embodiment, when the foreground process and the application program do not match, the foreground process may be limited according to the preset rule. Wherein, limiting the foreground according to the preset rule may include: the method is not limited herein, and the foreground process is closed according to a preset rule, the foreground process is closed at a preset time according to a preset rule, the foreground process is closed after a preset time according to a preset rule, the foreground process is continuously operated according to a preset rule, the operation mode of the foreground process is changed according to a preset rule, and the like.
In some embodiments, when the foreground process and the application running in the foreground of the electronic device are matched, the application corresponding to the foreground process is characterized as the application running in the foreground of the electronic device and is being used by the user, so that the foreground process can be kept running continuously.
According to the foreground process control method provided by the embodiment of the application, the foreground process of the electronic equipment is obtained, the application program running in the foreground of the electronic equipment is obtained, the foreground process is matched with the application program, and when the foreground process is not matched with the application program, the foreground process is limited according to the preset rule, so that when the foreground process of the electronic equipment is not matched with the application program running in the foreground of the electronic equipment, the foreground process is limited, and the power consumption of the electronic equipment is reduced.
Referring to fig. 2, fig. 2 is a flow chart illustrating a foreground process control method according to another embodiment of the application. The method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 2, where the foreground process control method specifically includes the following steps:
step S210: and acquiring a foreground process of the electronic equipment, and acquiring an application program running in the foreground of the electronic equipment.
Step S220: and matching the foreground process with the application program.
The specific description of step S210 to step S220 refers to step S110 to step S120, and will not be repeated here.
Step S230: and when the foreground process and the application program are not matched, acquiring a preset list corresponding to the foreground process.
In some embodiments, the electronic device may be preconfigured with a white list as a preset list, where the preset list may include a plurality of applications or a plurality of processes. Specifically, as a way, the electronic device may automatically create a whitelist, selectively add a plurality of applications or a plurality of processes to the whitelist to generate a whitelist, and use the generated whitelist as a preset whitelist. In another way, the electronic device can automatically create a white list, a user can selectively add a plurality of application programs or a plurality of processes to the white list to generate the white list, and the electronic device takes the generated white list as a preset list. As still another way, the user may manually create a whitelist in the electronic device, then selectively add a plurality of applications or a plurality of processes to the whitelist to generate the whitelist, and the electronic device uses the generated whitelist as the preset list. The number of the preset lists is multiple, and the application programs or the processes included in each preset list are different.
In some embodiments, when the foreground process and the application running in the foreground of the electronic device do not match, a preset list corresponding to the foreground process may be obtained. Specifically, when each of the plurality of preset lists includes a plurality of processes, the foreground process may be compared with the plurality of processes in each of the plurality of preset lists, respectively, so as to obtain a process consistent with the foreground process, obtain a preset list to which the process consistent with the foreground process belongs, and use the preset list to which the process consistent with the foreground process belongs as the preset list corresponding to the foreground process. When each preset list in the preset lists comprises a plurality of application programs, a target application program corresponding to the foreground process can be determined, the target application program is compared with the application programs in each preset list in the preset lists respectively to obtain application programs consistent with the target application program, the preset list to which the application program consistent with the target application program belongs is obtained, and the preset list to which the application program consistent with the target application program belongs is used as the preset list corresponding to the foreground process.
Referring to fig. 3, fig. 3 is a flowchart illustrating a step S230 of the foreground process control method shown in fig. 2 according to the present application. The following will describe the flow shown in fig. 3 in detail, and the method may specifically include the following steps:
step S231: and when the foreground process and the application program are not matched, acquiring the type of the foreground process.
In this embodiment, when the foreground process and the application running in the foreground of the electronic device do not match, the type of the foreground process may be acquired. In one manner, the foreground may acquire the application program corresponding to the application program as the target application program, and acquire the type of the target application program, specifically, the electronic device may pre-establish a mapping relationship between the application program and the type, and generate a mapping relationship table and store the mapping relationship table in the electronic device, as shown in table 1. The mapping relationship between the application program and the type may be manually associated by a user, may be automatically associated by an electronic device or may be automatically associated by a server, etc., which is not limited herein, and the mapping relationship between the application program and the type may include that one application program corresponds to one type, or that a plurality of application programs corresponds to one type, etc., which is not limited herein, for example, a WeChat and a QQ may be used as examples, and the mapping relationship may be that the WeChat and the QQ respectively correspond to one type, or that the WeChat and the QQ correspond to the same type, etc.
Further, after determining the target application program, the target application program and a plurality of application programs stored in advance in the mapping relation table may be compared one by one to obtain an application program matched with the target application program, and then a type corresponding to the application program is searched according to the mapping relation table, so that the type of the target application program may be obtained. For example, when the mapping relationship table includes a mapping relationship between a WeChat and an instant messaging class, that is, a WeChat is stored under an application program in the mapping relationship table, and an instant messaging class is stored under a type, where the WeChat is associated with the instant messaging class, when the target application program is a WeChat, the target application program can be matched with the application program stored in the mapping relationship table, and it can be understood that the target application program can be matched with the WeChat in the mapping relationship table, so as to find that the type of the target application program is the instant messaging class.
TABLE 1
Application program | Type(s) |
A1 | B1 |
A2 | B2 |
A3 | B3 |
As one way, when matching the target application program with the plurality of application programs stored in advance in the mapping relation table in a one-to-one comparison manner fails, that is, when no application program matched with the target application program is stored under the application program of the mapping relation table, the type of the application program close to the target application program can be used as the type of the target application program by searching for the application program close to the type of the target application program, so that the type of the target application program is obtained. In this embodiment, the package name of the target application program may be obtained, and because the package name includes various information related to the application program, the package name may be analyzed to obtain a manufacturer of the target application program included in the package name, then other application programs produced by the manufacturer are searched, types of other application programs are searched in the mapping relationship table, and the types of other application programs are used as the types of the target application program, that is, the types of foreground processes.
In this embodiment, taking an Android system as an example, in the Android system, the version number of an application program is configured in an Android management. Xml file, and the PackageInfo class encapsulates all information acquired from the configuration file, and describes the whole information of the package content, so that the version number of the application can be acquired by using the versionName attribute of the PackageInfo object, and the PackageInfo object can be acquired by using the packageinfager object, where the packageinfager is a class that retrieves various information of the related application package that is currently installed on the device, and the getPackageInfo method in the PackageInfo object can acquire the PackageInfo object, and the method needs to transmit two parameters: application package name and conditions. Typically, the package name of an application can be obtained by the getPackageName () method of Activity or Context (Activity inherits from Context), while the addition can have many settings, typically set to 0. Finally, the acquire of the PackageManager object, the Context object provides a getPackageManager () method to acquire the object. Therefore, the package name of the target application program can be acquired based on the method.
Step S232: and acquiring a preset list corresponding to the type of the foreground process.
Specifically, when each of the plurality of preset lists corresponds to a different type, the type of the foreground process may be compared with the type corresponding to each of the plurality of preset lists, so as to obtain the type corresponding to the type of the foreground process, obtain the preset list corresponding to the type of the foreground process, and use the preset list corresponding to the type consistent with the type of the foreground process as the preset list corresponding to the type of the foreground process.
Step S240: and acquiring preset rules corresponding to the preset lists, wherein different preset lists correspond to different preset rules.
In some embodiments, after the electronic device obtains the preset list, a correspondence between the preset list and the preset rule may be established, where the number of preset lists is multiple and the number of preset rules is multiple, and the multiple preset lists are in one-to-one correspondence with the multiple preset rules. For example, the plurality of preset lists may include a first preset list, a second preset list, a fourth preset list … … nth preset list, the plurality of preset rules may include a first preset rule, a second preset rule, a fourth preset rule … … nth preset rule, and accordingly, the correspondence between the established preset lists and preset rules may include: the first preset list corresponds to the first preset rule, the second preset list corresponds to the second preset rule, the third preset list corresponds to the third preset rule, the fourth preset list corresponds to the fourth preset rule … … Nth preset list corresponds to the Nth preset rule.
In some embodiments, after the preset list corresponding to the foreground process is obtained, the preset rule corresponding to the preset list corresponding to the foreground process may be obtained based on a correspondence between the preset list and the preset rule.
Step S250: and limiting the foreground process according to a preset rule corresponding to the preset list.
The specific description of step S250 is referred to step S130, and will not be repeated here.
Referring to fig. 4, fig. 4 is a flowchart illustrating a step S250 of the foreground process control method shown in fig. 2 according to the present application. The following will describe the flow shown in fig. 4 in detail, and the method may specifically include the following steps:
step S251: and when the preset list corresponding to the type of the foreground process is a preset navigation list, acquiring the maximum displacement distance of the electronic equipment within a first preset duration.
In some embodiments, when the acquired type of the foreground process is a navigation type, then the preset list corresponding to the type of the foreground process may be a preset navigation class list, so that a preset rule corresponding to the preset navigation class list may be acquired, and the foreground process may be processed based on the preset rule corresponding to the preset navigation class list.
In some embodiments, when it is determined that the preset list corresponding to the type of the foreground process is the preset navigation class list, a maximum displacement distance of the electronic device within the first preset duration may be obtained. Specifically, location information of the electronic device may be obtained through a location service of the electronic device, and whether the location of the electronic device is changed may be determined based on the location information of the electronic device, where the location service may include, for example, one or a combination of several of a global positioning system service (Global Positioning System, GPS), a mobile base station location service, and a wireless fidelity (WiFi) location service. It will be appreciated that the navigation-type application may be considered to require the use of positioning data when the location information of the electronic device is changed, and the navigation-type application may be considered to not require the use of positioning data when the location information of the electronic device is not changed.
In this embodiment, the maximum displacement distance of the electronic device within the first preset duration may be obtained based on the positioning service. In this embodiment, the first preset duration may be set automatically by the electronic device, or may be set manually by a user, which is not limited herein. In addition, in the present embodiment, the time length of the first preset time period may be 20 minutes, 30 minutes, 40 minutes, or the like, and optionally, the time length of the first preset time period is 30 minutes.
Step S252: and when the maximum displacement distance is smaller than a preset distance, closing the foreground process.
In some embodiments, the electronic device is preset with a preset distance, where the preset distance is used as a criterion of the maximum displacement distance. Therefore, after the maximum displacement distance of the electronic device within the preset time period is obtained, the maximum displacement distance can be compared with the preset distance to judge whether the maximum displacement distance is smaller than the preset distance, when the maximum displacement distance is smaller than the preset distance, the position information of the electronic device within the first preset time period is represented to be unchanged, the navigation application program can be considered to be free from using positioning data, and the foreground process corresponding to the navigation application program can be controlled to be closed so as to reduce the power consumption of the electronic device. When the maximum displacement distance is not smaller than the distance threshold, the position information of the representation electronic equipment in the first preset duration is changed, and the navigation application program can be considered to need to use positioning data, and then a foreground process corresponding to the navigation application program can be continuously operated so as to ensure the normal positioning service.
In some embodiments, when the display screen of the electronic device is in the bright screen state, it acquires that the foreground process is closed when the maximum displacement distance of the electronic device within the first preset time period is smaller than the preset distance, and when the display screen of the electronic device is in the off screen state, the first preset time period can be shortened to acquire the target first preset time period, and the foreground process is closed when the maximum displacement distance of the electronic device within the target first preset time period is smaller than the preset distance. For example, if the first preset time period is 30 minutes, the target first preset time period may be 20 minutes, may be 25 minutes, and the like, which is not limited herein.
Step S253: and when the preset list corresponding to the type of the foreground process is a preset audio class list, acquiring current audio data of the foreground process.
In some embodiments, when the acquired type of the foreground process is an audio type, then the preset list corresponding to the type of the foreground process may be a preset audio class list, so that a preset rule corresponding to the preset audio class list may be acquired, and the foreground process may be processed based on the preset rule corresponding to the preset audio class list.
In some embodiments, when it is determined that the preset list corresponding to the type of the foreground process is the preset audio class list, current audio data of the foreground process may be acquired. As a way, the electronic device may acquire the current audio data of the foreground process by monitoring the current output audio, which is not described herein.
Step S254: and when the current audio data is blank data, closing the foreground process after the second preset duration is continued.
In some embodiments, when the current audio data of the foreground process is acquired, it may be determined whether the current audio data is blank packet data, where the blank packet data refers to data without actual audio content. When the judgment result indicates that the current audio data is blank data, the audio application program can be considered to not output audio, and a foreground process corresponding to the audio application program can be closed, so that the power consumption of the electronic equipment is reduced. When the judgment result indicates that the current audio data is not blank data, the audio application program can be considered to output the audio, and a foreground process corresponding to the audio application program can be continuously operated so as to ensure the normal output of the audio.
In some embodiments, when it is determined that the current audio data is blank packet data, the foreground process may be closed after the second preset duration is continued, that is, when it is determined that the audio data is blank packet data within the second preset duration, the foreground process is closed again, so as to avoid the error closing of the foreground process, and influence on the normal operation of the foreground process. In this embodiment, the second preset duration may be set automatically by the electronic device, or may be set manually by the user, which is not limited herein. In addition, in the present embodiment, the time length of the second preset time period may be 20s, 30s, or the like.
In some embodiments, when the display screen of the electronic device is in the bright screen state, it acquires that the foreground process is closed when the audio data of the electronic device in the second preset duration are blank data, and when the display screen of the electronic device is in the idle screen state, it can shorten the second preset duration to acquire the target second preset duration, and acquire that the foreground process is closed when the audio data of the electronic device in the target second preset duration are blank data. For example, if the second preset duration is 30s, the target second preset duration may be 5s, may be 0s, and the like, which is not limited herein.
Step S255: and when the preset list corresponding to the type of the foreground process is a preset biological feature detection class list, continuing to operate the foreground process.
In some embodiments, when the acquired type of the foreground process is a biometric detection type, then the preset list corresponding to the type of the foreground process may be a preset biometric detection class list, and thus, a preset rule corresponding to the preset biometric detection class list may be acquired, and the foreground process may be processed based on the preset rule corresponding to the preset biometric detection class list. In this embodiment, when the preset list corresponding to the type of the foreground process is the preset biological feature detection class list, the foreground process may be continuously operated. The biometric detection types may include: the gesture detection type, face detection type, iris detection type, fingerprint detection type, and the like are not limited herein.
Step S256: and when the preset list corresponding to the type of the foreground process is a preset motion detection type list, acquiring the motion state of the electronic equipment in a third preset duration.
In some embodiments, when the acquired type of the foreground process is a motion detection type, then the preset list corresponding to the type of the foreground process may be a preset motion detection class list, and thus, a preset rule corresponding to the preset motion detection class list may be acquired, and the foreground process may be processed based on the preset rule corresponding to the preset motion detection class list. In this embodiment, when it is determined that the preset list corresponding to the type of the foreground process is the preset motion detection class list, the motion state of the electronic device in the third preset duration may be obtained. The motion state of the electronic device can be detected by an acceleration sensor, a gyroscope, a gravity sensor and the like. In this embodiment, the third preset duration may be set automatically by the electronic device, or may be set manually by the user, which is not limited herein. In addition, in the present embodiment, the time length of the third preset time period may be 20 minutes, 30 minutes, 40 minutes, or the like, and optionally, the time length of the third preset time period is 30 minutes.
Step S257: and when the electronic equipment keeps a static state within the third preset time period, closing the foreground process.
When the electronic equipment is detected to be stationary within the third preset time period, the electronic equipment is characterized to have no motion, shaking or moving within the third preset time period, and the motion detection application program can be considered to be unnecessary to work, and then a foreground process corresponding to the motion detection application program can be controlled to be closed so as to reduce the power consumption of the electronic equipment. When the fact that the electronic equipment does not remain static in the third preset duration is detected, the electronic equipment is characterized by moving, shaking or moving in the third preset duration, the motion detection application program can be considered to work, and a foreground process corresponding to the motion detection application program can be continuously operated to ensure the normal motion detection.
In some embodiments, when the display screen of the electronic device is in the bright screen state, it acquires that the foreground process is closed when the electronic device remains stationary within the third preset duration, and when the display screen of the electronic device is in the off-screen state, the third preset duration may be shortened to acquire the target third preset duration, and acquires that the foreground process is closed when the electronic device remains stationary within the target third preset duration. For example, if the third preset time period is 30 minutes, the target third preset time period may be 5 minutes, may be 0 minutes, and the like, which is not limited herein.
Step S258: and directly closing the foreground process when a preset list corresponding to the type of the foreground process is not available.
In some embodiments, when there is no preset list corresponding to the type of the foreground process, the foreground process may be directly turned off, so as to reduce power consumption of the electronic device caused by the foreground process.
According to the foreground process control method provided by the embodiment of the application, the foreground process of the electronic equipment is obtained, the application program running in the foreground of the electronic equipment is obtained, the foreground process is matched with the application program, when the foreground process is not matched with the application program, the preset list corresponding to the foreground process is obtained, the preset rule corresponding to the preset list is obtained, wherein different preset lists correspond to different preset rules, and the foreground process is limited according to the preset rule corresponding to the preset list. Compared with the foreground process control method shown in fig. 1, the embodiment further obtains a preset list corresponding to the foreground process, obtains a preset rule corresponding to the preset list, and processes the foreground process based on the preset rule corresponding to the preset list to reduce power consumption of the electronic device.
Referring to fig. 5, fig. 5 is a block diagram illustrating a foreground process control apparatus 200 according to an embodiment of the application. The foreground process control apparatus 200 is applied to the above-mentioned electronic device, and will be explained below with respect to a block diagram shown in fig. 5, the foreground process control apparatus 200 includes: a foreground process acquisition module 210, an application acquisition module 220, and a foreground process restriction module 230, wherein:
The foreground process obtaining module 210 is configured to obtain a foreground process of the electronic device.
And an application program obtaining module 220, configured to obtain an application program corresponding to the foreground process.
The foreground process limiting module 230 is configured to limit the foreground process according to a preset rule when the application runs in the background of the electronic device.
Further, the foreground process limiting module 230 includes: the system comprises a preset list acquisition sub-module, a preset rule acquisition sub-module and a foreground process limiting sub-module, wherein:
and the preset list acquisition sub-module is used for acquiring a preset list corresponding to the foreground process when the foreground process and the application program are not matched.
Further, the preset list obtaining submodule includes: the device comprises a type acquisition unit and a preset list acquisition unit, wherein:
and the type acquisition unit is used for acquiring the type of the foreground process when the foreground process and the application program are not matched.
The preset list acquisition unit is used for acquiring a preset list corresponding to the type of the foreground process.
The preset rule obtaining sub-module is used for obtaining preset rules corresponding to the preset lists, wherein different preset lists correspond to different preset rules.
And the foreground process limiting submodule is used for limiting the foreground process according to a preset rule corresponding to the preset list.
Further, the foreground process limiting submodule includes: the device comprises a maximum displacement distance acquisition unit, a first foreground process closing unit, a current audio data acquisition unit, a second foreground process closing unit, a foreground process operation unit, a motion state acquisition unit, a third foreground process closing unit and a fourth foreground process closing unit, wherein:
the maximum displacement distance obtaining unit is used for obtaining the maximum displacement distance of the electronic equipment in a first preset duration when the preset list corresponding to the type of the foreground process is a preset navigation list.
And the first foreground process closing unit is used for closing the foreground process when the maximum displacement distance is smaller than a preset distance.
The current audio data acquisition unit is used for acquiring the current audio data of the foreground process when the preset list corresponding to the type of the foreground process is a preset audio class list.
And the second foreground process closing unit is used for closing the foreground process after the second preset duration is continued when the current audio data is blank packet data.
And the foreground process running unit is used for continuously running the foreground process when the preset list corresponding to the type of the foreground process is the preset biological feature detection class list.
And the motion state acquisition unit is used for acquiring the motion state of the electronic equipment in a third preset duration when the preset list corresponding to the type of the foreground process is a preset motion detection type list.
And the third foreground process closing unit is used for closing the foreground process when the electronic equipment keeps a static state within the third preset time period.
And the fourth foreground process closing unit is used for directly closing the foreground process when a preset list corresponding to the type of the foreground process is not available.
It will be clearly understood by those skilled in the relevant art that, for convenience and brevity of description, specific working processes of the above-described apparatus and modules may refer to corresponding processes in the foregoing method embodiments, which are not repeated herein.
In several embodiments provided by the present application, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 6, a block diagram of an electronic device 100 according to an embodiment of the application is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or the like capable of running an application program. The electronic device 1oo in the present application may comprise one or more of the following components: processor 110, memory 120, display 130, and one or more application programs, wherein the one or more application programs may be stored in memory 120 and configured to be executed by the one or more processors 110, the one or more program(s) configured to perform the methods as described in the foregoing method embodiments.
Wherein the processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and lines to connect various portions of the overall electronic device 100, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The Memory 120 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the terminal 100 in use (such as phonebook, audio-video data, chat-record data), etc.
The display 130 is used to display information input by a user, information provided to the user, and various graphical user interfaces of the electronic device 100, which may be formed by graphics, text, icons, numbers, video, and any combination thereof, and in one example, the display 130 may be a liquid crystal display (Liquid Crystal Display, LCD) or an Organic Light-Emitting Diode (OLED), which is not limited herein.
Referring to fig. 7, a block diagram of a computer readable storage medium according to an embodiment of the application is shown. The computer readable medium 300 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 300 has storage space for program code 310 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 310 may be compressed, for example, in a suitable form.
In summary, the foreground process control method, the device, the electronic device and the storage medium provided by the embodiment of the application acquire the foreground process of the electronic device, acquire the application program running in the foreground of the electronic device, match the foreground process with the application program, and limit the foreground process according to the preset rule when the foreground process of the electronic device is not matched with the application program running in the foreground of the electronic device, thereby limiting the foreground process when the foreground process of the electronic device is not matched with the application program running in the foreground of the electronic device, so as to reduce the power consumption of the electronic device.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A foreground process control method, applied to an electronic device, the method comprising:
acquiring a foreground process of the electronic equipment, and acquiring an application program running in the foreground of the electronic equipment;
matching the foreground process with the application program;
when the foreground process and the application program are not matched, determining that the application program corresponding to the foreground process is mounted on a background of the electronic equipment to run, and limiting the foreground process according to a preset rule;
when the foreground process and the application program are not matched, determining that the application program corresponding to the foreground process is mounted on a background of the electronic device for running, and limiting the foreground process according to a preset rule comprises the following steps:
When the foreground process and the application program are not matched, determining that the application program corresponding to the foreground process is mounted on a background of the electronic equipment to run, and acquiring the type of the foreground process;
acquiring a preset list corresponding to the type of the foreground process;
acquiring preset rules corresponding to the preset lists, wherein different preset lists correspond to different preset rules;
and limiting the foreground process according to a preset rule corresponding to the preset list.
2. The method of claim 1, wherein limiting the foreground process according to a preset rule comprises:
when a preset list corresponding to the type of the foreground process is a preset navigation list, acquiring the maximum displacement distance of the electronic equipment in a first preset duration;
and when the maximum displacement distance is smaller than a preset distance, closing the foreground process.
3. The method of claim 1, wherein limiting the foreground process according to a preset rule comprises:
when a preset list corresponding to the type of the foreground process is a preset audio class list, acquiring current audio data of the foreground process;
And when the current audio data is blank data, closing the foreground process after the second preset duration is continued.
4. The method of claim 1, wherein limiting the foreground process according to a preset rule comprises:
and when the preset list corresponding to the type of the foreground process is a preset biological feature detection class list, continuing to operate the foreground process.
5. The method of claim 1, wherein limiting the foreground process according to a preset rule comprises:
when a preset list corresponding to the type of the foreground process is a preset motion detection type list, acquiring a motion state of the electronic equipment in a third preset duration;
and when the electronic equipment keeps a static state within the third preset time period, closing the foreground process.
6. The method according to any one of claims 1-5, further comprising:
and directly closing the foreground process when a preset list corresponding to the type of the foreground process is not available.
7. The method of any one of claims 1-5, wherein the number of the preset lists is a plurality, the number of the preset rules is a plurality, and the plurality of preset lists and the plurality of preset rules are in one-to-one correspondence.
8. A foreground process control apparatus, characterized by being applied to an electronic device, the apparatus comprising:
the foreground process acquisition module is used for acquiring a foreground process of the electronic equipment;
the application program acquisition module is used for acquiring an application program corresponding to the foreground process;
the foreground process limiting module is used for determining that the application program corresponding to the foreground process is mounted on the background operation of the electronic equipment when the application program is operated on the background of the electronic equipment, and limiting the foreground process according to a preset rule;
wherein, the foreground process limiting module comprises:
the type acquisition unit is used for determining that an application program corresponding to the foreground process is mounted on a background of the electronic equipment to run when the foreground process and the application program are not matched, and acquiring the type of the foreground process;
the preset list acquisition unit is used for acquiring a preset list corresponding to the type of the foreground process;
a preset rule obtaining sub-module, configured to obtain preset rules corresponding to the preset lists, where different preset lists correspond to different preset rules;
and the foreground process limiting submodule is used for limiting the foreground process according to a preset rule corresponding to the preset list.
9. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that when executed by the processor perform the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for executing the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911027708.5A CN110795172B (en) | 2019-10-22 | 2019-10-22 | Foreground process control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911027708.5A CN110795172B (en) | 2019-10-22 | 2019-10-22 | Foreground process control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110795172A CN110795172A (en) | 2020-02-14 |
CN110795172B true CN110795172B (en) | 2023-08-29 |
Family
ID=69441456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911027708.5A Active CN110795172B (en) | 2019-10-22 | 2019-10-22 | Foreground process control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110795172B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114463730B (en) * | 2021-07-15 | 2023-07-14 | 荣耀终端有限公司 | Page identification method and terminal equipment |
CN115981767B (en) * | 2022-12-27 | 2023-07-18 | 深圳市赛诺杰科技有限公司 | Vehicle-mounted display screen and display control method thereof |
CN116501162B (en) * | 2023-04-23 | 2023-11-24 | 深圳中柏科技有限公司 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104252389A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Application operation method, system and application |
WO2015094315A1 (en) * | 2013-12-20 | 2015-06-25 | Hewlett-Packard Development Company, L.P. | Discarding data points in a time series |
CN105468441A (en) * | 2014-08-28 | 2016-04-06 | 中兴通讯股份有限公司 | Processing method and apparatus for task process |
CN106528282A (en) * | 2016-09-23 | 2017-03-22 | 依偎科技(南昌)有限公司 | Method, device and terminal for closing process |
CN107977261A (en) * | 2017-11-30 | 2018-05-01 | 奇酷互联网络科技(深圳)有限公司 | Method, equipment, mobile terminal and the computer-readable storage medium of limiting process |
CN109766112A (en) * | 2018-12-29 | 2019-05-17 | 北京威努特技术有限公司 | A kind of method and device of program white list knowledge base update |
CN109992369A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
-
2019
- 2019-10-22 CN CN201911027708.5A patent/CN110795172B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104252389A (en) * | 2013-06-27 | 2014-12-31 | 腾讯科技(深圳)有限公司 | Application operation method, system and application |
WO2015094315A1 (en) * | 2013-12-20 | 2015-06-25 | Hewlett-Packard Development Company, L.P. | Discarding data points in a time series |
CN105468441A (en) * | 2014-08-28 | 2016-04-06 | 中兴通讯股份有限公司 | Processing method and apparatus for task process |
CN106528282A (en) * | 2016-09-23 | 2017-03-22 | 依偎科技(南昌)有限公司 | Method, device and terminal for closing process |
CN107977261A (en) * | 2017-11-30 | 2018-05-01 | 奇酷互联网络科技(深圳)有限公司 | Method, equipment, mobile terminal and the computer-readable storage medium of limiting process |
CN109992369A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
CN109766112A (en) * | 2018-12-29 | 2019-05-17 | 北京威努特技术有限公司 | A kind of method and device of program white list knowledge base update |
Non-Patent Citations (1)
Title |
---|
一种Android系统上对应用程序权限进行限制的方法;鲁亚峰 等;《计算机应用与软件》;第308-311、333页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110795172A (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10187872B2 (en) | Electronic device and method of providing notification by electronic device | |
US10853979B2 (en) | Electronic device and method for displaying screen thereof | |
KR102148948B1 (en) | Multi tasking method of electronic apparatus and electronic apparatus thereof | |
EP3579104B1 (en) | Method and apparatus for establishing an application prediction model, storage medium and terminal | |
CN107734616B (en) | Application program closing method and device, storage medium and electronic equipment | |
US10528434B2 (en) | Method, device and terminal for restoring firmware program | |
US10733017B2 (en) | Task scheduling based on performance control conditions for multiple processing units | |
US9766690B2 (en) | Method for controlling a sleep mode and electronic device thereof | |
US10402222B2 (en) | Task migration method and apparatus | |
CN108363528B (en) | Application page starting method and device, storage medium and electronic equipment | |
EP3575963A2 (en) | Method for preloading application, storage medium, and terminal | |
CN110795172B (en) | Foreground process control method and device, electronic equipment and storage medium | |
CN110637282B (en) | Touch method and terminal | |
US20160026272A1 (en) | Method for displaying screen in electronic device, and electronic device thereof | |
CN108132735B (en) | Terminal and application control method | |
US10691335B2 (en) | Electronic device and method for processing input on view layers | |
CN111277991B (en) | Operator name display method and device, mobile terminal and storage medium | |
CN111124173B (en) | Working state switching method and device of touch screen, mobile terminal and storage medium | |
CN107479700B (en) | Black screen gesture control method and device, storage medium and mobile terminal | |
CN107402756B (en) | Method, device and terminal for drawing page | |
US20230229462A1 (en) | Terminal Device, Gesture Operation Method Thereof, and Medium | |
CN108449625B (en) | Video screenshot method, device and terminal | |
CN107391128B (en) | Method and device for monitoring virtual file object model vdom | |
CN115237317B (en) | Data display method and device, electronic equipment and storage medium | |
CN117171188B (en) | Search method, search device, electronic device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |