CN112559073A - Program starting method, inter-class relation construction method and device and mobile terminal - Google Patents

Program starting method, inter-class relation construction method and device and mobile terminal Download PDF

Info

Publication number
CN112559073A
CN112559073A CN202011488621.0A CN202011488621A CN112559073A CN 112559073 A CN112559073 A CN 112559073A CN 202011488621 A CN202011488621 A CN 202011488621A CN 112559073 A CN112559073 A CN 112559073A
Authority
CN
China
Prior art keywords
class
program
classes
starting
started
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.)
Pending
Application number
CN202011488621.0A
Other languages
Chinese (zh)
Inventor
徐少朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011488621.0A priority Critical patent/CN112559073A/en
Publication of CN112559073A publication Critical patent/CN112559073A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a program starting method, a method and a device for establishing a relationship between classes, and a mobile terminal, relates to a software technology, and comprises the following steps: acquiring information of each class of a program to be started, which needs to run in the starting process, and an association relation among the classes; preloading classes corresponding to the programs according to the association relation among the classes and class information; and responding to a starting instruction of the program, executing the preloaded class and starting the program. According to the program starting method, the class relation construction method and device and the mobile terminal, classes which need to be operated in the starting process of the program can be loaded in advance before the program is started, so that the classes do not need to be loaded again when the program is started, time consumed for starting the program can be reduced, and the program starting speed is further improved.

Description

