CN113032035B - Configuration file processing method and device and electronic equipment - Google Patents

Configuration file processing method and device and electronic equipment Download PDF

Info

Publication number
CN113032035B
CN113032035B CN201911350878.7A CN201911350878A CN113032035B CN 113032035 B CN113032035 B CN 113032035B CN 201911350878 A CN201911350878 A CN 201911350878A CN 113032035 B CN113032035 B CN 113032035B
Authority
CN
China
Prior art keywords
configuration file
application program
electronic device
compiling
target application
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.)
Active
Application number
CN201911350878.7A
Other languages
Chinese (zh)
Other versions
CN113032035A (en
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 CN201911350878.7A priority Critical patent/CN113032035B/en
Priority to PCT/CN2020/133618 priority patent/WO2021129339A1/en
Publication of CN113032035A publication Critical patent/CN113032035A/en
Application granted granted Critical
Publication of CN113032035B publication Critical patent/CN113032035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • 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
    • 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

Landscapes

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

Abstract

The embodiment of the application discloses a configuration file processing method and device and electronic equipment. The method comprises the following steps: acquiring a first configuration file which is locally stored and corresponds to the target application program, wherein the first configuration file stores a hot spot compiling unit generated in the running process of the target application program in the first electronic equipment; acquiring a second configuration file corresponding to a target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment; and pre-compiling the hotspot compiling units in the first configuration file and the second configuration file. The method enables the target application program to have the operation efficiency in the operation process of the second electronic equipment in the operation process of the first electronic equipment.

Description

Configuration file processing method and device and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a configuration file, and an electronic device.
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, after the user replaces the electronic device, the operation efficiency of the replaced electronic device is improved after the replaced electronic device is used for a long time.
Disclosure of Invention
In view of the foregoing problems, the present application provides a method and an apparatus for processing a configuration file, and an electronic device, so as to improve the foregoing problems.
In a first aspect, the present application provides a method for processing a configuration file, which is applied to a first electronic device, and includes: acquiring a first configuration file which is locally stored and corresponds to the target application program, wherein the first configuration file stores a hot spot compiling unit generated in the running process of the target application program in the first electronic equipment; acquiring a second configuration file corresponding to a target application program, wherein the second configuration file stores a hot spot compiling unit corresponding to the target application program installed in second electronic equipment; and pre-compiling the hotspot compiling units in the first configuration file and the second configuration file.
In a second aspect, the present application provides a method for processing a configuration file, which is applied to a second electronic device, and includes: responding to a file sending instruction, sending a second configuration file of a target application program to first electronic equipment, so that the second electronic equipment can perform pre-compiling on the hotspot compiling unit in the second configuration file; and if the information that the second configuration file is sent is received, sending the installation file of the target application program to the first electronic equipment.
In a third aspect, the present application provides a configuration file processing apparatus, operating on a first electronic device, the apparatus including: the data acquisition unit is used for acquiring a first configuration file which is locally stored and corresponds to the target application program, and the first configuration file stores a hot spot compiling unit which is generated in the running process of the target application program in the first electronic equipment; acquiring a second configuration file corresponding to a target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment; and the processing unit is used for performing pre-compiling on the hot spot compiling unit in the first configuration file and the second configuration file.
In a fourth aspect, the present application provides a configuration file processing apparatus, operating on a second electronic device, including: the configuration file sending unit is used for responding to a file sending instruction, sending a second configuration file of a target application program to the first electronic equipment, and using the second electronic equipment to pre-compile the hotspot compiling unit in the second configuration file; and the installation file sending unit is used for sending the installation file of the target application program to the first electronic equipment after receiving the information that the second configuration file is sent.
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 configuration file processing method, the configuration file processing device and the electronic equipment, in the method, the first electronic equipment obtains a first configuration file which is locally stored and corresponds to the target application program, obtains a second configuration file which is stored with a hot spot compiling unit which is installed by the second electronic equipment and corresponds to the target application program, and conducts pre-compiling on the hot spot compiling unit in the first configuration file and the second configuration file, so that the target application program has operation efficiency in the operation process of the second electronic equipment in the operation process of the first electronic equipment.
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 configuration file processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an operating environment of another configuration file processing method proposed in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an operating environment of another configuration file processing method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for processing a configuration file according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an application relocation scenario in a configuration file processing method according to an embodiment of the present application;
FIG. 6 is a flow chart illustrating a method for profile processing according to another embodiment of the present application;
FIG. 7 is a flow chart illustrating a method for profile handling according to yet another embodiment of the present application;
FIG. 8 is a flow chart illustrating a method for profile processing according to yet another embodiment of the present application;
FIG. 9 is a flow chart illustrating a method for profile processing according to yet another embodiment of the present application;
fig. 10 is a block diagram showing a configuration file processing apparatus according to the present application;
fig. 11 is a block diagram showing the structure of another profile processing apparatus proposed in the present application;
fig. 12 is a block diagram showing a configuration of still another profile processing apparatus proposed in the present application;
fig. 13 is a block diagram showing a configuration of still another profile processing apparatus proposed in the present application;
fig. 14 shows a block diagram of an electronic device for executing the configuration file processing method according to the embodiment of the present application.
Fig. 15 is a storage unit for storing or carrying program codes for implementing a configuration file 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 manner, in some cases, the system Of the electronic device may scan the profile file and perform an AOT (Ahead Of Time) process for compilation.
However, the inventor researches the manner to find that, after the electronic device used by the current user is used for a period of time, because the hotspot compiling units of the accumulated points of the application program are enough and all the hotspot compiling units can perform pre-compiling, the running efficiency can be better in the running process of the application program. However, after the user replaces the electronic device (the electronic device currently used by the user can be regarded as an old electronic device), the operation efficiency of the replaced electronic device is greatly reduced for the same application program.
In further research on the operating efficiency, the inventor finds that, after the electronic device is replaced, the user may migrate the application program in the old electronic device to the replaced electronic device using the migration function in the electronic device, and in this process, the migration function may not perform migration of the file (e.g., oat file) including the compiled hotspot compiling unit, thereby greatly reducing the operating efficiency. Even under the condition that files of the hot spot compiling unit which can be compiled are migrated, the operation efficiency still can be greatly reduced, and the reason is that hardware environments of different electronic devices may be different, so that even if the files compiled by the hot spot compiling unit in the old electronic device are directly migrated to the replaced electronic device, the replaced electronic device cannot directly use the files compiled by the hot spot compiling unit in the old electronic device due to the problem that the hardware is not adaptive, and the operation efficiency is greatly reduced.
Therefore, the configuration file processing method, the configuration file processing device and the electronic device are provided, so that the first electronic device obtains a second configuration file storing a hot spot compiling unit corresponding to the target application installed in the second electronic device, and performs pre-compiling on the hot spot compiling unit in the second configuration file, so that the target application has the operation efficiency in the operation process of the second electronic device in the operation process of the first electronic device.
A scenario related to the embodiment of the present application is 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 manner, 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 plurality of hot spot compiling units included in the configuration files 120, generate the configuration file 210, and return the configuration file 210 to the electronic devices 100, respectively. It can be understood that the hotspot compiling unit in the generated configuration file 210 may be a hotspot compiling unit after deduplication of the plurality of configuration files 120, may also be a hotspot compiling unit in which compiling times of all hotspot compiling units in the plurality of configuration files 120 exceed a threshold, and may also be a hotspot compiling unit corresponding to the specified function module.
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 the electronic device 130 may run the configuration file 210 when installing the target application, so as to perform pre-compilation on the hotspot compiling unit included in the configuration file 210.
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. For example, as shown in fig. 3, in the case shown in fig. 3, the server 200 is only used for executing the aforementioned collection of the configuration files uploaded by the plurality of electronic devices 100, then the collected configuration files are sent to the server 201 again, then the server 201 executes the extraction of the plurality of hotspot compiling units included in the plurality of configuration files 120 to obtain the configuration file 210, and then the configuration file 210 is returned to the plurality of electronic devices 100 respectively. Further, the server 201 may also transmit the generated configuration file 210 to the server 200, and the server 200 may further forward the configuration file to a plurality of electronic devices 100 (not shown in the figure). It should be noted that the application distribution platform may be directly run in the server 201, and in this case, the server 201 may directly send the configuration file 210 in the program installation package 230 to the electronic device 130 that has not installed the target application program. If the application distribution platform operates independently, the server 201 may send the configuration file 210 to the application distribution platform, so that the application distribution platform sends the configuration file 210 in the program installation package 230 to the electronic device 130 that has not installed the target application program.
Further, the second configuration file mentioned in the subsequent embodiment may be the 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. 4, a method for processing a configuration file provided in the present application is applied to a first electronic device, and the method includes:
step S110: and acquiring a first configuration file which is locally stored and corresponds to the target application program, wherein the first configuration file stores a hot spot compiling unit generated in the running process of the target application program in the first electronic equipment.
Step S120: and acquiring a second configuration file corresponding to the target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment.
As one way, the first electronic device may obtain the second configuration file corresponding to the target application program after entering the specified scene. Optionally, the first electronic device may obtain the second configuration file corresponding to the target application program when entering the application program migration scenario. In this scenario, the target application is an application that determines a migration from the second electronic device to the first electronic device. For example, as shown in fig. 5, in the operation interface 99 shown in fig. 5, applications that can perform program migration operation and controls corresponding to each application are displayed. When the electronic equipment detects that the control is touched, the application program corresponding to the touched control is used as a target application program, and then a second configuration file corresponding to the target application program is obtained. For example, if the electronic device detects that the control 98 is touched, the application program C corresponding to the control 98 may be used as the target application program.
In this embodiment of the application, the first electronic device may acquire the second configuration file corresponding to the target application program in multiple ways.
As one mode, the first electronic device may acquire, from the backup server, a second configuration file that is uploaded in advance by the second electronic device. In this way, optionally, the user may operate the second electronic device to upload the installation files and the second configuration files of the respective applications to the backup server. In addition, the second electronic device may be triggered to upload the installation files and the second configuration files of the respective applications of the applications to the backup server in the first electronic device. In this manner, a data upload component is configured in the first electronic device. After the second configuration file corresponding to the target application program is triggered to be acquired in the first electronic device, the first electronic device may send a request for acquiring data of the target application program to the backup server, and after the request is acquired, the backup server may send a data uploading instruction to the data uploading component in the second electronic device, so that the second electronic device uploads the installation file and the second configuration file of the target application program to the backup server, and the backup server forwards the installation file and the second configuration file to the first electronic device, so that the first electronic device acquires the second configuration file corresponding to the target application program.
It should be noted that, the first electronic device may obtain which applications may be migrated from the second electronic device to the local in a manner of account binding.
As a manner, the first electronic device is bound with a first account of a user, and after the first electronic device touches and enters an application program migration scenario, a migration request may be sent to the backup server, and the backup server may generate a temporary second account based on the first account in response to the migration request, and return the second account to the first electronic device to be displayed to the user. After the user acquires the second account, the user may bind the second account to the old electronic device, and the backup server may use the electronic device bound with the second account as the second electronic device. After the second account is bound, the second electronic device may upload the identifier of the locally installed application program to the backup server by using the second account as the association information. And the backup server may forward the obtained identification of the application to the first electronic device so that the first electronic device may display the identification of the application in the application migration scenario (for example, the identification of the application shown in fig. 5 may be the identification of the application uploaded by the second electronic device). In this case, after receiving the request of the target application data sent by the first electronic device bound to the first account, the backup server sends a data upload instruction to the data upload component of the second electronic device bound to the second account.
Furthermore, the first electronic device and the second electronic device may be electronic devices in the same local area network. In this case, after entering the application migration scenario, the first electronic device may scan other electronic devices in the same local area network, and use an electronic device selected by the user from the other electronic devices as the second electronic device.
Step S130: and pre-compiling the hotspot compiling units in the first configuration file and the second configuration file.
It is understood that the second configuration file may be a file in a dex format, and in this embodiment, pre-compiling the hotspot compiling unit in the second configuration file may be understood as converting the file in the dex format into a file in an oat or odex format.
According to the configuration file processing method, the first electronic device obtains the second configuration file which stores the hot spot compiling unit corresponding to the target application program installed by the second electronic device, and pre-compiles the hot spot compiling unit in the second configuration file, so that the target application program has the operation efficiency in the operation process of the second electronic device in the operation process of the first electronic device.
Referring to fig. 6, a method for processing a configuration file provided in the present application is applied to a first electronic device, and the method includes:
step S210: and acquiring a first configuration file which is locally stored and corresponds to the target application program, wherein the first configuration file stores a hot spot compiling unit generated in the running process of the target application program in the first electronic equipment.
Step S220: and acquiring a second configuration file corresponding to the target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment.
As one way, the transfer file storage area is monitored; if the situation that the configuration file is written is monitored, acquiring the file name of the written configuration file; and if the file name is matched with the target application program, taking the file as a second configuration file corresponding to the target application program. For example, the first electronic device may monitor the transfer file storage area based on instantiating a FileObserver class.
Step S230: and merging the hot spot compiling unit of the second configuration file with the hot spot compiling unit in the first configuration file to obtain a merged hot spot compiling unit.
As a mode, a storage area of the first configuration file is different from a storage area of the transfer file, and the step of merging the hotspot compiling unit of the second configuration file with the hotspot compiling unit in the first configuration file to obtain a merged hotspot compiling unit includes: writing the hotspot compiling unit in the second configuration file into the first configuration file to obtain a merged first configuration file, wherein the merged hotspot compiling unit is stored in the first configuration file; the pre-compiling the merged hotspot compiling unit comprises the following steps: and running the merged first configuration file to perform pre-compiling on the merged hotspot compiling unit.
Step S240: and pre-compiling the merged hotspot compiling unit.
According to the configuration file processing method, the first electronic device obtains a second configuration file which stores a hotspot compiling unit corresponding to the target application program installed by the second electronic device, and conducts a pre-compiling mode on the hotspot compiling unit in the second configuration file, so that the target application program has operation efficiency in the operation process of the second electronic device in the operation process of the first electronic device. In addition, in the embodiment of the application, after the first electronic device acquires the second configuration file corresponding to the target application program in the second electronic device, the hotspot compiling unit in the second configuration file may be merged with the hotspot compiling unit in the first configuration file generated in the running process of the local target application program, and then the merged hotspot compiling unit is pre-compiled, so that the running efficiency of the target application program in the first electronic device may be improved to a greater extent.
Referring to fig. 7, a method for processing a configuration file provided in the present application is applied to a first electronic device, and the method includes:
step S310: responding to the operation of migrating the target application program from the second electronic equipment to the first electronic equipment, and acquiring a second configuration file corresponding to the target application program, wherein the second configuration file stores a hot spot compiling unit corresponding to the target application program installed on the second electronic equipment.
Step S320: and acquiring the installation file of the target application program from the second electronic equipment.
Step S330: and in the process of operating the installation file, pre-compiling the hotspot compiling unit in the second configuration file.
It should be noted that, in the process of precompiling the hotspot compiling unit in the second configuration file, the characteristics of the hardware environment of the second configuration file are also involved. Therefore, the oat or odex format files compiled in the electronic device having different hardware environments are different even though the same second configuration file is used.
Then as a way, after the step of triggering the operation of migrating the target application from the second electronic device to the first electronic device, it may further include: detecting whether the hardware environments of the second electronic device and the first electronic device are matched; and if not, executing the second configuration file corresponding to the acquired target application program. If the configuration files are matched with the first configuration files, acquiring compiled files obtained after the hotspot compiling unit in the second configuration files is compiled from the second electronic equipment; and storing the compiled file to a specified path for directly running the codes in the compiled file in the running of the target application program. Therefore, by detecting whether the hardware environments are matched, the compiled oat or odex format file can be directly acquired from the second electronic device under the matching condition, so that the first electronic device can be directly used, and the processing resource consumption caused by recompilation of the first electronic device is reduced.
According to the configuration file processing method, in the process of migrating the target application program from the second electronic device to the first electronic device, the first electronic device obtains the second configuration file, which stores the hot point compiling unit corresponding to the target application program installed by the second electronic device, and then obtains the installation file of the target application program from the second electronic device, and then in the process of running the installation file, the hot point compiling unit in the second configuration file is pre-compiled, so that after the target application program is migrated from the second electronic device to the first electronic device, the first electronic device also has the running efficiency in the running process of the second electronic device.
It should be noted that, in this embodiment of the application, the second configuration file corresponding to the target application acquired by the first electronic device may be a hotspot compiling unit included in a second configuration file corresponding to the target application acquired by the first electronic device in this embodiment of the application, which is obtained by a server (for example, the server 200 in fig. 1 or the server 201 in fig. 3) based on a plurality of collected third configuration files.
In this way, the server may obtain, from a plurality of electronic devices, a plurality of third configuration files corresponding to the target application, where the third configuration files are used to record the hotspot compiling unit of the target application. It is understood that, in the running process of the electronic device, a new hotspot compiling unit may be generated, and the hotspot compiling unit included in the third configuration file may include the new hotspot compiling unit and the hotspot compiling unit included in the second configuration file.
It should be noted that a plurality of application programs may be run in the electronic device. Each application can be configured with a profile 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 associated configuration file a, application B may correspond to an associated configuration file B, and application C may correspond to an associated 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 be installed for each of the plurality of electronic devices.
In this embodiment, the server may determine which third configuration files of the application programs are to be specifically processed to obtain the second configuration file corresponding to each application program in a variety of ways. In the following, the application program determined to be processed may be referred to as a to-be-processed application program.
As one way, the server may use the application with a large installation amount as the application to be processed. 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 application to be processed.
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 application to be processed. 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 pending application 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 the 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 the application program to be processed.
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 treat application a as a pending application 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 the application a is a pending application.
As still another way, the server may also determine the pending application from the configuration information. In this way, it is possible to determine which applications are pending by means of human configuration. For example, the server may use an application program related to the application program installation information reported by the multiple electronic devices as a candidate application program, and the operator may select one or more application programs from the candidate application programs as a selected application program, and correspondingly, the server stores the selected application program in the configuration file, in which case, the server may use the application program configured in the configuration file as the application program to be processed.
After determining the application to be processed based on the foregoing manner, the server may further use the configuration file to which the application to be processed belongs as a third configuration file. In this embodiment, the plurality of third configuration files corresponding to the to-be-processed application program may be understood as configuration files to which the same to-be-processed application program installed in the plurality of electronic devices respectively belong.
After the third configuration files are obtained, as a way, the server may directly deduplicate all the hotspot compiling units in the third configuration files and then use the deduplicated hotspot compiling units as the hotspot compiling units included in the second configuration file.
Referring to fig. 8, a method for processing a configuration file provided in the present application is applied to a first electronic device, and the method includes:
step S301: acquiring a first configuration file which is locally stored and corresponds to the target application program, wherein the first configuration file stores a hot spot compiling unit generated in the running process of the target application program in the first electronic equipment;
step S302: and acquiring a second configuration file corresponding to the target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment.
Step S303: and detecting the running state of the first electronic equipment.
The operation state of the first electronic device may include a plurality of states.
By one approach, the operational state of the first electronic device may include a hardware state. It can be understood that, during the operation of the first electronic device, hardware devices such as a processor (CPU), a Graphics Processing Unit (GPU), a memory, and the like included in the first electronic device may be in an operating state, so as to complete data processing and data reading and writing operations during the operation of the first electronic device. If the hardware device of the first electronic device is in a high-frequency operating state, the operating efficiency of the first electronic device may be affected. For example, if the installation process is an installation process of an application, the first electronic device may perform decompression of the installation package and creation of a corresponding directory, and even further include a processing process of a file obtained by decompression of the installation package. If the processing resources of the processor are excessively occupied in the process, the installation process of the application program is prolonged. However, if there are still more processing resources left in the processor even during the installation of the application program in the installation process of the application program, the installation process of the application program may be less affected even if other data processing operations are performed. In this case, the running state may include the remaining processing resources of the processor, and if it is detected that the remaining processing resources are not less than the specified resource threshold, the running state is characterized as satisfying the specified condition.
Alternatively, the operational state of the first electronic device may comprise a state of a hardware device. It is understood that the first electronic device may include hardware devices such as a screen and a sensor. While the hardware device handling different motion states may characterize different use states of the user. For example, if the sensor includes a distance sensor disposed near the front camera and the distance sensor detects that the distance value is smaller than a specified distance threshold, it indicates that the user is currently in a state of answering a call. For example, if the screen is currently processing a breath screen state, it may be characterized that the user is not currently paying attention to the first electronic device. In this case, the operation state of the first electronic device may include an operation state of the screen, and if the first electronic device is in a screen-off state, it is determined that the operation state satisfies the specified condition, and if the first electronic device is in a screen-on state, it is determined that the specified condition is not satisfied. Therefore, by means of detecting the running state of the screen, the precompilation operation of the hotspot compiling unit can be performed under the condition that a user does not pay attention to the first electronic device, so that interference of the precompilation operation of the hotspot compiling unit to the user using the first electronic device is reduced.
As yet another approach, the operational state of the first electronic device may include a software state. It should be noted that the first electronic device may run a plurality of applications simultaneously, and the larger the number of applications currently in a running state, the slower the first electronic device can perform another data processing task. In this manner, the operating state of the first electronic device may include the number of applications currently in an operating state.
Furthermore, the operating state of the first electronic device may include one or more of the aforementioned manners. It should be noted that, in some cases, the current operating state of the first electronic device cannot be accurately determined simply by using one of the foregoing operating state determining manners. For example, some applications in the first electronic device may run in the background, or even run in the screen saver state, if the first electronic device detects that the first electronic device is currently in the screen saver state, it is directly determined that the running state of the first electronic device meets the specified condition, but the application running in the background may further occupy more data processing resources, which may further cause performance degradation of the first electronic device when the first electronic device performs the compiling process of the hotspot compiling unit. For example, the first electronic device detects that the first electronic device is currently in the screen saver state, but the remaining processing resources of the processor are 10% of the processing resources, if the first electronic device determines that the running state of the first electronic device satisfies the specified condition because the first electronic device processes the screen saver state alone, the subsequent compiling operation of the hotspot compiling unit is triggered, and further the remaining processing resources of the processor are reduced to a lower level, and the identification affects other data processing operations performed by the first electronic device in the screen saver state.
Then, in order to improve the above problem, as one way, the operation state of the first electronic device may include an operation state of the hardware device and a hardware state. Optionally, the first electronic device may determine that the operating state of the first electronic device satisfies the specified condition when it is detected that the first electronic device is currently in the breath screen state and the remaining processing resources are not lower than the specified threshold. Wherein, optionally, the specified threshold is lower than the specified resource threshold. It should be noted that, when the first electronic device is in the screen-saving state, the user does not pay attention to the operating state of the first electronic device with a high probability, in this case, the remaining processing resources may not be strictly limited, that is, the specified threshold in the case of determining the operating state of the hardware device and the hardware state at the same time may be lower than the specified resource threshold in the case of taking the hardware state alone as the basis for determination.
Step S304: and if the data running state is detected to meet the specified condition, performing pre-compiling on the hotspot compiling units in the first configuration file and the second configuration file.
Step S305: if the running state does not meet the specified condition, periodically detecting whether the electronic equipment meets the specified condition or not until the electronic equipment is detected to meet the specified condition, and performing pre-compiling on the hotspot compiling unit.
According to the configuration file processing method, after the second configuration file corresponding to the target application program is obtained, the current running state of the electronic equipment can be detected, if the running state meets the specified condition, the hot point compiling unit in the second configuration file is pre-compiled, and therefore the pre-compiling operation of the hot point compiling unit in the configuration file can be carried out only when the running state meets the specified condition through the mode of detecting the running state of the electronic equipment, the compiling time of the hot point compiling unit is configurable, and the running performance of the electronic equipment cannot be affected due to the fact that the hot point compiling unit is directly compiled at the application program installation stage.
Referring to fig. 9, a method for processing a configuration file provided in the present application is applied to a second electronic device, and the method includes:
step S410: and responding to a file sending instruction, sending a second configuration file of a target application program to the first electronic equipment, so that the first electronic equipment can perform pre-compiling on the hotspot compiling unit in the second configuration file.
Step S420: and if the information that the second configuration file is sent is received, sending the installation file of the target application program to the first electronic equipment.
Optionally, the information that is sent may be sent after the first electronic device finishes compiling the hotspot compiling point in the second configuration file.
According to the configuration file processing method, the first electronic device obtains a second configuration file which stores a hotspot compiling unit corresponding to the target application program installed by the second electronic device, and conducts a pre-compiling mode on the hotspot compiling unit in the second configuration file, so that the target application program has operation efficiency in the operation process of the second electronic device in the operation process of the first electronic device.
Referring to fig. 10, a configuration file processing apparatus 500 provided by the present application runs on a first electronic device, the apparatus 500 includes:
a data obtaining unit 510, configured to obtain a first configuration file corresponding to the target application program, where the first configuration file stores a hot spot compiling unit generated in an operation process of the target application program in the first electronic device; and acquiring a second configuration file corresponding to the target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment.
One way, the electronic device is configured with a transfer file storage area. In this way, the data obtaining unit 510 is specifically configured to monitor the storage area of the transfer file; if the situation that the configuration file is written is monitored, acquiring the file name of the written configuration file; and if the file name is matched with the target application program, taking the file as a second configuration file corresponding to the target application program.
The processing unit 520 is configured to perform precompilation on the hotspot compiling units in the first configuration file and the second configuration file.
As a manner, the processing unit 520 is specifically configured to obtain a first configuration file corresponding to the target application program and stored locally, where the first configuration file stores a hot spot compiling unit that is generated in an operation process of the target application program in the first electronic device; merging the hot point compiling unit of the second configuration file with the hot point compiling unit in the first configuration file to obtain a merged hot point compiling unit; and pre-compiling the merged hotspot compiling unit.
In one form, the storage area of the first configuration file is different from the transfer file storage area. In this manner, the processing unit 520 is specifically configured to write the hotspot compiling unit in the second configuration file into the first configuration file to obtain a merged first configuration file, where the merged hotspot compiling unit is stored in the first configuration file; and running the merged first configuration file to perform pre-compiling on the merged hotspot compiling unit.
As one way, as shown in fig. 11, the apparatus further includes a state detection unit 530 for detecting an operation state of the first electronic device. In this manner, the processing unit 520 is specifically configured to perform the pre-compiling on the hotspot compiling unit in the second configuration file if it is detected that the data running state meets the specified condition.
As a manner, the data obtaining unit 510 is specifically configured to, in response to an operation of migrating the target application from the second electronic device to the first electronic device, obtain a second configuration file corresponding to the target application. In this manner, the processing unit 520 is specifically configured to obtain the installation file of the target application from the second electronic device; and in the process of operating the installation file, pre-compiling the hotspot compiling unit in the second configuration file.
As one way, as illustrated in fig. 12, the apparatus includes:
a hardware environment detecting unit 540, configured to detect whether the hardware environments of the second electronic device and the first electronic device are matched. If not, the data obtaining unit 510 is configured to obtain a second configuration file corresponding to the target application. If the configuration information is matched with the hotspot configuration information, the data obtaining unit 510 is configured to obtain, from the second electronic device, a compiled file obtained after the hotspot compiling unit in the second configuration file compiles; and storing the compiled file to a specified path so as to be used for directly running the codes in the compiled file in the running of the target application program.
Referring to fig. 13, a configuration file processing apparatus 600 provided by the present application, operating on a second electronic device, includes:
a configuration file sending unit 610, configured to send, in response to a file sending instruction, a second configuration file of a target application to a first electronic device, so that the first electronic device performs pre-compiling on the hotspot compiling unit in the second configuration file.
An installation file sending unit 620, configured to send the installation file of the target application to the first electronic device after receiving the information that the second configuration file is sent.
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 with reference to fig. 14.
Referring to fig. 14, based on the foregoing configuration file processing method and apparatus, another electronic device 200 capable of executing the foregoing configuration file processing method is further provided in the embodiment of the present application. The electronic device 200 includes one or more (only one shown) processors 102, memory 104, and a 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 include a cellular telephone network, a wireless local area network, or a metropolitan area network.
Referring to fig. 15, 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.
To sum up, in the method, the first electronic device obtains a first configuration file corresponding to the target application program, which is locally stored, obtains a second configuration file, which is stored with a hotspot compiling unit corresponding to the target application program installed in the second electronic device, and pre-compiles the hotspot compiling units in the first configuration file and the second configuration file, so that the target application program has an operating efficiency in an operating process of the second electronic device in the operating process of the first electronic device.
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 (8)

1. A configuration file processing method is applied to a first electronic device, and comprises the following steps:
acquiring a first configuration file which is locally stored and corresponds to a target application program, wherein the first configuration file stores a hot spot compiling unit generated in the running process of the target application program in the first electronic equipment;
detecting whether a hardware environment of a second electronic device is matched with that of the first electronic device;
if not, acquiring a second configuration file corresponding to a target application program, wherein the second configuration file stores a hotspot compiling unit corresponding to the target application program installed on second electronic equipment, and the target application program is an application program determined to be migrated from the second electronic equipment to the first electronic equipment;
pre-compiling the hotspot compiling units in the first configuration file and the second configuration file, wherein the pre-compiling the hotspot compiling units in the first configuration file and the second configuration file comprises: merging the hot point compiling unit of the second configuration file with the hot point compiling unit in the first configuration file to obtain a merged hot point compiling unit; performing pre-compiling on the merged hotspot compiling unit;
if the first configuration file is matched with the second configuration file, obtaining a compiled file obtained after the hotspot compiling unit in the second configuration file is compiled from the second electronic equipment;
and storing the compiled file to a specified path for directly running the codes in the compiled file in the running of the target application program.
2. The method of claim 1, wherein the first electronic device is configured with a transfer file storage area, and the step of obtaining a second configuration file corresponding to the target application comprises:
monitoring the storage area of the transfer file;
if the situation that the configuration file is written is monitored, the file name of the written configuration file is obtained;
and if the file name is matched with the target application program, taking the file as a second configuration file corresponding to the target application program.
3. The method according to claim 2, wherein a storage area of the first configuration file is different from a storage area of the migration file, and the step of merging the hotspot compiling unit of the second configuration file with the hotspot compiling unit in the first configuration file to obtain a merged hotspot compiling unit comprises:
writing the hotspot compiling unit in the second configuration file into the first configuration file to obtain a merged first configuration file, wherein the merged hotspot compiling unit is stored in the first configuration file;
the step of pre-compiling the merged hotspot compiling unit comprises:
and running the merged first configuration file to perform pre-compiling on the merged hotspot compiling unit.
4. The method of claim 1, wherein the step of precompiling the hotspot compiling units in the first configuration file and the second configuration file further comprises:
detecting the running state of the first electronic equipment;
and if the data running state is detected to meet the specified condition, performing pre-compiling on the hotspot compiling units in the first configuration file and the second configuration file.
5. The method according to claim 1 or 4, wherein the step of obtaining the second configuration file corresponding to the target application program comprises:
responding to the operation of migrating the target application program from the second electronic equipment to the first electronic equipment, and acquiring a second configuration file corresponding to the target application program;
the step of pre-compiling the hotspot compiling units in the first configuration file and the second configuration file further includes:
acquiring an installation file of the target application program from the second electronic equipment;
and in the process of operating the installation file, performing pre-compiling on the hotspot compiling units in the first configuration file and the second configuration file.
6. A profile handling apparatus, operable on a first electronic device, the apparatus comprising:
the data acquisition unit is used for acquiring a first configuration file which is locally stored and corresponds to a target application program, and the first configuration file stores a hot spot compiling unit which is generated in the running process of the target application program in the first electronic equipment; the hardware environment detection unit is used for detecting whether the hardware environments of the second electronic equipment and the first electronic equipment are matched or not; if not, the data acquisition unit acquires a second configuration file corresponding to a target application program, and the second configuration file stores a hotspot compiling unit corresponding to the target application program installed by second electronic equipment; if the configuration information is matched with the hot spot configuration information, the data acquisition unit acquires a compiled file obtained after the hot spot compiling unit in the second configuration file compiles from the second electronic device; storing the compiled file to a specified path for directly running the code in the compiled file in the running of the target application program, wherein the target application program is an application program determined to be migrated from the second electronic device to the first electronic device;
the processing unit is used for detecting that the hardware environment of the second electronic equipment is not matched with that of the first electronic equipment by the hardware environment detection unit, and merging the hotspot compiling unit of the second configuration file with the hotspot compiling unit in the first configuration file to obtain a merged hotspot compiling unit; and pre-compiling the merged hotspot compiling unit.
7. An electronic device comprising one or more processors and 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-5.
8. A computer-readable storage medium, having program code stored therein, wherein the method of any of claims 1-5 is performed when the program code is run.
CN201911350878.7A 2019-12-24 2019-12-24 Configuration file processing method and device and electronic equipment Active CN113032035B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911350878.7A CN113032035B (en) 2019-12-24 2019-12-24 Configuration file processing method and device and electronic equipment
PCT/CN2020/133618 WO2021129339A1 (en) 2019-12-24 2020-12-03 Method and device for processing configuration file, electronic apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911350878.7A CN113032035B (en) 2019-12-24 2019-12-24 Configuration file processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113032035A CN113032035A (en) 2021-06-25
CN113032035B true CN113032035B (en) 2022-07-12

Family

ID=76452186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911350878.7A Active CN113032035B (en) 2019-12-24 2019-12-24 Configuration file processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113032035B (en)
WO (1) WO2021129339A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508712A (en) * 2011-09-29 2012-06-20 中国科学技术大学苏州研究院 Middleware system of heterogeneous multi-core reconfigurable hybrid system and task execution method thereof
GB2508433A (en) * 2012-12-03 2014-06-04 Ibm Migration of processes in heterogeneous computing environments using emulating and compiling source code on target system
WO2017000601A1 (en) * 2015-06-29 2017-01-05 中兴通讯股份有限公司 Software compiling method and apparatus
WO2017026739A1 (en) * 2015-08-10 2017-02-16 라인 가부시키가이샤 System and method for obfuscating application code
CN106775893A (en) * 2016-12-30 2017-05-31 北京小米移动软件有限公司 To the method and device of program precompile
CN108717374A (en) * 2018-04-24 2018-10-30 阿里巴巴集团控股有限公司 The method, apparatus and computer equipment that Java Virtual Machine preheats when starting
CN109725912A (en) * 2018-12-11 2019-05-07 北京城市网邻信息技术有限公司 Application program configuration method, device, terminal, server and readable storage medium storing program for executing
CN110569039A (en) * 2019-09-10 2019-12-13 浪潮软件股份有限公司 Method for optimizing JAVA operation on platform

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031821A1 (en) * 2004-08-04 2006-02-09 Rutter Budd J Ii Divided compiling program application functionality for software development
CN102736939B (en) * 2012-06-25 2014-07-30 腾讯科技(深圳)有限公司 Software installation method, device and system
CN105100191B (en) * 2015-05-22 2018-09-21 华为技术有限公司 The method, apparatus and system of Java application installations are realized in a kind of cloud compiling
US10169193B2 (en) * 2016-12-13 2019-01-01 International Business Machines Corporation Common debug scripting framework for driving hybrid applications consisting of compiled languages and interpreted languages
CN107908407B (en) * 2017-12-11 2021-09-07 北京奇虎科技有限公司 Compiling method and device and terminal equipment
CN109960507B (en) * 2017-12-14 2021-06-08 Oppo广东移动通信有限公司 Compiling optimization method and device, storage medium, intelligent terminal and server
CN108388431B (en) * 2018-02-13 2021-03-02 Oppo广东移动通信有限公司 Control method and device for hot update of application program, storage medium and mobile terminal
CN108287917B (en) * 2018-02-13 2020-03-10 Oppo广东移动通信有限公司 File opening method and device, storage medium and electronic equipment
CN111061484B (en) * 2019-11-28 2023-05-02 Oppo广东移动通信有限公司 Code compiling method, device, server, user terminal and readable medium
CN111078318B (en) * 2019-12-18 2023-06-13 Oppo广东移动通信有限公司 Processing method, device and system of configuration file and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508712A (en) * 2011-09-29 2012-06-20 中国科学技术大学苏州研究院 Middleware system of heterogeneous multi-core reconfigurable hybrid system and task execution method thereof
GB2508433A (en) * 2012-12-03 2014-06-04 Ibm Migration of processes in heterogeneous computing environments using emulating and compiling source code on target system
WO2017000601A1 (en) * 2015-06-29 2017-01-05 中兴通讯股份有限公司 Software compiling method and apparatus
WO2017026739A1 (en) * 2015-08-10 2017-02-16 라인 가부시키가이샤 System and method for obfuscating application code
CN106775893A (en) * 2016-12-30 2017-05-31 北京小米移动软件有限公司 To the method and device of program precompile
CN108717374A (en) * 2018-04-24 2018-10-30 阿里巴巴集团控股有限公司 The method, apparatus and computer equipment that Java Virtual Machine preheats when starting
CN109725912A (en) * 2018-12-11 2019-05-07 北京城市网邻信息技术有限公司 Application program configuration method, device, terminal, server and readable storage medium storing program for executing
CN110569039A (en) * 2019-09-10 2019-12-13 浪潮软件股份有限公司 Method for optimizing JAVA operation on platform

Also Published As

Publication number Publication date
CN113032035A (en) 2021-06-25
WO2021129339A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
CN109960507B (en) Compiling optimization method and device, storage medium, intelligent terminal and server
CN111061484B (en) Code compiling method, device, server, user terminal and readable medium
CN107484254B (en) Available resource determination method, device and system
CN111258921B (en) Garbage memory recycling method and device, electronic equipment and storage medium
CN112667405B (en) Information processing method, device, equipment and storage medium
WO2021057622A1 (en) Garbage collection method, device, electronic apparatus, and storage medium
CN112559088A (en) Configuration file optimization method, device, server and storage medium
US20230177156A1 (en) On-device android malware detection method based on adaptive model through transfer learning, and recording medium and apparatus for performing the same
CN112181919A (en) Compression method, compression system, electronic equipment and storage medium
CN113032035B (en) Configuration file processing method and device and electronic equipment
WO2021129489A1 (en) Application precompiling method and apparatus, electronic device, and storage medium
CN104200164A (en) Loader virus searching and killing method, device and terminal
CN116610648A (en) Log storage method and device, electronic equipment and storage medium
WO2021102849A1 (en) Resource acquisition method and apparatus, and electronic device
CN115421907A (en) Memory recovery method and device, electronic equipment and storage medium
CN108965295A (en) A kind of compressing file merging method and relevant apparatus
CN109343961B (en) Memory information processing method and device, storage medium and terminal
WO2021115178A1 (en) Application program pre-compilation method and apparatus, server and storage medium
WO2021088624A1 (en) Application program pre-compiling method and apparatus, electronic device and server
CN113554718B (en) Image encoding method, storage medium, and electronic apparatus
CN116501450B (en) Translation control method, binary translation method, instruction execution method and device
CN117724852B (en) Cloud computer computing resource allocation method and device
WO2021121188A1 (en) Configuration file processing method, apparatus and system, and storage medium
CN110286963B (en) Control code loading method and device, starting controller and electronic equipment
CN110716768B (en) Method and device for jumping application program on terminal, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant