CN112015463A - Configuration version management device and working method thereof - Google Patents

Configuration version management device and working method thereof Download PDF

Info

Publication number
CN112015463A
CN112015463A CN202010857944.6A CN202010857944A CN112015463A CN 112015463 A CN112015463 A CN 112015463A CN 202010857944 A CN202010857944 A CN 202010857944A CN 112015463 A CN112015463 A CN 112015463A
Authority
CN
China
Prior art keywords
configuration
version
production
information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010857944.6A
Other languages
Chinese (zh)
Other versions
CN112015463B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010857944.6A priority Critical patent/CN112015463B/en
Publication of CN112015463A publication Critical patent/CN112015463A/en
Application granted granted Critical
Publication of CN112015463B publication Critical patent/CN112015463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a configuration version management device and a working method thereof, wherein the device comprises: the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch; the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development; the configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment; the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized; the configuration version installation module is used for installing the configuration version in a development environment or a test environment; and the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information.

Description

Configuration version management device and working method thereof
Technical Field
The invention relates to the technical field of computer data processing, in particular to a configuration version management device and a working method thereof.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Information systems have a large number of configuration items stored in databases for reasons such as customized customization, regulatory requirements, and many functions.
Most of the configuration items of the current information system are manually input by a user on a front-end page, submitted to a background system and then stored in a database. Most of the changes related to the configuration items are screenshot worksheets or sql script publishing, and the screenshots are manually operated by users and deployed to a production system during production.
The change of the configuration information forms a configuration version by making a work order or a script, and the configuration version is manually deployed in a test environment or a production environment, while in a large-scale information system, particularly a system with regular engines, the configuration items are too many and are difficult to comb, and the manual configuration has a certain error probability and wastes a large amount of manpower. And the configuration versions are relatively independent, and version check and tracing cannot be better performed. The configuration version is easily tampered without a verification mechanism.
Therefore, how to provide a new solution, which can solve the above technical problems, is a technical problem to be solved in the art.
Disclosure of Invention
The embodiment of the invention provides a configuration version management device, which realizes the efficient automatic generation and management of configuration versions and comprises the following components:
the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch;
the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development;
the configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment;
the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized;
the configuration version installation module is used for installing the configuration version in a development environment or a test environment;
the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
An embodiment of the present invention further provides a working method of the foregoing configuration version management apparatus, including:
the production version exporting module exports the configuration information from the production system to be used as a configuration baseline of the batch;
the production version importing module imports the configuration information exported from the production system into a development environment as the baseline configuration of the batch development;
the configuration version comparison module compares the configuration information of the development environment with the configuration information of the production baseline, highlights the difference part and synchronizes the configuration information of the production baseline to the current development environment;
the configuration version generation module generates a configuration version according to the configuration information after the configuration item information is synchronized;
the configuration version installation module is used for installing the configuration version in a development environment or a test environment;
the configuration version checking module carries out MD5 digest encryption on the configuration version in the process of generating the configuration version, generates an MD5 value and stores the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the processor implements the above working method of the configuration version management apparatus.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the foregoing working method of the configuration version management apparatus is stored in the computer-readable storage medium.
The embodiment of the invention provides a configuration version management device and a working method thereof, wherein the configuration version management device comprises the following steps: the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch; the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development; the production version export module and the production version import module of the embodiment of the invention can conveniently export the existing configuration information of the system into the version of the configuration tool and import the configuration tool into other environments, and are suitable for the version management of the configuration items of various information systems. The configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment; the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized; the embodiment of the invention realizes the automatic comparison of the configuration information, automatically synchronizes the generated modification and then combines the configuration item information to automatically generate the configuration version, thereby solving the problems that the manual configuration version is easy to make mistakes and has low efficiency; the configuration version installation module is used for installing the configuration version in a development environment or a test environment; the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation. The embodiment of the invention realizes the automatic installation and execution of the configuration version without manual intervention, saves the time of the configuration version, avoids errors possibly caused by manual configuration version, and realizes the function of safety and tamper resistance of the configuration version by performing MD5 verification in the process of generating and installing the configuration version. The embodiment of the invention realizes that the complicated work of manual configuration, manual edition sending and the like in the development, test and production processes of the information system with excessive configuration information is automatically completed, increases necessary inspection and verification while realizing automatic configuration updating and edition sending, avoids the risk in automatic processing and realizes efficient automatic generation and management of the configuration edition.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a configuration version management apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram of another embodiment of a configuration version management apparatus according to the present invention.
Fig. 3 is a schematic diagram illustrating a development, test and production process of a configuration version management device according to an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating a working method of a configuration version management apparatus according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a computer device running an operating method of a configuration version management device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Fig. 1 is a schematic diagram of a configuration version management apparatus according to an embodiment of the present invention, and as shown in fig. 1, an embodiment of the present invention provides a configuration version management apparatus, which implements efficient automatic generation and management of configuration versions, and includes:
a production version export module 101, configured to export configuration information from the production system, for use as a configuration baseline of the batch;
a production version importing module 102, configured to import configuration information exported from a production system into a development environment as a baseline configuration for the batch development;
the configuration version comparison module 103 is used for comparing the configuration information of the development environment with the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment;
a configuration version generation module 104, configured to generate a configuration version according to the configuration information after the configuration item information synchronization;
a configuration version installation module 105 for installing the configuration version in a development environment or a test environment;
the configuration version checking module 106 is configured to perform MD5 digest encryption on the configuration version during the process of generating the configuration version, generate an MD5 value, and store the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
The configuration version management device provided by the embodiment of the invention comprises: the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch; the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development; the production version export module and the production version import module of the embodiment of the invention can conveniently export the existing configuration information of the system into the version of the configuration tool and import the configuration tool into other environments, and are suitable for the version management of the configuration items of various information systems. The configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment; the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized; the embodiment of the invention realizes the automatic comparison of the configuration information, automatically synchronizes the generated modification and then combines the configuration item information to automatically generate the configuration version, thereby solving the problems that the manual configuration version is easy to make mistakes and has low efficiency; the configuration version installation module is used for installing the configuration version in a development environment or a test environment; the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation. The embodiment of the invention realizes the automatic installation and execution of the configuration version without manual intervention, saves the time of the configuration version, avoids errors possibly caused by manual configuration version, and realizes the function of safety and tamper resistance of the configuration version by performing MD5 verification in the process of generating and installing the configuration version. The embodiment of the invention realizes that the complicated work of manual configuration, manual edition sending and the like in the development, test and production processes of the information system with excessive configuration information is automatically completed, increases necessary inspection and verification while realizing automatic configuration updating and edition sending, avoids the risk in automatic processing and realizes efficient automatic generation and management of the configuration edition.
The specific embodiment of the present invention, when configuring a version management apparatus, may include:
the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch;
the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development;
the configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment;
the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized;
the configuration version installation module is used for installing the configuration version in a development environment or a test environment;
the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
In one embodiment, the MD5 Message Digest Algorithm (MD5 Message-Digest Algorithm), which is a widely used cryptographic hash function, can generate a 128-bit (16-byte) hash value (hash value) to ensure the integrity of the Message transmission.
In an embodiment of the invention, when the configuration version management apparatus provided in the embodiment of the present invention is implemented specifically, the production version derivation module is further configured to: and storing the configuration information into an XML format, and uploading the configuration information to a version management tool for version management.
In an embodiment, the production version export module is mainly used for backing up production configuration before production, exporting configuration information of a production system from the production system before a new batch starts, storing the configuration information in an XML format, uploading the configuration information to a version management tool for version management, and providing the configuration information for a configuration developer to use as a configuration baseline of the batch. And the production version importing module is mainly used for importing the configuration information exported from the production system into the development environment as the baseline configuration of the batch development.
The production version export module and the production version import module of the embodiment of the invention can conveniently export the existing configuration information of the system into the version of the configuration tool and import the configuration tool into other environments, and are suitable for the version management of the configuration items of various information systems.
In an embodiment of the invention, when the configuration version management apparatus provided in the embodiment of the present invention is specifically implemented, the configuration version comparison module is configured to compare a difference between configuration information of a development environment and configuration information of a production baseline, highlight a difference portion, and synchronize the configuration information of the production baseline to a current development environment, and may include: the configuration version comparison module can automatically compare the difference between the development environment and the imported production baseline, highlight the difference part and provide the function of synchronizing the production baseline version to the current development environment; the configuration version comparison module is provided for configuration developers to use. The configuration developer can use the configuration version comparison module to automatically compare the difference between the configuration of the current development environment and the configuration of the production baseline, and can fully or partially synchronize configuration information to the development environment to prepare data for subsequent development. The configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized; the developer selects the information of the configuration items to be generated, and the system automatically generates the configuration version, so that the time for the developer to make a large amount of configuration versions is saved. After the configuration developer finishes modifying the configuration item, the configuration version comparison function provided by the tool is used for checking whether the configuration item is modified correctly, and the user uses JDOM tools to generate XML configuration versions after checking the information of the configuration item to be generated.
According to the embodiment of the invention, the automatic comparison of the configuration information is realized through the configuration version comparison module and the configuration version generation module, the generated modification is automatically synchronized and then combined with the configuration item information to automatically generate the configuration version, and the problems that the manual configuration version is easy to make mistakes and the efficiency is low are solved;
in an embodiment of the present invention, when the configuration version management apparatus is implemented specifically, the configuration version installation module is specifically configured to:
and compressing and encrypting the configuration version derived from the version management tool by using a configuration version compression tool, analyzing the compressed and encrypted configuration version into SQL by using a version library, inserting the SQL into a database, and completing installation in a development environment or a test environment.
In the embodiment, a developer or a tester can install the generated configuration version into other development or test environments, so that the time for configuring the version is saved, and errors possibly caused by manual configuration of the version are avoided. The module is provided for use by business and test personnel for updating configuration changes to a test environment or a production environment. When the official edition is put into production, the configuration manager uses a configuration edition compression tool to compress and encrypt the edition led out by the edition management tools such as ClearCase, git and the like, and the production edition is led in by the edition library service personnel.
The configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation. In the embodiment, the version is encrypted by the MD5 digest through the configuration version verification module, an MD5 value is generated and stored in the version information, and the version is verified firstly during version import or installation, so that the tamper-resistant function of the configuration version is realized, and a uniform version management process is realized.
Fig. 2 is a schematic diagram of another embodiment of a configuration version management device according to the present invention, and as shown in fig. 2, when a configuration version management device according to an embodiment of the present invention is implemented, in an embodiment, the configuration version management device further includes: and a version execution record query module 107, configured to trace back the query history configuration version installation execution record. The module is provided for business personnel, testers and configuration developers to use and is used for checking historical version installation execution records.
Fig. 2 is a schematic diagram of another embodiment of a configuration version management device according to the present invention, and as shown in fig. 2, when a configuration version management device according to an embodiment of the present invention is implemented, in an embodiment, the configuration version management device further includes: the production version export record query module 108 is used for searching the production version export record according to the time range and the number of the clerk, and determining the production version export record; wherein the production version export record comprises at least: exporting time information, recording number information, information of the clerks in office, rechecking the information of the clerks, file names and exporting state information. The module's search criteria are time range and the number of the clerk. The search result records are displayed as export time, record number, business clerks, rechecking clerks, file names, export states, and clicking the record name allows the export files to be downloaded within 7 days.
Before the configuration version tool provided by the embodiment of the invention is used, the data of the current system production operation configuration item needs to be exported to be a configuration baseline for the change and comparison of the configuration item in the subsequent development.
The embodiment of the invention gets through the information system development test and the whole production process by configuring the version management tool, stores the configuration information invisible to users in the database in an XML form, and is beneficial to version management; a large amount of manual operation is converted into automatic tool execution, so that the workload of development, test and service personnel is greatly reduced, the error probability is reduced, and the product quality is improved; the version verification function is added, the configuration version is prevented from being tampered, and the version safety is improved. The embodiment of the invention has the following technical advantages: configuration item version management for use with various information systems; a unified version management process; the generation of the configuration version and the installation work are automatically executed; the configuration version is safe and tamper-resistant; the configuration version may be queried.
The configuration management tool of the embodiment of the invention converts the complex, large-scale manual configuration, manual edition sending and other work in the development, test and production processes of the information system into system auxiliary completion, increases necessary inspection and verification while realizing automatic configuration updating and edition sending, and avoids the risk in automatic processing. And simultaneously, the change condition of the system configuration version is recorded and managed so as to facilitate subsequent tracking and inquiry.
Fig. 3 is a schematic diagram of a development, test and production process of a configuration version management device according to an embodiment of the present invention, and as shown in fig. 3, the overall process of the development, test and production of the configuration version management device according to an embodiment of the present invention is as follows:
exporting the production version: the backup of production configuration before production is mainly realized, and before a new batch is started, a business person exports a configuration data file of the production system from the production system and provides the configuration data file for a configuration developer to use as a configuration baseline of the batch.
Production version import and development use: the method mainly realizes that system configuration data exported by a production environment is imported into a development environment to serve as baseline configuration of the batch development.
Comparing the configured versions: the method mainly realizes automatic comparison of the difference between the development environment and the imported production baseline, highlights the difference part and provides a function of synchronizing the production baseline version to the current development environment.
Generating a version sending script of the configuration version: after the configuration developer finishes modifying the configuration item, the configuration version provided by the customs clearance tool is compared with the function to check whether the configuration item is modified correctly, and the user checks the configuration item to be generated and then generates the XML configuration version by using JDOM tools.
And (3) version installation: the method is mainly used by business personnel and testing personnel, and the configuration change is updated to a testing environment or a production environment. When the official edition is put into production, the configuration manager uses a configuration edition compression tool to compress and encrypt the edition led out by the edition management tools such as ClearCase, git and the like, and the production edition is led in by the edition library service personnel.
And the version execution record query function is mainly provided for business personnel, testing personnel and configuration developers to use, so that the installation execution record of the historical version is checked.
Production version export record query: the method mainly realizes that the search condition is set as a time range and a number of an office worker for searching; the search result records are displayed as export time, record number, business clerks, rechecking clerks, file names, export states, and clicking the record name allows the export files to be downloaded within 7 days.
The configuration version management device generated by the development, the test and the production is mainly used for realizing the following functions:
a production configuration version import/export function; exporting a production version; importing a production version, developing and using; production version recovery-production use; restoring the production version to audit and production use;
generating a configuration version-sending script function;
version installation function: uploading a publishing script; executing the version;
configuring a version comparison function;
and (4) query function: version execution record query; a production version export record query.
The configuration version management device generated through the development, test and production can have the following technical advantages: the configuration version management tool can store the existing system data and generate an easily readable XML file; the configuration version management tool can automatically identify the change of configuration items in the system, so that a user can conveniently select and generate a configuration version; the version generated by the configuration version management tool has an anti-tampering function; the configured version manager has a version execution history query function and can perform tracing query on the version execution condition.
The embodiment of the invention also provides a working method of the configuration version management device, which is described in the following embodiment. Because the principle of solving the problem of the working method is similar to that of a configuration version management device, the implementation of the method can be referred to the implementation of the configuration version management device, and repeated details are not repeated.
Fig. 4 is a schematic diagram of a working method of a configuration version management device according to an embodiment of the present invention, and as shown in fig. 4, the embodiment of the present invention further provides a working method of the configuration version management device, which may include:
step 401: the production version exporting module exports the configuration information from the production system to be used as a configuration baseline of the batch;
step 402: the production version importing module imports the configuration information exported from the production system into a development environment as the baseline configuration of the batch development;
step 403: the configuration version comparison module compares the configuration information of the development environment with the configuration information of the production baseline, highlights the difference part and synchronizes the configuration information of the production baseline to the current development environment;
step 404: the configuration version generation module generates a configuration version according to the configuration information after the configuration item information is synchronized;
step 405: the configuration version installation module is used for installing the configuration version in a development environment or a test environment;
step 406: the configuration version checking module carries out MD5 digest encryption on the configuration version in the process of generating the configuration version, generates an MD5 value and stores the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
When the working method of the configuration version management device provided by the embodiment of the present invention is implemented specifically, in an embodiment, the method further includes: and the production version export module stores the configuration information into an XML format and uploads the configuration information to a version management tool for version management.
In one embodiment, the configuration version installation module compresses and encrypts the configuration version derived from the version management tool by using a configuration version compression tool, analyzes the compressed and encrypted configuration version into SQL through a version library, inserts the SQL into a database, and completes installation in a development environment or a test environment.
When the working method of the configuration version management device provided by the embodiment of the present invention is implemented specifically, in an embodiment, the method further includes: the version execution record query module traces back the installation execution record of the query historical configuration version.
When the working method of the configuration version management device provided by the embodiment of the present invention is implemented specifically, in an embodiment, the method further includes: the production version export record query module searches the production version export record according to the time range and the number of the counter, and determines the production version export record; wherein the production version export record comprises at least: exporting time information, recording number information, information of the clerks in office, rechecking the information of the clerks, file names and exporting state information.
Fig. 5 is a schematic diagram of a computer device for executing a working method of a configuration version management device implemented by the present invention, and as shown in fig. 5, an embodiment of the present invention further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the working method of the configuration version management device when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing a working method of implementing the above configuration version management apparatus is stored in the computer-readable storage medium.
To sum up, an apparatus for managing configuration versions and a working method thereof provided by an embodiment of the present invention include: the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch; the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development; the production version export module and the production version import module of the embodiment of the invention can conveniently export the existing configuration information of the system into the version of the configuration tool and import the configuration tool into other environments, and are suitable for the version management of the configuration items of various information systems. The configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment; the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized; the embodiment of the invention realizes the automatic comparison of the configuration information, automatically synchronizes the generated modification and then combines the configuration item information to automatically generate the configuration version, thereby solving the problems that the manual configuration version is easy to make mistakes and has low efficiency; the configuration version installation module is used for installing the configuration version in a development environment or a test environment; the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation. The embodiment of the invention realizes the automatic installation and execution of the configuration version without manual intervention, saves the time of the configuration version, avoids errors possibly caused by manual configuration version, and realizes the function of safety and tamper resistance of the configuration version by performing MD5 verification in the process of generating and installing the configuration version. The embodiment of the invention realizes that the complicated work of manual configuration, manual edition sending and the like in the development, test and production processes of the information system with excessive configuration information is automatically completed, increases necessary inspection and verification while realizing automatic configuration updating and edition sending, avoids the risk in automatic processing and realizes efficient automatic generation and management of the configuration edition. And simultaneously, the change condition of the system configuration version is recorded and managed so as to facilitate subsequent tracking and inquiry. The applicable personnel of the tool are business personnel, configuration developers and testers, all functions are realized through the operation of the client page, background processing is not needed, and a uniform version management process is realized.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A configuration version management apparatus, comprising:
the production version export module is used for exporting the configuration information from the production system to be used as the configuration baseline of the batch;
the production version importing module is used for importing the configuration information exported from the production system into a development environment to be used as the baseline configuration of the batch development;
the configuration version comparison module is used for comparing the difference between the configuration information of the development environment and the configuration information of the production baseline, highlighting the difference part and synchronizing the configuration information of the production baseline to the current development environment;
the configuration version generation module is used for generating a configuration version according to the configuration information after the configuration item information is synchronized;
the configuration version installation module is used for installing the configuration version in a development environment or a test environment;
the configuration version checking module is used for carrying out MD5 digest encryption on the configuration version in the process of generating the configuration version, generating an MD5 value and storing the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
2. The apparatus of claim 1, wherein the production version export module is further to: and storing the configuration information into an XML format, and uploading the configuration information to a version management tool for version management.
3. The apparatus of claim 1, wherein the version install module is configured to:
and compressing and encrypting the configuration version derived from the version management tool by using a configuration version compression tool, analyzing the compressed and encrypted configuration version into SQL by using a version library, inserting the SQL into a database, and completing installation in a development environment or a test environment.
4. The apparatus of claim 1, further comprising: and the version execution record query module is used for tracing and querying the historical configuration version installation execution record.
5. The apparatus of claim 1, further comprising: the production version export record query module is used for searching the production version export record according to the time range and the number of the clerk, and determining the production version export record; wherein the production version export record comprises at least: exporting time information, recording number information, information of the clerks in office, rechecking the information of the clerks, file names and exporting state information.
6. A method of operating a configuration version management apparatus according to any one of claims 1 to 5, comprising:
the production version exporting module exports the configuration information from the production system to be used as a configuration baseline of the batch;
the production version importing module imports the configuration information exported from the production system into a development environment as the baseline configuration of the batch development;
the configuration version comparison module compares the configuration information of the development environment with the configuration information of the production baseline, highlights the difference part and synchronizes the configuration information of the production baseline to the current development environment;
the configuration version generation module generates a configuration version according to the configuration information after the configuration item information is synchronized;
the configuration version installation module is used for installing the configuration version in a development environment or a test environment;
the configuration version checking module carries out MD5 digest encryption on the configuration version in the process of generating the configuration version, generates an MD5 value and stores the MD5 value in the configuration information; and also for checking the MD5 value at configuration version installation.
7. The method of operation of claim 6, further comprising: and the production version export module stores the configuration information into an XML format and uploads the configuration information to a version management tool for version management.
8. The method of claim 6, wherein the configuration version installation module compresses and encrypts the configuration version derived from the version management tool by using a configuration version compression tool, parses the compressed and encrypted configuration version into SQL by using a version library, inserts the SQL into a database, and completes installation in a development environment or a test environment.
9. The method of operation of claim 6, further comprising: the version execution record query module traces back the installation execution record of the query historical configuration version.
10. The method of operation of claim 6, further comprising: the production version export record query module searches the production version export record according to the time range and the number of the counter, and determines the production version export record; wherein the production version export record comprises at least: exporting time information, recording number information, information of the clerks in office, rechecking the information of the clerks, file names and exporting state information.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 6 to 10 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing a method according to any one of claims 6 to 10.
CN202010857944.6A 2020-08-24 2020-08-24 Configuration version management device and working method thereof Active CN112015463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010857944.6A CN112015463B (en) 2020-08-24 2020-08-24 Configuration version management device and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010857944.6A CN112015463B (en) 2020-08-24 2020-08-24 Configuration version management device and working method thereof

