CN113282297A - Software compiling result management method and equipment - Google Patents

Software compiling result management method and equipment Download PDF

Info

Publication number
CN113282297A
CN113282297A CN202110651035.1A CN202110651035A CN113282297A CN 113282297 A CN113282297 A CN 113282297A CN 202110651035 A CN202110651035 A CN 202110651035A CN 113282297 A CN113282297 A CN 113282297A
Authority
CN
China
Prior art keywords
software
result
compiling result
software compiling
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110651035.1A
Other languages
Chinese (zh)
Inventor
李彤敏
苏小彦
张艳
李靖
陈鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110651035.1A priority Critical patent/CN113282297A/en
Publication of CN113282297A publication Critical patent/CN113282297A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

The embodiment of the disclosure provides a software compiling result management method and equipment, and relates to the technical field of image processing. The method comprises the following steps: acquiring a software compiling result and attributes of the software compiling result, wherein the attributes of the software compiling result comprise at least one of the following items: software compiling result identification, code identification, requirement identification, trial report identification and change order identification corresponding to the software compiling result; storing the software compiling result into a software compiling result library; and setting the attribute of the software compiling result in the software compiling result library. When the software compiling result is stored in the software compiling result library, the related information such as the software code, the requirement, the test report, the change order and the like is set as the attribute of the software compiling result. Therefore, the association unification among the software compiling result, the software code, the requirement, the test report and the change list is realized, and the association complexity is reduced.

Description