Program starting method, inter-class relation construction method and device and mobile terminal
Technical Field
The present application relates to software technologies in computer technologies, and in particular, to a program starting method, a method and an apparatus for establishing a relationship between classes, and a mobile terminal.
Background
At present, a mobile terminal may be provided with various types of programs, for example, mobile phone software may be provided, and an applet platform may also be provided, through which the mobile terminal may access an applet therein.
The quality of a program can be evaluated from multiple dimensions, wherein the starting speed is an important measure and has a relatively important influence on the use feeling of a user.
If the program is paused and waits for a long time in the starting process, the user experience will be affected, and therefore, how to increase the starting speed of the program is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application provides a program starting method, a method and a device for establishing a relationship between classes, and a mobile terminal, so as to improve the starting speed of a program.
According to a first aspect of the present application, there is provided a program starting method including:
acquiring information of each class of a program to be started, which needs to run in the starting process, and an association relation among the classes;
preloading the class corresponding to the program according to the association relation among the classes and the class information;
and responding to a starting instruction of the program, executing the preloaded class and starting the program.
According to a second aspect of the present application, there is provided a method for constructing an association relationship between categories, including:
carrying out event tracking analysis on the program;
determining classes used in the program starting process and the incidence relation among the classes according to the analysis result;
wherein the incidence relation is used for preloading the class before starting the program.
According to a third aspect of the present application, there is provided a program starting apparatus comprising:
the device comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for acquiring information of various classes of a program to be started, which need to run in the starting process, and the association relation among the classes;
the preloading unit is used for preloading the class corresponding to the program according to the incidence relation among the classes and the class information;
and the starting unit is used for responding to a starting instruction of the program, executing the preloaded class and starting the program.
According to a fourth aspect of the present application, there is provided an apparatus for constructing an association relationship between categories, including:
the analysis unit is used for carrying out event tracking analysis on the program;
the determining unit is used for determining the classes used in the program starting process and the incidence relation among the classes according to the analysis result;
wherein the incidence relation is used for preloading the class before starting the program.
According to a fifth aspect of the present application, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the program launch method according to the first aspect or the method for building inter-class associations according to the second aspect.
According to a sixth aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the program starting method according to the first aspect or the method for constructing the inter-class association relationship according to the second aspect.
According to a seventh aspect of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the program starting method according to the first aspect or the method for constructing an association relationship between classes according to the second aspect.
According to an eighth aspect of the present application, there is provided a mobile terminal comprising: a program starting apparatus as defined in the third aspect.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a schematic diagram illustrating class loading in accordance with an illustrative embodiment;
FIG. 2 is a flowchart illustrating a method for initiating a program according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating class loading according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for program initiation according to another exemplary embodiment of the present application;
FIG. 5 is a schematic diagram illustrating class loading according to an exemplary embodiment of the present application;
FIG. 6 is a flowchart illustrating a method for constructing an association relationship between classes according to an exemplary embodiment of the present application;
FIG. 7 is a flowchart illustrating a method for constructing an association relationship between classes according to another exemplary embodiment of the present application;
FIG. 8 is a schematic structural diagram of a program launch device according to an exemplary embodiment of the present application;
FIG. 9 is a schematic diagram of a program launch device according to another exemplary embodiment of the present application;
FIG. 10 is a schematic structural diagram of an apparatus for constructing an association relationship between classes according to an exemplary embodiment of the present application;
fig. 11 is a schematic structural diagram of a device for constructing an association relationship between classes according to another exemplary embodiment of the present application;
fig. 12 is a block diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Currently, many programs are provided in a mobile terminal, such as mobile phone software, and further such as an applet provided in an applet platform. The user may operate the mobile terminal so that the mobile terminal can run the programs.
When the program set in the mobile terminal runs, the program function is realized by depending on the relevant class of the program. Specifically, at the time of program startup, the class related to the program needs to be loaded into the java virtual machine (jvm).
When the method is called, whether the class on which the method depends is loaded or not is checked, and specifically, the classes loaded by each loader are checked in sequence from the bottom layer to the upper layer. The class is loaded if it is found that the class has not been loaded.
FIG. 1 is a diagram illustrating class loading in accordance with an illustrative embodiment.
As shown in FIG. 1, when a class loader receives a request for loading a class, it first delegates a load task to a parent loader, and if there is a parent loader, it delegates upward again until reaching the topmost class loader, if the parent loader can complete the class load task, it returns successfully, and if the parent loader cannot complete the load task, it does not load the child loader.
For example, when receiving a class loading request, the user-defined custom class loader 11 will delegate the request to the system class loader 12 on the upper layer, after receiving the class loading request, the system class loader 12 will delegate the request to the extension class loader 13 on the upper layer, and after receiving the class loading request, the extension class loader 13 will delegate the request to the boot class loader 14 on the upper layer.
The boot class loader 14 loads the class, and if the loading fails, the lower-layer extension class loader 13 loads the class. If the loading of the extension class loader 13 fails, the system class loader 12 at the lower layer loads the extension class loader. If the system class loader 12 fails to load, the custom class loader 11 at the lower layer loads the system class.
More than one class needs to be loaded when the program is started, and if the time for loading the class is long, the program starting time is also long. Therefore, the flow of the program loading class affects the starting speed of the program.
In order to improve the starting speed of the program, the method and the device load the classes required in the starting process in advance before the program to be started is started, and further can directly execute the classes when the program is started. In the embodiment, the time for loading the class during program starting can be saved, and the program starting speed is further improved.
The application provides a program starting method, a method and a device for establishing a relationship between classes, and a mobile terminal, which are applied to a software technology in a computer technology to achieve the effect of improving the program starting speed.
Fig. 2 is a flowchart illustrating a program starting method according to an exemplary embodiment of the present application.
As shown in fig. 2, the program starting method provided by the present application includes:
step 201, obtaining information of each class and association relation between each class, which are required to run by a program to be started in a starting process.
The method provided by the present application can be executed by an electronic device with computing capability, such as a computer, an intelligent terminal, a tablet computer, and the like.
Specifically, one or more programs to be started may be set in the electronic device. The program to be started can be mobile phone software, for example, and can also be an applet in an applet platform.
Further, if the program to be started is mobile phone software, the method provided by the present application may be executed when the mobile phone is in an open state and the program to be started is not running. If the program to be started is an applet in the applet platform, the method provided by the application can be executed when the applet platform runs.
In actual application, for each program to be started, the information of each class and the association relationship between each class, which need to be run in the starting process, can be predetermined. For example, when a program to be started is developed, classes used by the program in the running process can be determined, and the association relationship between the classes can be determined.
For example, the starting entry class of the program to be started may be used as a starting point, and event tracking analysis may be performed on classes used from the start to the end of the start, so as to obtain information of each class of the program to be started that needs to be run during the starting process and an association relationship between each class.
In one embodiment, when the electronic device installs the program to be started, the determined class information corresponding to the program to be started and the association relationship between the classes may be issued to the electronic device.
In another embodiment, if the to-be-started program is an applet, the class information corresponding to each applet and the association relationship between each class may be set in an applet platform or a backend server. When the applet platform of the electronic device runs, the electronic device can obtain information of various classes, which are required to run in the starting process, of various programs to be started and association relations among the classes from the applet platform or a server.
The class that needs to be run in the starting process of the program to be started is determined to be A, B, C, D, and the association relationship among the classes may include a dependency relationship among the classes, for example, the class a depends on the class B, and the class B depends on the class C and the class D. The method can acquire the class information of the program to be started, which needs to be operated in the starting process, and the association relationship among the classes.
Specifically, if class A calls a method in class B at runtime, class A is considered to be dependent on class B.
Step 202, preloading the class corresponding to the program according to the association relationship among the classes and the class information.
Specifically, after acquiring the association relationship and the class information between the classes, the electronic device may pre-load the classes when the program to be started is not started.
Furthermore, the classes used in the starting process of the program to be started can be sequentially loaded according to the incidence relation among the classes. For example, the loading may be sequentially performed from the bottom class to the top class according to the association relationship between the classes. For example, if class A depends on class B and class B depends on class C, then class C may be loaded first, class B may be loaded, and class A may be loaded.
In actual application, the electronic device can read the association relationship among the classes. Specifically, one class in the association relationship may be obtained, and if the class depends on other classes, the other classes are read until the bottom class that does not depend on other classes is read, and the bottom class may be loaded. After the bottom-layer class is loaded, the previous-layer class of the bottom-layer class can be continuously loaded, and the class can be loaded from the bottom-layer class to the top-layer class in a layer-by-layer loading mode.
The virtual machine in the electronic device may sequentially load data describing each class into the memory, and may also perform verification, quasi-conversion analysis and initialization on the data, thereby forming a java (one-door object oriented programming language) type file that may be directly used by the virtual machine.
In this embodiment, the data information used in the starting process of the program to be started can be pre-loaded into the memory, so that the class loading process does not need to be executed when the program to be started is started, and the program starting time can be saved.
Step 203, responding to the starting instruction of the program, executing the preloaded class and starting the program.
Specifically, the user may operate the electronic device to control the electronic device to start the program to be started. For example, if the electronic device has a touch screen, the user may start a program in the electronic device through touch operation.
After receiving a start instruction for a program to be started, the electronic device may respond to the start instruction to execute a class corresponding to the program, which is preloaded, so as to start the program.
Further, the electronic device may execute the classes according to their pre-loaded order. Specifically, classes that are loaded after they are executed. For example, for a program to be started, class C is loaded first, class B is loaded second, and class a is loaded second, and after receiving a start instruction of the program, the electronic device may execute class a first, then class B, and then class C.
In practice, the electronic device may convert the loaded bytecode for describing classes into machine code, so as to call the classes in the operating system.
When the electronic equipment starts the program, the starting entry class of the program can be called, and when the method depends on other classes, the other classes are called. In the method provided by the application, the classes used in the program starting process can be pre-loaded in sequence according to the incidence relation among the classes, and the classes can be executed according to the pre-loading sequence, so that the classes can be accurately executed when the program is started.
FIG. 3 is a schematic diagram illustrating class loading according to an exemplary embodiment of the present application.
As shown in FIG. 3, the inter-class relationships 31 include classes A, B, C, D, E, where A depends on class B and class C, and class B depends on class D and class E. When loading classes according to the inter-class relationship 31, as shown in 32, the class E and the class D may be loaded first, then the class B, then the class C, and finally the class a.
If one class depends on a plurality of classes, the loading order of the classes can be set according to requirements when the plurality of classes are loaded. For example, when loading class B and class C, since there is a dependency of other classes on class B, class B may be loaded first, and class C may be loaded later.
The application provides a program starting method, which comprises the following steps: acquiring information of each class of a program to be started, which needs to run in the starting process, and an association relation among the classes; preloading classes corresponding to the programs according to the association relation among the classes and class information; and responding to a starting instruction of the program, executing the preloaded class and starting the program. According to the program starting method, the classes which need to be operated in the starting process of the program can be loaded in advance before the program is started, so that the classes do not need to be loaded again when the program is started, time consumed for starting the program can be reduced, and the program starting speed is further improved.
Fig. 4 is a flowchart illustrating a program starting method according to another exemplary embodiment of the present application.
As shown in fig. 4, the program starting method provided by the present application includes:
step 401, obtaining a preset node tree corresponding to a program to be started, where the preset node tree includes information of each class of the program to be started that needs to be run in a starting process and an association relationship between the classes.
The method provided by the present application can be executed by an electronic device with computing capability, such as a computer, an intelligent terminal, a tablet computer, and the like. One or more programs to be started may be set in the electronic device. The program to be started can be mobile phone software, for example, and can also be an applet in an applet platform.
Specifically, in the embodiment of the present application, a preset node tree corresponding to a program to be started may be recorded in a preset node tree manner, where the preset node tree includes information of each class in which the program to be started needs to operate in a starting process and an association relationship between the classes.
The preset node tree comprises a father node and a child node, and the association relation between the classes can be clearly recorded in a father-child node mode.
Further, preset node trees corresponding to the programs to be started may be preset, and before the programs to be started are started, the electronic device may obtain the preset node trees corresponding to the programs, so as to obtain information of each class of the programs to be started, which need to be run in the starting process, and association relationships among the classes.
In practical application, the preset node tree includes a plurality of nodes, and one node may represent one class. The class represented by the parent node depends on the class represented by the child node. For example, class A depends on class B, and class B can be a child of class A.
The method includes the steps of starting from a starting entry class of a program to be started, performing event tracking analysis on classes used from the starting to the starting, and constructing a preset node tree corresponding to the program according to an analysis result.
For example, traversal is performed starting from the start entry class a, and if class a depends on class B, class B is used as a child node of class a. If the class B depends on the class C, the class C is used as a child node of the class B, and by analogy, a preset node tree can be constructed.
Specifically, the number of layers of the preset node tree is less than or equal to the preset number of layers. When the preset node tree is constructed, if the number of layers of the currently constructed preset node tree is less than or equal to the preset number of layers, the traversal can be stopped, and the construction process of the preset node tree is completed. In this embodiment, when class preloading is performed according to the preset node tree, excessive memory consumption of the electronic device due to excessive number of preloaded classes can be avoided.
Step 402, reading nodes of a preset node tree; if the node comprises the child node, loading a class corresponding to the class information of the child node; and if the node does not comprise the child node, loading the class corresponding to the class information of the node.
Further, when loading the classes used in the starting process of the program to be started, the parent class may be loaded first, and then the child class may be loaded according to the association relationship between the classes and the class information. Wherein the child class depends on the parent class.
In practical applications, the association relationship between classes may include identifications of multiple classes, such as A, B, C. The parent-child relationship between the classes represented by these identifiers can be determined according to the association relationship, for example, a is a subclass of B, and B is a subclass of C.
The detailed information of the class represented by the class identifier, such as the name of the class, the location of the class, etc., may also be determined according to the class information. Thus, the classes are loaded according to the parent-child relationship among the classes. In this embodiment, according to the association relationship between classes, the parent class required in the running process of the program can be loaded in advance, and then the child class is loaded, so that the sequence of loading classes when the electronic device runs the program is met.
Specifically, if the relationship between the classes is recorded in a preset node tree manner, the preset node tree includes a plurality of nodes, and one node represents one class information. The electronic device may read nodes in a preset node tree. For example, if a node exists in the preset node tree, and the class information represented by the node is a, the electronic device may read the node, and may also read information such as a parent node and a child node of the node.
Further, if the node includes a child node, the class corresponding to the class information represented by the child node is loaded. If the node read by the electronic device includes a child node, the child node may be loaded first. Further, if the child node also has a child node, the child node of the child node may be further loaded, and so on.
In actual application, if the node does not include a child node, the class corresponding to the class information represented by the node is loaded. If the electronic device reads a node without child nodes, the class corresponding to the class information represented by the node can be directly loaded.
In this embodiment, the association relationship between classes, specifically the dependency relationship between classes, may be recorded by presetting a node tree. When the class is loaded, whether the class represented by the node has a dependent class or not can be determined according to whether the node in the preset node tree has a child node or not, and the class is loaded in such a way, so that the parent class can be loaded first, then the child class can be loaded, and the loading sequence is consistent with the loading sequence of the class when the electronic equipment runs the program.
The implementation manner of loading the class may be to stack the class.
Specifically, a data stack may be set for a program to be started, and a class used in a starting process of the program to be started may be loaded into the corresponding data stack. When the class is loaded based on the preset node tree, the parent class can be loaded first, and then the child class can be loaded. When the class is pushed, the parent class may be pushed first, and then the child class may be pushed. The data stack has the property of first entering and then exiting, so that when the class is executed, the effect of executing the subclass first and then executing the parent class can be achieved, which is consistent with the sequence of executing the class when the electronic device runs the program.
And step 403, responding to a starting instruction of the program, and executing the preloaded classes according to the reverse order of the class stacking time sequence.
Furthermore, the user can operate the electronic device to control the electronic device to run the program to be started. Since the classes used in the startup process of the program have been previously loaded, the classes can be executed without reloading, so that the startup speed of the program can be increased.
In actual application, the electronic device may execute the preloaded classes according to the reverse order of the stacking order of the classes. For example, if class B is stacked first and then class a is stacked, class a may be executed first and then class B may be executed when the preloaded class is executed.
When the class is pushed, the parent class is pushed first, and then the child class is pushed. When executing the class, the class which is then pushed is processed first, and then the class which is entered first is processed, so that the effect of executing the subclass first and then the parent class can be achieved, which is consistent with the sequence of executing the class when the electronic device runs the program.
The method provided by the application can be applied to the electronic equipment provided with the applet platform, and the applet platform can be provided with a plurality of applets.
When the small program starting platform is responded, the information of each class corresponding to the program to be started and the association relation among the classes can be obtained. In this embodiment, the program to be started may be an applet set in the applet platform.
By the implementation mode, the starting speed of the applet in the electronic equipment can be increased, so that the user experience is improved.
Specifically, the target applet can be determined according to the historical operation behavior of the user. When the electronic equipment responds to a starting instruction of the applet platform, the target applet can be obtained to obtain information of various classes of the program to be started, which need to run in the starting process, and the association relation among the classes, so that the classes used in the starting process of the target applet are loaded.
Furthermore, the target applet can be an applet commonly used by the user, and the implementation method can improve the starting speed of the applet commonly used by the user and further improve the user experience under the condition that the memory of the electronic device is occupied to a small extent.
In such an embodiment, the preset node tree for each target applet may be provided in the applet platform.
In an optional implementation manner, when the electronic device loads the class according to the preset node tree, the right node may be loaded first, and then the left node may be loaded.
FIG. 5 is a schematic diagram illustrating class loading according to an exemplary embodiment of the present application.
As shown in FIG. 5, the inter-class relationships 51 include classes A-I, where A depends on class B and class C, class B depends on class D and class E, class D depends on class G and class H, class C depends on class F, and class F depends on class I.
When preloading classes according to the inter-class relationship 51, if a node has a plurality of child nodes, the right child node is processed first, and then the left child node is processed. And, processing is still performed in the order from the child node to the parent node.
The electronic device may preload the classes in order of I, F, C, E, H, G, D, B, A.
Fig. 6 is a flowchart illustrating a method for constructing an association relationship between classes according to an exemplary embodiment of the present application.
As shown in fig. 6, the method for constructing an association relationship between classes provided by the present application includes:
step 601, performing event tracking analysis on the program.
The method provided by the present application may be executed by an electronic device with computing capability, such as a computer.
Specifically, the processed program may be, for example, mobile phone software, and may also be, for example, an applet in an applet platform. The program may be provided in a smartphone or tablet, for example.
Further, the event tracking analysis can be performed on the process from the start to the end of the start by taking the start entry class of the program as a starting point, and an analysis result is obtained.
In practical application, the analysis result may include, for example, classes used in the program starting process, and may also include an association relationship between the classes, for example, when class a is executed, class B is called, and class a may be considered to depend on class B.
The analysis result may further include a loading duration of each class, for example, in the program starting process, the time for loading the class a is t1, and the time for loading the class B is t 2.
Step 602, determining classes used in the program starting process and association relations among the classes according to the analysis result; wherein the association is used to preload the classes before starting the program.
Specifically, the classes used in the starting process of the program and the association relationship between the classes can be determined according to the analysis result. For example, class A, B, C is used during startup, and the inter-class relationship is that class A depends on class B and class B depends on class C.
Furthermore, when the program is set in devices such as a smart phone or a tablet computer, the devices can pre-load the classes used in the program starting process according to the association relationship between the classes when the program is not started, so that the program starting speed is increased.
In practical application, the equipment provided with the program can acquire information of various classes of the program to be started, which needs to run in the starting process, and the association relation among the classes; preloading classes corresponding to the programs according to the association relation among the classes and class information; and responding to a starting instruction of the program, executing the preloaded class and starting the program. Therefore, classes which need to be operated in the starting process of the program can be loaded in advance before the program is started, the classes do not need to be loaded again when the program is started, the time consumption for starting the program can be reduced, and the starting speed of the program is further improved.
The method for constructing the association relationship between the classes comprises the following steps: carrying out event tracking analysis on the program; determining classes used in the program starting process and the incidence relation among the classes according to the analysis result; wherein the association is used to preload the classes before starting the program. The method provided by the application can be used for predetermining the classes used in the program starting process and the relations among the classes, so that the classes which need to be operated in the program starting process can be preloaded based on the relations among the classes before the program is started, and further the program starting speed is increased.
Fig. 7 is a flowchart illustrating a method for constructing an association relationship between classes according to another exemplary embodiment of the present application.
As shown in fig. 7, the method for constructing an association relationship between classes provided by the present application includes:
step 701, performing event tracking analysis on the program.
Step 702, determining the classes used in the program starting process and the association relationship among the classes according to the analysis result.
Steps 701 and 702 are similar to the implementation manner and principle of steps 601 and 602.
In an optional implementation manner, the target classes which are used in the program starting process and consume time longer than a preset time length and the association relationship between the target classes may be determined according to the analysis result. And constructing a preset node tree according to the incidence relation of the target class.
In the embodiment, when the classes are preloaded according to the preset node tree, only the target classes which take longer time are preloaded, so that the memory occupied by the preloading process can be reduced.
703, constructing a preset node tree comprising class information of the classes according to the incidence relation among the classes; the preset node tree is used for preloading classes before starting a program.
According to the method, the incidence relation among the classes is recorded in the form of the preset node tree. The preset node tree comprises a plurality of nodes, and the nodes can have parent-child relationships, so that classes used in the program starting process and the dependency relationships among the classes can be clearly recorded in the form of the preset node tree.
Specifically, a preset node tree corresponding to each program may be set. Thereby enabling the device in which the program is provided to preload the classes used by the program during startup.
Further, the constructed preset node tree includes a plurality of nodes, and one node may represent one class. The class represented by the parent node depends on the class represented by the child node. For example, class A depends on class B, and class B can be a child of class A.
In practical application, the incidence relation can be deeply traversed by taking the starting class of the program as a starting point to obtain a traversal result; and according to the traversal result, taking the class information of one class as a parent node of the class information of the dependent class, and continuously traversing the association relation.
For example, traversal is performed starting from the start entry class a, and if class a depends on class B, class B is used as a child node of class a. If the class B depends on the class C, the class C is used as a child node of the class B, and by analogy, a preset node tree can be constructed.
In the method provided by the application, the starting classes of the programs can be analyzed one by one through a depth traversal algorithm, so that omission is avoided.
Optionally, the traversal depth may also be preset. And when traversing the inter-class relationship to construct the preset node tree, if the preset node tree reaches the preset traversal depth, stopping traversing the association relationship.
When the preset node tree is constructed, if the number of layers of the currently constructed preset node tree is less than or equal to the preset traversal depth, the traversal can be stopped, and the construction process of the preset node tree is completed. In this embodiment, when class preloading is performed according to the preset node tree, excessive memory consumption of the electronic device due to excessive number of preloaded classes can be avoided.
Fig. 8 is a schematic structural diagram of a program starting apparatus according to an exemplary embodiment of the present application.
As shown in fig. 8, the program starting apparatus 800 provided by the present application includes:
the acquiring unit 81 is configured to acquire information of each class of a program to be started, which needs to be run in a starting process, and an association relationship between the classes;
a preloading unit 82, configured to preload a class corresponding to the program according to the association relationship between the classes and the class information;
and a starting unit 83, configured to execute the preloaded classes in response to a starting instruction of the program, and start the program.
The application provides a program starting device, includes: the device comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for acquiring information of various classes of a program to be started, which need to run in the starting process, and the association relation among the classes; the preloading unit is used for preloading the classes corresponding to the programs according to the association relation among the classes and the class information; and the starting unit is used for responding to a starting instruction of the program, executing the preloaded class and starting the program. The program starting device provided by the application can pre-load the classes of the program which need to run in the starting process before the program is started, so that the classes do not need to be loaded again when the program is started, the time consumption of starting the program can be reduced, and the program starting speed is further improved.
Fig. 9 is a schematic structural diagram of a program starting apparatus according to another exemplary embodiment of the present application.
On the basis of the foregoing embodiment, in an optional implementation manner, the program starting apparatus 900 provided in this embodiment is provided with a preset node tree corresponding to the program to be started, where the preset node tree includes information of each class in which the program to be started needs to run in the starting process and an association relationship between each class.
In an optional implementation manner, the number of layers of the preset node tree is less than or equal to a preset number of layers.
In an alternative embodiment, the preloading unit 82 is specifically configured to:
and loading the parent class and then loading the child class according to the incidence relation among the classes and the class information.
In an alternative embodiment, the preloading unit 82 comprises:
a reading module 821, configured to read a node of the preset node tree;
a loading module 822 for: if the node comprises a child node, loading a class corresponding to the class information represented by the child node; and if the node does not comprise the child node, loading the class corresponding to the class information represented by the node.
In an alternative embodiment, the preloading unit 82 is specifically configured to:
and performing stack pushing processing on the classes.
In an alternative embodiment, the starting unit 83 is specifically configured to:
and executing the preloaded classes according to the reverse order of the class stacking time sequence.
In an optional implementation manner, when responding to a start instruction of the applet platform, the obtaining unit 81 performs a step of obtaining information of each class that needs to be run in a start process of a program to be started and an association relationship between each class;
and the program to be started is an applet arranged in the applet platform.
Fig. 10 is a schematic structural diagram of a device for constructing an association relationship between classes according to an exemplary embodiment of the present application.
The device 100 for constructing an association relationship between classes provided by the present application includes:
an analysis unit 101, configured to perform event tracking analysis on a program;
a determining unit 102, configured to determine, according to an analysis result, classes used in the program starting process and an association relationship between the classes;
wherein the incidence relation is used for preloading the class before starting the program.
The device for constructing the association relationship between the classes comprises the following components: the analysis unit is used for carrying out event tracking analysis on the program; the determining unit is used for determining the classes used in the program starting process and the incidence relation among the classes according to the analysis result; wherein the incidence relation is used for preloading the class before starting the program. The device provided by the application can predetermine the classes used in the program starting process and the relationship among the classes, so that the classes of the program which needs to run in the starting process can be preloaded based on the relationship among the classes before the program is started, and the program starting speed is further improved.
Fig. 11 is a schematic structural diagram of a device for constructing an association relationship between classes according to another exemplary embodiment of the present application.
As shown in fig. 11, the apparatus 110 for building an association relationship between classes provided in the present application, on the basis of the foregoing embodiment, in an optional implementation manner, further includes a building unit 103, configured to:
constructing a preset node tree comprising class information of the classes according to the incidence relation among the classes; wherein the preset node tree is used for preloading the class before starting the program.
In an alternative embodiment, the building unit 103 comprises:
a traversal module 1031, configured to perform deep traversal on the association relationship with the start class of the program as a starting point to obtain a traversal result;
a building module 1032 configured to use the class information of a class as a parent node of the class information of the dependent class according to the traversal result, where the traversal module continues to traverse the association relationship.
In an optional embodiment, the method further comprises:
and if the preset node tree reaches the preset traversal depth, the traversal module stops traversing the incidence relation.
In an optional implementation manner, the determining unit 102 is specifically configured to: and determining the target classes which consume more time than the preset time and are used in the program starting process and the incidence relation between the target classes.
Optionally, the present application further provides a computer program product, including a computer program, where the computer program, when executed by a processor, implements any one of the above program starting methods or the method for constructing an association relationship between classes.
Optionally, the present application further provides a mobile terminal, including: any of the above program initiating means.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 12 is a block diagram of an electronic device according to the program starting method or the method for constructing an association relationship between classes according to the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 12, the electronic apparatus 1200 includes: one or more processors 1201, memory 1202, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 12 illustrates an example of one processor 1201.
Memory 1202 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the program starting method or the method for constructing the association relationship between the classes. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the program startup method or the inter-class association construction method provided by the present application.
The memory 1202 is a non-transitory computer-readable storage medium, and can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the program starting method or the method for constructing the association relationship between classes in the embodiment of the present application (for example, the acquiring unit 81, the preloading unit 82, and the starting unit 83 shown in fig. 8). The processor 1201 executes various functional applications of the server and data processing by running the non-transitory software programs, instructions, and modules stored in the memory 1202, that is, implementing the program starting method or the method for constructing the association relationship between classes in the above method embodiment.
The memory 1202 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the electronic apparatus 1200 according to a program startup method or a construction method of an inter-class association, or the like. Further, the memory 1202 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1202 may optionally include a memory remotely disposed from the processor 1201, and these remote memories may be connected to the electronic apparatus 1200 by a network in the program startup method or the building method of the inter-class association relationship. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device 1200 of the program starting method or the method for constructing the association relationship between the classes may further include: an input device 1203 and an output device 1204. The processor 1201, the memory 1202, the input device 1203, and the output device 1204 may be connected by a bus or other means, and the bus connection is exemplified in fig. 12.
The input device 1203 may receive input numeric or character information, and generate key signal inputs related to user settings and function control of the electronic apparatus 1200 of the program start method or the building method of the association between classes, for example, an input device such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 1204 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (30)