Publications (2)

Publication Number Publication Date
CN112015463A true CN112015463A (en) 2020-12-01
CN112015463B CN112015463B (en) 2023-08-18

Family

ID=73505695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010857944.6A Active CN112015463B (en) 2020-08-24 2020-08-24 Configuration version management device and working method thereof

Country Status (1)

Country Link
CN (1) CN112015463B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380583A (en) * 2021-01-11 2021-02-19 北京拓课网络科技有限公司 Online education platform configuration item processing method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143752A1 (en) * 2005-12-19 2007-06-21 International Business Machines Corporation Computer method and apparatus for activity-based version selection in a configuration management system
JP2008234466A (en) * 2007-03-22 2008-10-02 Nec Corp Information processor, version management method, and version management program
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
US8347315B1 (en) * 2011-01-28 2013-01-01 Sprint Communications Company L.P. Configuration console for messaging middleware
US20170352073A1 (en) * 2016-06-02 2017-12-07 Accenture Global Solutions Limited Platform configuration tool
CN108717360A (en) * 2018-08-24 2018-10-30 江苏神州信源系统工程有限公司 A kind of software version updating method and device
CN109408376A (en) * 2018-09-28 2019-03-01 深圳乐信软件技术有限公司 A kind of generation method of configuration data, device, equipment and storage medium
CN110471696A (en) * 2019-07-05 2019-11-19 平安证券股份有限公司 Clear data readback comparison method, device, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143752A1 (en) * 2005-12-19 2007-06-21 International Business Machines Corporation Computer method and apparatus for activity-based version selection in a configuration management system
JP2008234466A (en) * 2007-03-22 2008-10-02 Nec Corp Information processor, version management method, and version management program
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
US8347315B1 (en) * 2011-01-28 2013-01-01 Sprint Communications Company L.P. Configuration console for messaging middleware
US20170352073A1 (en) * 2016-06-02 2017-12-07 Accenture Global Solutions Limited Platform configuration tool
CN108717360A (en) * 2018-08-24 2018-10-30 江苏神州信源系统工程有限公司 A kind of software version updating method and device
CN109408376A (en) * 2018-09-28 2019-03-01 深圳乐信软件技术有限公司 A kind of generation method of configuration data, device, equipment and storage medium
CN110471696A (en) * 2019-07-05 2019-11-19 平安证券股份有限公司 Clear data readback comparison method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380583A (en) * 2021-01-11 2021-02-19 北京拓课网络科技有限公司 Online education platform configuration item processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN112015463B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US11163731B1 (en) Autobuild log anomaly detection methods and systems
US6738932B1 (en) Method and system for identifying software revisions from memory images
US8612939B2 (en) Multi trace parser
US10592482B2 (en) Method and system for identifying and analyzing hidden data relationships in databases
US9971595B1 (en) Techniques for automated database deployment
Ghoshal et al. Provenance from log files: a BigData problem
KR19990023212A (en) Software installation and test method and system for customized computer system
US10565089B2 (en) Identification of code features potentially associated with code behavior
US20130041900A1 (en) Script Reuse and Duplicate Detection
WO2020018523A1 (en) System and method for distributed ledger-based software supply chain management
US10657028B2 (en) Method for replicating production behaviours in a development environment
CN111638908A (en) Interface document generation method and device, electronic equipment and medium
US7418450B2 (en) Method for analyzing computer events recorded in a plurality of chronicle datasets
CN109284331B (en) Certificate making information acquisition method based on service data resources, terminal equipment and medium
CN112015463B (en) Configuration version management device and working method thereof
CN114490594A (en) Database management method and device, electronic equipment and computer storage medium
CN112988220A (en) Application configuration updating method and device, storage medium and server
CA3164259A1 (en) Systems and methods for tracking data lineage and record lifecycle using distributed ledgers
CN112130882A (en) Version updating method and device
US20190317756A1 (en) Software artifact management systems and methods
CN116185996A (en) Verification method and device for batch scheduling
Rao et al. morebugs: A new dataset for benchmarking algorithms for information retrieval from software repositories
CN114756623A (en) Non-homologous database synchronization method and device
CN109558153B (en) Method, device and system for determining version consistency
US9946534B1 (en) Techniques for automated database deployment

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