Software compiling result management method and equipment
Technical Field
The embodiment of the disclosure relates to the technical field of software delivery, in particular to a software compiling result management method and device.
Background
Software delivery refers to the process of compiling, testing and releasing software codes. After compiling, an executable file (which may be referred to as a software compiling result) is formed, and the software compiling result includes a binary code that can be run by a machine. And testing whether the function for verifying the software compiling result is normal or not, and issuing the software compiling result for verifying the normal to be put into use. In order to accurately grasp the relevant information of the software compiling result in the software delivery process, the relevant information may include: the software code, the requirement of the software code, the test report and the change list can correlate the software compiling result and the related information to form the correlation relationship between the software compiling result and the related information.
How to reduce the complexity of establishing the association between the software compiling result and the related information becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the disclosure provides a software compiling result management method and device, which can reduce the complexity of establishing an incidence relation between a software compiling result and the related information.
In a first aspect, an embodiment of the present disclosure provides a software compilation result management method, including:
acquiring a software compiling result and attributes of the software compiling result, wherein the attributes of the software compiling result comprise at least one of the following items: a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, a requirement identifier corresponding to the software compiling result, a test report identifier corresponding to the software compiling result, and a change order identifier corresponding to the software compiling result;
storing the software compiling result into a software compiling result library;
and setting the attribute of the software compiling result in the software compiling result library.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, and a requirement identifier corresponding to the software compiling result, the obtaining the software compiling result and the attribute of the software compiling result include:
integrating and constructing a target code branch corresponding to a target requirement to obtain a software compiling result corresponding to the target code branch;
and generating a software compiling result identifier of the software compiling result, and acquiring the code identifier of the target code branch and the requirement identifier of the target requirement.
Optionally, when the attribute of the software compilation result further includes a test report identifier corresponding to the software compilation result, after the attribute of the software compilation result is set in the software compilation result library, the method further includes:
performing target test on the software compiling result to obtain a test report and a test report identifier of the test report;
and adding the test report identification of the test report into the attribute of the software compiling result.
Optionally, when the attribute of the software compilation result further includes a change order identifier corresponding to the software compilation result, after the adding the test report identifier of the test report to the attribute of the software compilation result, the method further includes:
receiving a change order sent by a release change system, wherein the change order is used for changing a release software compiling result into a software compiling result;
and adding the change order identification of the change order into the attribute of the software compiling result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result and a test report identifier corresponding to the software compiling result, the obtaining the software compiling result and the attribute of the software compiling result include:
acquiring a software compiling result which is not subjected to the target test from the software compiling result library;
carrying out the target test on the software compiling result to obtain a test report and a test report identifier corresponding to the test report;
and generating a software compiling result identifier of the software compiling result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result and a change order identifier corresponding to the software compiling result, the obtaining the software compiling result and the attribute of the software compiling result include:
receiving a change order sent by a release change system, wherein the change order is used for changing a release software compiling result into a software compiling result;
acquiring the software compiling result from the software compiling result library;
and generating a software compiling result identifier of the software compiling result and a change list identifier of the change list.
Optionally, the method further comprises:
receiving a first viewing instruction of a target software compiling result in the software compiling result library;
and responding to the first viewing instruction, and displaying at least one attribute corresponding to the target software compiling result in the software compiling result library.
Optionally, the method further comprises:
receiving a second viewing instruction for a target attribute of the at least one attribute;
in response to the second viewing instruction, displaying detailed information of the target attribute in the software compilation result library, the detailed information including at least one of: code details corresponding to the code identification, requirement details corresponding to the requirement identification, test report contents corresponding to the test report identification, and change order contents corresponding to the change order identification.
In a second aspect, an embodiment of the present disclosure provides a software compilation result management apparatus, including:
a software compiling result obtaining module, configured to obtain a software compiling result and attributes of the software compiling result, where the attributes of the software compiling result include at least one of the following: a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, a requirement identifier corresponding to the software compiling result, a test report identifier corresponding to the software compiling result, and a change order identifier corresponding to the software compiling result;
the software compiling result storage module is used for storing the software compiling result into a software compiling result library;
and the software compiling result attribute setting module is used for setting the attribute of the software compiling result in the software compiling result library.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, and a requirement identifier corresponding to the software compiling result, the software compiling result obtaining module is further configured to:
integrating and constructing a target code branch corresponding to a target requirement to obtain a software compiling result corresponding to the target code branch;
and generating a software compiling result identifier of the software compiling result, and acquiring the code identifier of the target code branch and the requirement identifier of the target requirement.
Optionally, when the attribute of the software compilation result further includes a test report identifier corresponding to the software compilation result, the apparatus further includes:
the test module is used for carrying out target test on the software compiling result after the attribute of the software compiling result is set in the software compiling result library to obtain a test report and a test report identifier of the test report;
and the test report adding module is used for adding the test report identification of the test report into the attribute of the software compiling result.
Optionally, when the attribute of the software compilation result further includes a change order identifier corresponding to the software compilation result, the apparatus further includes:
the change order receiving module is used for receiving a change order sent by a release change system after the test report identification of the test report is added into the attribute of the software compiling result, wherein the change order is used for changing the software compiling result into the software compiling result;
and the change list adding module is used for adding the change list identification of the change list into the attribute of the software compiling result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result and a test report identifier corresponding to the software compiling result, the software compiling result obtaining module is further configured to:
acquiring a software compiling result which is not subjected to the target test from the software compiling result library;
carrying out the target test on the software compiling result to obtain a test report and a test report identifier corresponding to the test report;
and generating a software compiling result identifier of the software compiling result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result and a change order identifier corresponding to the software compiling result, the software compiling result obtaining module is further configured to:
receiving a change order sent by a release change system, wherein the change order is used for changing a release software compiling result into a software compiling result;
acquiring the software compiling result from the software compiling result library;
and generating a software compiling result identifier of the software compiling result and a change list identifier of the change list.
Optionally, the apparatus further comprises:
the first viewing instruction receiving module is used for receiving a first viewing instruction of a target software compiling result in the software compiling result library;
and the first viewing module is used for responding to the first viewing instruction and displaying at least one attribute corresponding to the target software compiling result in the software compiling result library.
Optionally, the apparatus further comprises:
the second viewing instruction receiving module is used for receiving a second viewing instruction of a target attribute in the at least one attribute;
a second viewing module, configured to display detailed information of the target attribute in the software compilation result base in response to the second viewing instruction, where the detailed information includes at least one of: code details corresponding to the code identification, requirement details corresponding to the requirement identification, test report contents corresponding to the test report identification, and change order contents corresponding to the change order identification.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory to cause the electronic device to implement the method of the first aspect.
In a fourth aspect, the present disclosure provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, cause a computing device to implement the method according to the first aspect.
In a fifth aspect, the present disclosure provides a computer program for implementing the method according to the first aspect.
The embodiment of the disclosure provides a software compiling result management method and equipment, wherein the method comprises the following steps: acquiring a software compiling result and attributes of the software compiling result, wherein the attributes of the software compiling result comprise at least one of the following items: a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, a requirement identifier corresponding to the software compiling result, a test report identifier corresponding to the software compiling result, and a change order identifier corresponding to the software compiling result; storing the software compiling result into a software compiling result library; and setting the attribute of the software compiling result in the software compiling result library. When the software compiling result is stored in the software compiling result library, the related information such as the software code, the requirement, the test report, the change order and the like is set as the attribute of the software compiling result. Therefore, the association unification among the software compiling result, the software code, the requirement, the test report and the change list is realized, and the association complexity is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic diagram illustrating a software delivery process;
FIG. 2 is a diagram illustrating the relationship between software compilation results and requirements, software code, test reports, and change lists in the prior art;
FIG. 3 is a flowchart illustrating steps of a software compilation result management method according to an embodiment of the present disclosure;
fig. 4 is a block diagram illustrating a structure of a software compilation result management apparatus provided for an embodiment of the present disclosure;
fig. 5 illustrates a block diagram of an electronic device provided for an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The embodiment of the disclosure can be applied to a software delivery process. Fig. 1 illustrates a schematic diagram of a software delivery process. Referring to FIG. 1, the software delivery process may include the following major steps: firstly, a developer carries out software development of a software branch corresponding to a requirement according to the requirement and carries out internal test to obtain a software code; then, compiling the software code through a continuous construction tool to obtain a first software compiling result; then, testing the first software compiling result by a tester, or automatically testing the first software compiling result by an automatic testing tool to obtain a testing report, so that the first software compiling result is upgraded to a second software compiling result, and the contents of the first software compiling result and the second software compiling result are the same; finally, the second software compiling result is released according to the change list, the released second software compiling result can be called as a third software compiling result to use the second software compiling result, and the change list is used for specifying the released second software compiling result.
The first software compilation result may also be referred to as a primary software compilation result. After the primary software compiling result is obtained, the test may be performed multiple times in sequence to obtain multiple software compiling results for the same primary software compiling result, which may be respectively referred to as a middle-level software compiling result, a high-level software compiling result, a final software compiling result, and the like.
In the software delivery process, the software compiling result can be associated with the requirement, the software code, the software test report and the change order so as to conveniently manage the software compiling result. Fig. 2 illustrates the association relationship between software compiling results and requirements, software codes, test reports and change lists in the prior art. Referring to FIG. 2, in developing software code on demand, the requirements and the software code achieve an association. The software code and the first software compilation result have the same first identifier so as to realize the association of the software code and the first software compilation result. After the second software compiling result is tested to obtain the test report, the software compiling result identifier of the second software compiling result can be written in the test report, so that the association between the test report and the second software compiling result is realized. When the published third software compiling result is changed in the at least one second software compiling result through the change list, the software compiling result identifier of the third software compiling result can be written in the change list so as to realize the association between the change list and the third software compiling result.
It can be seen that, in the prior art, the correlation modes between the software compiling result and the software code, the correlation modes between the software compiling result and the test report, and the correlation modes between the software compiling result and the change order are different, so that the correlation complexity between the software compiling result and the software code, the test report, and the change order is higher.
In order to solve the above problem, in the embodiment of the present disclosure, when the software compiling result is stored in the software compiling result library, the relevant information such as the software code, the requirement, the test report, the change order, and the like is set as the attribute of the software compiling result. Therefore, the association unification among the software compiling result, the software code, the requirement, the test report and the change list is realized, and the association complexity is reduced.
The following describes in detail the technical solutions of the embodiments of the present disclosure and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
Fig. 3 is a flowchart illustrating steps of a software compilation result management method according to an embodiment of the present disclosure. Referring to fig. 3, the software compilation result management method includes:
s101: acquiring a software compiling result and attributes of the software compiling result, wherein the attributes of the software compiling result comprise at least one of the following items: the software compiling result identification corresponding to the software compiling result, the code identification corresponding to the software compiling result, the requirement identification corresponding to the software compiling result, the test report identification corresponding to the software compiling result and the change list identification corresponding to the software compiling result.
The software compiling result is an executable file obtained by compiling the software code.
The software compiling result identifier of the software compiling result is used for uniquely identifying one software compiling result, and the software compiling result identifier can be a software compiling result name. In some embodiments, the software compilation results in different states correspond to different or the same software compilation result identification. For example, for the software compiling result a, the software compiling result a is upgraded to the software compiling result B after the object test, and the contents of the software compiling result a and the software compiling result B are the same. In one example, the software compiling result a and the software compiling result B may be stored as one software compiling result in the software compiling result library, so that the software compiling result a and the software compiling result B correspond to the same software compiling result identifier and the remaining attributes. In another example, the software compiling result a and the software compiling result B may be stored in a software compiling result library respectively, so that the software compiling result a and the software compiling result B correspond to different software compiling result identifiers and other attributes.
The code identifier of the software compiling result is a code identifier corresponding to a code branch corresponding to the software compiling result, and the code identifier may be a storage path of the code branch. The code branch corresponds to a requirement, a developer develops a code based on the requirement to obtain the code branch corresponding to the requirement, and the requirement is associated with the code branch at the moment, namely, the requirement identifier of the requirement is associated with the code identifier of the code branch.
The test report of the software compilation result identifies a test report for uniquely identifying the software compilation result, and the test report may be an automated test report or a manual test report. And after testing the software compiling result, obtaining a test report of the software compiling result and a test report identifier of the test report. The test report identifier may be a storage path of the test report, and the storage path is obtained when the test report is stored.
The change list mark of the software compiling result is the unique mark of the change list, and the change list is used for changing the software compiling result which is released in the tested software compiling result. The change list may specify information such as a software compilation result before the change, a software compilation result after the change, and a change time. The change order identifier of the software compilation result indicates that the changed software compilation result corresponding to the change order identifier is the software compilation result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, and a requirement identifier corresponding to the software compiling result, the attribute of the software compiling result and the attribute of the software compiling result may be obtained through the following steps: firstly, integrating and constructing a target code branch corresponding to a target requirement to obtain a software compiling result corresponding to the target code branch; then, a software compiling result identifier of the software compiling result is generated, and a code identifier of the target code branch and a requirement identifier of the target requirement are obtained.
The software compiling result identification is generated by the software compiling result base according to the naming rule of the software compiling result, and the newly generated software compiling result identification is different from the existing software compiling result identification in the software compiling result base.
The code identification of the target code branch may be a memory address of the target code branch, which is determined when the target code branch is stored. The target code branch is a software code corresponding to a functional module, and a commonly used device for storing the software code is a TFS (team foundation server).
It should be noted that, when the target code branch is developed, the target code branch is developed according to the requirement, that is, the requirement identifier of the requirement and the code identifier of the target code branch are associated when software development is performed.
In the embodiment of the present disclosure, after the software compiling result is obtained through compiling, S102 and S103 are performed. After S103, a test and a change of the change list are performed on the software compilation result. The embodiment of the disclosure can set the test report identifier and the change order identifier as the attributes of the software compiling result in two ways.
In the first way, the target test may be performed on the software compiling result to obtain the test report and the test report identifier of the test report, and the test report identifier of the test report is added to the attribute of the software compiling result. And finally, receiving a change order sent by the release change system, wherein the change order is used for changing the compilation result of the release software into the compilation result of the software and adding a change order identifier of the change order into the attribute of the compilation result of the software.
The target test can be an automatic test or a manual test, and the target test can be one test or a plurality of tests.
It can be seen that, in the embodiment of the present disclosure, after the software compiling result is obtained by compiling, the software compiling result is stored once. After the software compiling result is tested, the software compiling result is not stored in a software compiling result library as a new record. Similarly, after the software compiling result is designated as the issued software compiling result according to the change list, the software compiling result is not stored in the software compiling result base as a new record. In this case, the software compilation result library does not include at least two records of the same software compilation result.
The following exemplifies a process of updating the software compilation results and attributes in the software compilation result library.
First, a software compilation result P1 is obtained by compilation, P1 is stored in a software compilation result library, and a software compilation result identification ID11, a code identification ID12, and a requirement identification ID13 of P1 are set as attributes of P1.
Then, testing P1 to get a test report and a test report identification ID14, and adding the test report identification ID14 to the attributes of P1, where the attributes of P1 include: software compilation result identification ID11, code identification ID12, requirement identification ID13, and test report identification ID 14.
Finally, the released software compiling result is updated to a software compiling result P1 according to the change list, and the change list identification ID15 of the change list is added to the attribute of P1, at this time, the attribute of the software compiling result P1 includes: the software compilation result identification ID11, the code identification ID12, the requirement identification ID13, the test report identification ID14 and the change order identification ID15, and there is no record in the software compilation result library as in the software compilation result P1.
In the second manner, first, S101 to S103 are executed for the second time to set the test report flag as the attribute of the software compilation result, and then, S101 to S103 are executed for the third time to set the change order flag as the attribute of the software compilation result.
When S101 is executed for the second time, firstly, a software compiling result that has not undergone the target test may be obtained from the software compiling result library; then, carrying out target test on the software compiling result to obtain a test report and a test report identifier corresponding to the test report; and finally, generating a software compiling result identifier of the software compiling result.
Wherein, the test report identification can be a storage address of the test report.
When S101 is executed for the third time, first, a change order sent by the release change system is received, where the change order is used to change the release software compilation result into the software compilation result; then, obtaining the software compiling result from a software compiling result library; and finally, generating a software compiling result identifier of the software compiling result and a change list identifier of the change list.
It can be seen that, in the embodiment of the present disclosure, after the software compiling result is obtained by compiling, the software compiling result is stored once. And after testing the software compiling result, storing the software compiling result as a new record in a software compiling result library. Similarly, after the software compiling result is designated as the issued software compiling result according to the change list, the software compiling result is stored in the software compiling result base as a new record. In this case, the software compilation result library will include at least three records of the same software compilation result.
The following exemplifies a process of updating the software compilation results and attributes in the software compilation result library.
First, a software compilation result P1 is obtained by compilation, P1 is stored in a software compilation result library, and a software compilation result identification ID11, a code identification ID12, and a requirement identification ID13 of P1 are set as attributes of P1.
Then, after testing P1 to obtain a test report and a test report identification ID14, and storing P1 as a software compilation result P2 in a software compilation result library again, setting the software compilation result identification ID21 and the test report identification ID14 as attributes of P2, where the attributes of P1 include: the software compiling result identification ID11, the code identification ID12 and the requirement identification ID13, the attributes of the software compiling result P2 comprise a software compiling result identification ID21 and a test report identification ID14, and the software compiling result P1 and the software compiling result P2 correspond to the same software compiling result.
Finally, after the released software compilation result is updated to the software compilation result P2 according to the change order and the software compilation result P2 is stored in the software compilation result library as the software compilation result P3, the software compilation result ID31 and the change order ID15 of the change order are added to the attributes of P3, and at this time, the attributes of the software compilation result P1 include: the software compiling result ID11, the code ID12 and the requirement ID13, and the attributes of the software compiling result P2 include: the software compiling result identification ID21 and the test report identification ID14, and the attributes of the software compiling result P3 include: software compilation result identification ID31 and change order identification ID 15.
The software compilation result library may be any database for storing executable files. One common software compilation result library is artisactor.
Specifically, a software compiling result identifier of the software compiling result may be used as a key value to manage the software compiling result according to the software compiling result identifier.
S102: and storing the software compiling result into a software compiling result library.
S103: and setting the attribute of the software compiling result in the software compiling result library.
Specifically, the attributes of the software compilation result obtained in S101 are stored in the software compilation result library.
Based on the method of the embodiment of the disclosure, the software compiling result and the attribute of the software compiling result can be stored in the software compiling result library, so that all the attributes of the software compiling result are in one query view. Therefore, all attributes of the compiling result of the query software can be identified according to the software compiling result of the software compiling result. Specifically, a first viewing instruction of a target software compiling result in a software compiling result library is received; and responding to the first viewing instruction, and displaying at least one attribute corresponding to the target software compiling result in the software compiling result library.
It is understood that the software compilation results can be displayed in a list form in the software compilation result library, so that the user can select one or more target software compilation results, and the operation of the user on the one or more target software compilation results can be referred to as a first viewing instruction.
It should be noted that when the target software compilation result includes which attributes, the attributes can be displayed. For example, when the target software compiling result is a compiled software compiling result, the attributes that can be displayed are the code identifier and the requirement identifier of the target software compiling result. When the target software compiling result is a tested software compiling result, the displayed attributes can be a code identifier, a requirement identifier and a test report identifier of the target software compiling result. When the target software compiling result is a modified software compiling result specified by the change order, the displayable attributes can be a code identifier, a requirement identifier, a test report identifier and a change order identifier of the target software compiling result.
After displaying the at least one attribute of the target software compilation result, receiving a second viewing instruction for a target attribute of the at least one attribute; in response to the second viewing instruction, displaying detailed information of the target attribute in the software compilation result library, the detailed information including at least one of: code details corresponding to the code identification, requirement details corresponding to the requirement identification, test report contents corresponding to the test report identification, and change order contents corresponding to the change order identification.
Wherein the target attribute is an attribute specified by the second viewing instruction. The detailed information of the target attribute is related to the target attribute.
When the target attribute includes a code identification, the detailed information of the target attribute may include code details corresponding to the code identification. The code identification may be a stored path of the software code, such that a user clicking on the stored path may jump to the software details of the software code.
When the target attribute includes the requirement identifier, the detailed information of the target attribute may include requirement details corresponding to the requirement identifier.
When the target attribute includes the test report identifier, the detailed information of the target attribute may include the test report content corresponding to the test report identifier. The test report identification may be a storage path of the test report, so that a user clicking on the storage path may open the test report to display the test report content.
When the target attribute includes the change order identifier, the detailed information of the target attribute may include the change order content corresponding to the change order identifier. The change order identifier can be a storage path of the change order, so that the user can open the change order by clicking the storage path to display the content of the change order.
It should be noted that the target attribute may be one or more attributes.
Of course, the other servers may also obtain all the attributes of the target software compilation result or the target attributes of the target software compilation result from the software compilation result library by sending a request.
Fig. 4 exemplarily shows a block diagram of a software compilation result management apparatus provided in an embodiment of the present disclosure, corresponding to the software compilation result management method in the foregoing embodiment. For ease of illustration, only portions that are relevant to embodiments of the present disclosure are shown. Referring to fig. 4, the software compilation result management apparatus 200 includes: a software compilation result obtaining module 201, a software compilation result storing module 202 and a software compilation result attribute setting module 203.
The software compiling result obtaining module 201 is configured to obtain a software compiling result and an attribute of the software compiling result, where the attribute of the software compiling result includes at least one of the following: the software compiling result identification corresponding to the software compiling result, the code identification corresponding to the software compiling result, the requirement identification corresponding to the software compiling result, the test report identification corresponding to the software compiling result and the change order identification corresponding to the software compiling result.
And the software compiling result storage module 202 is used for storing the software compiling result into a software compiling result library.
A software compiling result attribute setting module 203, configured to set an attribute of the software compiling result in the software compiling result library.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, and a requirement identifier corresponding to the software compiling result, the software compiling result obtaining module 201 is further configured to:
integrating and constructing a target code branch corresponding to a target requirement to obtain a software compiling result corresponding to the target code branch; and generating a software compiling result identifier of the software compiling result, and acquiring the code identifier of the target code branch and the requirement identifier of the target requirement.
Optionally, when the attribute of the software compilation result further includes a test report identifier corresponding to the software compilation result, the apparatus further includes a test module and a test report adding module:
and the test module is used for carrying out target test on the software compiling result after the attribute of the software compiling result is set in the software compiling result library to obtain a test report and a test report identifier of the test report.
And the test report adding module is used for adding the test report identification of the test report into the attribute of the software compiling result.
Optionally, when the attribute of the software compilation result further includes a change order identifier corresponding to the software compilation result, the apparatus further includes a change order receiving module and a change order adding module:
and the change order receiving module is used for receiving a change order sent by the release change system after the test report identification of the test report is added into the attribute of the software compiling result, and the change order is used for changing the software compiling result into the software compiling result.
And the change list adding module is used for adding the change list identification of the change list into the attribute of the software compiling result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result and a test report identifier corresponding to the software compiling result, the software compiling result obtaining module 201 is further configured to:
acquiring a software compiling result which is not subjected to the target test from the software compiling result library; carrying out the target test on the software compiling result to obtain a test report and a test report identifier corresponding to the test report; and generating a software compiling result identifier of the software compiling result.
Optionally, when the attribute of the software compiling result includes a software compiling result identifier corresponding to the software compiling result and a change order identifier corresponding to the software compiling result, the software compiling result obtaining module 201 is further configured to:
receiving a change order sent by a release change system, wherein the change order is used for changing a release software compiling result into a software compiling result; acquiring the software compiling result from the software compiling result library; and generating a software compiling result identifier of the software compiling result and a change list identifier of the change list.
Optionally, the apparatus further includes a first viewing instruction receiving module and a first viewing module:
and the first viewing instruction receiving module is used for receiving a first viewing instruction of a target software compiling result in the software compiling result library.
And the first viewing module is used for responding to the first viewing instruction and displaying at least one attribute corresponding to the target software compiling result in the software compiling result library.
Optionally, the apparatus further includes a second viewing instruction receiving module and a second viewing module:
and the second viewing instruction receiving module is used for receiving a second viewing instruction of a target attribute in the at least one attribute.
A second viewing module, configured to display detailed information of the target attribute in the software compilation result base in response to the second viewing instruction, where the detailed information includes at least one of: code details corresponding to the code identification, requirement details corresponding to the requirement identification, test report contents corresponding to the test report identification, and change order contents corresponding to the change order identification.
The software compilation result management apparatus provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 illustrates a block diagram of an electronic device 600 provided in an embodiment of the present disclosure. The electronic device 600 comprises a memory 602 and at least one processor 601;
wherein the memory 602 stores computer-executable instructions;
the at least one processor 601 executes computer-executable instructions stored by the memory 602 to cause the electronic device 601 to implement the method of fig. 3 as previously described.
In addition, the electronic device may further include a receiver 603 and a transmitter 604, the receiver 603 being configured to receive information from the remaining apparatuses or devices and forward the information to the processor 601, and the transmitter 604 being configured to transmit the information to the remaining apparatuses or devices.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for managing software compilation results, the method comprising:
acquiring a software compiling result and attributes of the software compiling result, wherein the attributes of the software compiling result comprise at least one of the following items: a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, a requirement identifier corresponding to the software compiling result, a test report identifier corresponding to the software compiling result, and a change order identifier corresponding to the software compiling result;
storing the software compiling result into a software compiling result library;
and setting the attribute of the software compiling result in the software compiling result library.
2. The method according to claim 1, wherein when the attribute of the software compilation result includes a software compilation result identifier corresponding to the software compilation result, a code identifier corresponding to the software compilation result, and a requirement identifier corresponding to the software compilation result, the obtaining the software compilation result and the attribute of the software compilation result include:
integrating and constructing a target code branch corresponding to a target requirement to obtain a software compiling result corresponding to the target code branch;
and generating a software compiling result identifier of the software compiling result, and acquiring the code identifier of the target code branch and the requirement identifier of the target requirement.
3. The method according to claim 2, wherein when the attribute of the software compilation result further includes a test report identifier corresponding to the software compilation result, after setting the attribute of the software compilation result in the software compilation result library, further comprising:
performing target test on the software compiling result to obtain a test report and a test report identifier of the test report;
and adding the test report identification of the test report into the attribute of the software compiling result.
4. The method according to claim 3, wherein when the attribute of the software compilation result further includes a change order identifier corresponding to the software compilation result, after the adding the test report identifier of the test report to the attribute of the software compilation result, further includes:
receiving a change order sent by a release change system, wherein the change order is used for changing a release software compiling result into a software compiling result;
and adding the change order identification of the change order into the attribute of the software compiling result.
5. The method according to claim 1, wherein when the attribute of the software compilation result includes a software compilation result identifier corresponding to the software compilation result and a test report identifier corresponding to the software compilation result, the obtaining the software compilation result and the attribute of the software compilation result includes:
acquiring a software compiling result which is not subjected to the target test from the software compiling result library;
carrying out the target test on the software compiling result to obtain a test report and a test report identifier corresponding to the test report;
and generating a software compiling result identifier of the software compiling result.
6. The method according to claim 1, wherein when the attribute of the software compilation result includes a software compilation result identifier corresponding to the software compilation result and a change order identifier corresponding to the software compilation result, the obtaining the software compilation result and the attribute of the software compilation result includes:
receiving a change order sent by a release change system, wherein the change order is used for changing a release software compiling result into a software compiling result;
acquiring the software compiling result from the software compiling result library;
and generating a software compiling result identifier of the software compiling result and a change list identifier of the change list.
7. The method according to any one of claims 1 to 6, further comprising:
receiving a first viewing instruction of a target software compiling result in the software compiling result library;
and responding to the first viewing instruction, and displaying at least one attribute corresponding to the target software compiling result in the software compiling result library.
8. The method of claim 7, further comprising:
receiving a second viewing instruction for a target attribute of the at least one attribute;
in response to the second viewing instruction, displaying detailed information of the target attribute in the software compilation result library, the detailed information including at least one of: code details corresponding to the code identification, requirement details corresponding to the requirement identification, test report contents corresponding to the test report identification, and change order contents corresponding to the change order identification.
9. A software compilation result management apparatus, comprising:
a software compiling result obtaining module, configured to obtain a software compiling result and attributes of the software compiling result, where the attributes of the software compiling result include at least one of the following: a software compiling result identifier corresponding to the software compiling result, a code identifier corresponding to the software compiling result, a requirement identifier corresponding to the software compiling result, a test report identifier corresponding to the software compiling result, and a change order identifier corresponding to the software compiling result;
the software compiling result storage module is used for storing the software compiling result into a software compiling result library;
and the software compiling result attribute setting module is used for setting the attribute of the software compiling result in the software compiling result library.
10. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the electronic device to implement the method of any of claims 1-8.
11. A computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a processor, cause a computing device to implement the method of any one of claims 1 to 8.
12. A computer program for implementing the method according to any one of claims 1 to 8.
CN202110651035.1A 2021-06-10 2021-06-10 Software compiling result management method and equipment Pending CN113282297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110651035.1A CN113282297A (en) 2021-06-10 2021-06-10 Software compiling result management method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110651035.1A CN113282297A (en) 2021-06-10 2021-06-10 Software compiling result management method and equipment

