CN112783499A - Application program pre-compiling method and device, electronic equipment and server - Google Patents

Application program pre-compiling method and device, electronic equipment and server Download PDF

Info

Publication number
CN112783499A
CN112783499A CN201911087183.4A CN201911087183A CN112783499A CN 112783499 A CN112783499 A CN 112783499A CN 201911087183 A CN201911087183 A CN 201911087183A CN 112783499 A CN112783499 A CN 112783499A
Authority
CN
China
Prior art keywords
target
compiling
hotspot
units
application program
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
CN201911087183.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911087183.4A priority Critical patent/CN112783499A/en
Priority to PCT/CN2020/121552 priority patent/WO2021088624A1/en
Publication of CN112783499A publication Critical patent/CN112783499A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The embodiment of the application discloses a method and a device for pre-compiling an application program, electronic equipment and a server. The method comprises the following steps: the method comprises the steps of obtaining a plurality of first configuration files corresponding to a target application program, obtaining a plurality of target hotspot compiling units based on a plurality of hotspot compiling units recorded by the first configuration files, wherein the plurality of target hotspot compiling units comprise hotspot compiling units belonging to target function modules in the target application program, and generating a second configuration file comprising the plurality of target hotspot compiling units so as to compile the plurality of target hotspot compiling units before the target function modules run. Therefore, by the method, the hot spot compiling unit associated with the target function module in the target application program can be compiled before the target function module is operated before the target application program is operated, so that the operation efficiency of the target function module can be improved, and the efficiency of optimizing the operation efficiency of the target function module is also improved.

Description