1. A program initiation method, comprising:
acquiring information of each class of a program to be started, which needs to run in the starting process, and an association relation among the classes;
preloading the class corresponding to the program according to the association relation among the classes and the class information;
and responding to a starting instruction of the program, executing the preloaded class and starting the program.
2. The method according to claim 1, wherein a preset node tree corresponding to the program to be started is provided, and the preset node tree includes information of each class of the program to be started that needs to be run in a starting process and an association relationship between each class.
3. The method of claim 2, wherein the number of levels of the preset node tree is less than or equal to a preset number of levels.
4. The method of claim 1, wherein preloading the class corresponding to the program according to the association relationship between the classes and the class information comprises:
and loading the parent class and then loading the child class according to the incidence relation among the classes and the class information.
5. The method of claim 2, wherein preloading the class corresponding to the program according to the association relationship between the classes and the class information comprises:
reading nodes of the preset node tree;
if the node comprises a child node, loading a class corresponding to the class information represented by the child node;
and if the node does not comprise the child node, loading the class corresponding to the class information represented by the node.
6. The method of claim 4 or 5, wherein loading a class comprises:
and performing stack pushing processing on the classes.
7. The method of claim 6, wherein executing the preloaded class comprises:
and executing the preloaded classes according to the reverse order of the class stacking time sequence.
8. The method according to any one of claims 1 to 5, wherein when responding to a starting instruction of the applet platform, the step of acquiring information of each class and association relation among the classes, which are required to be operated in the starting process, of the program to be started is executed;
and the program to be started is an applet arranged in the applet platform.
9. A method for constructing an association relationship between classes comprises the following steps:
carrying out event tracking analysis on the program;
determining classes used in the program starting process and the incidence relation among the classes according to the analysis result;
wherein the incidence relation is used for preloading the class before starting the program.
10. The method of claim 9, further comprising: constructing a preset node tree comprising class information of the classes according to the incidence relation among the classes; wherein the preset node tree is used for preloading the class before starting the program.
11. The method of claim 10, wherein constructing a preset node tree including class information of the classes according to the association relationship among the classes comprises:
performing depth traversal on the incidence relation by taking the starting class of the program as a starting point to obtain a traversal result;
and according to the traversal result, taking the class information of one class as a parent node of the class information of the dependent class, and continuously traversing the association relation.
12. The method of claim 11, further comprising:
and if the preset node tree reaches the preset traversal depth, stopping traversing the incidence relation.
13. The method according to any one of claims 9-12, wherein determining the classes used by the program start-up process and the association between the classes comprises:
and determining the target classes which consume more time than the preset time and are used in the program starting process and the incidence relation between the target classes.
14. A program launch device comprising:
the device comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for acquiring information of various classes of a program to be started, which need to run in the starting process, and the association relation among the classes;
the preloading unit is used for preloading the class corresponding to the program according to the incidence relation among the classes and the class information;
and the starting unit is used for responding to a starting instruction of the program, executing the preloaded class and starting the program.
15. The device according to claim 14, wherein a preset node tree corresponding to the program to be started is provided, and the preset node tree includes information of each class in which the program to be started needs to run in a starting process and an association relationship between each class.
16. The apparatus of claim 15, wherein the number of levels of the preset node tree is less than or equal to a preset number of levels.
17. The apparatus of claim 14, wherein the preload unit is specifically configured to:
and loading the parent class and then loading the child class according to the incidence relation among the classes and the class information.
18. The apparatus of claim 15, wherein the preloading unit comprises:
the reading module is used for reading the nodes of the preset node tree;
a loading module to: if the node comprises a child node, loading a class corresponding to the class information represented by the child node; and if the node does not comprise the child node, loading the class corresponding to the class information represented by the node.
19. The apparatus according to claim 17 or 18, wherein the preloading unit is specifically configured to:
and performing stack pushing processing on the classes.
20. The apparatus according to claim 19, wherein the starting unit is specifically configured to:
and executing the preloaded classes according to the reverse order of the class stacking time sequence.
21. The device according to any one of claims 14 to 18, wherein, in response to a start instruction of the applet platform, the acquiring unit performs a step of acquiring information of each class and an association relationship between each class, which are required to be operated by a program to be started in a start process;
and the program to be started is an applet arranged in the applet platform.
22. An apparatus for constructing an association relationship between classes, comprising:
the analysis unit is used for carrying out event tracking analysis on the program;
the determining unit is used for determining the classes used in the program starting process and the incidence relation among the classes according to the analysis result;
wherein the incidence relation is used for preloading the class before starting the program.
23. The apparatus of claim 22, further comprising a construction unit configured to:
constructing a preset node tree comprising class information of the classes according to the incidence relation among the classes; wherein the preset node tree is used for preloading the class before starting the program.
24. The apparatus of claim 23, wherein the building unit comprises:
the traversal module is used for carrying out deep traversal on the incidence relation by taking the starting class of the program as a starting point to obtain a traversal result;
and the construction module is used for taking the class information of one class as a father node of the class information of the dependent class according to the traversal result, and the traversal module continuously traverses the association relation.
25. The apparatus of claim 24, further comprising:
and if the preset node tree reaches the preset traversal depth, the traversal module stops traversing the incidence relation.
26. The apparatus according to any of claims 22-25, wherein the determining unit is specifically configured to: and determining the target classes which consume more time than the preset time and are used in the program starting process and the incidence relation between the target classes.
27. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8 or 9-13.
28. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of claims 1-8 or 9-13.
29. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-8 or 9-13.
30. A mobile terminal, comprising: a program start-up device according to any of claims 14-21.
CN202011488621.0A 2020-12-16 2020-12-16 Program starting method, inter-class relation construction method and device and mobile terminal Pending CN112559073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011488621.0A CN112559073A (en) 2020-12-16 2020-12-16 Program starting method, inter-class relation construction method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011488621.0A CN112559073A (en) 2020-12-16 2020-12-16 Program starting method, inter-class relation construction method and device and mobile terminal