Publications (1)

Publication Number Publication Date
CN113282297A true CN113282297A (en) 2021-08-20

Family

ID=77284189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110651035.1A Pending CN113282297A (en) 2021-06-10 2021-06-10 Software compiling result management method and equipment

Country Status (1)

Country Link
CN (1) CN113282297A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067426A1 (en) * 2011-09-13 2013-03-14 Sonatype, Inc. Method and system for monitoring a software artifact
US20130067427A1 (en) * 2011-09-13 2013-03-14 Sonatype, Inc. Method and system for monitoring metadata related to software artifacts
CN108241493A (en) * 2018-01-09 2018-07-03 政采云有限公司 The automation continuous integrating of distributed software system and delivery method, device and system
US20190294528A1 (en) * 2018-03-26 2019-09-26 Ca, Inc. Automated software deployment and testing
CN111124469A (en) * 2019-11-25 2020-05-08 江苏艾佳家居用品有限公司 Continuous release system based on Docker mirror pixel data management
US10678866B1 (en) * 2016-09-30 2020-06-09 Vasumathi Ranganathan Rules driven content network for tracking, tracing, auditing and life cycle management of information artifacts
CN112180878A (en) * 2020-10-20 2021-01-05 上海新炬网络信息技术股份有限公司 Product life cycle control method in automatic operation and maintenance CICD process
US20210021633A1 (en) * 2019-07-19 2021-01-21 JFrog Ltd. Software release tracking and logging

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067426A1 (en) * 2011-09-13 2013-03-14 Sonatype, Inc. Method and system for monitoring a software artifact
US20130067427A1 (en) * 2011-09-13 2013-03-14 Sonatype, Inc. Method and system for monitoring metadata related to software artifacts
US10678866B1 (en) * 2016-09-30 2020-06-09 Vasumathi Ranganathan Rules driven content network for tracking, tracing, auditing and life cycle management of information artifacts
CN108241493A (en) * 2018-01-09 2018-07-03 政采云有限公司 The automation continuous integrating of distributed software system and delivery method, device and system
US20190294528A1 (en) * 2018-03-26 2019-09-26 Ca, Inc. Automated software deployment and testing
US20210021633A1 (en) * 2019-07-19 2021-01-21 JFrog Ltd. Software release tracking and logging
CN111124469A (en) * 2019-11-25 2020-05-08 江苏艾佳家居用品有限公司 Continuous release system based on Docker mirror pixel data management
CN112180878A (en) * 2020-10-20 2021-01-05 上海新炬网络信息技术股份有限公司 Product life cycle control method in automatic operation and maintenance CICD process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
腾讯视频: "企业级制品库建设唯一可信源方案", pages 00, Retrieved from the Internet <URL:https://v.qq.com/x/page/a3129zxc99a.html> *