Application program pre-compiling method and device, electronic equipment and server
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for pre-compiling an application program, an electronic device, and a server.
Background
In the electronic equipment, the running efficiency of the application program can be improved to a certain extent in a way of compiling in advance. However, in the related compiling methods, which compiling units are compiled in advance is determined based on the calling frequency or the loop frequency of the compiling units, and therefore, the quick optimization of the application program cannot be effectively realized.
Disclosure of Invention
In view of the foregoing problems, the present application provides a method, an apparatus, an electronic device, and a server for pre-compiling an application program, so as to improve the foregoing problems.
In a first aspect, the present application provides a method for application precompilation, the method comprising: acquiring a plurality of first configuration files corresponding to a target application program, wherein the first configuration files are used for recording a hot spot compiling unit of the target application program; acquiring a plurality of target hotspot compiling units based on a plurality of hotspot compiling units recorded by the first configuration files, wherein the target hotspot compiling units comprise hotspot compiling units associated with target function modules in the target application program; generating a second configuration file comprising the plurality of target hotspot compiling units; pre-compiling the plurality of target hotspot compiling units based on the second configuration file.
In a second aspect, the present application provides a method for pre-compiling an application program, applied to an electronic device, the method including: acquiring a second configuration file, wherein the second configuration file is generated by the server based on the mode; and when the electronic equipment is detected to meet the specified conditions, running the second configuration file to compile the hotspot compiling unit in the second configuration file.
In a third aspect, the present application provides an apparatus for application precompilation, the apparatus comprising: the file obtaining unit is used for obtaining a plurality of first configuration files corresponding to a target application program, the first configuration files are used for recording hot point compiling units of the target application program installed in electronic equipment to which the first configuration files belong, and the hot point compiling units are compiling units allowing to be compiled in advance before the target application program runs; a compiling unit processing unit, configured to obtain a plurality of target hotspot compiling units based on the plurality of hotspot compiling units recorded by the plurality of first configuration files, where the plurality of target hotspot compiling units include hotspot compiling units belonging to target function modules in the target application program; the file generating unit is used for generating a second configuration file comprising the target hotspot compiling units; and the pre-compiling unit is used for pre-compiling the target hotspot compiling units based on the second configuration file.
In a fourth aspect, the present application provides an apparatus for pre-compiling an application program, running on an electronic device, the apparatus including: a file acquiring unit, configured to acquire a second configuration file, where the second configuration file is obtained based on the device processing; and the file processing unit is used for running the second configuration file when detecting that the electronic equipment meets the specified conditions so as to compile the hotspot compiling unit in the second configuration file.
In a fifth aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a sixth aspect, the present application provides a computer-readable storage medium having program code stored therein, wherein the method described above is performed when the program code is executed.
According to the application program pre-compiling method and device, the electronic equipment and the server, first configuration files corresponding to target application programs installed on the electronic equipment are obtained, so that a plurality of first configuration files used for recording hot point compiling units of the target application programs installed on the electronic equipment are obtained, a plurality of target hot point compiling units belonging to target function modules in the target application programs are obtained from the plurality of hot point compiling units included in the plurality of first configuration files, and second configuration files including the plurality of target hot point compiling units are generated. Therefore, by the method, the hot spot compiling unit associated with the target function module in the target application program can be compiled before the target function module is operated before the target application program is operated, so that the operation efficiency of the target function module can be improved, and the efficiency of optimizing the operation efficiency of the target function module is also improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an operating environment of a method for pre-compiling an application according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an operating environment of another method for pre-compiling an application according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a method for pre-compiling an application according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method for application pre-compilation according to another embodiment of the present application;
fig. 5 is a flowchart illustrating a method for obtaining multiple target hotspot compiling units in an application precompilation method according to another embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a probability model matrix in a method for pre-compiling an application according to another embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a probabilistic model in a method for pre-compiling an application according to another embodiment of the present application;
FIG. 8 is a flow chart illustrating a method for application pre-compilation according to yet another embodiment of the present application;
FIG. 9 is a flow chart illustrating a method for application pre-compilation according to yet another embodiment of the present application;
FIG. 10 is a block diagram illustrating an apparatus for pre-compiling an application according to the present application;
FIG. 11 is a block diagram illustrating an alternative apparatus for application precompilation as proposed herein;
FIG. 12 is a block diagram illustrating an apparatus for pre-compiling another application proposed in the present application;
fig. 13 is a block diagram illustrating an electronic device for executing a method for pre-compiling an application according to an embodiment of the present application.
Fig. 14 is a storage unit for storing or carrying program codes for implementing an image processing method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of the operation mode of the application program in the electronic device, the application program in the electronic device may be directly interpreted and executed by an Interpreter (Interpreter) during the operation, the number of calls and the number of cycles of each compiling unit are recorded during the execution, and when the number of calls and the number of cycles exceed a set threshold, the corresponding compiling unit is recorded as a hotspot compiling unit. The compiling unit may be understood as a function, method, or class (class) in the source code of the application program.
Further, the hotspot compiling unit is identified, compiled by JIT (Just In Time), stored and generated into a profile file to record the information of the hotspot compiling unit. In this case, when the electronic device enters an idle or charging state, a system Of the electronic device scans a profile file and performs an AOT (Ahead Of Time) process for compilation.
However, the inventor has found in research on this approach that the electronic device is dependent on optimizing the application program according to the profile file in the idle mode, and because the content of the compiling unit in the profile file is related to the number of times the user uses the application program, such an optimization approach generally does not reach the best performance state after the user installs or updates the application program for a period of time (perhaps days). Furthermore, in a further study, the inventor also finds that, in the related manner, the compiling units stored in the profile file corresponding to the application program are usually distributed in different functional modules, which is not beneficial to optimizing certain common functions in a centralized manner.
Therefore, the method, the device, the electronic device and the server for application of application program pre-compiling are provided, so that the hot point compiling unit associated with the target function module in the target application program can be compiled before the target function module runs before the target application program runs, the running efficiency of the target function module can be improved, and the efficiency of optimizing the running efficiency of the target function module is also improved.
A scenario related to the embodiment of the present application will be described below.
Referring to fig. 1, the scenario of fig. 1 includes a plurality of electronic devices 100 and a server 200. Wherein, a plurality of electronic devices 100 interact data with the server 200 through the network.
A target application is run on each of the plurality of electronic devices 100, and a configuration file (which may be the aforementioned profile file) 120 is correspondingly generated for the target application run on each of the electronic devices 100. In one mode, the electronic devices 100 may upload the configuration files 120 of the target application installed by themselves to the server 200, so that the server may obtain the configuration files 120 corresponding to the target application, perform fusion processing on the configuration files 120, extract a hot spot compiling unit to which the specified function module of the target application belongs, store the extracted hot spot compiling unit in the newly generated configuration file 210, and return the configuration file 210 to the electronic devices 100.
In addition, as shown in fig. 2, the server 220 may also directly send the program installation package 230 including the configuration file 210 and the installer 220 of the target application to the electronic device 130 that has not installed the target application, so that when the target application is installed, the electronic device 130 may obtain the configuration file 210 that can directly optimize the operation efficiency of the specified function module in the target application.
In the environment shown in fig. 2, the server that collects the plurality of configuration files 120 and processes the plurality of configuration files 120 to obtain the configuration file 210 may be a single server or a server cluster. Moreover, the server that collects the plurality of configuration files 120 and processes the plurality of configuration files 120 to obtain the configuration file 210 may be a different server from the server that subsequently issues the program installation package 230.
Furthermore, the first mentioned configuration file may be the configuration file 120 in the subsequent embodiment, and the second mentioned configuration file may be the newly generated configuration file 210. The hot spot compiling unit in the newly generated configuration file 210 may be a hot spot compiling unit compiled by the server 200, or may be a hot spot compiling unit not yet running the compiling. In the case that the hotspot compiling unit in the newly generated configuration file 210 is a hotspot compiling unit that has not yet run the compiling, the electronic device that receives the newly generated configuration file 210 may compile before running the target application program, or compile when the target application program is installed.
The present disclosure will now be described with reference to specific embodiments.
Referring to fig. 3, the application provides a method for pre-compiling an application, which is applied to a server, and the method includes:
step S110: the method comprises the steps of obtaining a plurality of first configuration files corresponding to a target application program, wherein the first configuration files are used for recording hot spot compiling units of the target application program installed in electronic equipment to which the first configuration files belong, and the hot spot compiling units are compiling units allowing to be compiled in advance before the target application program runs.
It should be noted that a plurality of application programs may be run in the electronic device. Each application program can be configured with an associated configuration file during operation. The configuration file is used for recording a hot spot compiling unit of the application program in the running process. Illustratively, an application a, an application B, and an application C are installed in the electronic device. Application a may correspond to an assigned configuration file a, application B may correspond to an assigned configuration file B, and application C may correspond to an assigned configuration file C. In this case, a hot spot compiling unit of the application program a is recorded in the configuration file a, a hot spot compiling unit of the application program B is recorded in the configuration file B, and a hot spot compiling unit of the application program C is recorded in the configuration file C. The application programs installed for different electronic devices may be different or the same. For example, application a, application B, and application C may all be installed for a plurality of electronic devices.
It is understood that, the target application is an application to which the configuration file belongs and which will perform subsequent steps, and in the embodiment of the present application, the server may determine the target application in various ways.
In one mode, the server may use an application program with a large installation amount as a target application program. Optionally, the electronic device may periodically upload application installation information to the server, where the application installation information includes an application currently installed by the electronic device. The server may count the application installation information periodically uploaded by the plurality of electronic devices, and if it is detected that the installation amount of a certain application is greater than the installation threshold, the application with the installation amount greater than the installation threshold may be used as the target application.
For example, there are 100 electronic devices that upload application installation information to the server, and among 90 electronic devices, application a is installed, and in the case that the installation threshold is 80, the server may use application a as the target application. By the method, the server can timely optimize the operation efficiency of the application program with large installation amount.
Alternatively, the electronic device may determine the target application program in combination with the installation amount and the size of the corresponding configuration file. It should be noted that, different application programs have different sizes of configuration files due to different functions or different operating frequencies, and it is necessary for the electronic device to compile the hot spot compiling unit in the configuration file before the application program is operated, which consumes a certain amount of resources and time, so that for an application program with a smaller configuration file, it may be determined that the operating frequency of the application program is possibly lower, and the server may not process the configuration files to which the application programs with lower operating frequencies belong. Correspondingly, in this way, the application installation information reported by the electronic device may include, in addition to the installed applications, the size of the configuration file to which each application belongs. When the server detects that the number of configuration files of a certain application program in the plurality of electronic devices is larger than the threshold number, the same application program can be used as a target application program.
For example, there are 100 electronic devices that upload application installation information to the server, and among 90 electronic devices, application a is installed, so that each of the applications a installed in the 90 electronic devices has one configuration file (i.e., it can be understood that there are 90 configuration files). If the server identifies that 80 of its 90 configuration files are less than 1kb, then the server will not target application a if the installation threshold is 80, the specified threshold is 10kb, and the threshold number is 50. However, if the server recognizes that 60 (greater than the threshold number 50) of the 90 profiles all have a size of 11-12 kb (greater than the specified threshold of 10kb), then it can determine that application A is the target application.
Alternatively, the server may determine the target application based on the configuration information. In this manner, it may be determined which applications are targeted by a human configuration. For example, the server may take the application programs related to the application program installation information reported by the multiple electronic devices as the application programs to be selected, the operator may select one or more application programs from the application programs to be selected as the selected application programs, and correspondingly, the server stores the selected application programs in the configuration file, in which case, the server may take the application programs configured in the configuration file as the target application programs.
After determining the target application program based on the foregoing manner, the server may further use the writing information file to which the target application program belongs as the first configuration file. In this embodiment, the plurality of first configuration files corresponding to the target application may be understood as configuration files to which the same target application installed in the plurality of electronic devices belongs.
Step S120: and acquiring a plurality of target hotspot compiling units based on the plurality of hotspot compiling units recorded by the first configuration files, wherein the target hotspot compiling units comprise hotspot compiling units belonging to target function modules in the target application program.
It should be noted that even if the configuration files belong to the same application program, since the same application program is executed on different electronic devices, the hotspot compiling units included in the first configuration files may be different. It will be appreciated that an application will typically comprise a plurality of functions, and that different functions are implemented by different functional blocks. For example, the application program a may include a camera function, an instant messaging function, and a picture editing function. The camera shooting function is realized by the camera shooting module, the instant messaging function is realized by the instant messaging module, and the picture editing function is realized by the picture editing module.
However, the hotspot compiling units in the configuration files to which the applications a running on different electronic devices respectively belong may be different due to the use habits of users. For example, if there are electronic devices a, B and C, each has an application a installed therein. The user of the electronic device a prefers to use the camera function, the user of the electronic device B prefers to use the instant messaging function, and the user of the electronic device C prefers to use the picture editing function. In this case, in the electronic device a, more of the configuration files to which the application program a belongs are hot spot compiling units related to the camera function module. In the electronic device B, more of the configuration files to which the application program a belongs are hot spot compiling units related to the instant messaging function module. In the electronic device C, more configuration files to which the application program a belongs are hot spot compiling units of the picture editing function module.
After the server obtains the plurality of first configuration files corresponding to the target application program, the server may read the compiling information unit from the plurality of first configuration files, respectively, to obtain a plurality of hotspot compiling units. Illustratively, the plurality of first configuration files acquired by the server include configuration file a, configuration file B and configuration file C. The configuration file a includes a hotspot compiling unit a1, a hotspot compiling unit a2 and a hotspot compiling unit a 3. Configuration file B includes hotspot compiling unit B1, hotspot compiling unit B2, hotspot compiling unit B3 and hotspot compiling unit B4. Configuration file C includes hotspot compiling unit C1, hotspot compiling unit C2 and hotspot compiling unit C3. In this case, the obtained multiple hotspot compiling units include a hotspot compiling unit a1, a hotspot compiling unit a2, a hotspot compiling unit a3, a hotspot compiling unit b1, a hotspot compiling unit b2, a hotspot compiling unit b3, a hotspot compiling unit b4, a hotspot compiling unit c1, a hotspot compiling unit c2 and a hotspot compiling unit c 3. In addition, fewer hotspot compiling units than this may also be included.
It should be noted that, in the embodiment of the present application, the obtained target hotspot compiling unit is a hotspot compiling unit belonging to a specified function module. In the embodiment of the present application, the server may determine the target hotspot compiling unit in various ways.
As a mode, the server may sequentially calculate probabilities that any two hotspot compiling units appear in the same configuration file in a plurality of hotspot compiling units obtained based on the plurality of first configuration files to obtain a plurality of calculation probabilities, and then convert the calculation probabilities into a probability model, so that the hotspot compiling units with higher probabilities appear together are used as a set to obtain a plurality of sets related to the hotspot compiling units. It should be noted that the hot spot compiling units with higher probability appearing together can represent the hot spot compiling units belonging to the same functional module, so that the hot spot compiling units of the same set represent the hot spot compiling units belonging to the same functional module in this case, and the functional module corresponding to each set is the designated functional module. Optionally, in the obtained multiple sets, only the sets with the number of hotspot compiling units greater than the specified number are reserved, and what each set represents is a functional module with a higher use frequency. Therefore, the hotspot compiling unit to which the functional module with higher video frequency belongs is obtained according to the joint probability of the hotspot compiling unit, so that the hotspot compiling unit to which the functional module with higher use frequency belongs can be compiled in a unified manner, and meanwhile, the hotspot compiling units belonging to the same functional module can be estimated based on the correlation between any two hotspot compiling units (in one mode, the greater the joint probability, the higher the correlation is than the specified correlation threshold, the same functional module is judged to belong to).
Alternatively, each function of the application program may correspond to a running interface, and the running interface may correspond to an interface identifier. In this case, when the electronic device generates a configuration file to which a certain application belongs, a function module frequency file may be generated accordingly. The function module frequency file is used for recording the use frequency of each function module of the application program. In this case, when the server acquires the plurality of first configuration files corresponding to the target application program, the server may also acquire the plurality of function module frequency files corresponding to the target application program at the same time, and then may calculate, according to the plurality of function module frequency files, which function modules in the target application program are function modules having a high use frequency as a whole, and further use the function modules having a high use frequency as the designated function modules, so that the target hotspot compiling unit belonging to the function module having a high use frequency may be acquired from the plurality of hotspot compiling units acquired based on the plurality of first configuration files.
Step S130: generating a second configuration file comprising the plurality of target hotspot compiling units.
Step S140: pre-compiling the plurality of target hotspot compiling units based on the second configuration file.
The application program pre-compiling method includes the steps of obtaining first configuration files corresponding to target application programs installed on a plurality of electronic devices respectively to obtain a plurality of first configuration files used for recording hot point compiling units of the target application programs installed on the electronic devices where the electronic devices are located respectively, obtaining a plurality of target hot point compiling units belonging to target function modules in the target application programs from the plurality of hot point compiling units included in the plurality of first configuration files, and generating second configuration files including the plurality of target hot point compiling units. Therefore, by the method, the hot spot compiling unit associated with the target function module in the target application program can be compiled before the target function module is operated before the target application program is operated, so that the operation efficiency of the target function module can be improved, and the efficiency of optimizing the operation efficiency of the target function module is also improved.
Referring to fig. 4, the application provides a method for pre-compiling an application, which is applied to a server, and the method includes:
step S210: the method comprises the steps of obtaining a plurality of first configuration files corresponding to a target application program, wherein the first configuration files are used for recording hot spot compiling units of the target application program installed in electronic equipment to which the first configuration files belong, and the hot spot compiling units are compiling units allowing to be compiled in advance before the target application program runs.
Step S220: and calculating joint probability between any two hotspot compiling units in the hotspot compiling units included in the first configuration files, wherein the joint probability represents the probability that any two hotspot compiling units appear in the same first configuration file.
As one way, the server may first obtain the number t of times that any two compiling units appear in the same profile file. And dividing the times t by N to obtain the joint probability of any two compiling units. Wherein N is the number of the hotspot compiling units included in the first configuration files.
Step S230: and calculating to obtain a plurality of target hotspot compiling units based on the joint probability, wherein the target hotspot compiling units comprise hotspot compiling units belonging to target function modules in the target application program.
As one way, as shown in fig. 5, the step of obtaining a plurality of target hotspot compiling units based on the joint probability calculation includes:
step S231: and generating a joint probability matrix based on a plurality of hotspot compiling units included in the plurality of first configuration files.
For example, referring to fig. 6, if the hot-spot compiling units included in the first configuration files include Unit _ a, Unit _ b, Unit _ c, Unit _ d, Unit _ e, Unit _ m, Unit _ o, Unit _ p, etc., the generated joint probability matrix may be as shown in fig. 6. And the region in which any two hotspot compiling units cross each other is the joint probability of the any two hotspot compiling units. For example, the intersection region 99 is the joint probability between Unit _ a and Unit _ p, and the intersection region 98 is the joint probability between Unit _ d and Unit _ p.
For example, in the probability matrix shown in fig. 6, each intersection region may correspond to a position coordinate, so that the server obtains the joint probability corresponding to each intersection region. Wherein, i can be used as the horizontal coordinate, and j can be used as the vertical coordinate. In this case, if the coordinates of any two compiling units are (i, j) and (j, i), the corresponding times n that the any two compiling units (i, j) appear in the same first configuration filei,jThen the server obtains the joint probability that the occurrence of any two compiling units can be obtained as
Figure BDA0002265774600000101
Step S232: and converting the joint probability matrix into a probability graph model, wherein each vertex in the probability graph model represents a hot spot compiling unit, and edges between adjacent hot spot compiling units represent joint probabilities of the adjacent hot spot compiling units appearing in the same configuration file together.
Referring to fig. 7, a probabilistic graphical model is illustratively shown in fig. 7. In this model, there are nodes a, b, c, d, e, m, o, and p. Each node guarantees one hot spot compiling Unit, for example, node a represents hot spot compiling Unit _ a, node b represents hot spot compiling Unit _ b, node c represents hot spot compiling Unit _ c, node d represents hot spot compiling Unit _ d, node e represents hot spot compiling Unit _ e, node m represents hot spot compiling Unit _ m, node p represents hot spot compiling Unit _ p, and node o represents hot spot compiling Unit _ o.
Step S233: and performing complete sub-graph query on the probability graph model to obtain a plurality of complete sub-graphs, wherein the node of each complete sub-graph represents a hot spot compiling unit in the same functional module belonging to the target application program, and the functional modules corresponding to the complete sub-graphs are target functional modules.
Optionally, the step of obtaining a plurality of complete subgraphs by performing complete subgraph query on the probability graph model includes: performing complete subgraph query, and acquiring a maximum complete subgraph from the probability graph model corresponding to the current searching process, wherein the probability graph model corresponding to the first searching process is the probability graph model obtained by the joint probability matrix conversion; and removing the maximum complete subgraph from the corresponding probability graph model in the current searching process to obtain the corresponding probability graph model in the next searching process so as to obtain a plurality of complete subgraphs.
In this manner, the performing the full sub-graph query further comprises: removing the edge of the probability graph model obtained by the joint probability matrix conversion, wherein the represented joint probability is smaller than a target probability threshold value, and obtaining a probability graph model to be inquired; and the probability graph model corresponding to the first search process is the probability graph model to be inquired. Optionally, the value range of the target probability threshold is 0.1 to 0.9.
For example, based on the probability map model shown in fig. 7, a complete sub-map U1 ═ { a, b, d, n }, a complete sub-map U2 ═ { b, m }, and a complete sub-map U3 ═ { p, e }, can be obtained through query.
Step S234: and taking the hot spot compiling units represented by all the nodes of the complete subgraphs as target hot spot compiling units to obtain a plurality of target hot spot compiling units.
Based on the determined complete subgraph, the obtained target hotspot compiling units comprise Unit _ a, Unit _ b, Unit _ c, Unit _ d, Unit _ e, Unit _ m and Unit _ p.
Optionally, the step of obtaining a plurality of target hotspot compiling units by using the hotspot compiling units characterized by all nodes of the complete subgraphs as target hotspot compiling units includes: acquiring a target complete subgraph from the multiple complete subgraphs, wherein the target complete subgraph is a complete subgraph which comprises nodes with the number not less than the number of target nodes; and taking the hot spot compiling units represented by all the nodes of the target complete subgraph as target hot spot compiling units to obtain a plurality of target hot spot compiling units.
It should be noted that the number of target nodes may be any value within an interval of 1 to 100.
Step S240: generating a second configuration file comprising the plurality of target hotspot compiling units.
Step S250: pre-compiling the plurality of target hotspot compiling units based on the second configuration file.
The application program pre-compiling method includes the steps of obtaining first configuration files corresponding to target application programs installed on a plurality of electronic devices respectively to obtain a plurality of first configuration files used for recording hot point compiling units of the target application programs installed on the electronic devices where the electronic devices are located respectively, obtaining a plurality of target hot point compiling units belonging to target function modules in the target application programs from the plurality of hot point compiling units included in the plurality of first configuration files, and generating second configuration files including the plurality of target hot point compiling units. Therefore, by the method, the hot spot compiling unit associated with the target function module in the target application program can be compiled before the target function module is operated before the target application program is operated, so that the operation efficiency of the target function module can be improved, and the efficiency of optimizing the operation efficiency of the target function module is also improved.
In addition, in the embodiment of the present application, joint probabilities between any two hotspot compiling units in the hotspot compiling units included in the first configuration files are calculated, the joint probability matrix is converted into a probability graph model, and then a plurality of complete subgraphs are obtained by querying the probability graph model to obtain a plurality of complete subgraphs, so as to obtain a plurality of target hotspot compiling units to which a plurality of specified function modules belong, thereby obtaining a plurality of target hotspot compiling units, so as to obtain target hotspot compiling units belonging to the same function module by means of probability estimation.
Referring to fig. 8, the application provides a method for pre-compiling an application, applied to a server, the method includes:
step S310: the method comprises the steps of obtaining the installation rate of a plurality of application programs to be selected, wherein the installation rate is the ratio of the number of the electronic devices provided with the application programs to be selected to the number of all the electronic devices.
For example, there are 100 electronic devices that upload application installation information to the server (then the electronic devices that upload application installation information are all electronic devices), and among 90 electronic devices, there is an application a, then the applications a installed in the 90 electronic devices each have a configuration file (i.e. it can be understood that there are 90 configuration files), and then the installation rate is 90/100 ═ 0.9.
Step S320: and acquiring a storage space occupation parameter of the configuration file of each application program to be selected, wherein the storage space occupation parameter is the number of the application programs to be selected, and the storage space occupied by the corresponding configuration file is larger than the specified storage space occupation value in the electronic equipment provided with the application programs to be selected.
Step S330: and taking the application program to be selected, of which the corresponding installation rate and the storage space occupation parameter meet the specified conditions, as the target application program.
Step S340: the method comprises the steps of obtaining a plurality of first configuration files corresponding to a target application program, wherein the first configuration files are used for recording hot spot compiling units of the target application program installed in electronic equipment to which the first configuration files belong, and the hot spot compiling units are compiling units allowing to be compiled in advance before the target application program runs.
Step S350: and acquiring a plurality of target hotspot compiling units based on the plurality of hotspot compiling units recorded by the first configuration files, wherein the target hotspot compiling units comprise hotspot compiling units belonging to target function modules in the target application program.
Step S360: and generating a second configuration file comprising the target hotspot compiling units, so that the target hotspot compiling units are compiled in advance before the target function module runs.
Step S370: and sending the second configuration file to the electronic equipment provided with the target application program.
The application program pre-compiling method includes the steps of obtaining first configuration files corresponding to target application programs installed on a plurality of electronic devices respectively to obtain a plurality of first configuration files used for recording hot point compiling units of the target application programs installed on the electronic devices where the electronic devices are located respectively, obtaining a plurality of target hot point compiling units belonging to target function modules in the target application programs from the plurality of hot point compiling units included in the plurality of first configuration files, and generating second configuration files including the plurality of target hot point compiling units. Therefore, by the method, the hot spot compiling unit associated with the target function module in the target application program can be compiled before the target function module is operated before the target application program is operated, so that the operation efficiency of the target function module can be improved, and the efficiency of optimizing the operation efficiency of the target function module is also improved.
In addition, in this embodiment, the determination of which application programs can be used as the target application program can be performed according to the installation rate of the application programs and the size of the configuration file corresponding to the application programs, so that the reliability of the confirmation of the target application program is improved.
Referring to fig. 9, a method for pre-compiling an application program provided by the present application is applied to an electronic device, and the method includes:
step S410: a second configuration file is obtained, which is generated for the server based on the manner provided by the foregoing embodiment.
Illustratively, the electronic device may be a smartphone or a tablet computer.
Furthermore, the electronic device may obtain the second configuration file in a plurality of ways. As a mode, the electronic device may obtain the second configuration file by downloading the installation package of the target application program at the same time, and then may obtain the second configuration file in the process of locally installing the target application program. Alternatively, the second configuration file may be obtained when an updated configuration file pushed by the server is periodically received after the target application is installed.
Step S420: and when the electronic equipment is detected to meet the specified conditions, running the second configuration file to compile the hotspot compiling unit in the second configuration file.
The specified condition may have specific content according to a different manner of acquiring the second configuration file by the electronic device.
Optionally, if the electronic device downloads the installation package of the target application program and the second configuration file is obtained through downloading at the same time, the corresponding specified condition is that the electronic device is detected to install the installation package of the target application program.
Optionally, if the electronic device is in a state where the updated configuration file pushed by the server is received periodically, the specified condition may be that the electronic device is in a state where the user has a low probability of using the electronic device, such as when the electronic device is in a charging state or a screen-off state, so as to avoid occupation of processing resources of the electronic device caused by an operation process of the second configuration file during use of the electronic device by the user.
According to the application program pre-compiling method, the electronic equipment provided with the target application program can compile the target hotspot compiling units in advance before the target application program runs by taking the functional module as a reference after receiving the second configuration file, so that the running efficiency of the target functional module can be optimized more quickly.
It should be noted that, in the embodiment of the present application, the number of the plurality of first profiles and the number of the plurality of thermal convenience units obtained from the plurality of first profiles may be determined according to actual situations, and the numbers in the above embodiments are only exemplary. In addition, the various thresholds or threshold values in the foregoing embodiments are also exemplary, and may be changed according to actual needs.
Referring to fig. 10, an apparatus 500 for application precompilation provided in the present application, the apparatus 500 includes:
a file obtaining unit 510, configured to obtain a plurality of first configuration files corresponding to a target application, where the plurality of first configuration files are used to record a hot spot compiling unit of the target application installed in an electronic device to which the first configuration file belongs, and the hot spot compiling unit is a compiling unit that allows to perform compiling in advance before the target application runs;
a compiling unit processing unit 520, configured to obtain multiple target hotspot compiling units based on the multiple hotspot compiling units recorded by the multiple first configuration files, where the multiple target hotspot compiling units include hotspot compiling units belonging to target function modules in the target application program;
a file generating unit 530, configured to generate a second configuration file including the target hotspot compiling units, so as to compile the target hotspot compiling units in advance before the target function module runs.
A pre-compiling unit 531, configured to pre-compile the target hotspot compiling units based on the second configuration file.
As a mode, the compiling unit processing unit 520 is specifically configured to calculate a joint probability between any two hotspot compiling units in a plurality of hotspot compiling units included in the plurality of first configuration files, where the joint probability represents a probability that the any two hotspot compiling units appear in the same first configuration file; and calculating to obtain a plurality of target hotspot compiling units based on the joint probability.
Optionally, the compiling unit processing unit 520 is specifically configured to generate a joint probability matrix based on a plurality of hotspot compiling units included in the plurality of first configuration files; converting the joint probability matrix into a probability graph model, wherein each vertex in the probability graph model represents a hotspot compiling unit, and edges between adjacent hotspot compiling units represent joint probabilities that the adjacent hotspot compiling units commonly appear in the same configuration file; obtaining a plurality of complete subgraphs by carrying out complete subgraph query on the probability graph model, wherein the node of each complete subgraph represents a hot spot compiling unit in the same functional module belonging to the target application program, and the functional modules corresponding to the complete subgraphs are target functional modules; and taking the hot spot compiling units represented by all the nodes of the complete subgraphs as target hot spot compiling units to obtain a plurality of target hot spot compiling units.
A compiling unit processing unit 520, configured to perform complete sub-graph query, and obtain a maximum complete sub-graph from the probability graph models corresponding to the current searching process, where the probability graph model corresponding to the first searching process is a probability graph model obtained by the joint probability matrix transformation; and removing the maximum complete subgraph from the corresponding probability graph model in the current searching process to obtain the corresponding probability graph model in the next searching process so as to obtain a plurality of complete subgraphs.
As one mode, as shown in fig. 11, the apparatus 500 further includes: and the model optimization unit 540 is configured to remove an edge, of which the represented joint probability is smaller than a target probability threshold, from the probability map model obtained through the joint probability matrix conversion to obtain a probability map model to be queried. In this way, the probability map model corresponding to the first search process is the probability map model to be queried.
As one mode, the compiling unit processing unit 520 is specifically configured to obtain a target complete subgraph from the multiple complete subgraphs, where the target complete subgraph is a complete subgraph including nodes whose number is not less than the number of target nodes; and taking the hot spot compiling units represented by all the nodes of the target complete subgraph as target hot spot compiling units to obtain a plurality of target hot spot compiling units.
As shown in fig. 12, the apparatus 500 further includes:
a target application program determining unit 550, configured to obtain an installation rate of a plurality of applications to be selected, where the installation rate is a ratio of the number of electronic devices in which the applications to be selected are installed to the number of all electronic devices; acquiring a storage space occupation parameter of a configuration file of each application program to be selected, wherein the storage space occupation parameter is the number of the application programs to be selected, which are installed in the electronic equipment with the application programs to be selected, and the storage space occupied by the corresponding configuration file is larger than the specified storage space occupation value; and taking the application program to be selected, of which the corresponding installation rate and the storage space occupation parameter meet the specified conditions, as the target application program.
And a file distribution unit 560, configured to send the second configuration file to the electronic device installed with the target application program.
It should be noted that, in the present application, it is a prior art that can be specifically applied to how to encode audio data according to the audio encoding type, and the present application will not be described in detail.
An electronic device provided by the present application will be described below with reference to fig. 13.
Referring to fig. 13, based on the image processing method and apparatus, another electronic device 200 capable of executing the method for pre-compiling an application program is further provided in the embodiment of the present application. The electronic device 200 includes one or more processors 102 (only one shown), memory 104, and network module 106 coupled to each other. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
Processor 102 may include one or more processing cores, among other things. The processor 102 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104 and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 102 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 102, but may be implemented by a communication chip.
The Memory 104 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The network module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as a wireless access point. The network module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The network module 106 may also be used as a network adapter for the electronic device 200 to access the network directly through a line connection. The network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network.
Referring to fig. 14, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
According to the application program pre-compiling method and device, the electronic equipment and the server, first configuration files corresponding to target application programs installed on the electronic equipment are obtained, so that a plurality of first configuration files used for recording hot point compiling units of the target application programs installed on the electronic equipment are obtained, a plurality of target hot point compiling units belonging to target function modules in the target application programs are obtained from the plurality of hot point compiling units included in the plurality of first configuration files, and second configuration files including the plurality of target hot point compiling units are generated. Therefore, by the method, the hot spot compiling unit associated with the target function module in the target application program can be compiled before the target function module is operated before the target application program is operated, so that the operation efficiency of the target function module can be improved, and the efficiency of optimizing the operation efficiency of the target function module is also improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. A method for application precompilation, the method comprising:
acquiring a plurality of first configuration files corresponding to a target application program, wherein the first configuration files are used for recording a hot spot compiling unit of the target application program;
acquiring a plurality of target hotspot compiling units based on a plurality of hotspot compiling units recorded by the first configuration files, wherein the target hotspot compiling units comprise hotspot compiling units associated with target function modules in the target application program;
generating a second configuration file comprising the plurality of target hotspot compiling units;
pre-compiling the plurality of target hotspot compiling units based on the second configuration file.
2. The method of claim 1, wherein the step of obtaining a plurality of target hotspot compiling units based on a plurality of hotspot compiling units recorded by a plurality of first configuration files comprises:
calculating joint probability between any two hotspot compiling units in a plurality of hotspot compiling units included in the first configuration files, wherein the joint probability represents the probability that any two hotspot compiling units appear in the same first configuration file;
and calculating to obtain a plurality of target hotspot compiling units based on the joint probability.
3. The method of claim 2, wherein the step of obtaining a plurality of target hotspot compiling units based on the joint probability calculation comprises:
generating a joint probability matrix based on a plurality of hotspot compiling units included in the plurality of first configuration files;
converting the joint probability matrix into a probability graph model, wherein each vertex in the probability graph model represents a hotspot compiling unit, and edges between adjacent hotspot compiling units represent joint probabilities that the adjacent hotspot compiling units commonly appear in the same configuration file;
obtaining a plurality of complete subgraphs by carrying out complete subgraph query on the probability graph model, wherein the node of each complete subgraph represents a hot spot compiling unit in the same functional module belonging to the target application program, and the functional modules corresponding to the complete subgraphs are target functional modules;
and taking the hot spot compiling units represented by all the nodes of the complete subgraphs as target hot spot compiling units to obtain a plurality of target hot spot compiling units.
4. The method of claim 3, wherein the step of obtaining a plurality of complete subgraphs by performing a complete subgraph query on the probabilistic graph model comprises:
performing complete subgraph query, and acquiring a maximum complete subgraph from the probability graph model corresponding to the current searching process, wherein the probability graph model corresponding to the first searching process is the probability graph model obtained by the joint probability matrix conversion;
and removing the maximum complete subgraph from the corresponding probability graph model in the current searching process to obtain the corresponding probability graph model in the next searching process so as to obtain a plurality of complete subgraphs.
5. The method of claim 4, wherein prior to performing the full sub-graph query, further comprising:
removing the edge of the probability graph model obtained by the joint probability matrix conversion, wherein the represented joint probability is smaller than a target probability threshold value, and obtaining a probability graph model to be inquired;
and the probability graph model corresponding to the first search process is the probability graph model to be inquired.
6. The method according to any one of claims 3 to 5, wherein the step of obtaining a plurality of target hotspot compiling units by using the hotspot compiling units characterized by all nodes of the plurality of complete subgraphs as target hotspot compiling units comprises:
acquiring a target complete subgraph from the multiple complete subgraphs, wherein the target complete subgraph is a complete subgraph which comprises nodes with the number not less than the number of target nodes;
and taking the hot spot compiling units represented by all the nodes of the target complete subgraph as target hot spot compiling units to obtain a plurality of target hot spot compiling units.
7. The method of claim 1, further comprising:
acquiring the installation rate of a plurality of application programs to be selected, wherein the installation rate is the ratio of the number of electronic equipment provided with the application programs to be selected to the number of all electronic equipment;
acquiring a storage space occupation parameter of a configuration file of each application program to be selected, wherein the storage space occupation parameter is the number of the application programs to be selected, which are installed in the electronic equipment with the application programs to be selected, and the storage space occupied by the corresponding configuration file is larger than the specified storage space occupation value;
and taking the application program to be selected, of which the corresponding installation rate and the storage space occupation parameter meet the specified conditions, as the target application program.
8. The method of claim 1, wherein the step of generating a second configuration file comprising the plurality of target hotspot compiling units is followed by further comprising:
and sending the second configuration file to the electronic equipment provided with the target application program.
9. A method for pre-compiling an application program, which is applied to an electronic device, the method comprising:
obtaining a second configuration file, wherein the second configuration file is generated by a server based on the mode of any one of claims 1-8;
and when the electronic equipment is detected to meet the specified conditions, running the second configuration file to compile the hotspot compiling unit in the second configuration file.
10. An apparatus for application precompilation, the apparatus comprising:
the file obtaining unit is used for obtaining a plurality of first configuration files corresponding to a target application program, the first configuration files are used for recording hot point compiling units of the target application program installed in electronic equipment to which the first configuration files belong, and the hot point compiling units are compiling units allowing to be compiled in advance before the target application program runs;
a compiling unit processing unit, configured to obtain a plurality of target hotspot compiling units based on the plurality of hotspot compiling units recorded by the plurality of first configuration files, where the plurality of target hotspot compiling units include hotspot compiling units belonging to target function modules in the target application program;
the file generating unit is used for generating a second configuration file comprising the target hotspot compiling units;
and the pre-compiling unit is used for pre-compiling the target hotspot compiling units based on the second configuration file.
11. An apparatus for application precompilation, operable on an electronic device, the apparatus comprising:
a file obtaining unit, configured to obtain a second configuration file, where the second configuration file is processed by the apparatus according to claim 10 and is running in a server;
and the file processing unit is used for running the second configuration file when detecting that the electronic equipment meets the specified conditions so as to compile the hotspot compiling unit in the second configuration file.
12. An electronic device comprising one or more processors, a video codec, and a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-8 or the method of claim 9.
13. A computer-readable storage medium, in which a program code is stored, wherein the method of any of claims 1-8 or the method of claim 9 is performed when the program code is run.
CN201911087183.4A 2019-11-08 2019-11-08 Application program pre-compiling method and device, electronic equipment and server Pending CN112783499A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911087183.4A CN112783499A (en) 2019-11-08 2019-11-08 Application program pre-compiling method and device, electronic equipment and server
PCT/CN2020/121552 WO2021088624A1 (en) 2019-11-08 2020-10-16 Application program pre-compiling method and apparatus, electronic device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911087183.4A CN112783499A (en) 2019-11-08 2019-11-08 Application program pre-compiling method and device, electronic equipment and server

