CN113157296A - Compiled file updating method, device, server and storage medium - Google Patents
Compiled file updating method, device, server and storage medium Download PDFInfo
- Publication number
- CN113157296A CN113157296A CN202110460598.2A CN202110460598A CN113157296A CN 113157296 A CN113157296 A CN 113157296A CN 202110460598 A CN202110460598 A CN 202110460598A CN 113157296 A CN113157296 A CN 113157296A
- Authority
- CN
- China
- Prior art keywords
- file
- type
- target
- resource
- compiled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The present disclosure relates to a compiled file updating method, apparatus, server and storage medium, the method comprising: determining a target compilation file from the compilation file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identification set, the preset file identification set comprises at least one preset file identification, and the target compiled file is a compiled file of which the file identification is not matched with each preset file identification in the preset file identification set; identifying a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type; and updating the type to be replaced in the target compilation file into the corresponding target type according to the type replacement relation to obtain the updated target compilation file. By adopting the method, manual modification one by one is not needed, the updating mode of the compiled file is simplified, and the updating efficiency of the compiled file is improved.
Description
Technical Field
The present disclosure relates to the field of software development technologies, and in particular, to a method, an apparatus, a server, a storage medium, and a computer program product for updating a compiled file.
Background
During software program development, a large number of compiled files, such as byte code files, need to be used. With multiple iterations of the development process, compiled files with better performance and the same function are developed.
In the prior art, the update method of the compiled file generally modifies the types of related variables in the compiled file one by one manually; the other is that only the type in the third-party library can be modified, and the types of the source code and the resource file cannot be modified; therefore, the updating mode is complicated, the workload is high, and the updating efficiency of the compiled file is low.
Disclosure of Invention
The present disclosure provides a compiled file updating method, apparatus, server, storage medium and computer program product, so as to at least solve the problem of low efficiency of updating compiled files in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for updating a compiled file, including:
determining a target compilation file from the compilation file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identifier set, the preset file identifier set comprises at least one preset file identifier, and the target compiled file is a compiled file of which the file identifier is not matched with each preset file identifier in the preset file identifier set;
identifying a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type;
and updating the type to be replaced in the target compilation file into a corresponding target type according to the type replacement relation to obtain an updated target compilation file.
In an exemplary embodiment, the preset file identifier sets include a first preset identifier set and a second preset identifier set;
the determining a target compilation file from the compilation file set according to the first configuration information in the preset configuration file includes:
acquiring a first file identifier and a second file identifier of a compiled file in the compiled file set;
and screening the compiled files of which the first file identifications are not matched with the first preset identifications in the first preset identification set and the second file identifications are not matched with the second preset identifications in the second preset identification set from the compiled file set as the target compiled files.
In an exemplary embodiment, the identifying, according to second configuration information in the preset configuration file, a type to be replaced in the target compilation file includes:
acquiring the type to be replaced in the type replacement relationship;
and screening out a type matched with the type to be replaced from the types contained in the target compiled file, wherein the type is used as the type to be replaced in the target compiled file.
In an exemplary embodiment, the preset configuration file further includes third configuration information;
after obtaining the updated target compilation file, the method further comprises:
determining a target resource file from the resource files associated with the target compilation file according to third configuration information in the preset configuration file; the third configuration information comprises a resource type replacement relationship between a resource type to be replaced and a target resource type, and the target resource file is a resource file containing at least one resource type to be replaced;
and updating the resource type to be replaced in the target resource file into a corresponding target resource type according to the resource type replacement relation to obtain an updated target resource file.
In an exemplary embodiment, the updating the resource type to be replaced in the target resource file to a corresponding target resource type according to the resource type replacement relationship to obtain an updated target resource file includes:
identifying the resource type to be replaced in the resource type replacement relation;
screening out a resource type matched with the resource type to be replaced from the resource types contained in the target resource file, and taking the resource type as the resource type to be replaced in the target resource file;
and updating the type of the resource to be replaced in the target resource file into a corresponding target resource type to obtain an updated target resource file.
In an exemplary embodiment, after obtaining the updated target resource file, the method further includes:
compiling the updated target resource file to obtain a compiled resource file;
updating a historical compiled resource file corresponding to the target resource file into the compiled resource file; the historical compiled resource file is in the same compiling format as the compiled resource file.
According to a second aspect of the embodiments of the present disclosure, there is provided an updating apparatus for a compiled file, including:
the file determining unit is configured to determine a target compiled file from the compiled file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identifier set, the preset file identifier set comprises at least one preset file identifier, and the target compiled file is a compiled file of which the file identifier is not matched with each preset file identifier in the preset file identifier set;
the type determining unit is configured to identify a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type;
and the type updating unit is configured to update the type to be replaced in the target compilation file into a corresponding target type according to the type replacing relation, so as to obtain an updated target compilation file.
In an exemplary embodiment, the preset file identifier sets include a first preset identifier set and a second preset identifier set;
the file determining unit is further configured to perform obtaining a first file identifier and a second file identifier of a compiled file in the compiled file set; and screening the compiled files of which the first file identifications are not matched with the first preset identifications in the first preset identification set and the second file identifications are not matched with the second preset identifications in the second preset identification set from the compiled file set as the target compiled files.
In an exemplary embodiment, the type determining unit is further configured to perform obtaining the type to be replaced in the type replacement relationship; and screening out a type matched with the type to be replaced from the types contained in the target compiled file, wherein the type is used as the type to be replaced in the target compiled file.
In an exemplary embodiment, the preset configuration file further includes third configuration information;
the device further comprises a resource file updating unit, wherein the resource file updating unit is configured to determine a target resource file from the resource files related to the target compilation file according to third configuration information in the preset configuration file; the third configuration information comprises a resource type replacement relationship between a resource type to be replaced and a target resource type, and the target resource file is a resource file containing at least one resource type to be replaced; and updating the resource type to be replaced in the target resource file into a corresponding target resource type according to the resource type replacement relation to obtain an updated target resource file.
In an exemplary embodiment, the resource file updating unit is further configured to perform identifying the resource type to be replaced in the resource type replacement relationship; screening out a resource type matched with the resource type to be replaced from the resource types contained in the target resource file, and taking the resource type as the resource type to be replaced in the target resource file; and updating the type of the resource to be replaced in the target resource file into a corresponding target resource type to obtain an updated target resource file.
In an exemplary embodiment, the apparatus further includes a compiled resource file updating unit configured to perform compiling on the updated target resource file to obtain a compiled resource file; updating a historical compiled resource file corresponding to the target resource file into the compiled resource file; the historical compiled resource file is in the same compiling format as the compiled resource file.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a method of updating a compiled file as described in any embodiment of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium comprising: the instructions in the computer readable storage medium, when executed by a processor of a server, enable the server to perform the method of updating a compiled file described in any one of the embodiments of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program stored in a computer-readable storage medium, from which the at least one processor of a device reads and executes the computer program, so that the device performs the update method of a compiled file described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
determining a target compilation file from a compilation file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identification set, the preset file identification set comprises at least one preset file identification, and the target compiled file is a compiled file of which the file identification is not matched with each preset file identification in the preset file identification set; identifying a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type; updating the type to be replaced in the target compilation file into a corresponding target type according to the type replacement relation to obtain an updated target compilation file; therefore, the purpose of updating the types of the target compiled files in the compiled files according to the preset configuration files is achieved, manual modification one by one is not needed, the updating efficiency of the compiled files is improved, and further the development efficiency is improved; meanwhile, other unpredictable problems caused by errors in manual one-by-one processing are avoided, and the development progress is delayed; the first configuration information and the second configuration information are respectively used for file identification and type replacement, so that batch processing can be realized during compiling file updating, and meanwhile, higher accuracy is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram illustrating an application environment for a method for updating a compiled file, according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method for updating a compiled file in accordance with an exemplary embodiment.
FIG. 3 is a flowchart illustrating steps for determining a target compiled file from a set of compiled files, according to an example embodiment.
FIG. 4 is a flowchart illustrating steps for identifying a type to be replaced in a target compiled file in accordance with an exemplary embodiment.
FIG. 5 is a flowchart illustrating steps for obtaining an updated target compiled file, according to an example embodiment.
FIG. 6 is a flow diagram illustrating another method for updating a compiled file in accordance with an exemplary embodiment.
FIG. 7 is a flowchart illustrating yet another method for updating a compiled file, according to an example embodiment.
FIG. 8 is a flowchart illustrating a method for updating a resource compilation file in accordance with an exemplary embodiment.
FIG. 9 is a block diagram illustrating an apparatus for updating a compiled file in accordance with an exemplary embodiment.
Fig. 10 is an internal block diagram of a server according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The method for updating the compiled file provided by the present disclosure can be applied to the application environment shown in fig. 1. Wherein the terminal 110 interacts with the server 120 through the network. Referring to fig. 1, the server 120 obtains a preset configuration file preset by the terminal 110; then, the server 120 determines a target compiled file from the compiled file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identification set, the preset file identification set comprises at least one preset file identification, and the target compiled file is a compiled file of which the file identification is not matched with each preset file identification in the preset file identification set; the server 120 identifies a type to be replaced in the target compilation file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type; the server 120 updates the type to be replaced in the target compilation file into the corresponding target type according to the type replacement relation, so as to obtain an updated target compilation file; in addition, the server 120 may also transmit the updated object compilation file to the terminal 110. The terminal 110 may be, but is not limited to, various smart phones, tablet computers, notebook computers, or the like, and the server 120 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Fig. 2 is a flowchart illustrating an updating method of a compiled file according to an exemplary embodiment, where as shown in fig. 2, the updating method of a compiled file is used in the server shown in fig. 1, and includes the following steps.
In step S210, determining a target compiled file from the compiled file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identification set, the preset file identification set comprises at least one preset file identification, and the target compiled file is a compiled file of which the file identification is not matched with each preset file identification in the preset file identification set.
The preset configuration file is a pre-configured application file comprising a plurality of configuration information, and can be identified by a computer, a server, a terminal and the like; the preset configuration file may be set using the Json format.
The compiled file can be a java byte code file (. class file) or other files formed by codes and codes.
The first configuration information is a file identifier that can identify one or some compiled files from a compiled file set, the preset file identifier is a file identifier recorded in the first configuration information, the file identifier may be a file name, a class name, a package name to which the file identifier belongs, and the preset file identifier set is a set composed of a plurality of preset file identifiers.
The compiled file set is a file set formed by the compiled files according to certain attributes, such as belonging to a file path, belonging to a project and the like.
Specifically, the server extracts or analyzes a plurality of configuration information included in a preset configuration file to obtain first configuration information; and acquiring a preset file identifier in the preset file identifier set according to the first configuration information, and then performing reverse selection on the compiled files in the compiled file set according to the preset file identifier, namely selecting the compiled files which are not matched with the preset file identifier as target compiled files. Through the reverse selection setting, the preset configuration file can screen the compiled files in the compiled file set through fewer conditions, and the efficiency of updating the compiled files is improved.
For example, a preset file identifier set in the first configuration information records a preset file identifier as a; the compiled file set comprises two compiled files, one is named as A, and the other is named as B; the server determines that the compiled file with the file name B which is not matched with the preset file identifier is used as the target compiled file according to the fact that the compiled file with the file name A can be identified to be matched with the preset file identifier by the server and the compiled file with the file name B is not matched with the preset file identifier by the server.
In step S220, identifying a type to be replaced in the target compilation file according to second configuration information in the preset configuration file; the second configuration information includes a type replacement relationship between the type to be replaced and the target type.
The type to be replaced refers to information capable of representing the type of a compiled file; the target type is a type to which the type to be replaced needs to be replaced; for example, if the type a is replaced by the type B, the type a is the type to be replaced, and the type B is the target type.
The second configuration information describes a type that needs to be replaced and a corresponding exchanged type in the compiled file, for example, information such as a1-B1, a2-B2, and A3-B3, and the server can recognize that a1, a2, and A3 are types that need to be replaced from the second configuration information, and the targets of replacement are B1, B2, and B3, respectively.
Specifically, the server extracts or analyzes a plurality of configuration information included in a preset configuration file to obtain second configuration information; further analyzing the second configuration information, and identifying a plurality of types needing to be replaced as types to be replaced; and searching each target compiling file according to the type to be replaced, and identifying the corresponding type to be replaced in the target compiling file. The second configuration information records a type replacement relationship between the type to be replaced and the target type, and the corresponding type to be replaced or the target type can be quickly determined through the relationship, so that the determination efficiency of the type to be replaced is improved.
In step S230, the type to be replaced in the target compilation file is updated to the corresponding target type according to the type replacement relationship, so as to obtain an updated target compilation file.
Wherein, the type replacement relationship may be an explicit replacement correspondence relationship, for example, the type a1 is replaced by the type B1; the type replacement relationship may also be a rule such as replacing the a1 type with the B1 type if a certain condition is met, otherwise replacing with the B2 type, etc. In the type replacement relationship, the a1 type corresponds to the type to be replaced, and the replaced B1 or B2 type corresponds to the target type.
The updated target compiled file is relative to the old compiled file before replacement, and when the variable type in the compiled file is updated, a new compiled file is obtained.
Specifically, the server determines a compiled file to be replaced as a target compiled file through the first configuration information, and then screens the target compiled file again according to the second configuration information to obtain the target compiled file containing the type to be replaced; and finally, replacing the type to be replaced in the target compiling file with the target type according to the type replacing relation. For example, the server recognizes that the type to be replaced in the target compilation file Q is a1 and the type replacement relationship is a1-B1, and the server replaces the variable type a1 in Q with B1 to obtain an updated Q, which is denoted as Q'; then Q' is the updated target compiled file relative to Q. Determining a target type corresponding to the type to be replaced through the type replacement relation, and obtaining an updated target compilation file after replacement; the determination of the type replacement relationship enables batch replacement processing to be feasible, and the efficiency of variable type updating of the compiled file is improved.
In the method for updating the compiled file, a target compiled file is determined from a compiled file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identification set, the preset file identification set comprises at least one preset file identification, and the target compiled file is a compiled file of which the file identification is not matched with each preset file identification in the preset file identification set; identifying a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type; updating the type to be replaced in the target compilation file into a corresponding target type according to the type replacement relation to obtain an updated target compilation file; therefore, the purpose of updating the types of the target compiled files in the compiled files according to the preset configuration files is achieved, manual modification one by one is not needed, the updating efficiency of the compiled files is improved, and further the development efficiency is improved; meanwhile, other unpredictable problems caused by errors in manual one-by-one processing are avoided, and the development progress is delayed; the first configuration information and the second configuration information are respectively used for file identification and variable type replacement, batch processing can be achieved when compiling files are updated, and high accuracy is achieved.
In an exemplary embodiment, the preset file identifier sets include a first preset identifier set and a second preset identifier set;
as shown in fig. 3, in step S210, according to the first configuration information in the preset configuration file, the target compiled file is determined from the compiled file set, which may specifically be implemented by the following steps:
in step S211, a first file identifier and a second file identifier of a compiled file in the compiled file set are obtained;
the first file identifier and the second file identifier refer to two pieces of identification information carried by the compiled file, the first file identifier may be a file name, and the second file identifier may be a package name to which the first file identifier belongs.
The first file identification set refers to a set formed by first file identifications of all compiled files in the compiled file set; the second file identification set is a set formed by second file identifications of all compiled files in the compiled file set;
specifically, the compiled file usually carries a plurality of file identifiers, the server determines at least one file identifier category according to the first configuration information, and then identifies the file identifiers of the compiled file according to the file identifier category to obtain the required file identifiers as the first file identifier, the second file identifier, and the like.
In step S212, a compiled file, in which the first file identifier is not matched with each first preset identifier in the first preset identifier set and the second file identifier is not matched with each second preset identifier in the second preset identifier set, is screened out from the compiled file set as a target compiled file.
The first preset identification refers to a file name of a compiled file which does not need to be replaced, and the second preset identification refers to a package name of the compiled file which does not need to be replaced. The first preset identification and the second preset identification are sub-identifications of the preset file identification and respectively correspond to the first file identification and the second file identification; namely, the first preset identifier and the second preset identifier are respectively a file name and a package name to which the file name belongs.
Specifically, the first configuration information may be understood as blacklist information, that is, all recorded in the first configuration information are identification information of compiled files that do not need to be replaced; the server can respectively match the first file identification and the second file identification carried by the compiled file in sequence or simultaneously according to the first preset identification and the second preset identification, and screening is completed; and finally, obtaining a compiled file of which the first file identifier is not matched with each first preset identifier and the second file identifier is not matched with each second preset identifier, and using the compiled file as a target compiled file.
Further, the server has three ways to determine the target compiled file: (1) the server firstly determines a compiled file with a first file identifier not matched with a first preset identifier, and then further determines a compiled file with a second file identifier not matched with the second preset identifier based on the compiled file to obtain a target compiled file; (2) the server firstly determines a compiled file with a second file identifier not matched with a second preset identifier, and then determines a compiled file with a first file identifier not matched with the first preset identifier based on the compiled file to obtain a target compiled file; (3) and the server simultaneously matches the first preset identifier and the second preset identifier with the first preset identifier and the second preset identifier respectively according to the first file identifier and the second preset identifier of the compiled file, and the compiled files which are not matched are used as target compiled files until all the compiled files are identified.
According to the technical scheme provided by the embodiment of the disclosure, the compiled files are reversely screened through the first file identifier and the second file identifier which are pre-recorded in the first configuration information, and the compiled files which are not matched are used as target compiled files; unmatched file identifications in the first configuration information can reduce the generation difficulty and complexity of the first configuration information, improve the processing efficiency of the server and improve the updating efficiency of the compiled files.
In an exemplary embodiment, as shown in fig. 4, in step S220, the type to be replaced in the target compilation file is identified according to the second configuration information in the preset configuration file, which may specifically be implemented by the following steps:
in step S221, the type to be replaced in the type replacement relationship is acquired.
The type replacing relationship comprises a plurality of groups of types to be replaced and corresponding target types, and all the target types corresponding to the types to be replaced and the types to be replaced corresponding to the target types can be found out according to the type replacing relationship.
In step S222, a type matching the type to be replaced is screened out from the types included in the target compiled file, and is used as the type to be replaced in the target compiled file.
Specifically, the server traverses the type contained in the target compilation file, compares the type with the type to be replaced in the replacement relationship, and if the server detects that the type in the target compilation file is the type to be replaced in the replacement relationship, the server identifies the type contained in the target compilation file as the type to be replaced in the target compilation file.
For example, the type substitution relationship is described as A1-B1, A2-B2, A3-B3 and A4-B4, wherein A is the type to be substituted and B is the target type; the server can obtain the types to be replaced A1, A2, A3 and A4 from the type replacement relationship; according to the method, the target compiled files A1, A2, A3 and A4 are traversed, the types of A1, A2, A3 and A4 exist in the target compiled files and are used as types to be replaced in the target compiled files, for example, the target compiled file Q is A1-Z1, and the type to be replaced in the target compiled file Q is identified as A1.
According to the technical scheme provided by the embodiment of the disclosure, all types to be replaced are obtained by utilizing the type replacement relation recorded in the second configuration information, the screened target compilation file is searched, the type to be replaced in the target compilation file is determined, the searching efficiency and the accuracy of target determination are improved, and the updating efficiency of the compilation file is improved.
In an exemplary embodiment, as shown in fig. 5, in step S230, according to the type replacement relationship, the type to be replaced in the target compiled file is updated to the corresponding target type, so as to obtain an updated target compiled file, which may specifically be implemented by the following steps:
in step S231, a target type corresponding to the type to be replaced in the target compilation file is determined according to the type replacement relationship.
In step S232, the type to be replaced in the target compilation file is updated to the corresponding target type, so as to obtain an updated target compilation file.
Specifically, when the server replaces the target type, for the type to be replaced in each target compilation file, the server needs to query the corresponding target type in the type replacement relation according to the type to be replaced in the target compilation file; and after the corresponding target type is determined, replacing the type to be replaced by using the target type, completing the updating of the target compilation file, and obtaining the updated target compilation file.
According to the technical scheme provided by the embodiment of the disclosure, the type replacement relation recorded in the second configuration information is utilized, after the type to be replaced in the target compilation file is found, the corresponding target type is used for replacement processing to obtain the updated target compilation file, and the target compilation file is updated; the files are not required to be manually modified one by one, so that the updating efficiency of the compiled files is improved, and the development efficiency is further improved; meanwhile, other unpredictable problems caused by errors in manual one-by-one processing are avoided, and the development progress is delayed; the first configuration information and the second configuration information are respectively used for file identification and compiling replacement, so that batch processing can be realized during compiling file updating, and higher accuracy is achieved.
In an exemplary embodiment, in step S230, after obtaining the updated target compiled file, the method further includes: determining a target resource file from the resource files associated with the target compilation file according to third configuration information in the preset configuration file; the third configuration information comprises a resource type replacing relation between the resource type to be replaced and a target resource type, and the target resource file is a resource file containing at least one resource type to be replaced; and updating the resource type to be replaced in the target resource file into the corresponding target resource type according to the resource type replacement relation to obtain the updated target resource file.
The resource file refers to a file which can be read when a program runs; the program constructs the object using the type in the resource file, and therefore needs to be consistent with the variable type of the associated target compiled file;
in the Android development process, types in Java exist in byte code files and XML resource files;
in the compiling period, the XML resource file can be compiled into a binary file, so that the analyzing speed in operation is accelerated. Therefore, the same content update needs to be performed on the associated resource file after the compiled file is updated to ensure the type consistency. Resource files may also be stored in third party repositories so the determination of the target resource file should be comprehensive.
The third configuration information is a file recording a type replacement relationship between the resource type to be replaced and the target resource type in the resource file.
Specifically, the server finds all libraries related to the target compiled file, including a local library and a third-party library; the server identifies the resource files in the libraries, searches resource files containing at least one resource type to be replaced in the compilation of the resource files, and identifies the resource files containing at least one resource type to be replaced as target resource files; when replacing, firstly identifying a target resource type corresponding to the resource type to be replaced from the resource type replacing relation, and then replacing.
According to the technical scheme provided by the embodiment of the disclosure, the resource type replacement relation of the resource file recorded in the third configuration information is utilized, the resource type in the resource file is updated, the resource file is synchronously updated after the target compiled file is updated, the corresponding resource files do not need to be manually modified one by one, the updating efficiency of the resource file is improved, and the overall development efficiency is further improved.
In an exemplary embodiment, according to the resource type replacement relationship, updating the resource type to be replaced in the target resource file to a corresponding target resource type, and obtaining an updated target resource file includes: identifying a resource type to be replaced in the resource type replacement relation; screening out a resource type matched with the resource type to be replaced from the resource types contained in the target resource file, and taking the resource type as the resource type to be replaced in the target resource file; and updating the type of the resource to be replaced in the target resource file into the corresponding target resource type to obtain the updated target resource file.
Specifically, the server identifies a target resource file containing the resource type to be replaced according to the resource type to be replaced recorded in the resource type replacement relationship; and the server compiles and updates the target resource file according to the target resource type corresponding to the resource type to be replaced in the resource type replacement relation, namely, the variable type of the target resource file is updated to the corresponding target resource type from the resource type to be replaced, and the target resource file is updated after the target resource file is updated.
According to the technical scheme provided by the embodiment of the disclosure, the corresponding relation between the resource type to be replaced and the target resource type recorded in the resource type replacement relation is utilized, the replacement and the update of the resource type in the resource file are realized, the synchronous update of the resource file after the target file is updated is ensured, the resource type in the resource file does not need to be manually modified one by one, the update efficiency of the resource file is improved, and the accuracy of compiling and updating is improved.
In an exemplary embodiment, after obtaining the updated target resource file, the method further includes: compiling the updated target resource file to obtain a compiled resource file; updating the historical compiled resource file corresponding to the target resource file into a compiled resource file; the historical compiled resource file is in the same compiled format as the compiled resource file.
Specifically, compiling the resource file refers to compiling the resource file to obtain a new binary file; for example, the server compiles a new XML resource file into a binary file, so that the analysis speed during operation can be increased. And after the server obtains the new file in the corresponding compiling format, the new compiling resource file is covered with the old compiling resource file so as to complete the updating of the compiling resource file.
Further, after the server compiles the updated target resource file to obtain a compiled resource file, the server may package the obtained compiled resource file and the updated target compiled file to obtain a Software package that can be run, such as an SDK (Software Development Kit) file.
According to the technical scheme provided by the embodiment of the disclosure, the resource file is recompiled according to the characteristics of the running to obtain a new compiled resource file capable of improving the analysis speed of the running, and the old compiled resource file is replaced to cover the new compiled resource file, so that the efficient and normal running of the program is ensured.
Fig. 6 is a flowchart illustrating another method for updating a compiled file, according to an exemplary embodiment, which is used in the server shown in fig. 1, as shown in fig. 6, and includes the following steps:
step S610, acquiring a first file identifier and a second file identifier of a compiled file in a compiled file set; and screening the compiled files of which the first file identifications are not matched with the first preset identifications in the first preset identification set and the second file identifications are not matched with the second preset identifications in the second preset identification set from the compiled file set as target compiled files.
Step S620, extracting a type replacement relation between the type to be replaced and the target type according to second configuration information in the preset configuration file; acquiring a type to be replaced in the type replacement relation; and screening out the type matched with the type to be replaced from the types contained in the target compiled file, and taking the type as the type to be replaced in the target compiled file.
Step S630, according to the type replacement relationship, determining a target type corresponding to the type to be replaced in the target compilation file; and updating the type to be replaced in the target compilation file into a corresponding target type to obtain an updated target compilation file.
Step S640, determining a target resource file from the resource files associated with the target compilation file according to third configuration information in a preset configuration file; the third configuration information comprises a resource type replacing relation between the resource type to be replaced and a target resource type, and the target resource file is a resource file containing at least one resource type to be replaced; and updating the resource type to be replaced in the target resource file into the corresponding target resource type according to the resource type replacement relation to obtain the updated target resource file.
Step S650, compiling the updated target resource file to obtain a compiled resource file; replacing the historical compiled resource file corresponding to the target resource file with a compiled resource file; the historical compiled resource file is in the same compiled format as the compiled resource file.
The technical scheme provided by the embodiment of the disclosure can achieve the following technical effects: (1) the compiling files and the resource files are not required to be modified one by one manually, so that the efficiency of compiling and updating the compiling files and the resource files is improved; (2) the type to be replaced and the type of the resource to be replaced which need to be updated are preset through the configuration file, automatic searching can be achieved, searching efficiency is improved, omission is avoided, and comprehensiveness of compiling and updating is improved; the configuration file can be modified at any time, and the flexibility of application is realized; (3) compiling after the replacement is completed can increase the speed of runtime parsing.
FIG. 7 is a flowchart illustrating an application of an update method for a compiled file, as shown in FIG. 7, for use in the server shown in FIG. 1, in accordance with an exemplary embodiment; the byte code file is equivalent to a compiled file, the file name is equivalent to a first file identifier, the name of a package to which the file belongs is equivalent to a second file identifier, and the "class _ black _ list" is equivalent to a first preset identifier and is marked as a file name blacklist; the "package _ black _ list" is equivalent to a second preset identifier and is marked as a packet name blacklist to which the packet name blacklist belongs; the type list is equivalent to the type replacement relation between the type to be replaced and the target type; the method specifically comprises the following steps:
(1) the server traverses all the byte code files, and identifies the file names and the package names of the byte code files; (2) determining whether the file name of the byte code file is in a file name blacklist, if not, continuously judging whether the name of the packet is in a packet name blacklist; (3) if the file name and the package name are not in the blacklist, determining the file as a byte code file which needs to be replaced, and replacing the type according to the rule recorded in the type list; and if the file name or the name of the affiliated package is matched with the corresponding blacklist, determining that the byte code file is not in the range needing to be replaced.
The embodiment realizes the screening of the byte code files by setting the blacklist information, realizes the identification and replacement of the types to be replaced by the type list, does not need manual modification one by one, improves the updating efficiency of the compiled files, and further improves the development efficiency; meanwhile, other unpredictable problems caused by manual work which fails when the work is processed one by one are avoided, and the development progress is delayed.
FIG. 8 is a flowchart illustrating a method of updating a resource compilation file, as shown in FIG. 8, for use in the server shown in FIG. 1 in accordance with an exemplary embodiment; the file needing type repositioning is equivalent to a resource file containing at least one resource type to be replaced, the type in the resource file is equivalent to the resource type to be replaced in a target resource file, the resource file compiled into a binary system is equivalent to a compiled resource file, and the old binary resource file is equivalent to a historical compiled resource file. The method specifically comprises the following steps:
(1) the server traverses all resource files; (2) finding a resource file containing resource compilation to be replaced in the resource type replacement relation as a file needing type relocation; (3) compiling the corresponding replacement resource to be replaced according to the resource type to be replaced in the resource type replacement relation, and finishing the step of modifying the type in the resource file; (4) recompiling the modified resource file by binary system; (5) and covering the compiled binary resource file with the old binary resource file.
According to the embodiment, the resource file which needs to be subjected to resource compiling replacement operation is determined by traversing the resource file, the resource file is subjected to replacement and compiling operation, the compiled file is correspondingly covered with the history file, the compiled resource file which can be directly applied is obtained, the development process is simplified, and the development process efficiency is improved.
It should be understood that although the various steps in the flow charts of fig. 2-8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
FIG. 9 is a block diagram illustrating an apparatus for updating a compiled file, according to an example embodiment. Referring to fig. 9, the apparatus includes a file determining unit 902, a type determining unit 904, and a type updating unit 906.
A file determining unit 902, configured to determine a target compiled file from the compiled file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identification set, the preset file identification set comprises at least one preset file identification, and the target compiled file is a compiled file of which the file identification is not matched with each preset file identification in the preset file identification set;
a type determining unit 904, configured to identify a type to be replaced in the target compilation file according to second configuration information in a preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type;
the type updating unit 906 is configured to update the type to be replaced in the target compiled file to the corresponding target type according to the type replacement relationship, so as to obtain an updated target compiled file.
In an exemplary embodiment, the preset file identifier sets include a first preset identifier set and a second preset identifier set;
a file determining unit 902, further configured to perform obtaining a first file identifier and a second file identifier of a compiled file in the compiled file set; and screening the compiled files of which the first file identifications are not matched with the first preset identifications in the first preset identification set and the second file identifications are not matched with the second preset identifications in the second preset identification set from the compiled file set as target compiled files.
In an exemplary embodiment, the type determining unit 904 is further configured to obtain a type to be replaced in the type replacement relationship; and screening out the type matched with the type to be replaced from the types contained in the target compiled file, and taking the type as the type to be replaced in the target compiled file.
In an exemplary embodiment, the preset configuration file further includes third configuration information;
the device also comprises a resource file updating unit which is configured to determine a target resource file from the resource files associated with the target compilation file according to third configuration information in a preset configuration file; the third configuration information comprises a resource type replacing relation between the resource type to be replaced and a target resource type, and the target resource file is a resource file containing at least one resource type to be replaced; and updating the resource type to be replaced in the target resource file into the corresponding target resource type according to the resource type replacement relation to obtain the updated target resource file.
In an exemplary embodiment, the resource file updating unit is further configured to perform identifying a resource type to be replaced in the resource type replacement relationship; screening out a resource type matched with the resource type to be replaced from the resource types contained in the target resource file, and taking the resource type as the resource type to be replaced in the target resource file; and updating the type of the resource to be replaced in the target resource file into the corresponding target resource type to obtain the updated target resource file.
In an exemplary embodiment, the apparatus further includes a compiled resource file updating unit configured to perform compiling the updated target resource file to obtain a compiled resource file; updating the historical compiled resource file corresponding to the target resource file into a compiled resource file; the historical compiled resource file is in the same compiled format as the compiled resource file.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating an apparatus 1000 for performing an update method of a compiled file, according to an example embodiment. For example, the device 1000 may be a server. Referring to fig. 10, device 1000 includes a processing component 1020 that further includes one or more processors and memory resources, represented by memory 1022, for storing instructions, such as application programs, that are executable by processing component 1020. The application programs stored in memory 1022 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1020 is configured to execute instructions to perform the above-described compiled file update method.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as memory 1022, is also provided that is executable by the processor of device 1000 to perform the above-described method. The storage medium may be a computer-readable storage medium, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product including a computer program stored in a computer-readable storage medium, from which at least one processor of a device reads and executes the computer program, so that the device performs the update method of a compiled file in any one of the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. An updating method of a compiled file, comprising:
determining a target compilation file from the compilation file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identifier set, the preset file identifier set comprises at least one preset file identifier, and the target compiled file is a compiled file of which the file identifier is not matched with each preset file identifier in the preset file identifier set;
identifying a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type;
and updating the type to be replaced in the target compilation file into a corresponding target type according to the type replacement relation to obtain an updated target compilation file.
2. The method for updating the compiled file according to claim 1, wherein the preset file identifier set includes a first preset identifier set and a second preset identifier set;
the determining a target compilation file from the compilation file set according to the first configuration information in the preset configuration file includes:
acquiring a first file identifier and a second file identifier of a compiled file in the compiled file set;
and screening the compiled files of which the first file identifications are not matched with the first preset identifications in the first preset identification set and the second file identifications are not matched with the second preset identifications in the second preset identification set from the compiled file set as the target compiled files.
3. The method for updating the compiled file of claim 1, wherein the identifying the type to be replaced in the target compiled file according to the second configuration information in the preset configuration file includes:
acquiring the type to be replaced in the type replacement relationship;
and screening out a type matched with the type to be replaced from the types contained in the target compiled file, wherein the type is used as the type to be replaced in the target compiled file.
4. The method for updating a compiled file according to any one of claims 1 to 3, wherein the preset configuration file further includes third configuration information;
after obtaining the updated target compilation file, the method further comprises:
determining a target resource file from the resource files associated with the target compilation file according to third configuration information in the preset configuration file; the third configuration information comprises a resource type replacement relationship between a resource type to be replaced and a target resource type, and the target resource file is a resource file containing at least one resource type to be replaced;
and updating the resource type to be replaced in the target resource file into a corresponding target resource type according to the resource type replacement relation to obtain an updated target resource file.
5. The method for updating a compiled file according to claim 4, wherein the updating the resource type to be replaced in the target resource file to a corresponding target resource type according to the resource type replacement relationship to obtain an updated target resource file includes:
identifying the resource type to be replaced in the resource type replacement relation;
screening out a resource type matched with the resource type to be replaced from the resource types contained in the target resource file, and taking the resource type as the resource type to be replaced in the target resource file;
and updating the type of the resource to be replaced in the target resource file into a corresponding target resource type to obtain an updated target resource file.
6. The method for updating a compiled file according to claim 4, further comprising, after obtaining the updated target resource file:
compiling the updated target resource file to obtain a compiled resource file;
updating a historical compiled resource file corresponding to the target resource file into the compiled resource file; the historical compiled resource file is in the same compiling format as the compiled resource file.
7. An updating apparatus for a compiled file, comprising:
the file determining unit is configured to determine a target compiled file from the compiled file set according to first configuration information in a preset configuration file; the first configuration information comprises a preset file identifier set, the preset file identifier set comprises at least one preset file identifier, and the target compiled file is a compiled file of which the file identifier is not matched with each preset file identifier in the preset file identifier set;
the type determining unit is configured to identify a type to be replaced in the target compiling file according to second configuration information in the preset configuration file; the second configuration information comprises a type replacement relation between the type to be replaced and the target type;
and the type updating unit is configured to update the type to be replaced in the target compilation file into a corresponding target type according to the type replacing relation, so as to obtain an updated target compilation file.
8. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of updating a compiled file of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the method of updating a compiled file of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method for updating a compiled file of any one of claims 1 to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110460598.2A CN113157296B (en) | 2021-04-27 | 2021-04-27 | Method and device for updating compiled file, server and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110460598.2A CN113157296B (en) | 2021-04-27 | 2021-04-27 | Method and device for updating compiled file, server and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113157296A true CN113157296A (en) | 2021-07-23 |
| CN113157296B CN113157296B (en) | 2024-03-12 |
Family
ID=76871608
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110460598.2A Active CN113157296B (en) | 2021-04-27 | 2021-04-27 | Method and device for updating compiled file, server and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113157296B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113626051A (en) * | 2021-07-27 | 2021-11-09 | 北京达佳互联信息技术有限公司 | Byte code updating method and device and electronic equipment |
| CN114047917A (en) * | 2021-07-30 | 2022-02-15 | 中国科学院信息工程研究所 | A method and device for identifying compilation-related files based on machine learning |
| CN114924742A (en) * | 2022-05-18 | 2022-08-19 | 京东科技信息技术有限公司 | Method and device for making and applying hot patch for virtual machine simulation software |
| CN115510007A (en) * | 2022-08-17 | 2022-12-23 | 北京城市网邻信息技术有限公司 | Compiled file updating method, device, electronic device and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6895581B1 (en) * | 2000-03-30 | 2005-05-17 | Microsoft Corporation | Replaceable classes and virtual constructors for object-oriented programming languages |
| JP2012123664A (en) * | 2010-12-09 | 2012-06-28 | Renesas Electronics Corp | Build execution support system, build execution support method, and build execution support program |
| CN109960656A (en) * | 2019-03-22 | 2019-07-02 | 北京三快在线科技有限公司 | Detection method, device and the electronic equipment of program |
| CN110990019A (en) * | 2019-11-20 | 2020-04-10 | 腾讯音乐娱乐科技(深圳)有限公司 | Java class analysis method and device, storage medium and electronic equipment |
| CN111475192A (en) * | 2020-04-15 | 2020-07-31 | 上海莉莉丝科技股份有限公司 | Method, device, storage medium and system for performing hot update on game server |
-
2021
- 2021-04-27 CN CN202110460598.2A patent/CN113157296B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6895581B1 (en) * | 2000-03-30 | 2005-05-17 | Microsoft Corporation | Replaceable classes and virtual constructors for object-oriented programming languages |
| JP2012123664A (en) * | 2010-12-09 | 2012-06-28 | Renesas Electronics Corp | Build execution support system, build execution support method, and build execution support program |
| CN109960656A (en) * | 2019-03-22 | 2019-07-02 | 北京三快在线科技有限公司 | Detection method, device and the electronic equipment of program |
| CN110990019A (en) * | 2019-11-20 | 2020-04-10 | 腾讯音乐娱乐科技(深圳)有限公司 | Java class analysis method and device, storage medium and electronic equipment |
| CN111475192A (en) * | 2020-04-15 | 2020-07-31 | 上海莉莉丝科技股份有限公司 | Method, device, storage medium and system for performing hot update on game server |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113626051A (en) * | 2021-07-27 | 2021-11-09 | 北京达佳互联信息技术有限公司 | Byte code updating method and device and electronic equipment |
| CN114047917A (en) * | 2021-07-30 | 2022-02-15 | 中国科学院信息工程研究所 | A method and device for identifying compilation-related files based on machine learning |
| CN114924742A (en) * | 2022-05-18 | 2022-08-19 | 京东科技信息技术有限公司 | Method and device for making and applying hot patch for virtual machine simulation software |
| CN114924742B (en) * | 2022-05-18 | 2025-09-16 | 京东科技信息技术有限公司 | Hot patch manufacturing and application method and device for virtual machine simulation software |
| CN115510007A (en) * | 2022-08-17 | 2022-12-23 | 北京城市网邻信息技术有限公司 | Compiled file updating method, device, electronic device and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113157296B (en) | 2024-03-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113157296B (en) | Method and device for updating compiled file, server and storage medium | |
| CN112394942B (en) | Distributed software development compiling method and software development platform based on cloud computing | |
| CN111061484A (en) | Code compilation method, apparatus, server, user terminal and readable medium | |
| CN110058998B (en) | Software testing method and device | |
| CN111382070A (en) | Compatibility testing method and device, storage medium and computer equipment | |
| CN111447227A (en) | Protocol analysis method and device of Internet of things equipment | |
| CN106648755B (en) | A method and device for dynamically loading dex in Android art environment | |
| CN111679852A (en) | Detection method and device for conflict dependency library | |
| CN113656321A (en) | Automated testing method, system, equipment and medium | |
| CN114265772B (en) | Test case generation method and test method | |
| US20190258803A1 (en) | Guiding automated testing of binary programs | |
| CN114461252A (en) | Software service upgrading method based on big data vulnerability analysis and Internet AI system | |
| CN114647439A (en) | Code scanning method, code migration method and related device | |
| CN112506923B (en) | Method, device and electronic device for determining link of method call corresponding to business | |
| CN112559088B (en) | Configuration file optimization method, device, server and storage medium | |
| CN110674024B (en) | Electronic equipment integrated test system and method thereof | |
| CN113495723A (en) | Method and device for calling functional component and storage medium | |
| CN112631599A (en) | Compiling method, device and storage medium | |
| CN112416362A (en) | PDK compiling function implementation method | |
| CN113946516A (en) | Code coverage rate determining method and device and storage medium | |
| CN118193382A (en) | Application program testing method, device, equipment, storage medium and program product | |
| CN107015909B (en) | Test method and device based on code change analysis | |
| CN113778888B (en) | Code automatic test method, system, equipment and storage medium | |
| CN113220595B (en) | Test method and test equipment | |
| CN112783501B (en) | Hotspot compilation unit determination method, device and server |
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 |