Similar Documents

Publication Publication Date Title
US7877732B2 (en) Efficient stress testing of a service oriented architecture based application
US10942840B2 (en) System and method for managing a code repository
EP2778929B1 (en) Test script generation system
CA2937017C (en) Integrated design application
CN109976801B (en) Code development method, system and computer readable storage medium
US20080320071A1 (en) Method, apparatus and program product for creating a test framework for testing operating system components in a cluster system
CN109241141A (en) The training data treating method and apparatus of deep learning
US10747852B1 (en) License compliance analysis platform
CN108491254A (en) A kind of dispatching method and device of data warehouse
CN103180834B (en) Automatic operation system test frame
CN109634837A (en) Automated testing method, device, equipment and storage medium
CN113111000B (en) Continuous integrated automatic test system and method, electronic equipment and storage medium
CN112631846A (en) Fault drilling method and device, computer equipment and storage medium
CN111309624B (en) Test method, test device, test equipment and storage medium
CN112685312A (en) Test case recommendation method and device for uncovered codes
US11055208B1 (en) Systems and methods for automatically assessing and conforming software development modules to accessibility guidelines in real-time
US20120291018A1 (en) Method and apparatus for managing evaluation of computer program code
CN110851361A (en) Interface testing method and device, electronic equipment and readable storage medium
CN111090591B (en) Test method and device, electronic equipment and computer readable storage medium
CN113282297A (en) Software compiling result management method and equipment
CN117112060A (en) Component library construction method and device, electronic equipment and storage medium
CN115828022A (en) Data identification method, federal training model, device and equipment
CN113282504A (en) Incremental code coverage rate detection method and service development method and device
GB2490702A (en) Managing the evaluation of computer program code by selecting computer code items and rules to evaluate the items.
US20080195453A1 (en) Organisational Representational System

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