Publications (1)

Publication Number Publication Date
CN112783499A true CN112783499A (en) 2021-05-11

Family

ID=75748377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911087183.4A Pending CN112783499A (en) 2019-11-08 2019-11-08 Application program pre-compiling method and device, electronic equipment and server

Country Status (2)

Country Link
CN (1) CN112783499A (en)
WO (1) WO2021088624A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008112174A1 (en) * 2007-03-09 2008-09-18 Objective Interface Systems, Inc. Optimized code generation through elimination of unused virtual functions
US10324741B2 (en) * 2014-08-30 2019-06-18 Oracle International Corporation Speeding up dynamic language execution on a virtual machine with type speculation
CN106897080B (en) * 2015-12-18 2020-05-01 北京国双科技有限公司 Processing method and device of dynamic link library
CN106775893B (en) * 2016-12-30 2020-03-17 北京小米移动软件有限公司 Method and device for pre-compiling program
CN109960507B (en) * 2017-12-14 2021-06-08 Oppo广东移动通信有限公司 Compiling optimization method and device, storage medium, intelligent terminal and server

Also Published As

Publication number Publication date
WO2021088624A1 (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN110378413A (en) Neural network model processing method, device and electronic equipment
WO2021057619A1 (en) Memory reclamation method and apparatus, electronic device, and storage medium
CN106453572B (en) Method and system based on Cloud Server synchronous images
CN111061483B (en) Compiling optimization method and device and electronic equipment
CN103345516A (en) Application program searching method based on application program icons and system
WO2021057622A1 (en) Garbage collection method, device, electronic apparatus, and storage medium
CN105468707A (en) Cache-based data processing method and device
US20160026728A1 (en) Interaction Method And Device Between Browsers And Browser
CN111050378A (en) Network searching method and device and electronic equipment
CN112653989A (en) Broadband user positioning method, device, electronic equipment and storage medium
CN105187562A (en) System and method for operating remote file
CN110599581A (en) Image model data processing method and device and electronic equipment
CN111813529B (en) Data processing method, device, electronic equipment and storage medium
CN112487223A (en) Image processing method and device and electronic equipment
CN112540769A (en) Compiling processing method, device, electronic equipment and storage medium
CN112783499A (en) Application program pre-compiling method and device, electronic equipment and server
WO2021129489A1 (en) Application precompiling method and apparatus, electronic device, and storage medium
CN112783500B (en) Method and device for generating compiling optimization information and electronic equipment
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
WO2021115178A1 (en) Application program pre-compilation method and apparatus, server and storage medium
WO2021102849A1 (en) Resource acquisition method and apparatus, and electronic device
CN113032035B (en) Configuration file processing method and device and electronic equipment
CN117573397B (en) Memory optimization method, system and storage medium
CN115643257A (en) Data processing method, system and related device
CN113115301A (en) Determination method, device and readable storage medium

Legal Events

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