WO2018099163A1 - 终端与应用控制方法 - Google Patents
终端与应用控制方法 Download PDFInfo
- Publication number
- WO2018099163A1 WO2018099163A1 PCT/CN2017/102708 CN2017102708W WO2018099163A1 WO 2018099163 A1 WO2018099163 A1 WO 2018099163A1 CN 2017102708 W CN2017102708 W CN 2017102708W WO 2018099163 A1 WO2018099163 A1 WO 2018099163A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- state
- identifier
- user interface
- processes
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- 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/451—Execution arrangements for user interfaces
Definitions
- the present invention relates to the field of terminal application technologies, and in particular, to a terminal and application control method.
- smart terminals such as mobile phones
- smart terminals have been widely used in the daily life of users.
- applications continue to evolve, more and more large applications are being installed on smart terminals.
- the solution to solve the problem in the prior art is to provide a background program running display interface in the mobile terminal.
- the user needs to know which applications are running in the background, the user needs to trigger the display interface according to the definition defined in the intelligent terminal.
- the display interface is triggered to display, and the application running in the background is viewed on the display interface, and then the unnecessary application can be further cleaned up. Therefore, the existing processing methods are too cumbersome and affect the user experience.
- the technical problem to be solved by the embodiments of the present invention is to provide a terminal and application control method for solving the problem of complicated state switching of an application residing in the background in the prior art.
- a terminal in the embodiment of the present invention includes:
- An icon update unit configured to display at least one state transition identifier corresponding to a current running state of the application in an application icon space area of the application;
- the state control unit is configured to detect a triggering operation on one of the state transition identifiers, and switch the current running state of the application to an operating state corresponding to the state transition identifier.
- the running state of the application includes the application is in an running state, the application is in a suspended state, the application is in a stopped state, and the application is in a destroyed state;
- the terminal further includes:
- a state detecting unit configured to acquire a current process state of the application
- the normalized correspondence relationship is a correspondence between the process state of the application and the running state of the application.
- the state detecting unit is further configured to obtain a state in which the user interface bus is controlled by a process of the application, a state in which all processes of the application are set to be suspended, a state in which all processes of the application are set to be stopped, and an occupation.
- the state in which the application thread of the memory space is reclaimed is associated with the application being in the running state, the application being in the suspended state, the application being in the stopped state, and the application being in the destroyed state.
- the terminal further includes:
- An operation determining unit configured to determine at least one preset state transition operation mode corresponding to a current running state of the application
- the icon update unit includes:
- the monitoring module is configured to obtain a screenshot of the user interface corresponding to the current process of the application before all the processes of the application lose the control of the user interface bus;
- An update module configured to update an application icon of the application according to the user interface screenshot and the acquired state transition identifiers, so that at least one of the updated application icon space regions corresponding to a current running state of the application is displayed State transition ID and screenshots of all or part of the user interface.
- the monitoring module includes:
- a monitoring sub-module configured to listen for event information related to application launch, application pause, and application end;
- the recording submodule is configured to record at least an application identifier, a process identifier, and a process state corresponding to each event information, and save a screenshot of the user interface corresponding to each event information process;
- Obtaining a sub-module configured to acquire event information corresponding to a current process of the application, before all processes of the application lose control of the user interface bus;
- the extraction sub-module is set to extract the process state and the user interface screenshot corresponding to the acquired event information.
- the obtaining submodule is configured to determine that all processes of the application lose control of the user interface bus when the application identifier corresponding to the recorded event information is different from the application identifier of the application, and the The corresponding process of the application is the current process of the application;
- the state transition identifier includes an identifier that invokes an application in a running state, an identifier that invokes an application in a suspended state, an identifier that invokes an application in a stopped state, and an identifier that invokes an application in a destroyed state.
- the state control unit is configured to detect a triggering operation on the identifier that the calling application is in a running state, so that the current process of the application obtains control of the user interface bus;
- a triggering operation is detected on the identifier that the calling application is in a suspended state, and all processes of the application are placed in a suspended state;
- a triggering operation is detected on the identifier that the calling application is in a stopped state, and all processes of the application are put into a stopped state;
- a trigger operation is detected on the identifier that the calling application is in a destroyed state, and the memory space occupied by the thread of the application is recovered.
- an application control method in the embodiment of the present invention includes:
- a triggering operation is detected on one of the state transition identifiers, and the current running state of the application is switched to the operating state corresponding to the state transition identifier.
- the running state of the application includes the application is in an running state, the application is in a suspended state, the application is in a stopped state, and the application is in a destroyed state;
- the method further includes:
- the normalized correspondence relationship is a correspondence between the process state of the application and the running state of the application.
- the step of establishing a normalized correspondence in advance includes:
- the status of the control of the user interface bus is obtained by one process of the application, the state of all the processes of the application is set to be suspended, the state in which all processes of the application are put to be stopped, and the state in which the application thread occupying the memory space is reclaimed are respectively in the state of being applied
- the running status, the application is in the pause state, the application is in the stop state, and the application is in the destroyed state to establish a correspondence.
- the method before the step of displaying, by the application icon space area of the application, the at least one state transition identifier corresponding to the current running state of the application, the method further includes:
- the step of displaying at least one state transition identifier corresponding to a current running state of the application in an application icon space area of the application includes:
- the icon is used to cause at least one state transition identifier and all or part of the user interface screenshot corresponding to the current operational state of the application to be displayed in the updated application icon space area.
- the step of acquiring a screenshot of the user interface corresponding to the current process of the application before the process of the application is lost to the user interface bus includes:
- the step of acquiring the event information corresponding to the current process of the application before the process of the application is lost to the control of the user interface bus includes:
- the state transition identifier includes an identifier that invokes an application in a running state, an identifier that invokes an application in a suspended state, an identifier that invokes an application in a stopped state, and an identifier that invokes an application in a destroyed state.
- the step of detecting a triggering operation on one of the state transition identifiers, and switching the current running state of the application to the running state corresponding to the state transition identifier includes:
- a triggering operation is detected on the identifier that the calling application is in a running state, so that the current process of the application obtains control of the user interface bus;
- a triggering operation is detected on the identifier that the calling application is in a suspended state, and all processes of the application are placed in a suspended state;
- a triggering operation is detected on the identifier that the calling application is in a stopped state, and all processes of the application are put into a stopped state;
- a trigger operation is detected on the identifier that the calling application is in a destroyed state, and the memory space occupied by the thread of the application is recovered.
- the terminal and the application control method set one or more state transition identifiers in the application icon space area of the application, and when the trigger operation of the user is detected on one of the state transition identifiers, the state transition identifier corresponds to the state
- the preset state transition operation mode controls the running state of the application, so that the user can grasp the state of the application resident at any time through the application icon, and smoothly and quickly apply state switching control according to the state of the application resident, thereby effectively solving the problem.
- the problem of complex state switching of applications residing in the background in the prior art improves the user experience.
- FIG. 1 is a schematic structural diagram of hardware of a terminal in an embodiment of the present invention.
- FIG. 2 is a schematic diagram of an operation state transition in an embodiment of the present invention.
- Figure 3 is a schematic view showing the effect of the embodiment of the present invention.
- FIG. 4 is a flow chart of an application control method in an embodiment of the present invention.
- the present invention provides a terminal and application control method.
- the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to be limiting.
- a first embodiment of the present invention provides a terminal, where the terminal includes:
- the icon update unit 110 is configured to display at least one state transition identifier corresponding to a current running state of the application in an application icon space area of the application;
- the state control unit 120 is configured to detect a triggering operation on one of the state transition identifiers, and switch the current running state of the application to an operating state corresponding to the state transition identifier.
- the terminal sets one, two or more state transition identifiers (referred to as identifiers) in the application icon space area of the application, and when the trigger operation of the user is detected on one of the state transition identifiers, according to the state
- the preset state transition operation mode corresponding to the conversion identifier controls the running state of the application, so that the user can grasp the state of the application resident at any time through the application icon, and perform smooth and fast application state switching control according to the state of the application resident.
- the utility model effectively solves the problem that the state switching of the application residing in the background in the prior art is complicated, and improves the user experience.
- the user can select the corresponding state transition identifier to directly dispatch the user interface to the foreground; if the current state is the end state, click to perform memory cleaning.
- the running state of the application includes the application is in an running state, the application is in a suspended state, the application is in a stopped state, and the application is in a destroyed state.
- the terminal further includes:
- a state detecting unit configured to acquire a current process state of the application
- the normalized correspondence relationship is a correspondence between the process state of the application and the running state of the application.
- the state of the process is normalized to the state of the application, which is to simplify the process.
- the complex process thus the new application state automaton.
- the application status identifier and its definition are explicitly defined.
- the application is running: the foreground display state of the application is the state in which the application's last scheduled dispatch to the foreground regains control of the UI bus.
- the implementation can use the commands defined by android itself, or intent messages.
- the application is in Pause: the background hold state of the application, where all processes of the application are set to onpause, including possible data connection access processes.
- the application is in the stop state (Stop): the background stop state of the application. This state is slightly different from the pause state. In this state, some resources with high memory consumption may be released (the difference from the destruction state is that the application process The objects involved may be reassigned or empty, but reserve memory requests), such as the codec process of media playback. Similarly, all processes of the application are set to onstop.
- Stop state the background stop state of the application. This state is slightly different from the pause state. In this state, some resources with high memory consumption may be released (the difference from the destruction state is that the application process
- the objects involved may be reassigned or empty, but reserve memory requests), such as the codec process of media playback. Similarly, all processes of the application are set to onstop.
- the application is in a state of destruction: the state in which the variables applied by the thread involved in the application and the memory control of the object are forcibly reclaimed by the GC. At this point, if there are other processes requesting memory, then this part of the space is available.
- the state detecting unit is further configured to obtain a state in which the process of the user interface bus is controlled by a process of the application, a state in which all processes of the application are put into a pause state, a state in which all processes of the application are set to be stopped, and an application occupying a memory space.
- the state in which the thread is recycled is respectively associated with the application being in the running state, the application being in the suspended state, the application being in the stopped state, and the application being in the destroyed state.
- the terminal further includes:
- An operation determining unit configured to determine at least one corresponding to a current operating state of the application Preset state transition mode of operation
- the current running state is Pause
- the corresponding state transition operation modes include Running, Stop, and Release.
- the icon update unit includes:
- the monitoring module is configured to obtain a screenshot of the user interface corresponding to the current process of the application before all the processes of the application lose the control of the user interface bus;
- An update module configured to update an application icon of the application according to the user interface screenshot and the acquired state transition identifiers, so that at least one of the updated application icon space regions corresponding to a current running state of the application is displayed State transition ID and screenshots of all or part of the user interface.
- the embodiment of the present invention further updates the application icon of the application to include a screenshot of the user interface, so that the application icon can clearly display the user interface when the application switches from the foreground to the background, so that the user can know that the application is resident without additional operations. Which user interface is in which location, which further enhances the user experience.
- the monitoring module includes:
- a monitoring sub-module configured to listen for event information related to application launch, application pause, and application end;
- the recording submodule is configured to record at least an application identifier corresponding to each event information (for example, an application package name), a process identifier, and a process state, and save a screenshot of the user interface corresponding to each event information; wherein the screenshot can be a full screen The way to take a screenshot, you can also select a screen or a screenshot of the control.
- Obtaining a sub-module configured to acquire event information corresponding to a current process of the application, before all processes of the application lose control of the user interface bus;
- the extraction sub-module is set to extract the process state and the user interface screenshot corresponding to the acquired event information.
- the obtaining submodule is configured to determine that all processes of the application lose control of the user interface bus when the application identifier corresponding to the recorded event information is different from the application identifier of the application, and the The corresponding process of the application is the current process of the application;
- the listener sub-module can directly access or track the activity-related process memory area to determine the state of the process. Directly, access the android activitymanager to obtain status information. You can convert the name of an app, such as the name plus a naming convention. You can use real-time snooping or timed-cycle polling.
- the state transition identifier includes an identifier that invokes an application in a running state, an identifier that invokes an application in a suspended state, an identifier that invokes an application in a stopped state, and an identifier that invokes an application in a destroyed state.
- the state control unit is configured to detect a triggering operation on the identifier of the calling application in an running state, so that the current process of the application obtains control of the user interface bus;
- a triggering operation is detected on the identifier that the calling application is in a suspended state, and all processes of the application are placed in a suspended state;
- a triggering operation is detected on the identifier that the calling application is in a stopped state, and all processes of the application are put into a stopped state;
- a trigger operation is detected on the identifier that the calling application is in a destroyed state, and the memory space occupied by the thread of the application is recovered.
- the state transition identifier corresponding to each state transition operation mode may take the form of an identifier.
- the logo can also be mapped to the display of the icon, and the double-click or click can be used to distinguish different state transitions, or the state machine conversion of the click icon can be given, and the flow can be performed between different states.
- Process status includes: Oncreate/Onstart/Onresume/Onrestart, Onpause, Onstop And Ondestroy and more.
- the monitoring module mainly performs the interception and information collection of the current foreground process status of the terminal (for example, the mobile phone and the tablet light), and records the current process name, the application name, and the process status change.
- the state control unit mainly performs the process state switching according to the current available state operation.
- the available state operations have pause, run, and stop.
- the icon update unit is mainly responsible for the process state transmitted by the process state monitoring module to determine whether the process has changed, thereby performing state infusion of the screenshot and updating the application icon according to the running state of the process state machine.
- the process status monitoring module (referred to as the listening module) monitors the related events of the start, run, pause, and end of the APP, including not only the click application icon operation of the relevant launcher of the user, but also different activity windows of the application content after the application is started. Switch/slide/click operations, other high-priority process preemption events, response events after the user clicks the home/back/menu/power button, the system's own GC recycle event, the application's own abnormal crash, exit event, and so on.
- the monitoring module When a new event occurs, the monitoring module generates an event record, including but not limited to the app name of the current user interface attribution application, the name of the activity of the current interface, and the status of the activity, the front and back background flags, etc. And get the current screenshot.
- an event record including but not limited to the app name of the current user interface attribution application, the name of the activity of the current interface, and the status of the activity, the front and back background flags, etc. And get the current screenshot.
- the listener module compares the app names of the two records before and after.
- the information and the screenshot of the previous record are sent to the application icon update unit (abbreviated as the icon update unit or the update unit) and the state control unit (referred to as the control unit for short), and the manner of sending includes not only using direct event directed delivery, Broadcast delivery, pipeline mode.
- control unit After receiving the relevant information, the control unit generates or calculates a corresponding application status identifier or a common flag bit, and takes over control over the corresponding process, and the manner of taking over includes, but is not limited to, an authorization application, a signature injection, and the like.
- the general state information of the application is passed to the update unit.
- the icon update unit regenerates the icon according to the screenshot and the application's wildcard information in the record.
- the icon includes the last screenshot of the application's previous foreground, and includes the latest application general state.
- the drawing mode can be embedded or Use emerged, borrowed, etc., and more application icons on the UI interface.
- the user can perform corresponding shortcut operations according to the application icon. For example, if the current state is the pause state, then the application can be directly clicked to directly schedule the activity interface to the foreground. If it is the end state, click to perform the memory. Clean up and so on. At this point, the listening module will continue to work and perform new event monitoring.
- the control principle of the terminal in the embodiment of the present invention is illustrated by implementing the scheme of the common social application of the user.
- the envisaged application scenario is as follows: After using the application A for a period of time, the user presses the home button to return to standby. The user then observes the icon update of application A again and selects the corresponding action on the icon.
- the application name of A is com.aaa.bbb.ppp
- the application name is ppp
- the name of the main activity of A is mainActivity.
- the activity names of other interfaces are other1Activity, other2Activity, other3Activity..., and each activity corresponds to A UI (User Interface) interface.
- the format of the recorded content is roughly defined as ⁇ activity NAME, APP NAME, activity STATUS, ON/OFF STATUS, event TYPE ⁇ .
- the format fields include not only the above fields, but also defined according to the processing requirements of the program.
- the control process includes:
- the monitoring module starts the monitoring action and camps on the system memory
- the format of the record is as follows:
- the record indicates that the current activity name is mainActivity, the application name of mainActivity is named ppp, the current state of mainActivity is onStart, and the Y represents mainActivity is dispatched to the front-end user interface.
- Click represents that the currently monitored event is a click event.
- the state information of these processes can be obtained by reading the print state or variable of the ActivityManager, or directly accessing the queue of the activity.
- the saved location can be the physical storage location of the mobile phone, or a virtual storage location, including not only available storage space such as ram and rom.
- the listening module compares the two records, and compares the recorded APP NAME field to find that the contents of the two fields are the same, then the description is now in the application interface, so the listening module continues to enter the listening state.
- the user accesses or browses in the different activity interface corresponding to the application, and the latest one record is ⁇ other3Activity, ppp, onStart, Y, longClick ⁇ , and the corresponding screenshot is pic3.png.
- the listener simply determines whether it has returned to the standby interface (the android standby interface also has a corresponding package name, for example: com.android.launcher, etc.), and then writes the event to a new record. :
- the listening module judges that the two package names are different before and after, then the data transfer process is started, and the previous record ⁇ other3Activity, ppp, onPause, N ⁇ (note the state here), the corresponding screenshot is pic3.png , passed to the control unit, icon update unit.
- the control unit calculates, according to the received record status field onPause, the general flag S of the process (which may be the English initials of the applied normalized state), and the identifiers O and X, and the calculation rule reference table 1.
- the application controls the application of ppp, and after obtaining the authorization, the identifier is sent to the icon update unit.
- the update unit After receiving the identifiers ⁇ , O, ⁇ and the screenshot pic3.png sent by the monitoring module, the update unit starts the graphic drawing method, combines the icon pic3_S.jpg with the attached identification control button, and applies it to Application A is the latest icon. After the update is complete, the update success receipt message is passed to the control unit.
- Graphic drawing combination belongs to the common technology in the industry and belongs to the field of image processing.
- the user can choose to perform rapid processing of the application by clicking on the icon on the icon, and the manner in which it can be processed, according to the finite state automaton defined by the identifier, is as shown in FIG. 2 .
- the identifier of the icon of the current application A is O, ⁇ .
- the listener module listens for this click event.
- the control unit extracts the keyword of the record of the special information, and determines by the keyword that the click is a stop click button time, then all the process states of the application are terminated as stop, and the application icon is updated to the screenshot of the mainActivity. Update to what, the program defines itself.
- control unit will notify android's own activitymanager to forcibly release the memory space of all processes of the application, and notify the icon update unit to update the application icon to the original icon.
- the present invention further proposes an application control method.
- an application control method in the implementation of the present invention includes the following steps:
- S401 Display at least one state transition identifier corresponding to a current running state of the application in an application icon space area of the application;
- S402 A triggering operation of the user is detected on one of the state transition identifiers, and the current running state of the application is switched to an operating state corresponding to the state transition identifier.
- the terminal sets one or more state transition identifiers in the application icon space area of the application, and when the trigger operation of the user is detected on one of the state transition identifiers, the preset state corresponding to the state is changed according to the state.
- the switching operation mode controls the running state of the application, so that the user can grasp the state of the application resident at any time through the application icon, and smoothly and quickly apply the state switching control according to the state of the application resident, thereby effectively solving the prior art.
- the problem of complex switching of the state of the application in the background during the operation improves the user experience.
- the running state of the application includes that the application is in an running state, the application is in a suspended state, the application is in a stopped state, and the application is in a destroyed state;
- the method further includes:
- the normalized correspondence relationship is a correspondence between the process state of the application and the running state of the application.
- the step of establishing a normalized correspondence in advance includes:
- the status of the control of the user interface bus is obtained by one process of the application, the state of all the processes of the application is set to be suspended, the state in which all processes of the application are put to be stopped, and the state in which the application thread occupying the memory space is reclaimed are respectively in the state of being applied
- the running status, the application is in the pause state, the application is in the stop state, and the application is in the destroyed state to establish a correspondence.
- the method before the step of displaying, by the application icon space area of the application, the at least one state transition identifier corresponding to the current running state of the application, the method further includes:
- the step of displaying the at least one state transition identifier corresponding to the current running state of the application in the application icon space area of the application may include:
- the embodiment of the present invention further updates the application icon of the application to include a screenshot of the user interface, so that the application icon can clearly display the user interface when the application switches from the foreground to the background, so that the user can know that the application is resident without additional operations. Which user interface is in which location, which further enhances the user experience.
- the step of obtaining a screenshot of the user interface corresponding to the current process of the application before the process of the application is lost to the user interface bus may include:
- the step of acquiring the event information corresponding to the current process of the application before the process of the application is lost to the control of the user interface bus may include:
- the state transition identifier includes an identifier that invokes an application in a running state, an identifier that invokes an application in a suspended state, an identifier that invokes an application in a stopped state, and an identifier that invokes an application in a destroyed state.
- the step of detecting the triggering operation on the one of the state transition identifiers and switching the current running state of the application to the running state corresponding to the state transition identifier includes:
- a triggering operation is detected on the identifier that the calling application is in a running state, so that the current process of the application obtains control of the user interface bus;
- a triggering operation is detected on the identifier that the calling application is in a suspended state, and all processes of the application are placed in a suspended state;
- a triggering operation is detected on the identifier that the calling application is in a stopped state, and all processes of the application are put into a stopped state;
- a trigger operation is detected on the identifier that the calling application is in a destroyed state, and the memory space occupied by the thread of the application is recovered.
- the application control method described in connection with the examples disclosed herein may be directly embodied as hardware, a software module executed by a processor, or a combination of both.
- one or more of the functional block diagrams and/or functional blocks in the functional block diagram shown in FIG. 1 may correspond to various software modules of a computer program flow. It can also correspond to each hardware module. These software modules may correspond to the respective steps shown in FIG. 4, respectively.
- These hardware modules can be implemented, for example, by curing these software modules using a Field Programmable Gate Array (FPGA).
- FPGA Field Programmable Gate Array
- the software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard drive, CD-ROM, or any other form of storage medium known in the art.
- a storage medium can be coupled to the processor to enable the processor to read information from, and write information to, the storage medium; or the storage medium can be an integral part of the processor.
- the processor and the storage medium may be located in an application specific integrated circuit.
- the software module can be stored in the memory of the mobile terminal or in a memory card that can be inserted into the mobile terminal. For example, if the mobile terminal uses a larger capacity MEGA-SIM card or a large-capacity flash memory device, the software module can be stored in the MEGA-SIM card or a large-capacity flash memory device.
- One or more of the functional block diagrams described with respect to FIG. 1 and/or one or more combinations of functional block diagrams may be implemented as general purpose processors, digital signals for performing the functions described herein.
- DSP Processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- One or more of the functional blocks described with respect to FIG. 1 and/or one or more combinations of functional blocks may also be implemented as a combination of computer devices, eg, a combination of a DSP and a microprocessor, multiple microprocessors, One or more microprocessors or any other such configuration in conjunction with DSP communications.
- Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- S11 Display at least one state transition identifier corresponding to a current running state of the application in an application icon space area of the application;
- S12 A triggering operation is detected on one of the state transition identifiers, and the current running state of the application is switched to an operating state corresponding to the state transition identifier.
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
- ROM Read-Only Memory
- RAM Random Access Memory
- Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
- the foregoing program is used to perform the following steps:
- S21 Display at least one state transition identifier corresponding to a current running state of the application in an application icon space area of the application;
- S22 A triggering operation is detected on one of the state transition identifiers, and the current running state of the application is switched to an operating state corresponding to the state transition identifier.
- the method of the present invention can be performed not only in a mobile terminal but also in a multimedia device such as a PDA or a game machine.
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
- Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- the foregoing embodiments of the present invention are applied to the field of terminal application technologies, and application diagrams in applications
- the target space area is configured with one or more state transition identifiers, and when the triggering operation of the user is detected on one of the state transition identifiers, the preset state transition operation mode corresponding to the state transition identifier controls the running state of the application, Therefore, the user can grasp the state of the application resident at any time through the application icon, and smoothly and quickly apply state switching control according to the state of the application resident, which effectively solves the complicated state switching of the application residing in the background in the prior art. The problem has improved the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种终端与应用控制方法,所述终端包括:图标更新单元,用于在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;状态控制单元,用于在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。本发明有效地解决了现有技术中在后台驻留的应用的状态切换复杂的问题,提高了用户体验。
Description
本发明涉及终端应用技术领域,特别是涉及一种终端与应用控制方法。
目前,智能终端(例如手机)已经在用户的日常生活中被广泛使用。随着应用的不断升级,越来越多的大型应用被安装到智能终端上。
由于智能终端硬件性能的不断提高,用户越来越喜欢处理和并发多种应用,随着用户不断的切换应用,应用在后台运行的可能性越来越大,这些无疑损耗着用户最宝贵的资源(包括CPU和内存等),给用户造成困扰和不便。
现有技术中解决该问题的处理方式是:在移动终端中提供一个后台程序运行显示界面,当用户需要知晓有哪些应用在后台运行时,需要用户按照智能终端中定义的触发该显示界面的方式,触发该显示界面显示,在该显示界面上查看后台运行的应用,然后才能进一步清理不必要的应用。因此,现有处理方式过于繁琐,影响用户体验。
发明内容
为了克服上述现有技术的缺陷,本发明实施例要解决的技术问题是提供一种终端与应用控制方法,用以解决现有技术中在后台驻留的应用的状态切换复杂的问题。
为解决上述技术问题,本发明实施例中的一种终端,包括:
图标更新单元,设置为在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;
状态控制单元,设置为在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
可选地,所述应用的运行状态包括应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态;
所述终端还包括:
状态检测单元,设置为获取所述应用的当前进程状态;
基于预先建立的归一化对应关系,确定出与所述应用的当前进程状态对应的所述应用的运行状态;所述归一化对应关系为应用的进程状态和应用的运行状态的对应关系。
可选地,所述状态检测单元,还设置为将应用的一个进程获得用户界面总线控制权的状态、应用的所有进程被置为暂停的状态、应用的所有进程被置为停止的状态和占用内存空间的应用线程被回收的状态分别与应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态建立对应关系。
可选地,所述终端还包括:
操作确定单元,设置为确定与所述应用的当前运行状态对应的至少一种预设状态转换操作方式;
获取与确定的各状态转换操作方式对应预设的状态转换标识。
可选地,所述图标更新单元包括:
监听模块,设置为在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图;
更新模块,设置为根据所述用户界面截图和获取的各状态转换标识更新所述应用的应用图标,以使在更新后的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识和全部或部分用户界面截图。
可选地,所述监听模块包括:
监听子模块,设置为监听与应用启动、应用暂停和应用结束相关的事件信息;
记录子模块,设置为至少记录每个事件信息对应的应用标识、进程标识和进程状态,并保存每个事件信息对应进程的用户界面截图;
获取子模块,设置为在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息;
提取子模块,设置为提取获取的事件信息对应的进程状态和用户界面截图。
可选地,所述获取子模块,设置为当记录的一事件信息对应的应用标识与所述应用的应用标识不同时,判定所述应用的所有进程均失去用户界面总线控制权,并将此时对应的所述应用的进程作为所述应用的当前进程;
获取所述应用的所有进程均失去用户界面总线控制权时的前一个记录的事件信息。
可选地,所述状态转换标识包括调用应用处于运行状态的标识、调用应用处于暂停状态的标识、调用应用处于停止状态的标识和调用应用处于销毁状态的标识。
可选地,所述状态控制单元,设置为在所述调用应用处于运行状态的标识上检测到触发操作,使所述应用的当前进程获得用户界面总线控制权;或者,
在所述调用应用处于暂停状态的标识上检测到触发操作,将所述应用的所有进程置为暂停状态;或者,
在所述调用应用处于停止状态的标识上检测到触发操作,将所述应用的所有进程置为停止状态;或者,
在所述调用应用处于销毁状态的标识上检测到触发操作,回收所述应用的线程占用的内存空间。
为解决上述技术问题,本发明实施例中的一种应用控制方法,所述方法包括:
在应用的应用图标空间区域显示与所述应用的当前运行状态对应的
至少一种状态转换标识;
在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
可选地,所述应用的运行状态包括应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态;
所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤之前,还包括:
获取所述应用的当前进程状态;
基于预先建立的归一化对应关系,确定出与所述应用的当前进程状态对应的所述应用的运行状态;所述归一化对应关系为应用的进程状态和应用的运行状态的对应关系。
可选地,预先建立归一化对应关系的步骤,包括:
将应用的一个进程获得用户界面总线控制权的状态、应用的所有进程被置为暂停的状态、应用的所有进程被置为停止的状态和占用内存空间的应用线程被回收的状态分别与应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态建立对应关系。
可选地,所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤之前,还包括:
确定与所述应用的当前运行状态对应的至少一种预设状态转换操作方式;
获取与确定的各状态转换操作方式对应预设的状态转换标识。
可选地,所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤,包括:
在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图;
根据所述用户界面截图和获取的各状态转换标识更新所述应用的应
用图标,以使在更新后的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识和全部或部分用户界面截图。
可选地,所述在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图的步骤,包括:
监听与应用启动、应用暂停和应用结束相关的事件信息;
至少记录每个事件信息对应的应用标识、进程标识和进程状态,并保存每个事件信息对应进程的用户界面截图;
在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息;
提取获取的事件信息对应的用户界面截图。
可选地,所述在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息的步骤,包括:
当记录的一事件信息对应的应用标识与所述应用的应用标识不同时,判定所述应用的所有进程均失去用户界面总线控制权,并将此时对应的所述应用的进程作为所述应用的当前进程;
获取所述应用的所有进程均失去用户界面总线控制权时的前一个记录的事件信息。
可选地,所述状态转换标识包括调用应用处于运行状态的标识、调用应用处于暂停状态的标识、调用应用处于停止状态的标识和调用应用处于销毁状态的标识。
可选地,所述在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态的步骤,包括:
在所述调用应用处于运行状态的标识上检测到触发操作,使所述应用的当前进程获得用户界面总线控制权;或者,
在所述调用应用处于暂停状态的标识上检测到触发操作,将所述应用的所有进程置为暂停状态;或者,
在所述调用应用处于停止状态的标识上检测到触发操作,将所述应用的所有进程置为停止状态;或者,
在所述调用应用处于销毁状态的标识上检测到触发操作,回收所述应用的线程占用的内存空间。
本发明实施例有益效果如下:
本发明实施例中终端及应用控制方法通过在应用的应用图标空间区域设置一种或多种状态转换标识,当在其中一个状态转换标识上检测到用户的触发操作时,按照该状态转换标识对应的预设状态转换操作方式控制所述应用的运行状态,从而使用户仅通过应用图标就可以随时掌握应用驻留的状态,并根据应用驻留的状态进行平滑快捷的应用状态切换控制,有效解决了现有技术中在后台驻留的应用的状态切换复杂的问题,提高了用户体验。
图1是本发明实施例中一种终端的硬件结构示意图;
图2是本发明实施例中运行状态转换示意图;
图3是本发明实施例中效果示意图;
图4是本发明实施例中一种应用控制方法的流程图。
为了解决现有技术中在后台驻留的应用的状态切换复杂的问题,本发明提供了一种终端与应用控制方法,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不限定本发明。
如图1所示,本发明第一实施例提供一种终端,所述终端包括:
图标更新单元110,设置为在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;
状态控制单元120,设置为在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
本发明实施例中终端通过在应用的应用图标空间区域设置一种、二种或多种状态转换标识(简称标识),当在其中一个状态转换标识上检测到用户的触发操作时,按照该状态转换标识对应的预设状态转换操作方式控制所述应用的运行状态,从而使用户仅通过应用图标就可以随时掌握应用驻留的状态,并根据应用驻留的状态进行平滑快捷的应用状态切换控制,有效解决了现有技术中在后台驻留的应用的状态切换复杂的问题,提高了用户体验。
比如,用户查看到当前的状态为暂停态,那么可以选择单击相应状态转换标识进行应用直接调度用户界面到前台;如果当前的状态为结束态,那么单击可以进行内存清理等。
在上述实施例的基础上,进一步提出上述实施例的变型实施例,在此需要说明的是,为了使描述简要,在各变型实施例中仅描述与上述实施例的不同之处。
在本发明的一个实施例中,所述应用的运行状态包括应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态。
可选地,所述终端还包括:
状态检测单元,设置为获取所述应用的当前进程状态;
基于预先建立的归一化对应关系,确定出与所述应用的当前进程状态对应的所述应用的运行状态;所述归一化对应关系为应用的进程状态和应用的运行状态的对应关系。
Android定义的进程状态多达10几种,一个应用在运行时候,可能会生成多个进程,比如微信应用,可能包括coversation进程、push进程等,而与某个人聊天的时候,聊天进程被调度到前台。当然,微信应用也理所当然现在是分配了UI资源,属于前台显示的应用。
本发明实施例中把进程的状态归一化为应用的状态,是为了简化进程
的复杂流程,从而行程新的应用状态自动机。在此,明确下应用状态标识符及其定义。
应用处于运行状态(Running):即应用的前台显示状态,是应用的最后一次被调度到前台的进程重新获得UI总线控制权的状态。实现可以使用android自身定义的命令,或者intent消息。
应用处于暂停状态(Pause):即应用的后台保持状态,是应用的所有进程被置为onpause,包括可能存在的数据连接访问进程。
应用处于停止状态(Stop):即应用的后台停止状态,此种状态与暂停状态还有稍许不同,此种状态下可能会释放一些高消耗内存的资源(与销毁状态的差异在于,应用的进程所涉及到的对象可能会被重新赋值或为空,但保留内存申请),比如媒体播放的编解码进程,同样的,是应用的所有进程被置为onstop。
应用处于销毁状态(Release):即应用涉及到的线程所申请的变量和对象的内存控件被GC强制回收的状态。此时如果有其他进程申请内存,那么这部分空间就可用了。
在android***中,所有的进程是由activitymanager以队列的来调度管理的,一般来说队列顶端的具有优先调度的资源的权利,而在屏幕触碰操作情况下,UI进程在一般排在第一位,其他的进程按照用户的操作先后即activitymanger的调度顺序分时复用UI进程所生成的资源,达到各个应用包括进程和菜单在UI上的显示和回调。
所述状态检测单元,还设置为将应用的一个进程获得用户界面总线控制权的状态、应用的所有进程被置为暂停的状态、应用的所有进程被置为停止的状态和占用内存空间的应用线程被回收的状态分别与应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态建立对应关系。
在本发明的另一个实施例中,所述终端还包括:
操作确定单元,设置为确定与所述应用的当前运行状态对应的至少一
种预设状态转换操作方式;
获取与确定的各状态转换操作方式对应预设的状态转换标识。
如图2所示,当前运行状态为Pause,则对应的状态转换操作方式包括Running、Stop和Release。
所述图标更新单元包括:
监听模块,设置为在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图;
更新模块,设置为根据所述用户界面截图和获取的各状态转换标识更新所述应用的应用图标,以使在更新后的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识和全部或部分用户界面截图。
本发明实施例进一步通过将应用的应用图标更新成包含用户界面截图,使应用图标可以清楚的显示出应用从前台切换到后台时用户界面,从而可以使用户无需额外操作即可知晓应用在驻留在哪个用户界面,处于什么位置,从而进一步提高用户体验。
所述监听模块包括:
监听子模块,设置为监听与应用启动、应用暂停和应用结束相关的事件信息;
记录子模块,设置为至少记录每个事件信息对应的应用标识(例如应用的包名)、进程标识和进程状态,并保存每个事件信息对应进程的用户界面截图;其中,截图可以采用完全屏幕截图的方式,也可以选择屏幕的某个界面或控件截图。
获取子模块,设置为在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息;
提取子模块,设置为提取获取的事件信息对应的进程状态和用户界面截图。
可选地,所述获取子模块,设置为当记录的一事件信息对应的应用标识与所述应用的应用标识不同时,判定所述应用的所有进程均失去用户界面总线控制权,并将此时对应的所述应用的进程作为所述应用的当前进程;
获取所述应用的所有进程均失去用户界面总线控制权时的前一个记录的事件信息。
当然,监听子模块可以直接访问或者跟踪activity相关进程内存区来判断进程的状态,直接的,访问android的activitymanager来获取状态信息。可以将应用的名称进行转换,比如名称加某个状态这样的命名方式。可以采用实时侦听的方式,也可以采用定时周期轮询的方式。
在本发明的又一个实施例中,所述状态转换标识包括调用应用处于运行状态的标识、调用应用处于暂停状态的标识、调用应用处于停止状态的标识和调用应用处于销毁状态的标识。
所述状态控制单元,设置为在所述调用应用处于运行状态的标识上检测到触发操作,使所述应用的当前进程获得用户界面总线控制权;或者,
在所述调用应用处于暂停状态的标识上检测到触发操作,将所述应用的所有进程置为暂停状态;或者,
在所述调用应用处于停止状态的标识上检测到触发操作,将所述应用的所有进程置为停止状态;或者,
在所述调用应用处于销毁状态的标识上检测到触发操作,回收所述应用的线程占用的内存空间。
各状态转换操作方式对应的状态转换标识可以采用标识的形式。当然标识也可以不用映射到图标的显示上,直接采用双击或者单击来区别不同的状态转换,或者给出单击图标的状态机转换,在不同的状态之间流转即可。
按照谷歌对android的进程的生命周期进行如下定义:
进程状态包括:Oncreate/Onstart/Onresume/Onrestart、Onpause、Onstop
和Ondestroy等等。
将谷歌定义的进程状态应用归一化,及每个进程状态对应的标识如下表所示:
应用的各运行状态之间的状态切换如图2所示,其中图中箭头的指示方向表示各状态之间可以切换。
也就是说,本发明实施例中监听模块主要完成对终端(例如手机、平板灯)当前前台进程的状态的侦听和信息搜集,记录当前进程名、应用名、进程状态的变化。
状态控制单元主要根据当前的可用状态操作,完成进程状态的切换,一般来说在android和IOS***中,可用状态操作有暂停、运行、停止。
图标更新单元主要负责进程状态监听模块传递的进程状态,来判断进程是否发生变化,从而依据进程状态机的运行状态来完成对截图进行状态灌注、对应用图标更新等操作。
详细说,进程状态监听模块(简称监听模块)监听APP的启动、运行、暂停、结束的相关事件,包括不仅限于用户的相关launcher的点击应用图标操作、在应用启动后在应用内容的不同activity窗口切换/滑动/点击操作、其他高优先级进程抢占事件、用户点击home/back/menu/电源键后的响应事件、***自身的GC回收事件、应用自身的异常崩溃、退出事件等。
当有新的事件产生,监听模块生成1条事件记录,记录的内容包括但不仅限于该当前用户界面归属应用的app name、当前界面的activity的名字,及activity的状态,前后台标志位等,并获取当前屏幕截图。
监听模块对比前后两条记录的app name是否相同。
如果相同,则继续进行监听。
如果不同,那么将前一个记录的信息和截图发送给应用图标更新单元(简称图标更新单元或更新单元)、状态控制单元(简称控制单元),发送的方式包括不仅限于使用直接的事件定向传递、广播传递、管道方式。
控制单元接收到相关信息后,生成或计算出相应的应用状态标识或通用标志位,并接管对相应进程的控制权,接管的方式包括但不仅限于授权申请、签名注入等。并将应用的通用状态信息传递给更新单元。
图标更新单元根据记录中的截图和应用的通配信息,重新生成图标,该图标即包括应用的上一次驻留前台的截图,又包括最新的应用通用状态,绘图方式可以采用嵌入式,也可以采用浮现、借位等,并更UI界面上的应用图标。
此时,用户可以根据该应用图标进行相应的快捷操作,比如查看到当前的状态为暂停态,那么可以选择单击进行应用直接调度活动界面到前台,如果是结束态,那么单击可以进行内存清理等。此时,监听模块会继续工作,并进行新的事件监听。
以android为例,通过对用户常见的社交类应用的方案的实现,来说明本发明实施例终端的控制原理。设想的应用场景如下:用户在使用应用A一段时间后,按home键返回到待机。此后用户再次观察应用A的图标更新,并选择对图标的相应操作。
假设A应用的包名为com.aaa.bbb.ppp,应用名称为ppp,且A的主activity的名字为mainActivity,其他界面的activity名字分别为other1Activity,other2Activity,other3Activity……,并且每个activity对应一个UI(User Interface,用户界面)界面。
大概定义的记录内容格式为{activity NAME,APP NAME,activity STATUS,ON/OFF STATUS,event TYPE},格式字段包括不仅限于以上字段,根据程序处理需要界定。
控制流程包括:
1.***开机后,监听模块启动监听动作,驻扎***内存;
2.用户点击A应用图标,进入到A的主界面mainActivity,此时监听模块生成1条记录,记录的格式如下:
{mainActivity,ppp,onStart,Y,click}
该条记录表明当前的activity名称是mainActivity,mainActivity的归属的应用名为ppp,mainActivity的当前状态是onStart,Y代表mainActivity的是调度到了前台用户界面。Click代表当前监听到的事件是单击事件。其中,获取这些进程的状态信息可以通过读取ActivityManager的打印状态或变量,也可以直接访问activity的队列。
与此同时,生成当前mainActivity的界面截图,保存并命名为mainPic.png,保存的位置可以是手机的实体存储位置,也可以是虚拟存储位置,包括不仅限于ram和rom等可用存储空间。
3.随后,用户点击mainActivity上用户界面的某个菜单或图标,跳转到other1Activity所对应的界面,监听模块生成第2条记录,记录的内容如下:
{other1Activity,ppp,onStart,Y,click},
并更新第1条记录的内容为{mainActivity,ppp,onPause,N,click},其中N标识mainActivity已经转为后台,onPause表明mainActivity已经由运行态转为暂停态(android的机制,也可以维持onStart,应用类型、activity的生命周期不同状态可能有差别,详情参考android的进程状态自动机)。
同时,获取当前other1Activity的界面截图,保存并命名为pic1.png。
4.而此时监听模块比对两条记录,对比记录的APP NAME字段后发现前后两个字段内容一样,那么说明现在是处在应用界面,因此监听模块继续进入监听状态。
5.依次类推,用户在该应用对应的不同activity界面进行访问或浏览,而最新的1条记录是{other3Activity,ppp,onStart,Y,longClick},对应的截图为pic3.png。
6.直到用户点击了home按键,***简单判断是否回到了待机界面(android的待机界面也有对应的包名,例如:com.android.launcher等),后将该事件写入1条新增记录:
{launcher,systemUI,N/A,Y,HOME},证明用户当前正常回到了待机界面。
7.此刻监听模块判断前后两个包名不一样,那么便启动数据传送流程,并将前面的记录{other3Activity,ppp,onPause,N}(注意此处的状态),对应的截图为pic3.png,传递给控制单元、图标更新单元。
8.控制单元,根据接收到的记录状态字段onPause,计算得到该进程的通用标志位S(可以为应用归一化状态的英文首字母),和标识O、×,计算规则参考表1。
同时,申请对应用ppp的控制,获得授权后将标识发送给图标更新单元。
9.更新单元收到控制单元传递的标识△、O、×和监听模块发来的截图pic3.png后,启动图形绘制方法,组合成附着标识控制按钮的图标pic3_S.jpg,并将其应用到应用A为最新的图标。更新完成后,向控制单元传递更新成功回执消息。
图形绘制组合属于业界常用技术,属于图像处理范畴。
10.此时用户如果查看应用A的图标,就可以看到A的图标已经发生了更新,效果图如图3所示。
11.随后,用户可以选择通过单击图标上的标识来进行对应用的快速处理,可处理的方式,根据标识所定义的有限状态自动机,如图2所示。按照上面的提示,目前应用A的图标的标识是O、×。
12.假设用户选择了标识O(s top按钮),那么监听模块监听到此点击事件。
并生成1条记录{launcher,systemUI,N/A,Y,special_click_s},并判断该事件为特殊点击(定义将所有的图标点击状态的按钮定义为特殊点击),并将此继续直接传递给控制单元。
13.控制单元抽取此特殊信息的记录的关键字,通过关键词来确定此点击是个stop点击按钮时间,那么将终止该应用的所有进程状态为stop,并将其应用图标更新为mainActivity的截图。更新成什么,程序自行定义。
14.同样的,如果用户选择点击了标识×(release按钮),那么控制单元将通知android自身的activitymanager强行释放该应用所有进程的内存空间,并通知图标更新单元更新应用图标为原始的图标。
基于上述各实施例的终端,本发明进一步提出一种应用控制方法。
如图4所示,本发明实施中一种应用控制方法包括步骤:
S401,在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;
S402,在其中一个状态转换标识上检测到用户的触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
本发明实施例中终端通过在应用的应用图标空间区域设置一种或多种状态转换标识,当在其中一个状态转换标识上检测到用户的触发操作时,按照该状态转换标识对应的预设状态转换操作方式控制所述应用的运行状态,从而使用户仅通过应用图标就可以随时掌握应用驻留的状态,并根据应用驻留的状态进行平滑快捷的应用状态切换控制,有效解决了现有技
术中在后台驻留的应用的状态切换复杂的问题,提高了用户体验。
在本发明的一个实施例中,所述应用的运行状态包括应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态;
所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤之前,还包括:
获取所述应用的当前进程状态;
基于预先建立的归一化对应关系,确定出与所述应用的当前进程状态对应的所述应用的运行状态;所述归一化对应关系为应用的进程状态和应用的运行状态的对应关系。
其中,预先建立归一化对应关系的步骤,包括:
将应用的一个进程获得用户界面总线控制权的状态、应用的所有进程被置为暂停的状态、应用的所有进程被置为停止的状态和占用内存空间的应用线程被回收的状态分别与应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态建立对应关系。
在本发明的一个实施例中,所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤之前,还包括:
确定与所述应用的当前运行状态对应的至少一种预设状态转换操作方式;
获取与确定的各状态转换操作方式对应预设的状态转换标识。
可选地,所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤,可以包括:
在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图;
根据所述用户界面截图和获取的各状态转换标识更新所述应用的应用图标,以使在更新后的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识和全部或部分用户界面截图。
本发明实施例进一步通过将应用的应用图标更新成包含用户界面截图,使应用图标可以清楚的显示出应用从前台切换到后台时用户界面,从而可以使用户无需额外操作即可知晓应用在驻留在哪个用户界面,处于什么位置,从而进一步提高用户体验。
可选地,所述在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图的步骤,可以包括:
监听与应用启动、应用暂停和应用结束相关的事件信息;
至少记录每个事件信息对应的应用标识、进程标识和进程状态,并保存每个事件信息对应进程的用户界面截图;
在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息;
提取获取的事件信息对应的进程状态和用户界面截图。
可选地,所述在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息的步骤,可以包括:
当记录的一事件信息对应的应用标识与所述应用的应用标识不同时,判定所述应用的所有进程均失去用户界面总线控制权,并将此时对应的所述应用的进程作为所述应用的当前进程;
获取所述应用的所有进程均失去用户界面总线控制权时的前一个记录的事件信息。
在本发明的又一个实施例中,所述状态转换标识包括调用应用处于运行状态的标识、调用应用处于暂停状态的标识、调用应用处于停止状态的标识和调用应用处于销毁状态的标识。
其中,所述在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态的步骤,包括:
在所述调用应用处于运行状态的标识上检测到触发操作,使所述应用的当前进程获得用户界面总线控制权;或者,
在所述调用应用处于暂停状态的标识上检测到触发操作,将所述应用的所有进程置为暂停状态;或者,
在所述调用应用处于停止状态的标识上检测到触发操作,将所述应用的所有进程置为停止状态;或者,
在所述调用应用处于销毁状态的标识上检测到触发操作,回收所述应用的线程占用的内存空间。
结合本申请所公开示例描述的应用控制方法,可直接体现为硬件、由处理器执行的软件模块或者二者结合。例如,图1中所示功能框图中的一个或多个功能框图和/或功能框图的一个和/或多个组合(例如,状态控制单元),既可以对应于计算机程序流程的各个软件模块,亦可以对应于各个硬件模块。这些软件模块,可以分别对应于图4所示的各个步骤。这些硬件模块例如可利用现场可编程门阵列(FPGA)将这些软件模块固化而实现。
软件模块可以位于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域已知的任何其他形式的存储介质。可以将一种存储介质藕接至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息;或者该存储介质可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路中。该软件模块可以存储在移动终端的存储器中,也可以存储在可***移动终端的存储卡中。例如,若移动终端采用的是较大容量的MEGA-SIM卡或者大容量的闪存装置,则该软件模块可存储在该MEGA-SIM卡或者大容量的闪存装置中。
针对图1描述的功能框图中的一个或多个和/或功能框图的一个或多个组合(例如,状态控制单元),可以实现为用于执行本申请所描述功能的通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或晶体管逻辑器
件、分立硬件组件或者其任意适当组合。针对图1描述的功能框图中的一个或多个和/或功能框图的一个或多个组合,还可以实现为计算机设备的组合,例如,DSP和微处理器的组合、多个微处理器、与DSP通信结合的一个或多个微处理器或者任何其他这种配置。
本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项所述的方法。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S11,在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;
S12,在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本发明的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。
可选地,在本实施例中,上述程序用于执行以下步骤:
S21,在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;
S22,在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
虽然本申请描述了本发明的特定示例,但本领域技术人员可以在不脱
离本发明概念的基础上设计出来本发明的变型。
另外本发明的方法,不仅可以在移动终端中执行,还可以由PDA、游戏机等多媒体设备执行。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
上述本发明实施例,应用于终端应用技术领域,通过在应用的应用图
标空间区域设置一种或多种状态转换标识,当在其中一个状态转换标识上检测到用户的触发操作时,按照该状态转换标识对应的预设状态转换操作方式控制所述应用的运行状态,从而使用户仅通过应用图标就可以随时掌握应用驻留的状态,并根据应用驻留的状态进行平滑快捷的应用状态切换控制,有效解决了现有技术中在后台驻留的应用的状态切换复杂的问题,提高了用户体验。
Claims (18)
- 一种终端,所述终端包括:图标更新单元,设置为在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;状态控制单元,设置为在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
- 如权利要求1所述的终端,其中,所述应用的运行状态包括应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态;所述终端还包括:状态检测单元,设置为获取所述应用的当前进程状态;基于预先建立的归一化对应关系,确定出与所述应用的当前进程状态对应的所述应用的运行状态;所述归一化对应关系为应用的进程状态和应用的运行状态的对应关系。
- 如权利要求2所述的终端,其中,所述状态检测单元,还设置为将应用的一个进程获得用户界面总线控制权的状态、应用的所有进程被置为暂停的状态、应用的所有进程被置为停止的状态和占用内存空间的应用线程被回收的状态分别与应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态建立对应关系。
- 如权利要求3所述的终端,其中,所述终端还包括:操作确定单元,设置为确定与所述应用的当前运行状态对应的至少一种预设状态转换操作方式;获取与确定的各状态转换操作方式对应预设的状态转换标识。
- 如权利要求4所述的终端,其中,所述图标更新单元包括:监听模块,设置为在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图;更新模块,设置为根据所述用户界面截图和获取的各状态转换标识更新所述应用的应用图标,以使在更新后的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识和全部或部分用户界面截图。
- 如权利要求5所述的终端,其中,所述监听模块包括:监听子模块,设置为监听与应用启动、应用暂停和应用结束相关的事件信息;记录子模块,设置为至少记录每个事件信息对应的应用标识、进程标识和进程状态,并保存每个事件信息对应进程的用户界面截图;获取子模块,设置为在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息;提取子模块,设置为提取获取的事件信息对应的进程状态和用户界面截图。
- 如权利要求6所述的终端,其中,所述获取子模块,设置为当记录的一事件信息对应的应用标识与所述应用的应用标识不同时,判定所述应用的所有进程均失去用户界面总线控制权,并将此时对应的所述应用的进程作为所述应用的当前进程;获取所述应用的所有进程均失去用户界面总线控制权时的前一个记录的事件信息。
- 如权利要求4所述的终端,其中,所述状态转换标识包括调用应用处于运行状态的标识、调用应用处于暂停状态的标识、调用应用处于停止状态的标识和调用应用处于销毁状态的标识。
- 如权利要求8所述的终端,其中,所述状态控制单元,设置为在所述调用应用处于运行状态的标识上检测到触发操作,使所述应用的当前进程获得用户界面总线控制权;或者,在所述调用应用处于暂停状态的标识上检测到触发操作,将所述应用的所有进程置为暂停状态;或者,在所述调用应用处于停止状态的标识上检测到触发操作,将所述应用的所有进程置为停止状态;或者,在所述调用应用处于销毁状态的标识上检测到触发操作,回收所述应用的线程占用的内存空间。
- 一种应用控制方法,所述方法包括:在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识;在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态。
- 如权利要求10所述的方法,其中,所述应用的运行状态包括应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态;所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤之前,还包括:获取所述应用的当前进程状态;基于预先建立的归一化对应关系,确定出与所述应用的当前进程状态对应的所述应用的运行状态;所述归一化对应关系为应用的进程状态和应用的运行状态的对应关系。
- 如权利要求11所述的方法,其中,预先建立归一化对应关系的步骤,包括:将应用的一个进程获得用户界面总线控制权的状态、应用的所有进程被置为暂停的状态、应用的所有进程被置为停止的状态和占用内存空间的应用线程被回收的状态分别与应用处于运行状态、应用处于暂停状态、应用处于停止状态和应用处于销毁状态建立对应关系。
- 如权利要求11所述的方法,其中,所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤之前,还包括:确定与所述应用的当前运行状态对应的至少一种预设状态转换操作方式;获取与确定的各状态转换操作方式对应预设的状态转换标识。
- 如权利要求13所述的方法,其中,所述在应用的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识的步骤,包括:在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图;根据所述用户界面截图和获取的各状态转换标识更新所述应用的应用图标,以使在更新后的应用图标空间区域显示与所述应用的当前运行状态对应的至少一种状态转换标识和全部或部分用户界面截图。
- 如权利要求14所述的方法,其中,所述在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的用户界面截图的步骤,包括:监听与应用启动、应用暂停和应用结束相关的事件信息;至少记录每个事件信息对应的应用标识、进程标识和进程状态,并保存每个事件信息对应进程的用户界面截图;在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息;提取获取的事件信息对应的用户界面截图。
- 如权利要求15所述的方法,其中,所述在所述应用的所有进程均失去用户界面总线控制权前,获取所述应用的当前进程对应的事件信息的步骤,包括:当记录的一事件信息对应的应用标识与所述应用的应用标识不同时,判定所述应用的所有进程均失去用户界面总线控制权,并将此时对应的所述应用的进程作为所述应用的当前进程;获取所述应用的所有进程均失去用户界面总线控制权时的前一个记录的事件信息。
- 如权利要求13所述的方法,其中,所述状态转换标识包括调用应用处于运行状态的标识、调用应用处于暂停状态的标识、调用应用处于停止状态的标识和调用应用处于销毁状态的标识。
- 如权利要求17所述的方法,其中,所述在其中一个状态转换标识上检测到触发操作,将所述应用的当前运行状态切换到该状态转换标识对应的运行状态的步骤,包括:在所述调用应用处于运行状态的标识上检测到触发操作,使所述应用的当前进程获得用户界面总线控制权;或者,在所述调用应用处于暂停状态的标识上检测到触发操作,将所述应用的所有进程置为暂停状态;或者,在所述调用应用处于停止状态的标识上检测到触发操作,将所述应用的所有进程置为停止状态;或者,在所述调用应用处于销毁状态的标识上检测到触发操作,回收所述应用的线程占用的内存空间。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611080506.3 | 2016-11-30 | ||
CN201611080506.3A CN108132735B (zh) | 2016-11-30 | 2016-11-30 | 终端与应用控制方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018099163A1 true WO2018099163A1 (zh) | 2018-06-07 |
Family
ID=62242289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/102708 WO2018099163A1 (zh) | 2016-11-30 | 2017-09-21 | 终端与应用控制方法 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108132735B (zh) |
WO (1) | WO2018099163A1 (zh) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111142724A (zh) * | 2019-12-24 | 2020-05-12 | 维沃移动通信有限公司 | 一种显示控制方法及电子设备 |
CN111158788A (zh) * | 2019-12-31 | 2020-05-15 | 科大讯飞股份有限公司 | 桌面启动器控制方法、装置及存储介质 |
CN111552616A (zh) * | 2020-04-30 | 2020-08-18 | 汉海信息技术(上海)有限公司 | 一种内存监听方法及装置 |
CN112068605A (zh) * | 2020-07-31 | 2020-12-11 | 河北汉光重工有限责任公司 | 一种二维转台记忆扫描方法 |
CN113392685A (zh) * | 2020-09-22 | 2021-09-14 | 腾讯科技(深圳)有限公司 | 图像识别方法、装置、图像识别设备及存储介质 |
CN114896011A (zh) * | 2022-05-09 | 2022-08-12 | 北京达佳互联信息技术有限公司 | 页面中动态内容的播放方法、装置、电子设备及存储介质 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324865B (zh) * | 2018-10-31 | 2021-09-21 | 四川长虹电器股份有限公司 | 应用图标信息更新显示方法及终端 |
CN110290269A (zh) * | 2019-06-26 | 2019-09-27 | 努比亚技术有限公司 | 显示控制方法、移动终端及计算机可读存储介质 |
CN113590277A (zh) * | 2021-06-25 | 2021-11-02 | 北京旷视科技有限公司 | 任务状态切换方法、装置和电子*** |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182123A (zh) * | 2014-08-25 | 2014-12-03 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN104731689A (zh) * | 2015-03-16 | 2015-06-24 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101883184B (zh) * | 2010-06-23 | 2014-12-17 | 中兴通讯股份有限公司 | 在移动终端上控制应用程序显示的方法和移动终端 |
CN102004687A (zh) * | 2010-11-04 | 2011-04-06 | 东莞宇龙通信科技有限公司 | 一种移动终端程序运行状态显示方法及移动终端 |
GB201107273D0 (en) * | 2011-04-28 | 2011-06-15 | Inq Entpr Ltd | Application control in electronic devices |
CN104991767B (zh) * | 2015-06-15 | 2021-11-16 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
-
2016
- 2016-11-30 CN CN201611080506.3A patent/CN108132735B/zh active Active
-
2017
- 2017-09-21 WO PCT/CN2017/102708 patent/WO2018099163A1/zh active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182123A (zh) * | 2014-08-25 | 2014-12-03 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
CN104731689A (zh) * | 2015-03-16 | 2015-06-24 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111142724A (zh) * | 2019-12-24 | 2020-05-12 | 维沃移动通信有限公司 | 一种显示控制方法及电子设备 |
CN111158788A (zh) * | 2019-12-31 | 2020-05-15 | 科大讯飞股份有限公司 | 桌面启动器控制方法、装置及存储介质 |
CN111552616A (zh) * | 2020-04-30 | 2020-08-18 | 汉海信息技术(上海)有限公司 | 一种内存监听方法及装置 |
CN112068605A (zh) * | 2020-07-31 | 2020-12-11 | 河北汉光重工有限责任公司 | 一种二维转台记忆扫描方法 |
CN112068605B (zh) * | 2020-07-31 | 2023-12-05 | 河北汉光重工有限责任公司 | 一种二维转台记忆扫描方法 |
CN113392685A (zh) * | 2020-09-22 | 2021-09-14 | 腾讯科技(深圳)有限公司 | 图像识别方法、装置、图像识别设备及存储介质 |
CN114896011A (zh) * | 2022-05-09 | 2022-08-12 | 北京达佳互联信息技术有限公司 | 页面中动态内容的播放方法、装置、电子设备及存储介质 |
CN114896011B (zh) * | 2022-05-09 | 2023-12-26 | 北京达佳互联信息技术有限公司 | 页面中动态内容的播放方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN108132735B (zh) | 2023-04-07 |
CN108132735A (zh) | 2018-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018099163A1 (zh) | 终端与应用控制方法 | |
JP6774907B2 (ja) | コンピューティングオブジェクトのコンテキストの履歴 | |
US10871985B2 (en) | Displaying media files between changes in states of an application client | |
CN106126009B (zh) | 一种应用图标管理的方法、装置以及终端 | |
CN110300328B (zh) | 一种视频播放控制方法、装置及可读存储介质 | |
CN109343902B (zh) | 音频处理组件的运行方法、装置、终端及存储介质 | |
CN103841268A (zh) | 信息处理方法和信息处理装置 | |
WO2020048246A1 (zh) | 窗口切换方法、装置、终端及计算机可读存储介质 | |
CN105022955B (zh) | 一种应用程序的锁定方法及移动终端 | |
WO2015106510A1 (zh) | 应用的分屏方法与装置、智能终端、存储介质 | |
CN112055072A (zh) | 云端音频输入方法、装置、云***、电子设备与存储介质 | |
CN110032321B (zh) | 应用程序处理方法和装置、电子设备、计算机可读存储介质 | |
CN106569917B (zh) | 一种数据备份方法及移动移动终端 | |
CN112749023A (zh) | 一种信息的处理方法、装置、设备及*** | |
CN106468994A (zh) | 一种应用程序的处理方法和装置 | |
US20220244845A1 (en) | Method, device, electronic device, and storage medium for sending and receiving message | |
CN102375759B (zh) | 利用有限状态机防止代码重入的方法 | |
CN109658934A (zh) | 通过语音控制多媒体app的方法及装置 | |
WO2021037228A1 (zh) | 一种***应用的管理方法及装置 | |
WO2023179183A1 (zh) | 子程序同步处理 | |
CN104978398A (zh) | 一种音乐播放方法及终端设备 | |
CN113986190A (zh) | 应用的处理方法、装置和电子设备 | |
CN115017004A (zh) | 进程监控方法及电子设备 | |
WO2021022434A1 (zh) | 一种应用监控方法、装置、存储介质及电子设备 | |
CN113343138A (zh) | 一种回退拦截方法、装置、智能终端及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17875249 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17875249 Country of ref document: EP Kind code of ref document: A1 |