Publications (1)

Publication Number Publication Date
CN112559073A true CN112559073A (en) 2021-03-26

Family

ID=75064164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011488621.0A Pending CN112559073A (en) 2020-12-16 2020-12-16 Program starting method, inter-class relation construction method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN112559073A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113971031A (en) * 2021-10-28 2022-01-25 中国银行股份有限公司 Software package dependency relationship checking method and device
CN114519582A (en) * 2022-02-21 2022-05-20 中国邮政储蓄银行股份有限公司 Service preheating method, preheating device and service system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1172303A (en) * 1996-05-30 1998-02-04 太阳微系统有限公司 Method and system for loading classes in read-only memory
CA2290086A1 (en) * 1998-12-14 2000-06-14 Nortel Networks Corporation Method for loading a java application program
JP2003316584A (en) * 2002-04-24 2003-11-07 Matsushita Electric Ind Co Ltd Device and method for generating/updating preload class
CN102567033A (en) * 2010-12-14 2012-07-11 北京大学 Class pre-loading method and device based on embedded real-time Java virtual machine
CN102929597A (en) * 2012-09-24 2013-02-13 摩卡软件(天津)有限公司 Java-platform-based web service support method and device
CN103473096A (en) * 2013-09-10 2013-12-25 浙江大学城市学院 Method and system for loading java class on virtual machine of android system
CN103631612A (en) * 2012-08-23 2014-03-12 腾讯科技(深圳)有限公司 Method and device for starting operating system
CN108628751A (en) * 2018-05-17 2018-10-09 北京三快在线科技有限公司 A kind of useless dependence item detection method and device
CN109445880A (en) * 2018-10-23 2019-03-08 数贸科技(北京)有限公司 Transmission method, device and the electronic equipment of cross-thread calls chain context

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1172303A (en) * 1996-05-30 1998-02-04 太阳微系统有限公司 Method and system for loading classes in read-only memory
CA2290086A1 (en) * 1998-12-14 2000-06-14 Nortel Networks Corporation Method for loading a java application program
JP2003316584A (en) * 2002-04-24 2003-11-07 Matsushita Electric Ind Co Ltd Device and method for generating/updating preload class
CN102567033A (en) * 2010-12-14 2012-07-11 北京大学 Class pre-loading method and device based on embedded real-time Java virtual machine
CN103631612A (en) * 2012-08-23 2014-03-12 腾讯科技(深圳)有限公司 Method and device for starting operating system
CN102929597A (en) * 2012-09-24 2013-02-13 摩卡软件(天津)有限公司 Java-platform-based web service support method and device
CN103473096A (en) * 2013-09-10 2013-12-25 浙江大学城市学院 Method and system for loading java class on virtual machine of android system
CN108628751A (en) * 2018-05-17 2018-10-09 北京三快在线科技有限公司 A kind of useless dependence item detection method and device
CN109445880A (en) * 2018-10-23 2019-03-08 数贸科技(北京)有限公司 Transmission method, device and the electronic equipment of cross-thread calls chain context

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
崔行臣; 赵佟: "Java动态类加载机制分析及其应用", 计算机系统应用, vol. 22, no. 07 *
汤谷云;: "采用模式思维方式引导面向对象的程序设计", 企业科技与发展, no. 02 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113971031A (en) * 2021-10-28 2022-01-25 中国银行股份有限公司 Software package dependency relationship checking method and device
CN114519582A (en) * 2022-02-21 2022-05-20 中国邮政储蓄银行股份有限公司 Service preheating method, preheating device and service system

