Management method and device for application program

An application and application management technology, applied in the directions of multi-program installation, program startup/switching, program saving/restoring, etc., can solve problems such as poor user experience, and achieve a favorable user experience, reduce costs, and simplify processing procedures. Effect

Inactive Publication Date: 2010-11-10
林何枝
3 Cites 20 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0005] At present, the application management on mobile terminals is relatively simple. When users need to switch from one scene to another, they must close or open the applications one by one.
In addition...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a management method for an application program. A scene program module of a mobile terminal stores an application program state in a current running application program list through the application program, and recovers the application program state through the application program. The invention also provides a management device for the application program. The method and the device can store and recover the application programs in batch, and are favorable for promoting user experience.

Application Domain

Program initiation/switchingProgram saving/restoring

Technology Topic

Application softwareApplication posture +1

Image

  • Management method and device for application program
  • Management method and device for application program
  • Management method and device for application program

Examples

  • Experimental program(1)

Example Embodiment

[0028] The basic idea of ​​the present invention is: the scene program module or the application management module saves the state of the application program by calling the save function with the return value, and restores the state of the application program by calling the start function;
[0029] Here, the scenario program module is located in the mobile terminal and is used to save or restore applications; the application management module is located in the mobile terminal and is used to manage applications, maintain a list of currently running applications, or save or restore applications; The save function with the return value is generated according to the requirements of the function architecture in the mobile terminal platform. It is used to save the application state when receiving the save parameters. The function is registered to the scene program module when the application is installed. The application is registered with The function name, saving parameters, and the application program to which the return value is saved are sent to the scene program module and saved; the startup function is generated according to the requirements of the function architecture in the mobile terminal platform, and is used to restore the application program when the startup parameters are received State is the function registered to the scene program module when the application is installed. When the application is registered, the function name of the startup function, startup parameters, and the belonging application are sent to the scene program module for storage.
[0030] The present invention will be described in detail below with reference to the drawings and specific embodiments, such as figure 1 As shown, the method for implementing application management in the present invention includes the following steps:
[0031] Step 101: The scene program module saves the state of the application program by calling a save function with a return value;
[0032] Here, the scene program module sends query information to the application management module. The list of currently running applications is updated in real time. As long as a new program is opened, it will be updated, including information about all currently running applications, for example, Application name, running status, etc.; the query information is information for querying the list of currently running applications; the application management module receives the query information, and sends the list of currently running applications to the scene program module.
[0033] The scene program module saves the state of the application program by calling the save function with the return value specifically including: the scene program module calls the save function with the return value corresponding to the application in the currently running application list. Taking the first application as an example, the first application saves the current application state, that is, the current running related information, and returns the scene identifier to the scene program module. The scene program module associates the scene identifier with the first application in the currently running application list. Program related.
[0034] Wherein, the invoking the saving function with the return value specifically includes: the scene program module needs to save the first application program, selecting the saving parameter in the saving function corresponding to the first application program, and sending it to the first application program, the saving parameter It can be any pre-set value, such as 0; when the application receives the function name (0), it will save the application; the first application saves the current running information in the data storage area and saves it The related information of is associated with the first application, and a scene identifier is added to the saved related information.
[0035] Here, the related information includes all the information of the first application, such as: running time, running status, running content, etc.; the data storage area may be a separate data storage area within each application, or it may be all applications A data storage area shared by the program; the association with the first application program may be adding the belonging application program when saving related information, or any other method that can clarify the relationship between the related information and the application program.
[0036] The scene program module queries the list of currently running applications. If all applications are associated with the corresponding scene identifier, all applications are saved and the next step is executed; otherwise, the state of the next application is saved, and the second application The program is taken as an example. The saving process is basically the same as the saving process of the first application. The difference is: saving is performed by calling the saving function with a return value of the second application; until the status of all running applications is the same After being saved, proceed to the next step.
[0037] Step 102: The scene program module saves all applications and their scene identifiers in the currently running application list as scene files;
[0038] Here, the scene file can be named by the user.
[0039] Step 103: The scene program module calls the start function to restore the state of the application program.
[0040] Here, the scene program module selects the scene file as needed, and sequentially reads the application program and its scene identifier in the selected scene file.
[0041] Taking the first application as an example, the specific process of the scene program module calling the startup function to restore the state of the application is: the scene program module calls the startup function of the first application, the first application is started and restored, and the restored information is sent to the scene Program module: The scene program module receives the application recovery information sent by the first application, and continues to restore the next application until all applications in the scene file are restored to the state when they were saved.
[0042] The invoking the startup function includes: the scene program module fills in the startup parameter with the scene identifier, and sends the startup parameter including the scene identifier to the first application program. The first application program receives the startup parameters, starts the application program, reads the related information stored in the data storage area according to the scene identifier, the state of the first application program is restored, and returns the application program recovery information to the scene program module.
[0043] In addition, the present invention can also be implemented by the following method. Specifically: the scene program module sends information to save the currently running application program to the application management module, and the application management module calls the corresponding application program with return value according to the currently running application list. Save the function. The application management module associates the scene identification with the application and sends it to the scene program module. The scene program module saves all currently running applications and their scene identifications as scene files; the scene program module selects the scene file and saves the The application program list and its scene identifier are sent to the application management module, the application management module calls the startup function, the application program starts and restores the previously saved state, and returns the restoration information to the application management module.
[0044] The present invention also provides an application management device, which includes: a scene program module 201 or an application management module 203, and one or more application programs 202;
[0045] The application 202 is used to save the current running state and restore the saved running state;
[0046] The scene program module 201, located in the mobile terminal, is used to save the state of the application 202 by calling the save function with the return value of the application 202, and restore the application 202 by calling the start function of the application 202; or,
[0047] The application management module 203 is configured to save the state of the application 202 by calling the save function with a return value of the application 202, and restore the application 202 by calling the start function of the application 202.
[0048] When the scene program module 201 calls a function, the device further includes:
[0049] The application management module 203 is configured to receive query information sent by the scene program module 201, and send a list of currently running applications to the scene program module 201; the query information is information for querying currently running applications; wherein, the currently running application list Including the relevant information of all applications currently running, for example, application name, running status, etc.;
[0050] Correspondingly, the scene program module 201 is used to send query information to the application management module and receive a list of application programs.
[0051] The scene program module 201 is specifically configured to send the saving parameters of the return value saving function of the application 202 to the application 202, and receive the return value sent by the application 202, that is, the scene identifier, and the scene identifier is related to the application 202 Connect; confirm that there is an application that has not been saved, continue to save the next application, until all applications in the application list are saved, save the application and its scene identifier in the currently running application list as a scene file;
[0052] Here, the associating the scene identifier with the application 202 may be adding the belonging application when saving the relevant information, or it may be any other method that can clarify the relationship between the relevant information and the application; The specific process of the application not being saved is: query the list of currently running applications, and if there is an application that is not associated with the scene identifier, it is determined that the corresponding application is not saved.
[0053] Correspondingly, the application program 202 is specifically used to receive the save parameters sent by the scenario program module 201, save relevant information about its current operating state in the data storage area and associate it with itself, mark the saved relevant information as a scenario identifier, and set the scenario The identifier is returned to the scene program module 201;
[0054] Wherein, the related information includes all the information of the application, such as: running time, running status, running content, etc.; the data storage area can be a separate data storage area within each application, or it can be shared by all applications Data storage area.
[0055] The scene program module 201 is specifically configured to read the application program list in the scene file and its corresponding scene identifier, fill the scene identifier into the startup function corresponding to the application program, and send the startup parameters including the scene identifier to the application program 202, Receive the information that the program has been restored from the application 202, and continue to restore the next application.
[0056] The application program 202 is used to receive startup parameters including a scene identifier, start the application program, read related information stored in the data storage area according to the scene identifier, restore the running state of the application program, and send information that the application program has been restored to the scene program.
[0057] When the application management module 203 calls a function,
[0058] The scene program module 201 is used to send information for saving the current program state to the application management module 203;
[0059] The application management module 203 is used to receive information and call a save function with a return value.
[0060] The application management module 203 is specifically configured to call a save function with a return value, receive the scene identifier sent by the application 202, and send all currently running applications and their scene identifiers to the scene program module 201;
[0061] Correspondingly, the application program 202 is used to save current running related information, add a scene identifier, associate with the saved related information, and send the scene identifier to the application management module 203;
[0062] The scene program module 201 is configured to receive the application program and its scene identifier sent by the application management module 203 and save it as a scene file.
[0063] The scene program module 201 is specifically configured to read the application program list and its scene identifier in the scene file, and send it to the application management module 203, and receive the application recovery information sent by the application program 202;
[0064] Correspondingly, the application management module 203 is configured to receive the application list and its scene identifiers sent by the scene program module 201, send startup parameters containing the scene identifiers to the application 202, and receive the application resumed information sent by the application 202, and continue The next application program is restored, and until all applications are restored, the application program has been restored information is sent to the scene program module 201.
[0065] The above are only preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in Within the protection scope of the present invention.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Method for manufacturing airtight cavity structure

Owner:FU ZHUN PRECISION IND SHENZHEN +1

Classification and recommendation of technical efficacy words

  • Simplify the process
  • Improve management efficiency

Electric cable industry-control winding inserter

InactiveCN101132097AImprove managementImprove management efficiencyConnection formation by deformationAutomatic controlProduction rate
Owner:DALIAN SPECIAL PURPOSE MACHINE TOOL WORKS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products