CN112416544A - 5G mobile terminal application skipping method and storage device - Google Patents
5G mobile terminal application skipping method and storage device Download PDFInfo
- Publication number
- CN112416544A CN112416544A CN202011210417.2A CN202011210417A CN112416544A CN 112416544 A CN112416544 A CN 112416544A CN 202011210417 A CN202011210417 A CN 202011210417A CN 112416544 A CN112416544 A CN 112416544A
- Authority
- CN
- China
- Prior art keywords
- application
- jump
- running
- jumping
- executing
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000009471 action Effects 0.000 claims abstract description 117
- 230000009191 jumping Effects 0.000 claims abstract description 65
- 230000008569 process Effects 0.000 claims description 20
- 230000006870 function Effects 0.000 description 49
- 230000008859 change Effects 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- 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
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of computers, in particular to a method for skipping applications of a 5G mobile terminal and a storage device. The method for application jump of the 5G mobile terminal comprises the following steps: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; storing the running resources to a code library; obtaining interface data for executing the target action of jumping to the second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to a code base; and generating a new jump parameter according to the running resource and the interface function. Because the new jump parameter only contains the running resource needed by executing the target action of jumping to the second application, all the resources are not needed to run, the running time is greatly saved, and the power consumption is reduced.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method for skipping applications of a 5G mobile terminal and a storage device.
Background
With the development of information technology, more and more applications are applied to mobile phones, various application software is installed on mobile phones of everyone, and interaction among the application software is more and more. Such as: when the electronic seal is used in the Jingdong Shangcheng, the Jingdong finance is opened by double-click sign-in; and the internet news enters a third-party application corresponding to the advertisement when the advertisement page is clicked, and the like. While some simple functions may be replaced with HTML5 pages and some complex functions may not be available, thus increasing the complexity of code implementation.
The above solution presents these problems:
1. when the HTML5 page is used for replacement, the page code needs to be developed again, and the efficiency is low.
2. Jumping to another application, opening the application requires consuming a lot of system resources, increasing power consumption.
3. When jumping to a certain functional page of another application, the first page of the application is entered first, and many application resources are loaded, resulting in unnecessary waste of system resources.
4. When a return key is clicked, the user cannot return to the previous application, and needs to close another application first, which seriously affects the user experience.
Disclosure of Invention
Therefore, a method for application jump of a 5G mobile terminal needs to be provided, so as to solve the problems of low efficiency, much system resource waste and high power consumption caused by the need of developing a new page code and opening a lot of unnecessary resources in the application jump process in the prior art. The specific technical scheme is as follows:
a method for application jump of a 5G mobile terminal comprises the following steps:
acquiring an execution parameter of a second application when the first application jumps to the second application;
calculating running resources required for executing the target action of jumping to the second application according to the execution parameters;
extracting the running resources and storing the running resources to a code library;
obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base;
generating a new jump parameter according to the running resource and the interface function;
the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application;
the interface data includes one or more of: interface methods, parameters;
the new jump parameters include: a jump program and action codes.
Further, the method also comprises the following steps: responding to an instruction of a first application jumping to a second application, newly starting a thread in the process of the first application, and running the jumping program in the thread.
Further, the method also comprises the following steps: and storing the new jump parameters to the code base, and establishing an index according to the application name and the jump action.
Further, the method also comprises the following steps: and judging whether the first application or the second application is updated, if so, automatically executing the jump parameter related to the first application or the second application in the code library, judging whether the jump parameter of the first application or the second application is changed, and if so, generating a new jump parameter.
Further, the "calculating, according to the execution parameter, the execution resource required for executing the target action of jumping to the second application" further includes: and calculating running resources required for executing the target action of jumping to the second application according to the program running track of the second application.
In order to solve the technical problem, the storage device is further provided, and the specific technical scheme is as follows:
a storage device having stored therein a set of instructions for performing: acquiring an execution parameter of a second application when the first application jumps to the second application;
calculating running resources required for executing the target action of jumping to the second application according to the execution parameters;
extracting the running resources and storing the running resources to a code library;
obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base;
generating a new jump parameter according to the running resource and the interface function;
the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application;
the interface data includes one or more of: interface methods, parameters;
the new jump parameters include: a jump program and action codes.
Further, the set of instructions is further for performing: responding to an instruction of a first application jumping to a second application, newly starting a thread in the process of the first application, and running the jumping program in the thread.
Further, the set of instructions is further for performing: and storing the new jump parameters to the code base, and establishing an index according to the application name and the jump action.
Further, the set of instructions is further for performing: and judging whether the first application or the second application is updated, if so, automatically executing the jump parameter related to the first application or the second application in the code library, judging whether the jump parameter of the first application or the second application is changed, and if so, generating a new jump parameter.
Further, the set of instructions is further for performing: the step of calculating the running resources required for executing the target action of jumping to the second application according to the execution parameters further comprises the following steps: and calculating running resources required for executing the target action of jumping to the second application according to the program running track of the second application.
The invention has the beneficial effects that: obtaining an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base; generating a new jump parameter according to the running resource and the interface function; the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application; the interface data includes one or more of: interface methods, parameters; the new jump parameters include: a jump program and action codes. Because the new jump parameter only contains the running resource needed by executing the target action of jumping to the second application, all the resources are not needed to run, the running time is greatly saved, and the power consumption is reduced. And the generated codes are directly stored in the code library in the whole process, and the codes are directly executed when the next jump is made, so that the page codes do not need to be developed again, and the efficiency is greatly improved.
Furthermore, a thread is newly opened in the process of the first application by responding to the instruction of the first application for jumping to the second application, and the jumping program is operated in the thread. Therefore, after the user executes the target action of the second application, the user can quickly return to the last page of the first application by closing the thread. The second application does not need to be closed, and user experience is greatly improved.
Further, the new jump parameter is stored in the code base, and an index is established according to the application name and the jump action. Therefore, when the application does the jump action next time, the application can be directly loaded into the jump program from the code library for use, so that new jump parameters do not need to be learned and generated again, and the time is greatly saved.
Further, by judging whether the first application is updated or not, if the first application is updated, automatically executing a jump parameter related to the first application in the code base, judging whether the jump parameter of the first application is changed or not, and if the jump parameter of the first application is changed, generating a new jump parameter; and judging whether the second application is updated or not, if so, automatically executing the jump parameter related to the second application in the code base, judging whether the jump parameter of the second application is changed or not, and if so, generating a new jump parameter. And the accuracy of program jumping and action completion after application updating is ensured.
Drawings
Fig. 1 is a flowchart illustrating a method for application hopping of a 5G mobile terminal according to an embodiment;
fig. 2 is a schematic block diagram of a storage device according to an embodiment.
Description of reference numerals:
200. a storage device.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, in this embodiment, a method for application jump of a 5G mobile terminal may be applied to a storage device, where the storage device includes but is not limited to: the system comprises network equipment, embedded equipment, programmable equipment, an intelligent mobile terminal, intelligent household equipment, wearable intelligent equipment and the like. In the present embodiment, a mobile phone is taken as an example for description.
The core technical idea of the technical scheme is as follows: by implementing a learning component on the mobile phone system, when a first application jumps to a second application, the learning component can acquire execution parameters of the second application, acquire necessary running resources required for executing a target action of the second application and interface data and the like according to the execution parameters to generate new jump parameters, and when the same jump action is executed next time, the learning component can directly execute the jump action according to the new jump parameters, so that jump time can be greatly saved, system resources can be saved, and the loss of electric quantity can be greatly reduced.
The concrete implementation is as follows:
step S101: and acquiring the execution parameters of the second application when the first application jumps to the second application.
Step S102: and calculating running resources required for executing the target action of jumping to the second application according to the execution parameters.
Step S103: and extracting the running resources and storing the running resources to a code library.
Step S104: and obtaining interface data for executing the target action of jumping to the second application according to the execution parameters.
Step S105: and generating an interface function according to the interface data, and storing the interface function to the code base.
Step S106: generating a new jump parameter according to the running resource and the interface function; the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application; the interface data includes one or more of: interface methods, parameters; the new jump parameters include: a jump program and action codes.
The steps can be embodied as follows: for example, if a jump from a first application to a second application completes a check-in action of the second application, the check-in action is a jump to a target action of the second application. And in the process that the first application opens the second application for the first time to complete the check-in action, the learning component records the target action and records the program running track of the second application completing the target action. In this embodiment, the learning component is an independent component, and runs on a system layer of the mobile phone, and when an application jump occurs, the learning component directly monitors a running track of an application bottom layer, where the running track includes one or more of the following contents: the method calls time, the specific called method, and writes the content into the queue. For example: time point 1, call org.xxx.xxx. method 1; time point 2, com. And then acquiring resources required in the corresponding application, such as code packets, pictures and the like, according to the java package information of the calling method. And calculating running resources required by the target action according to the program running track of the second application. Such as: the second application completes the check-in prompt from the start to the enter check-in page, and the number of the enabled resources can be 100, but the number of the running resources really needed for completing the check-in action is only 20.
The learning component records and extracts these 20 running resources and stores them in the code base. And then according to data recorded by a program running track of the second application, extracting an interface method and parameters of the second application required to be called when the sign-in action is completed, automatically generating corresponding interface functions, and putting the interface functions into a code library together.
And then generating new jump parameters according to the running resources and the interface function, wherein the new jump parameters comprise: a jump program and action codes.
In order to ensure the accuracy of the new jump parameter, the method can further comprise the following steps: and (4) completing simulation test on the mobile phone, and generating a formal jump program and an action code after the test is passed.
Obtaining an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base; generating a new jump parameter according to the running resource and the interface function; the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application; the interface data includes one or more of: interface methods, parameters; the new jump parameters include: a jump program and action codes. Because the new jump parameter only contains the running resource needed by executing the target action of jumping to the second application, all the resources are not needed to run, the running time is greatly saved, and the power consumption is reduced. And the generated codes are directly stored in the code library in the whole process, and the codes are directly executed when the next jump is made, so that the page codes do not need to be developed again, and the efficiency is greatly improved.
Further, the method also comprises the following steps: responding to an instruction of a first application jumping to a second application, newly starting a thread in the process of the first application, and running the jumping program in the thread. The method specifically comprises the following steps: and when the user finishes the check-in action and clicks to return, directly closing the thread, and quickly returning to the last page of the first application. The second application does not need to be closed, and user experience is greatly improved.
In order to ensure that the subsequent user can complete the same jump quickly when doing the same jump action. Further, the method also comprises the following steps: and storing the new jump parameters to the code base, and establishing an index according to the application name and the jump action. The method specifically comprises the following steps: a code base is realized in the mobile phone system, the automatically generated codes are stored, and unique index records are made according to the application names and the jump actions, so that the codes can be directly loaded into a jump program for use from the code base when the application makes the jump actions next time, and further learning is not needed.
Further, the method also comprises the following steps: and judging whether the first application or the second application is updated, if so, automatically executing the jump parameter related to the first application or the second application in the code library, judging whether the jump parameter of the first application or the second application is changed, and if so, generating a new jump parameter. The following three cases can be specifically mentioned:
monitoring whether the first application or the second application is updated in real time or regularly, if the first application is updated and the second application is not updated, automatically executing a jump program and an action code which are related to the first application in the code base, judging whether the jump program and the action code which are related to the first application can be normally executed as the original program or not, and if changes are found in the executing process, repeating the following steps: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to the code base; and generating a new jump parameter according to the running resource and the interface function. Such as: the original click on the a button of the first application can jump to the sign-in of the second application, and the click on the a button of the first application can possibly jump to other functions of the second application, so that the steps are repeated to generate new jump parameters.
Similarly, if the second application is updated, it is also necessary to automatically execute the jump program and the action code related to the second application in the code library, and determine whether the jump program and the action code related to the second application can be normally executed as before, if a change is found in the execution process, the steps are repeated: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to the code base; and generating a new jump parameter according to the running resource and the interface function.
If the first application and the second application are updated simultaneously, automatically executing a jump program and an action code related to the first application in the code library and a jump program and an action code related to the second application, judging whether the jump program and the action code related to the first application can be normally executed as before and whether the jump program and the action code related to the second application can be normally executed as before, and if a change is found in the execution process, repeating the steps: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to the code base; and generating a new jump parameter according to the running resource and the interface function.
Further, the "calculating, according to the execution parameter, the execution resource required for executing the target action of jumping to the second application" further includes: and calculating running resources required for executing the target action of jumping to the second application according to the program running track of the second application.
Referring to fig. 2, a memory device 200 is implemented as follows:
a storage device 200 having stored therein a set of instructions for performing: acquiring an execution parameter of a second application when the first application jumps to the second application;
calculating running resources required for executing the target action of jumping to the second application according to the execution parameters;
extracting the running resources and storing the running resources to a code library;
obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base;
generating a new jump parameter according to the running resource and the interface function;
the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application;
the interface data includes one or more of: interface methods, parameters;
the new jump parameters include: a jump program and action codes.
In this embodiment, the learning component is an independent component, and runs on a system layer of the mobile phone, and when an application jump occurs, the learning component directly monitors a running track of an application bottom layer, where the running track includes one or more of the following contents: the method calls time, the specific called method, and writes the content into the queue. For example: time point 1, call org.xxx.xxx. method 1; time point 2, com. And then acquiring resources required in the corresponding application, such as code packets, pictures and the like, according to the java package information of the calling method.
The concrete steps can be as follows: for example, if a jump from a first application to a second application completes a check-in action of the second application, the check-in action is a jump to a target action of the second application. And in the process that the first application opens the second application for the first time to complete the check-in action, the learning component records the target action and records the program running track of the second application completing the target action. And calculating running resources required by the target action according to the program running track of the second application. Such as: the second application completes the check-in prompt from the start to the enter check-in page, and the number of the enabled resources can be 100, but the number of the running resources really needed for completing the check-in action is only 20.
The learning component records and extracts these 20 running resources and stores them in the code base. And then according to data recorded by a program running track of the second application, extracting an interface method and parameters of the second application required to be called when the sign-in action is completed, automatically generating corresponding interface functions, and putting the interface functions into a code library together.
And then generating new jump parameters according to the running resources and the interface function, wherein the new jump parameters comprise: a jump program and action codes.
In order to ensure the accuracy of the new jump parameter, the method can further comprise the following steps: and (4) completing simulation test on the mobile phone, and generating a formal jump program and an action code after the test is passed.
Obtaining an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base; generating a new jump parameter according to the running resource and the interface function; the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application; the interface data includes one or more of: interface methods, parameters; the new jump parameters include: a jump program and action codes. Because the new jump parameter only contains the running resource needed by executing the target action of jumping to the second application, all the resources are not needed to run, the running time is greatly saved, and the power consumption is reduced. And the generated codes are directly stored in the code library in the whole process, and the codes are directly executed when the next jump is made, so that the page codes do not need to be developed again, and the efficiency is greatly improved.
Further, the set of instructions is further for performing: responding to an instruction of a first application jumping to a second application, newly starting a thread in the process of the first application, and running the jumping program in the thread. The method specifically comprises the following steps: and when the user finishes the check-in action and clicks to return, directly closing the thread, and quickly returning to the last page of the first application. The second application does not need to be closed, and user experience is greatly improved.
In order to ensure that the subsequent user can complete the same jump quickly when doing the same jump action. Further, the set of instructions is further for performing: and storing the new jump parameters to the code base, and establishing an index according to the application name and the jump action. The method specifically comprises the following steps: a code base is realized in the mobile phone system, the automatically generated codes are stored, and unique index records are made according to the application names and the jump actions, so that the codes can be directly loaded into a jump program for use from the code base when the application makes the jump actions next time, and further learning is not needed.
Further, the set of instructions is further for performing: judging whether the first application is updated or not, if so, automatically executing a jump parameter related to the first application in the code base, judging whether the jump parameter of the first application is changed or not, and if so, generating a new jump parameter;
and judging whether the second application is updated or not, if so, automatically executing the jump parameter related to the second application in the code base, judging whether the jump parameter of the second application is changed or not, and if so, generating a new jump parameter. And the accuracy of program jumping and action completion after application updating is ensured. The following three cases can be specifically mentioned:
monitoring whether the first application or the second application is updated in real time or regularly, if the first application is updated and the second application is not updated, automatically executing a jump program and an action code which are related to the first application in the code base, judging whether the jump program and the action code which are related to the first application can be normally executed as the original program or not, and if changes are found in the executing process, repeating the following steps: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to the code base; and generating a new jump parameter according to the running resource and the interface function. Such as: the original click on the a button of the first application can jump to the sign-in of the second application, and the click on the a button of the first application can possibly jump to other functions of the second application, so that the steps are repeated to generate new jump parameters.
Similarly, if the second application is updated, it is also necessary to automatically execute the jump program and the action code related to the second application in the code library, and determine whether the jump program and the action code related to the second application can be normally executed as before, if a change is found in the execution process, the steps are repeated: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to the code base; and generating a new jump parameter according to the running resource and the interface function.
If the first application and the second application are updated simultaneously, automatically executing a jump program and an action code related to the first application in the code library and a jump program and an action code related to the second application, judging whether the jump program and the action code related to the first application can be normally executed as before and whether the jump program and the action code related to the second application can be normally executed as before, and if a change is found in the execution process, repeating the steps: acquiring an execution parameter of a second application when the first application jumps to the second application; calculating running resources required for executing the target action of jumping to the second application according to the execution parameters; extracting the running resources and storing the running resources to a code library; obtaining interface data for executing a target action of jumping to a second application according to the execution parameters; generating an interface function according to the interface data, and storing the interface function to the code base; and generating a new jump parameter according to the running resource and the interface function.
Further, the set of instructions is further for performing: the step of calculating the running resources required for executing the target action of jumping to the second application according to the execution parameters further comprises the following steps: and calculating running resources required for executing the target action of jumping to the second application according to the program running track of the second application.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.
Claims (10)
1. A method for application jump of a 5G mobile terminal is characterized by comprising the following steps:
acquiring an execution parameter of a second application when the first application jumps to the second application;
calculating running resources required for executing the target action of jumping to the second application according to the execution parameters;
extracting the running resources and storing the running resources to a code library;
obtaining interface data for executing a target action of jumping to a second application according to the execution parameters;
generating an interface function according to the interface data, and storing the interface function to the code base;
generating a new jump parameter according to the running resource and the interface function;
the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application;
the interface data includes one or more of: interface methods, parameters;
the new jump parameters include: a jump program and action codes.
2. The method for application hopping of a 5G mobile terminal according to claim 1, further comprising the steps of:
responding to an instruction of a first application jumping to a second application, newly starting a thread in the process of the first application, and running the jumping program in the thread.
3. The method for application hopping of a 5G mobile terminal according to claim 1, further comprising the steps of:
and storing the new jump parameters to the code base, and establishing an index according to the application name and the jump action.
4. The method for application hopping of a 5G mobile terminal according to claim 1, further comprising the steps of:
and judging whether the first application or the second application is updated, if so, automatically executing the jump parameter related to the first application or the second application in the code library, judging whether the jump parameter of the first application or the second application is changed, and if so, generating a new jump parameter.
5. The method for 5G mobile terminal application jump according to claim 1, wherein said calculating the running resources required for executing the target action of jump to the second application according to the execution parameters further comprises: and calculating running resources required for executing the target action of jumping to the second application according to the program running track of the second application.
6. A storage device having a set of instructions stored therein, the set of instructions being operable to perform: acquiring an execution parameter of a second application when the first application jumps to the second application;
calculating running resources required for executing the target action of jumping to the second application according to the execution parameters;
extracting the running resources and storing the running resources to a code library;
obtaining interface data for executing a target action of jumping to a second application according to the execution parameters, generating an interface function according to the interface data, and storing the interface function to the code base;
generating a new jump parameter according to the running resource and the interface function;
the execution parameters include one or more of: the opening mode of the second application and the program running track of the second application;
the interface data includes one or more of: interface methods, parameters;
the new jump parameters include: a jump program and action codes.
7. The storage device of claim 6, wherein the set of instructions is further configured to perform:
responding to an instruction of a first application jumping to a second application, newly starting a thread in the process of the first application, and running the jumping program in the thread.
8. The storage device of claim 6, wherein the set of instructions is further configured to perform: and storing the new jump parameters to the code base, and establishing an index according to the application name and the jump action.
9. The storage device of claim 6, wherein the set of instructions is further configured to perform: and judging whether the first application or the second application is updated, if so, automatically executing the jump parameter related to the first application or the second application in the code library, judging whether the jump parameter of the first application or the second application is changed, and if so, generating a new jump parameter.
10. The storage device of claim 6, wherein the set of instructions is further configured to perform: the step of calculating the running resources required for executing the target action of jumping to the second application according to the execution parameters further comprises the following steps: and calculating running resources required for executing the target action of jumping to the second application according to the program running track of the second application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011210417.2A CN112416544B (en) | 2020-11-03 | 2020-11-03 | Method and storage device for 5G mobile terminal application jump |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011210417.2A CN112416544B (en) | 2020-11-03 | 2020-11-03 | Method and storage device for 5G mobile terminal application jump |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112416544A true CN112416544A (en) | 2021-02-26 |
CN112416544B CN112416544B (en) | 2024-04-19 |
Family
ID=74827358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011210417.2A Active CN112416544B (en) | 2020-11-03 | 2020-11-03 | Method and storage device for 5G mobile terminal application jump |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112416544B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160335231A1 (en) * | 2015-05-15 | 2016-11-17 | Alibaba Group Holding Limited | Application page quick access |
CN106528657A (en) * | 2016-10-19 | 2017-03-22 | 广东欧珀移动通信有限公司 | Control method and device for browser skipping to application program |
CN107818107A (en) * | 2016-09-12 | 2018-03-20 | 平安科技(深圳)有限公司 | The method and apparatus for controlling page jump |
CN110727469A (en) * | 2018-06-29 | 2020-01-24 | 珠海市魅族科技有限公司 | Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium |
-
2020
- 2020-11-03 CN CN202011210417.2A patent/CN112416544B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160335231A1 (en) * | 2015-05-15 | 2016-11-17 | Alibaba Group Holding Limited | Application page quick access |
CN107818107A (en) * | 2016-09-12 | 2018-03-20 | 平安科技(深圳)有限公司 | The method and apparatus for controlling page jump |
CN106528657A (en) * | 2016-10-19 | 2017-03-22 | 广东欧珀移动通信有限公司 | Control method and device for browser skipping to application program |
CN110727469A (en) * | 2018-06-29 | 2020-01-24 | 珠海市魅族科技有限公司 | Terminal device control method and device, application program configuration file packaging method, terminal device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112416544B (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7165191B1 (en) | Automated verification of user interface tests on low-end emulators and devices | |
CN106648755B (en) | Method and device for dynamically loading dex in android art environment | |
CN112965794B (en) | Algorithm calling method, electronic equipment and storage medium | |
CN110597564A (en) | Installation package construction and service component loading method, device and terminal equipment | |
CN111752841B (en) | Single-test simulation method, single-test simulation device, single-test simulation equipment and computer-readable storage medium | |
CN113590454A (en) | Test method, test device, computer equipment and storage medium | |
CN107038117B (en) | Web automatic testing method based on definition-reference between event processing functions | |
CN110598419A (en) | Block chain client vulnerability mining method, device, equipment and storage medium | |
CN114115884B (en) | Method and related device for managing programming service | |
CN112650959B (en) | Page loading time length statistical method, device, equipment and storage medium | |
CN116185425B (en) | Event flow arrangement method, device, equipment and medium based on node combination | |
CN112463519A (en) | Flatter-based page use behavior data non-buried point statistical method, equipment and storage medium | |
CN112416544B (en) | Method and storage device for 5G mobile terminal application jump | |
CN111352644A (en) | Applet updating method, device, server and storage medium | |
CN111538530A (en) | Page jump method and system, storage medium and electronic equipment | |
CN106776302A (en) | Calculate method, the device of method execution time in JAVA projects | |
CN111427770B (en) | Resource testing method and related equipment | |
CN113626100A (en) | Shared library processing method and device, electronic equipment and storage medium | |
CN113448585A (en) | Optimization method and device for thread pool, electronic equipment and storage medium | |
CN112612474A (en) | Product transplanting method and device, storage medium and electronic equipment | |
CN117539451B (en) | Flow execution method, device, electronic equipment and storage medium | |
CN115080276B (en) | Application program function dynamic switching method and device, storage medium and electronic equipment | |
CN115543486B (en) | Server-free computing oriented cold start delay optimization method, device and equipment | |
CN116974653B (en) | Class loading method and system | |
Femminella et al. | A software architecture for simplifying the JSLEE service design and creation |
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 |