Similar Documents

Publication Publication Date Title
US20170139720A1 (en) Digital assistant setting up device
US9397953B2 (en) Operation managing method for computer system, computer system and computer-readable storage medium having program thereon
CN112187581B (en) Service information processing method, device, equipment and computer storage medium
US10423471B2 (en) Virtualizing integrated calls to provide access to resources in a virtual namespace
CN112559073A (en) Program starting method, inter-class relation construction method and device and mobile terminal
CN111752843A (en) Method, device, electronic equipment and readable storage medium for determining influence surface
CN108712478A (en) A kind of method and apparatus for sharing boarding application
US20190310882A1 (en) Multiple application instances in operating systems that utilize a single process for application execution
CN111782181A (en) Code generation method and device, electronic equipment and storage medium
US20140365960A1 (en) Method and apparatus for page view switching
CN113010342A (en) Operation and maintenance diagnosis method, device, equipment and storage medium
CN111930539A (en) Task management method, device and equipment based on label engine and storage medium
CN111339187A (en) Data processing method, device, equipment and storage medium based on intelligent contract
CN111753330B (en) Determination method, apparatus, device and readable storage medium for data leakage main body
EP3828739A2 (en) Parallelization of authentication strategies
CN112631682A (en) Applet processing method, device, equipment and storage medium
CN112100620A (en) Code security detection method, device, equipment and readable storage medium
CN114228745B (en) Driving system module control method, device, equipment, medium, product and vehicle
CN114237755A (en) Application running method and device, electronic equipment and storage medium
CN111506499B (en) Method and device for detecting availability of parameters in applet and electronic equipment
US10956295B1 (en) Automatic recognition for smart declaration of user interface elements
US9497253B2 (en) Authorization review system
CN112486523A (en) Container mirror image creating method and device, storage medium and electronic equipment
CN115640015A (en) Construction method, device and equipment of android application program and storage medium
CN115700468A (en) Address jump method and device for application program, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination