CN110531986B - Method, device, equipment and medium for generating management software upgrading package - Google Patents

Method, device, equipment and medium for generating management software upgrading package Download PDF

Info

Publication number
CN110531986B
CN110531986B CN201910760233.4A CN201910760233A CN110531986B CN 110531986 B CN110531986 B CN 110531986B CN 201910760233 A CN201910760233 A CN 201910760233A CN 110531986 B CN110531986 B CN 110531986B
Authority
CN
China
Prior art keywords
management software
upgrade
upgrade package
target management
newly added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910760233.4A
Other languages
Chinese (zh)
Other versions
CN110531986A (en
Inventor
谢鹏
赵鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910760233.4A priority Critical patent/CN110531986B/en
Publication of CN110531986A publication Critical patent/CN110531986A/en
Application granted granted Critical
Publication of CN110531986B publication Critical patent/CN110531986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The application discloses a method, a device, equipment and a medium for generating a management software upgrade package, wherein the method comprises the following steps: when the upgrade package of the target management software is developed and upgraded, marking the functional code of the upgrade package of the target management software before development and upgrade as a first state bit; judging whether the function code corresponding to the upgrade package of the target management software is compiled for the first time; if not, marking the corresponding function code as a second state bit when the development and the upgrade are carried out, and judging whether the first state bit is consistent with the second state bit; if not, acquiring a newly added function code of the upgrade package of the target management software during development and upgrade, and compiling the newly added function code to generate the upgrade package of the target management software after development and upgrade. Obviously, the method can greatly reduce the compiling time and the compiling resources consumed in the development and upgrading process of the upgrade package of the target management software.

Description

Method, device, equipment and medium for generating management software upgrading package
Technical Field
The present invention relates to the field of software storage technologies, and in particular, to a method, an apparatus, a device, and a medium for generating a management software upgrade package.
Background
The rapid development of random computer storage architecture greatly improves the storage performance of the computer, wherein management software is used in the storage system of the computer. Moreover, with the increasingly diversified actual needs of customers, the initial version of the management software often cannot meet the needs of the customers, and in this case, the management software needs to be updated iteratively to meet the actual needs of the customers. In the prior art, when the upgrade package of the management software is developed and upgraded, the function code in the management software is usually compiled completely, and then a new upgrade package of the management software is generated. Obviously, the development and upgrade method for the management software upgrade package not only needs to consume long compiling time, but also needs to consume a large amount of compiling resources. At present, no effective solution exists for the technical problem.
Therefore, it is obvious that a technical problem to be solved by those skilled in the art is how to further reduce the compiling time required by the upgrade package of the management software in the process of performing the upgrade compiling and how to reduce the compiling resources consumed in the process of performing the upgrade compiling.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a device and a medium for generating an upgrade package of management software, so as to reduce the compiling time required by the upgrade package of management software during the upgrade compiling process and the compiling resources consumed during the upgrade compiling process. The specific scheme is as follows:
a method for generating a management software upgrade package comprises the following steps:
when the upgrade package of the target management software is developed and upgraded, marking the corresponding function code of the upgrade package of the target management software before development and upgrade as a first state bit;
when the upgrade package of the target management software is developed and upgraded, judging whether the functional code corresponding to the upgrade package of the target management software is compiled for the first time;
if not, marking the corresponding function code of the upgrade package of the target management software during development and upgrade as a second state bit, and judging whether the first state bit is consistent with the second state bit;
if not, acquiring a newly added function code of the upgrade package of the target management software during development and upgrade, and compiling the newly added function code to generate the upgrade package of the target management software after development and upgrade.
Preferably, the process of acquiring a newly added function code of the upgrade package of the target management software during development and upgrade includes:
and acquiring a newly added front-end file and/or a newly added back-end file of the upgrade package of the target management software during development and upgrade.
Preferably, after the process of obtaining the new front-end file and/or the new back-end file of the upgrade package of the target management software during development and upgrade, the method further includes:
and when the newly-added front-end file of the upgrade package of the target management software is obtained during development and upgrade, classifying the newly-added front-end file according to HTML, CSS and JS.
Preferably, after the process of acquiring the newly added function code when the upgrade package of the target management software is developed and upgraded, the method further includes:
and detecting an error code in the newly added function code.
Preferably, the process of detecting an error code in the newly added function code includes:
and detecting wrong grammar and/or wrong symbols and/or code holes in the newly added function codes.
Preferably, the process of detecting an error code in the newly added function code includes:
and detecting an error code in the newly added function code by using Webstorm.
Correspondingly, the invention also discloses a device for generating the management software upgrading package, which comprises:
the state bit marking module is used for marking the corresponding function code of the upgrading package of the target management software before development and upgrading when the upgrading package of the target management software is developed and upgraded as a first state bit;
the compiling comparison module is used for judging whether the functional code corresponding to the upgrading package of the target management software is compiled for the first time when the upgrading package of the target management software is developed and upgraded;
a status bit comparison module, configured to mark, when a determination result of the compiling comparison module is negative, a functional code corresponding to the upgrade package of the target management software during development and upgrade as a second status bit, and determine whether the first status bit and the second status bit are consistent;
and the upgrade package generation module is used for acquiring a newly added function code of the upgrade package of the target management software during development and upgrade when the judgment result of the state bit comparison module is negative, and compiling the newly added function code to generate the upgrade package of the target management software after development and upgrade.
Correspondingly, the invention also discloses a device for generating the management software upgrading package, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of a method for generating a management software upgrade package as disclosed in the foregoing when executing said computer program.
Accordingly, the present invention also discloses a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for generating a management software upgrade package as disclosed in the foregoing.
It can be seen that, in the present invention, when the development and upgrade of the upgrade package of the target management software are required, firstly, the corresponding function code of the upgrade package of the target management software before the development and upgrade are marked as the first state bit, and when the development and upgrade of the upgrade package of the target management software are performed, whether the function code corresponding to the upgrade package of the target management software is compiled for the first time is judged, if not, the corresponding function code of the upgrade package of the target management software when the development and upgrade are performed is marked as the second state bit; and then, judging whether the upgrade package of the target management software changes before and after the upgrade development by comparing whether the first state bit is consistent with the second state bit, wherein if the first state bit is inconsistent with the second state bit, the function code in the upgrade package of the target management software changes before and after the development and upgrade. At this time, the newly added function codes of the upgrade package of the target management software during development and upgrade are obtained, and the newly added function codes are compiled to generate the upgrade package of the target management software after development and upgrade. Obviously, compared with the prior art, in the method for generating the management software upgrade package provided by the present invention, only the newly added function codes of the upgrade package during development and upgrade need to be compiled, and all the function codes of the target management software upgrade package during development and upgrade need not to be completely compiled, so that not only the normal functions of the upgrade package during subsequent use are not affected, but also the compiling time required during upgrading and compiling the upgrade package and the compiling resources consumed during upgrading and compiling the upgrade package can be greatly reduced. Correspondingly, the device, the equipment and the medium for generating the management software upgrading package have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for generating a management software upgrade package according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for generating a management software upgrade package according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a process of extracting new function codes when an upgrade package of target management software is developed and upgraded according to an embodiment of the present invention;
fig. 4 is a structural diagram of a device for generating a management software upgrade package according to an embodiment of the present invention;
fig. 5 is a block diagram of a device for generating a management software upgrade package according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a management software upgrade package according to an embodiment of the present invention, where the method includes:
step S11: when the upgrade package of the target management software is developed and upgraded, marking a corresponding function code of the upgrade package of the target management software before development and upgrade as a first state bit;
step S12: when the upgrade package of the target management software is developed and upgraded, judging whether the functional code corresponding to the upgrade package of the target management software is compiled for the first time; if not, executing step S13;
step S13: marking the corresponding function code of the upgrade package of the target management software during development and upgrade as a second state bit, and judging whether the first state bit is consistent with the second state bit; if not, executing step S14;
step S14: and acquiring a newly added function code of the upgrade package of the target management software during development and upgrade, and compiling the newly added function code to generate the upgrade package of the target management software after development and upgrade.
It should be noted that, in practical applications, when the upgrade package of the target management software needs to be developed and upgraded, the upgrade package of the target management software is generally developed and modified according to the needs of users, and in the process of development and upgrade, the modifications involved are not too many. Therefore, in this embodiment, only by compiling the newly added function codes of the upgrade package of the target management software after development and upgrade, and not processing the unchanged function codes in the upgrade package, the compiling time required by the upgrade package of the target management software in the development and upgrade process can be significantly reduced, and the compiling resources consumed by the target management software in the development and upgrade process can be reduced.
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for generating a management software upgrade package according to an embodiment of the present invention. Specifically, when the upgrade package of the target management software is developed and upgraded, the corresponding function code of the upgrade package of the target management software before development and upgrade is marked as a first state bit, and when the upgrade package of the target management software is developed and upgraded, whether the function code corresponding to the upgrade package of the target management software is compiled for the first time is judged; if yes, the upgrade package of the target management software needs to be compiled in a whole manner, and the upgrade package of the target management software after development and upgrade is generated; if not, the corresponding function code of the upgrade package of the target management software is marked as a second state bit when development and upgrade are carried out.
And then judging whether the first state bit is consistent with the second state bit, if so, indicating that the upgrading packet of the target management software has no function code of a newly added function, and directly multiplexing the previous upgrading packet when the target management software is upgraded. If the first status bit is inconsistent with the second status bit, it indicates that the upgrade package of the target management software has a function code of a newly added function, in this case, the newly added function code of the upgrade package during development and upgrade needs to be acquired, and the newly added function code is compiled to generate the upgrade package after the target management software is developed and upgraded.
Obviously, compared with the prior art, when the upgrade package of the target management software is developed and upgraded, the whole compilation is required, in this embodiment, only the newly added function codes of the upgrade package of the target management software after the development and upgrade are compiled, and the unchanged function codes in the upgrade package are not processed, so that a large amount of compilation work of the compiler can be reduced, and therefore, the compilation time required in the upgrade and compilation process of the upgrade package can be significantly reduced, and the compilation resources consumed in the upgrade and compilation process of the upgrade package can be reduced. Moreover, the method provided by the embodiment can not influence the normal functions of the upgrade package of the target management software after development and upgrade.
It can be seen that, in this embodiment, when the development and upgrade needs to be performed on the upgrade package of the target management software, first, the function code corresponding to the upgrade package of the target management software before the development and upgrade is marked as the first state bit, and when the development and upgrade is performed on the upgrade package of the target management software, it is determined whether the function code corresponding to the upgrade package of the target management software is compiled for the first time, and if not, the function code corresponding to the upgrade package of the target management software when the development and upgrade is performed is marked as the second state bit; and then, judging whether the upgrade package of the target management software changes before and after the upgrade development by comparing whether the first state bit is consistent with the second state bit, wherein if the first state bit is inconsistent with the second state bit, the function code in the upgrade package of the target management software changes before and after the development and upgrade. At this time, the newly added function codes of the upgrade package of the target management software during development and upgrade are obtained, and the newly added function codes are compiled to generate the upgrade package of the target management software after development and upgrade. Obviously, compared with the prior art, in the method for generating the management software upgrade package provided in this embodiment, only the newly added function codes of the upgrade package during development and upgrade need to be compiled, and all the function codes of the target management software upgrade package during development and upgrade need not to be compiled completely, so that not only the normal functions of the upgrade package during subsequent use are not affected, but also the compiling time required during upgrading and compiling the upgrade package and the compiling resources consumed during upgrading and compiling the upgrade package can be greatly reduced.
Based on the above embodiments, this embodiment further describes and optimizes the technical solution, specifically, the steps are as follows: the process of acquiring the newly added function code of the upgrade package of the target management software during development and upgrade comprises the following steps:
and acquiring a newly added front-end file and/or a newly added back-end file of an upgrade package of the target management software during development and upgrade.
It can be understood that, in a complete target management software, the target management software includes a front end and a back end, and in order to ensure the integrity of the target management software in the upgrading process, in this embodiment, when acquiring the new function code of the target management software in the development and upgrading process, the new front end file and/or the new back end file of the target management software in the development and upgrading process are acquired.
Specifically, in the process of acquiring a newly added front-end file, a newly added file or a newly added coding statement in the front end needs to be acquired; in the process of acquiring the newly added backend file, because the complexity of the backend logic function is considered, the newly added file in the backend newly added function code and the dependency relationship between the newly added file need to be acquired.
Referring to fig. 3, fig. 3 is a schematic diagram of a process for extracting new function codes when an upgrade package of target management software is developed and upgraded according to an embodiment of the present invention. Specifically, when the first status bit is inconsistent with the second status bit, it indicates that the function code corresponding to the front end or the back end in the target management software is changed during development and upgrade. In this case, the newly added front-end file and the newly added back-end file are obtained from the front end and the back end respectively, the obtained newly added front-end file and the newly added back-end file are summarized to obtain a summarized file, and then the summarized file is sent to the compiler so as to generate an upgrade package of the target management software after development and upgrade.
Therefore, the technical scheme provided by the embodiment further ensures the overall integrity of the upgrade package of the target management software in the development and upgrade process.
As a preferred embodiment, the above steps: after the process of obtaining the new front-end file and/or the new back-end file when the upgrade package of the target management software is developed and upgraded, the method further comprises the following steps:
and when acquiring the newly added front-end file of the upgrade package of the target management software during development and upgrade, classifying the newly added front-end file according to HTML, CSS and JS.
In practical application, in order to further improve the compiling speed in the process of compiling the upgrade package of the target management software, the newly added front-end file can be classified according to HTML (hypertext Markup Language), CSS (Cascading Style Sheets) and JS (JavaScript) after the newly added front-end file is obtained, so that the compiler can classify and compile the newly added front-end file according to HTML, CSS and JS in the process of compiling the newly added front-end file, and therefore, not only can the overall execution efficiency of the compiler in the process of compiling the newly added front-end file be improved, but also the probability of errors occurring in the process of compiling the newly added front-end file by the compiler can be relatively reduced.
Therefore, by the technical scheme provided by the embodiment, the generation efficiency in the process of developing and upgrading the upgrade package of the target management software can be further improved.
Based on the above embodiment, this embodiment further describes and optimizes the technical solution, specifically, the steps are as follows: after the process of obtaining the newly added function codes when the upgrade package of the target management software is developed and upgraded, the method further comprises the following steps:
and detecting an error code in the new function code.
It can be understood that, in practical applications, when the upgrade package of the target management software is developed and upgraded, some errors inevitably occur in the newly added function codes, and if the error codes are compiled into the upgrade package of the target management software, some operation errors certainly occur in the subsequent use process of the target management software. Under the circumstance, the upgrade package after development and upgrade needs to be reworked and recompiled by workers, so that not only is huge workload brought to the workers, but also a great deal of valuable time of customers is delayed.
In this embodiment, to avoid this situation, after the new function code of the target management software after development and upgrade is acquired, whether an error code exists in the new function code is further detected. It can be thought that when an error code in the newly added function code is detected, the error code can be modified and refined before the upgrade package is compiled, so that the error probability of the target management software in the subsequent use process can be relatively reduced.
Therefore, by the technical scheme provided by the embodiment, the probability that the target management software needs to be reworked and recompiled by a worker due to the error of the functional code in the subsequent use process can be further reduced.
As a preferred embodiment, the above steps: the process of detecting error codes in the newly added function codes comprises the following steps:
and detecting wrong grammar and/or wrong symbols and/or code holes in the newly added function codes.
According to practical operation experience, errors occurring in the new function code are mostly due to syntax errors, code symbol errors and bugs existing in the function code, so in the embodiment, when detecting error codes included in the new function code, mainly the error syntax and/or the error symbol and/or the code bugs in the new function code are detected. It is conceivable that the detection result of the error code is more reliable and comprehensive by such a detection method.
Therefore, the technical scheme provided by the embodiment can relatively ensure the comprehensiveness and the reliability in the process of detecting the error code.
As a preferred embodiment, the above steps: the process of detecting an error code in a newly added function code includes:
and detecting error codes in the newly added function codes by using Webstorm.
Specifically, in this embodiment, webstorm is used to detect an error code in a newly added function code, because Webstorm not only has an intelligent code completion function, but also can prompt the error code in the newly added function code through html, and give a targeted modification suggestion according to an error problem of the error code, so that not only can a worker more quickly detect the error code in the newly added function code, but also the efficiency of the worker in checking the error code can be relatively improved.
Therefore, by the technical scheme provided by the embodiment, the detection speed of the error codes in the newly added function codes can be further increased.
Referring to fig. 4, fig. 4 is a structural diagram of a generation apparatus for managing a software upgrade package according to an embodiment of the present invention, where the generation apparatus includes:
the status bit marking module 21 is configured to mark, when the upgrade package of the target management software is developed and upgraded, the corresponding function code of the upgrade package of the target management software before development and upgrade is marked as a first status bit;
the compiling comparison module 22 is used for judging whether the functional code corresponding to the upgrading package of the target management software is compiled for the first time when the upgrading package of the target management software is developed and upgraded;
the status bit comparison module 23 is configured to mark, when the determination result of the compiling comparison module is negative, the functional code corresponding to the upgrade package of the target management software during development and upgrade as a second status bit, and determine whether the first status bit and the second status bit are consistent;
and the upgrade package generation module 24 is configured to, if the determination result of the status bit comparison module is negative, obtain a new function code of the upgrade package of the target management software during development and upgrade, and compile the new function code to generate an upgrade package after development and upgrade of the target management software.
The device for generating the management software upgrading package disclosed by the embodiment of the invention has the beneficial effect of the method for generating the management software upgrading package disclosed by the embodiment of the invention.
Referring to fig. 5, fig. 5 is a structural diagram of a generation device for managing a software upgrade package according to an embodiment of the present invention, where the generation device includes:
a memory 31 for storing a computer program;
a processor 32 for implementing the steps of a method for managing generation of a software upgrade package as disclosed above when executing a computer program.
The generation device of the management software upgrade package disclosed by the embodiment of the invention has the beneficial effect of the generation method of the management software upgrade package disclosed by the embodiment of the invention.
Accordingly, the present invention also discloses a computer readable storage medium, on which a computer program is stored, and the computer program, when being executed by a processor, implements the steps of the method for generating the management software upgrade package as disclosed in the foregoing.
The computer-readable storage medium disclosed by the embodiment of the invention has the beneficial effects of the method for generating the management software generated package disclosed by the invention.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The method, apparatus, device and medium for generating a management software upgrade package provided by the present invention are described in detail above, and a specific example is applied in the present document to explain the principle and the implementation manner of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A method for generating a management software upgrade package, comprising:
when the upgrade package of the target management software is developed and upgraded, marking the corresponding function code of the upgrade package of the target management software before development and upgrade as a first state bit;
when the upgrade package of the target management software is developed and upgraded, judging whether the functional code corresponding to the upgrade package of the target management software is compiled for the first time;
if not, marking the corresponding function code of the upgrade package of the target management software as a second state bit when the upgrade package is developed and upgraded, and judging whether the first state bit and the second state bit are consistent;
if not, acquiring a newly added function code of the upgrade package of the target management software during development and upgrade, and compiling the newly added function code to generate the upgrade package of the target management software after development and upgrade.
2. The method according to claim 1, wherein the step of obtaining the new function code of the upgrade package of the target management software during development and upgrade includes:
and acquiring a newly added front-end file and/or a newly added back-end file of the upgrade package of the target management software during development and upgrade.
3. The generation method according to claim 2, wherein after the process of obtaining the new front-end file and/or the new back-end file of the upgrade package of the target management software during development and upgrade, the method further comprises:
and when the newly-added front-end file of the upgrade package of the target management software is obtained during development and upgrade, classifying the newly-added front-end file according to HTML, CSS and JS.
4. The generation method according to any one of claims 1 to 3, wherein after the process of acquiring the newly added function code when the development and upgrade are performed, the method further comprises:
and detecting an error code in the newly added function code.
5. The method according to claim 4, wherein the step of detecting the error code in the new function code comprises:
and detecting wrong grammar and/or wrong symbols and/or code holes in the newly added function codes.
6. The method according to claim 4, wherein the step of detecting the error code in the newly added function code comprises:
and detecting an error code in the newly added function code by using Webstorm.
7. An apparatus for generating a management software upgrade package, comprising:
the state bit marking module is used for marking the corresponding function code of the upgrade package of the target management software before development and upgrade when the upgrade package of the target management software is developed and upgraded as a first state bit;
the compiling comparison module is used for judging whether the functional code corresponding to the upgrading package of the target management software is compiled for the first time when the upgrading package of the target management software is developed and upgraded;
a status bit comparison module, configured to mark, when a determination result of the compiling comparison module is negative, a functional code corresponding to the upgrade package of the target management software during development and upgrade as a second status bit, and determine whether the first status bit and the second status bit are consistent;
and the upgrade package generation module is used for acquiring a newly added function code of the upgrade package of the target management software during development and upgrade when the judgment result of the state bit comparison module is negative, and compiling the newly added function code to generate and obtain the upgrade package of the target management software after development and upgrade.
8. A management software upgrade package generation apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of a method of managing generation of software upgrade packages according to any one of claims 1 to 6 when executing said computer program.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of a method of managing generation of a software upgrade package according to any one of claims 1 to 6.
CN201910760233.4A 2019-08-16 2019-08-16 Method, device, equipment and medium for generating management software upgrading package Active CN110531986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910760233.4A CN110531986B (en) 2019-08-16 2019-08-16 Method, device, equipment and medium for generating management software upgrading package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910760233.4A CN110531986B (en) 2019-08-16 2019-08-16 Method, device, equipment and medium for generating management software upgrading package

Publications (2)

Publication Number Publication Date
CN110531986A CN110531986A (en) 2019-12-03
CN110531986B true CN110531986B (en) 2022-12-06

Family

ID=68663561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910760233.4A Active CN110531986B (en) 2019-08-16 2019-08-16 Method, device, equipment and medium for generating management software upgrading package

Country Status (1)

Country Link
CN (1) CN110531986B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100191A (en) * 2015-05-22 2015-11-25 华为技术有限公司 Method, device and system for realizing Java application installation via cloud compilation
WO2017036183A1 (en) * 2015-09-02 2017-03-09 中兴通讯股份有限公司 Differential upgrade package processing method and device, upgrade method, system and device
CN108268773A (en) * 2016-12-30 2018-07-10 南京理工大学 Safety detecting method is locally stored in Android application upgrade packets
CN109144519A (en) * 2018-08-23 2019-01-04 广州视源电子科技股份有限公司 Generation method, device, computer equipment and the storage medium of upgrade package
CN109426516A (en) * 2017-06-21 2019-03-05 北京信威通信技术股份有限公司 Software version management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100191A (en) * 2015-05-22 2015-11-25 华为技术有限公司 Method, device and system for realizing Java application installation via cloud compilation
WO2017036183A1 (en) * 2015-09-02 2017-03-09 中兴通讯股份有限公司 Differential upgrade package processing method and device, upgrade method, system and device
CN108268773A (en) * 2016-12-30 2018-07-10 南京理工大学 Safety detecting method is locally stored in Android application upgrade packets
CN109426516A (en) * 2017-06-21 2019-03-05 北京信威通信技术股份有限公司 Software version management method and device
CN109144519A (en) * 2018-08-23 2019-01-04 广州视源电子科技股份有限公司 Generation method, device, computer equipment and the storage medium of upgrade package

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Android平台OTA差分升级系统设计与实现;施超等;《信息技术》;20171025(第10期);全文 *

Also Published As

Publication number Publication date
CN110531986A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
Fazzini et al. Automatically translating bug reports into test cases for mobile apps
US10019240B2 (en) Method and apparatus for detecting code change
US9329981B2 (en) Testing program, testing method, and testing device
US20160357519A1 (en) Natural Language Engine for Coding and Debugging
CN107526625B (en) Java intelligent contract security detection method based on bytecode inspection
KR20080050118A (en) Method of error detecting method for embedded sofeware
CN107643893B (en) Program detection method and device
EP2778629A1 (en) Method and device for code change detection
CN111427771A (en) Code coverage rate analysis method, equipment, server and readable storage medium
US9760470B2 (en) Device, method, and program analysis of new source code to be added to execution program to check for bug
CN111679852A (en) Detection method and device for conflict dependency library
CN111352631B (en) Interface compatibility detection method and device
CN111596970B (en) Method, device, equipment and storage medium for dynamic library delay loading
CN110531986B (en) Method, device, equipment and medium for generating management software upgrading package
CN110286912B (en) Code detection method and device and electronic equipment
CN112084108A (en) Test script generation method and device and related components
CN110780863A (en) Cross-platform development method, device, equipment and medium of storage system
CN109426546B (en) Application starting method and device, computer storage medium and equipment
CN111796832B (en) Hot patch file generation method, device, equipment and storage medium
CN105912468B (en) The method and open platform system of open platform Run Script
EP2535813B1 (en) Method and device for generating an alert during an analysis of performance of a computer application
CN110297639B (en) Method and apparatus for detecting code
CN111552474B (en) Processing method and device for executing distributed lock operation
CN111240728A (en) Application program updating method, device, equipment and storage medium
CN110245333B (en) Font type detection method and device, electronic equipment and storage medium

Legal Events

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