CN112099878A - Application software configuration management method, device and system - Google Patents

Application software configuration management method, device and system Download PDF

Info

Publication number
CN112099878A
CN112099878A CN202011300895.2A CN202011300895A CN112099878A CN 112099878 A CN112099878 A CN 112099878A CN 202011300895 A CN202011300895 A CN 202011300895A CN 112099878 A CN112099878 A CN 112099878A
Authority
CN
China
Prior art keywords
application software
server
configuration
configuration data
configuration management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011300895.2A
Other languages
Chinese (zh)
Inventor
马欣欣
李立新
陶蕾
夏文岳
武书舟
张周杰
王佳琪
吕闫
刘�东
卢文涛
张恒
刘升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
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 China Electric Power Research Institute Co Ltd CEPRI filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN202011300895.2A priority Critical patent/CN112099878A/en
Publication of CN112099878A publication Critical patent/CN112099878A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The invention belongs to the field of application software configuration, and discloses an application software configuration management method, a device and a system, wherein when an isolation device is arranged between a configuration management server and an application software server, the method comprises the following steps: acquiring configuration data of application software; converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server; and after the configuration information is synchronized to the second communication server by the first communication server, restoring the configuration information into the configuration data of the application software and the address of the corresponding application software server, and synchronizing the configuration data to the corresponding application software server. The method solves the problems that when the configuration management system and the application software server are respectively provided with an area with an isolation device, the isolation device cannot perform network transmission and cannot realize configuration synchronization, and realizes the transmission synchronization of the configuration data across the isolation device.

Description

Application software configuration management method, device and system
Technical Field
The invention belongs to the field of application software configuration, and relates to a method, a device and a system for managing application software configuration.
Background
In the existing power grid regulation cloud platform, each application software uses a configuration to specify various environmental data (such as a database address, a user name and a password) required for running an application. With the development of a power grid and a regulation and control cloud platform, the number of application software is increased gradually, the configuration of each application is dispersed on different servers, unified management cannot be performed, and no safety prevention and control measures are provided for the modification and updating of the configuration. In the power grid regulation and control cloud platform, the configuration of each application software is located on a server for application operation, the configuration is released and updated by developers or operation and maintenance personnel of each application software to manually log in the server for maintenance, the configuration of each application is dispersedly managed by the development/operation and maintenance personnel, and a system for unified management and storage is not provided.
Outside a power grid regulation cloud platform, some implementation schemes for unified management of configuration files exist, for example, patent CN110932912A discloses "an implementation method for unified management of configuration files under a micro service architecture", referring to fig. 1, the method implements unified management of configuration, including configuration release and automatic validation of configuration update.
However, when the configuration file unified management system and the application software server are separately established in two areas with the isolation devices, due to the influence of the isolation devices, network transmission cannot be performed, so that configuration synchronization cannot be realized.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned shortcomings in the prior art that when a configuration management system and an application software server are separately installed in an area with an isolation device, network transmission cannot be performed due to the influence of the isolation device, and thus configuration synchronization cannot be achieved.
In order to achieve the purpose, the invention adopts the following technical scheme to realize the purpose:
in a first aspect of the present invention, a method for configuring and managing application software, when an isolation device is provided between a configuration management server and an application software server, includes the following steps:
acquiring configuration data of application software; the configuration data is used for configuring the application software; converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server; the configuration information is used for restoring the configuration data of the application software and the address of the corresponding application software server after being synchronized to the second communication server by the first communication server, and triggering the second communication server to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server; the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
In a second aspect of the present invention, a method for managing configuration of application software, when an isolation device is provided between a configuration management server and an application software server, includes the following steps:
receiving configuration data sent by a second communication server, and configuring application software according to the configuration data; the configuration data sent by the second communication server is obtained by restoring configuration information through the second communication server, the configuration information is obtained by converting the configuration data of the application software and the address of the corresponding application software server into a preset transmission format through the configuration management server, and the configuration information is sent to the first communication server by the configuration management server and then is synchronized to the second communication server; the first communication server and the configuration management server are both located on the same side of the isolation device, the second communication server and the application software server are both located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
In a third aspect of the present invention, a method for configuring and managing application software, when an isolation device is provided between a configuration management server and an application software server, includes the following steps:
acquiring configuration data of application software through a configuration management server; the configuration data is used for configuring the application software; converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format through a configuration management server, and sending the configuration information to a first communication server; synchronizing, by the first communication server, the configuration information to the second communication server; restoring the configuration information into configuration data of the application software and an address of a corresponding application software server through the second communication server, and synchronizing the configuration data of the application software to the corresponding application software server according to the address of the application software server; receiving configuration data sent by the second communication server through the application software server, and configuring the application software according to the configuration data; the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
In a fourth aspect of the present invention, an application software configuration management apparatus, when an isolation device is provided between a configuration management server and an application software server, includes:
the configuration data acquisition module is used for acquiring configuration data of the application software; the configuration data is used for configuring the application software; the configuration data synchronization module is used for converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format and sending the configuration information to the first communication server; the configuration information is used for restoring the configuration data of the application software and the address of the corresponding application software server after being synchronized to the second communication server by the first communication server, and triggering the second communication server to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server; the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
In a fifth aspect of the present invention, an application software configuration management apparatus, when an isolation device is provided between a configuration management server and an application software server, includes:
the configuration data receiving module is used for receiving configuration data sent by the second communication server; the application configuration module is used for configuring application software according to the configuration data; the configuration data sent by the second communication server is obtained by restoring configuration information through the second communication server, the configuration information is obtained by converting the configuration data of the application software and the address of the corresponding application software server into a preset transmission format through the configuration management server, and the configuration information is sent to the first communication server by the configuration management server and then is synchronized to the second communication server; the first communication server and the configuration management server are both located on the same side of the isolation device, the second communication server and the application software server are both located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
In a sixth aspect of the present invention, an application software configuration management system, when an isolation device is provided between an application software server and an area where a configuration management server is located, includes:
configuring a management server, a first communication server, a second communication server and a plurality of application software servers; the application software server is connected with the configuration management server sequentially through the second communication server, the isolation device and the first communication server; the configuration management server comprises the application software configuration management device in the fourth aspect of the invention; the application software server comprises the application software configuration management device of the fifth aspect of the invention.
Compared with the prior art, the invention has the following beneficial effects:
according to the application software configuration management method, the configuration data of the application software is obtained in a unified mode, and then the configuration data are synchronized to the application software server corresponding to the application software, so that unified management of application software configuration is achieved, and the method can be well applied to the field of power dispatching automation. Meanwhile, aiming at the problem of cross-isolation device configuration in the field of power dispatching automation, the configuration data of the application software and the address of the corresponding application software server are converted into configuration information in a preset transmission format and sent to the first communication server, then the first communication server and the second communication server which are positioned at two sides of the isolation device are used for realizing synchronization of the configuration information, then the configuration data of the application software and the address of the corresponding application software server are restored through the second communication server, and the second communication server is triggered to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server, so that the cross-isolation device application software configuration management is realized.
Drawings
FIG. 1 is a schematic diagram of an implementation scheme of unified management of existing configuration files;
FIG. 2 is a schematic diagram of an implementation environment to which embodiments of the present invention relate;
FIG. 3 is a flow diagram of a method for application configuration management in one embodiment of the invention;
FIG. 4 is a flow chart of a method for synchronizing configuration data during quarantine in accordance with an embodiment of the present invention;
FIG. 5 is a flow chart of a method for application software configuration management in accordance with yet another embodiment of the present invention;
FIG. 6 is a flow chart of a method for application software configuration management in accordance with yet another embodiment of the present invention;
FIG. 7 is a flowchart of a method for application software configuration management in accordance with yet another embodiment of the present invention;
FIG. 8 is a flowchart of a method for application software configuration management in accordance with yet another embodiment of the present invention;
fig. 9 is a flowchart of a dual-computer hot-standby control method in an embodiment of the present invention;
FIG. 10 is a flowchart of a remote dual-active control method according to an embodiment of the present invention;
FIG. 11 is a block diagram of an application configuration management apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram showing the configuration of an application software configuration management apparatus according to still another embodiment of the present invention;
fig. 13 is a block diagram showing the configuration of an application software configuration management apparatus according to still another embodiment of the present invention;
fig. 14 is a block diagram showing the configuration of an application software configuration management apparatus according to still another embodiment of the present invention;
FIG. 15 is a block diagram of an application configuration management system according to an embodiment of the present invention;
FIG. 16 is a block diagram showing the structure of an application configuration management system according to still another embodiment of the present invention;
fig. 17 is a block diagram showing the configuration of an application software configuration management system according to still another embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention is described in further detail below with reference to the accompanying drawings:
referring to fig. 2, an application configuration management system architecture of an implementation environment according to embodiments of the present invention is shown, which includes at least one configuration management server, a first communication server, a second communication server, and a plurality of application servers, where a part of the application servers and the configuration management server are located on the same side of an isolation device, and a part of the application servers and the configuration management server are located on different sides of the isolation device.
The application software server is used as a carrier of the application software, and a plurality of application software runs on the application software server, and the application software server can be a server or a server cluster consisting of a plurality of servers.
The first communication server and the second communication server are communication devices between different isolation areas.
The configuration management server can be a server or a server cluster composed of a plurality of servers, a user interface is arranged on the configuration management server, man-machine interaction can be carried out, configuration data of the application software stored on the configuration management server are modified through the user interface, and meanwhile, the configuration management server is used for carrying out interaction of the configuration data with the application software server, so that the configuration data of all the application software are managed in a centralized mode, and centralized control and control of application software configuration are carried out.
The application software configuration management method of the present invention is applied to the technical field of power system control by several embodiments.
Referring to fig. 3, a flowchart of a method for managing an application software configuration according to an embodiment of the present invention is shown, and the embodiment is described with reference to the implementation environment shown in fig. 2, where the method for managing an application software configuration is applied to a configuration management server, and includes the following steps:
acquiring configuration data of the application software, wherein the configuration data is used for configuring the application software.
Specifically, when the application software needs to be reconfigured, a service person firstly inputs configuration data through a user interface arranged on a configuration management server, stores the configuration data in the configuration management server, and supports configuration data in various formats such as setting. After the configuration management server obtains the configuration data, the current configuration data is generally used to update the historical configuration data.
And synchronizing the configuration data to an application software server corresponding to the application software, wherein the configuration data is used for updating the configuration of the application software.
Specifically, after the configuration management server finishes acquiring the current configuration data, the configuration management server synchronizes the configuration data to the application software server, and correspondingly, after the application software server receives the updated configuration data sent by the configuration management server, the application software server updates the local configuration data, notifies the application program that the configuration data is updated, and configures the application software according to the configuration data. Here, the updating and the synchronization of the configuration data can be performed separately, that is, as two independent actions, and the synchronization of the configuration data is performed after the updating is completed, thereby effectively reducing the risk of wrong synchronization.
While enabling non-restart configuration validation. Specifically, in a normal state, the configuration management server and the application software server are always in long connection based on the HTTP, the configuration management server sends a message to the application software server at a high frequency, when the configuration data is updated or a timing pull condition is triggered, the timing pull parameter is reset, the application software server pulls the latest configuration file of the server to be stored locally, and the application program is authorized to read the latest configuration data to the memory cache through the third-party interface and then is applied to the application program. The application may restore the configuration from local when a network problem occurs or the service is unavailable.
In particular, in this embodiment, when the isolation device is disposed between the configuration management server and the application software server, that is, the configuration management server and the application software server are in different isolation areas, for example: the network isolation device is a safety protection device used for a network boundary, comprises a forward isolation device and a reverse isolation device, and is deployed between a production control area and a management information area of an electric power information system in an electric power production environment. The forward isolation device is used for unidirectional data transmission from the second safety area to the third safety area; the reverse isolation device is used for unidirectional data transmission from the safety three area to the safety two area.
Based on such a situation, the configuration management server and the application software server cannot directly communicate due to the influence of the isolation device, which directly causes difficulty in synchronizing the configuration data configured inside the configuration management server to the application software server. Referring to fig. 4, in this embodiment, taking transmission from the security three area to the security two area of the power system as an example, the configuration management server converts the configuration data into configuration information in a preset transmission format through a configuration message bus, for example: in this embodiment, data transmission across the isolation device is realized through the message bus, and the transmission of the message bus is performed through binary data, so that the configuration data and identification information such as an address of the target application software server are converted into the binary data, and then the configuration information is sent to the first communication server through the configuration receiving module. Correspondingly, the first communication server synchronizes the configuration information to the second communication server, the second communication server sends the configuration information to the application message bus through the application sending module, and the application message bus restores the configuration information to the configuration data, such as: the binary data is converted into identification information such as configuration data and the address of the target application software server, the configuration data is written into the target application software server according to the address information, synchronization of the configuration data in the configuration management server and the application software server is achieved, and the application software server achieves configuration data effect through the configuration integration module. The IP of the first communication server and the IP of the second communication server are set in the isolation device in a communication state, and effective communication of the first communication server and the second communication server is guaranteed. Wherein, configuring the message bus: in a network area at one side of the configuration management server, a message bus function is used for carrying out data format conversion and message forwarding; application message bus: in the network area on the side of the application software server, the message bus function is used for data format conversion and message forwarding. Configuring an integrated module: located on the application server, is a module integrated into the application program, responsible for sending requests to pull configuration and processing and validating the received configuration data.
In summary, the application software configuration management method of the present invention realizes unified management of application software configuration by uniformly acquiring configuration data of application software and then synchronizing the configuration data to an application software server corresponding to the application software, and can be better applied to the field of power scheduling automation. Meanwhile, aiming at the problem of cross-isolation device configuration in the field of power dispatching automation, the application software configuration management method converts the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, sends the configuration information to the first communication server, synchronizes the configuration information by using the first communication server and the second communication server which are positioned at two sides of the isolation device, restores the configuration data of the application software and the address of the corresponding application software server by using the second communication server, and triggers the second communication server to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server, so that the cross-isolation device application software configuration management is realized.
Referring to fig. 4, in a further embodiment of the present invention, the method for managing configuration of application software further includes the following steps: acquiring and responding to a pulling request sent by an application software server, and synchronizing configuration data to the application software server; when an isolation device is arranged between the configuration management server and the application software server: receiving a pull request sent by a first communication server, responding to the pull request, converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server; the pull request of the first communication server is obtained by synchronizing with the second communication server which receives the pull request sent by the application software server.
In another embodiment of the present invention, when the configuration management server receives a pull request from an application server, the configuration management server synchronizes configuration data to the corresponding application server in response to the pull request, wherein when an isolation device is disposed between the configuration management server and the application server, in response to the pull request, the configuration management server converts the configuration data of the application software and an address of the corresponding application server into configuration information in a preset transmission format according to a synchronization mode in which the isolation device is disposed, and transmits the configuration information to the first communication server to implement subsequent synchronization. The purpose of doing so is that, when the active synchronization of the configuration management server fails, the passive synchronization of the configuration data is realized through the pull request, and the situation that the configuration data of the application software cannot be updated in time is effectively avoided.
Specifically, referring to fig. 4 again, the application software server sends a pull request to the application message bus at regular time, the application message bus encapsulates the pull request and the address data of the configuration management server, converts the pull request and the address data into binary data, and sends the binary data to the second communication server, the second communication server synchronizes the pull request to the first communication server, and then converts the binary data back into the pull request and the address of the configuration management server through the configuration message bus, and then sends the pull request to the configuration management server according to the address.
In another embodiment of the present invention, the configuration data is synchronized before the application software server, wherein when an isolation device is disposed between the configuration management server and the application software server, the configuration data is encrypted by a symmetric encryption algorithm and an asymmetric encryption algorithm before the configuration data of the application software and the address of the corresponding application software server are converted into configuration information in a preset transmission format, and the configuration data is encrypted and transmitted, so that integrity of the configuration data in the transmission process is ensured, man-in-the-middle attacks are prevented, and security of the configuration data in the synchronization and transmission processes is ensured. In the symmetric encryption algorithm, the same key is used for encryption and decryption, and the encryption and decryption parties can communicate normally only by using the same key. In the asymmetric encryption algorithm, two keys are required for encryption and decryption, a public key (public key for short) and a private key (private key for short), information encrypted by the public key can be decrypted only by the private key, and information encrypted by the private key can be decrypted only by the public key.
Specifically, in this embodiment, the symmetric Encryption algorithm is an AES symmetric Encryption algorithm (AES, Advanced Encryption Standard algorithm), the asymmetric Encryption algorithm is an RSA public key Encryption algorithm, the two algorithms are used in cooperation with Encryption to realize encrypted transmission of the configuration data, and the RSA public key Encryption algorithm is proposed by ronard listeriost (Ron Rivest), addi samor (Adi Shamir) and ronard addeman. Referring to fig. 6, the encryption flow of the configuration data is as follows:
generating a key pair by an RSA public key encryption algorithm, wherein the key pair comprises an RSA public key and an RSA secret key, inputting the RSA public key into a configuration management server, and inputting the RSA private key into an application software server; and generating an AES key through an AES symmetric encryption algorithm, and inputting the AES key into the configuration management server. The configuration management server encrypts the AES key through the RSA public key to obtain an AES key ciphertext, encrypts the configuration data through the AES key to obtain a configuration data ciphertext, and synchronizes the AES key ciphertext and the configuration data ciphertext to the application software server. Correspondingly, the application software server decrypts the AES key ciphertext through the RSA private key to obtain the AES key, decrypts the configuration data ciphertext through the AES key to obtain configuration data, and completes configuration data encryption synchronization of the configuration management server and the application software server.
In another embodiment of the present invention, the configuration data is synchronized before the application server, wherein when an isolation device is disposed between the configuration management server and the application server, the user information of the current user is obtained before the configuration data of the application and the address of the corresponding application server are converted into the configuration information in the preset transmission format, and whether the current user has the synchronization right is detected according to the user information; generating a synchronization instruction when the current user has the synchronization authority; and synchronizing the configuration data to the application software server in response to the synchronization instruction, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration data and the address of the corresponding application software server are converted into configuration information in a preset transmission format in response to the synchronization instruction.
Specifically, a permission management and control function is set, the configuration management server acquires user information of a current user before executing the configuration management server, and then detects whether the current user has a synchronization permission according to a preset user permission grouping condition, if the current user is a common user and does not have the permission of configuration data synchronization, the configuration management server does not execute the configuration data synchronization, but generates an audit instruction to a user having the configuration data synchronization permission, such as a master upper level of the common user; and when the current user has the authority of synchronizing the configuration data, the configuration management server generates a synchronization instruction, wherein the synchronization instruction is used for triggering the configuration management server to execute the operation of synchronizing the configuration data to the application software server. Through authority management and control, the risk of error modification can be effectively reduced.
In another embodiment of the present invention, the method for managing configuration of application software further includes the following steps: and storing the historical configuration data according to the version, and responding to the viewing request for displaying. Specifically, after the configuration data is updated each time, the historical configuration data is stored in the database according to the version, wherein the version is regarded as a new version every time the configuration data is updated. When a viewing request is received, the historical configuration data is displayed, so that the operation of each configuration update and the content of each historical version can be known conveniently.
In another embodiment of the present invention, the synchronizing the configuration data to the application server includes the following steps: when the configuration rollback instruction is acquired, synchronizing historical configuration data of the designated version of the configuration rollback instruction to the application software server according to the configuration rollback instruction, wherein when an isolation device is arranged between the configuration management server and the application software server, the historical configuration data of the designated version of the configuration rollback instruction and the address of the corresponding application software server are correspondingly converted into configuration information of a preset transmission format according to the configuration rollback instruction. Specifically, rollback refers to the act of a program or data processing error to restore the program or data to the last correct state. Rollback includes types of program rollback and data rollback. In this embodiment, when it is found that the updated configuration data has an error and is synchronized, a configuration rollback instruction needs to be input to the configuration management server through rollback resolution, the configuration management server responds to the configuration rollback instruction, analyzes the configuration rollback instruction to obtain historical configuration data of a version specified by the configuration rollback instruction, and synchronizes the historical configuration data to the application software server to implement configuration rollback of the application software.
In another embodiment of the present invention, the synchronizing the configuration data to the application server includes the following steps: and when the gray level issuing instruction is acquired, synchronizing the configuration data to the application software server specified by the gray level issuing instruction according to the gray level issuing instruction, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration management server correspondingly converts the configuration data and the address of the application software server specified by the gray level issuing instruction into the configuration information of the preset transmission format according to the gray level issuing instruction. Specifically, the gray-scale publishing refers to a publishing mode capable of smoothly transiting between black and white, and A/B testing can be performed on the publishing mode, namely, one part of users continue to use the product characteristics A, the other part of users start to use the product characteristics B, if the users do not have any objection to the product characteristics B, the range is gradually expanded, and all the users are migrated to the product characteristics B. The stability of the whole system can be ensured by gray scale release, and problems can be found and adjusted in the initial gray scale so as to ensure the influence degree of the gray scale. In this embodiment, when the configuration of the application software needs to be updated, based on the consideration of overall stability, part of the application software is selected first to perform update configuration, so that when the configuration data is synchronized to the application software servers, a gray-scale issuing instruction is generated, the gray-scale issuing instruction specifies the application software servers occupying a preset percentage of all the application software servers to perform configuration update, and then the application software servers corresponding to the preset percentage are selected from all the application software servers, and the configuration data is synchronized to the application software servers. Alternatively, the grayscale issuing instruction may also directly specify a specific application software server, and then the configuration management server directly synchronizes the configuration data to the application software server specified by the grayscale issuing instruction.
Referring to fig. 7, a flowchart of a method for managing an application software configuration according to still another embodiment of the present invention is shown, and this embodiment is described with reference to the implementation environment shown in fig. 2, where the method for managing an application software configuration is applied to an application software server, and includes the following steps:
configuration data synchronized by the configuration management server is received.
Specifically, the application software server receives the configuration data synchronized by the configuration management server, compares the configuration data with the local configuration data, updates the local configuration data by using the synchronized configuration data when the configuration data is different from the local configuration data, and notifies the application software of configuration update.
The application software is configured according to the configuration data.
Specifically, the application software authorizes to read the latest configuration data of the application software server through the third-party interface, updates the memory cache, and realizes the configuration update of the application software.
Similar to the above embodiment, when the isolation device is disposed between the configuration management server and the application software server, the configuration management server and the application software server cannot directly communicate due to the influence of the isolation device, and therefore the application software server can only receive the configuration data sent by the second communication server, and complete the synchronization with the configuration data of the configuration management server. The configuration information here is the same as in the above embodiment, and the configuration management server converts the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and then sends the configuration information to the first communication server, and then the first communication server synchronizes to the second communication server.
In still another embodiment of the present invention, the method further comprises the steps of: sending a pulling request to a configuration management server at regular time; the pull request is used for triggering the configuration management server to synchronize the configuration data to the application software server; when an isolation device is arranged between the configuration management server and the application software server, correspondingly sending a pull request to the second communication server at regular time, wherein the pull request is used for triggering the second communication server to be synchronous with the first communication server, and the first communication server sends the pull request to the configuration management server; the configuration management server acquires and responds to the pull request sent by the application software server, converts the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sends the configuration information to the first communication server.
Correspondingly, when the configuration management server receives a pull request of the application software server, the configuration management server synchronizes the configuration data to the corresponding application software server in response to the pull request, and sends the pull request to the configuration management server at regular time.
Referring to fig. 8, a flowchart of a method for managing application software configuration in another embodiment of the present invention is shown, and this embodiment is described with reference to the implementation environment shown in fig. 2, which includes the following steps:
the configuration management server acquires configuration data of the application software; the configuration management server synchronizes the configuration data to an application software server corresponding to the application software; the application software server receives the configuration data synchronized by the configuration management server and configures the application software according to the configuration data; when an isolation device is arranged between the configuration management server and the application software server: acquiring configuration data of application software through a configuration management server; the configuration data is used for configuring the application software; converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format through a configuration management server, and sending the configuration information to a first communication server; synchronizing, by the first communication server, the configuration information to the second communication server; restoring the configuration information into configuration data of the application software and an address of a corresponding application software server through the second communication server, and synchronizing the configuration data of the application software to the corresponding application software server according to the address of the application software server; receiving configuration data sent by the second communication server through the application software server, and configuring the application software according to the configuration data; the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
The application software server sends a pulling request to the configuration management server at regular time; the configuration management server acquires and responds to a pulling request sent by the application software server, and synchronizes configuration data to the application software server; when an isolation device is arranged between the configuration management server and the application software server: the application software server sends a pulling request to the second communication server at regular time, the second communication server synchronously pulls the request to the first communication server, and the first communication server sends the pulling request to the configuration management server; the configuration management server acquires and responds to the pull request sent by the application software server, converts the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sends the configuration information to the first communication server.
The configuration management server synchronizes configuration data to the front of the application software server, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration data of the application software and the address of the corresponding application software server are correspondingly mixed and encrypted through a symmetric encryption algorithm and an asymmetric encryption algorithm before being converted into configuration information of a preset transmission format; the configuration management server synchronizes the configuration data to the front of the application software server, acquires the user information of the current user, and detects whether the current user has the synchronization authority according to the user information; when the current user has the synchronization right, the configuration management server generates a synchronization instruction; the configuration management server responds to the synchronization instruction to synchronize the configuration data to the application software server, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration management server responds to the synchronization instruction to convert the configuration data of the application software and the address of the corresponding application software server into the configuration information of the preset transmission format before correspondingly converting the configuration data of the application software and the address of the corresponding application software server into the configuration information of the preset transmission format; the configuration management server stores and displays all historical configuration data according to versions; when the configuration data are synchronized to the application software server, when the configuration management server acquires a configuration rollback instruction, the historical configuration data of the designated version of the configuration rollback instruction are synchronized to the application software server according to the configuration rollback instruction, wherein when an isolation device is arranged between the configuration management server and the application software server and correspondingly converts the configuration data of the application software and the address of the corresponding application software server into configuration information of a preset transmission format, the historical configuration data of the designated version of the configuration rollback instruction and the address of the corresponding application software server are converted into configuration information of the preset transmission format according to the configuration rollback instruction; when the configuration management server acquires a gray level issuing instruction, synchronizing the configuration data to the application software server specified by the gray level issuing instruction according to the gray level issuing instruction, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration data of the application software and the address of the corresponding application software server are converted into the configuration information of the preset transmission format correspondingly, and the address of the application software server specified by the configuration data and the gray level issuing instruction is converted into the configuration information of the preset transmission format according to the gray level issuing instruction.
In another embodiment of the present invention, the application software configuration management method further includes a dual-server hot-standby control method, where the dual-server hot-standby uses two servers, and the two servers backup each other to jointly execute the same service. When one server fails, the other server can undertake the service task, so that the continuous service can be automatically guaranteed without manual intervention. The dual-computer hot standby solves the problem of uninterrupted service when the main server fails by the standby server. In practical applications, however, a plurality of servers, i.e., a server cluster, may occur. The dual-server hot standby generally requires a shared storage device, but in some cases two independent servers may be used. The dual-computer hot standby control method comprises the following steps: monitoring the running state of each configuration management server; and when the running state of the configuration management server of the main type is unavailable, switching the configuration management server of the standby type with the available running state into the main type. By operating the configuration management server of the primary type and the configuration management server of the standby type for a long time, the method operates at different nodes of the same site, and when the configuration management server of the primary type fails, the configuration management server of the standby type without problems is immediately switched to, so that the availability of the method in the operation process is ensured, and the method cannot be normally implemented due to single node failure or application failure.
Specifically, referring to fig. 9, the dual-computer hot standby control method specifically includes the following steps: respectively monitoring the running states of the configuration management server of the main type and the configuration management server of the standby type in real time by using daemon processes arranged in the configuration management server of the main type and the configuration management server of the standby type; the nodes and the running state information of the configuration management server of the main type and the configuration management server of the standby type are uploaded to a main and standby management center in real time; the master and standby management center judges whether the master type configuration management server and the standby type configuration management server are normally available according to the node and the operation state information; when the primary type configuration management server fails and is unavailable, the primary and standby management center switches the standby type configuration management server in a normal state to the primary type configuration management server, and updates primary and standby information in a database, wherein the primary and standby information is used for indicating type information of each current configuration management server and can be a combination of IP information and type information of the configuration management servers.
Referring to fig. 10, in another embodiment of the present invention, the application software configuration management method further includes a remote double-active control method, where the remote double-active means that a backup disaster recovery center is established in a remote place for data backup in the double center, and when the double center fails due to natural disasters, the remote disaster recovery center can use backup data to recover the service. The data center of "double-live" or "multi-live" refers to that multiple or two data centers are in operation, run the same application, have the same data, can provide cross-center service load balancing operation capability, realize continuous application availability and disaster backup capability, and is called as "double-live" and "multi-live"; the biggest characteristic of the 'double-activity' data center is as follows: the resources are fully utilized, waste caused by the fact that one data center is in an idle state all the year round is avoided, and through resource integration, the service capacity of the 'double-active' data center is doubled; if one data center is disconnected, the service of the data center can be quickly switched to another running data center, and the switching process is not perceptible to users.
Under normal conditions, the application software server requests configuration data from the main type configuration management server of the local site, and when the main type configuration management server and the standby type configuration management server of the local site both fail to normally acquire the configuration data, the application software server automatically requests the configuration management server of the remote site and acquires the configuration data. Specifically, the remote dual-activity control method comprises the following steps: monitoring the running states of a local site and a configuration management server of a remote site through a master and standby management center; when the running states of the configuration management servers of the local sites are all unavailable, the running tasks of the configuration management servers of the local sites are transferred to the configuration management servers of the remote sites, and the availability and the stability of the method are guaranteed.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details of non-careless mistakes in the embodiment of the apparatus, please refer to the embodiment of the method of the present invention.
Referring to fig. 11, a block diagram of an application software configuration management apparatus according to still another embodiment of the present invention is shown, where the application software configuration management apparatus may be implemented as part or all of a configuration management server through software, hardware, or a combination of both. The application software configuration management device comprises: a configuration data acquisition module and a configuration data synchronization module.
The configuration data acquisition module is used for acquiring configuration data of the application software; the configuration data synchronization module is used for synchronizing configuration data to an application software server corresponding to the application software, and the configuration data is used for updating the configuration of the application software; when an isolation device is arranged between the configuration management server and the application software server: the configuration data synchronization module is used for converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format and sending the configuration information to the first communication server; the configuration information is used for restoring the configuration data of the application software and the address of the corresponding application software server after being synchronized to the second communication server by the first communication server, and triggering the second communication server to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server; the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
The configuration data is updated through the configuration data acquisition module, the updated configuration data is synchronized to the application software servers through the configuration data synchronization module, centralized control of the configuration data of the application software servers is achieved, meanwhile, when an isolation device is arranged between the configuration management server and the application software servers, the configuration data conversion module is used for converting the configuration data into configuration information in a preset transmission format, and then the first communication server and the second communication server which can communicate are preset in the isolation device, synchronization of the configuration information to the application software servers is achieved, and the problem of synchronous transmission of the configuration data under the condition that the isolation device exists between the application software servers and the configuration management server is solved.
Referring to fig. 12, in a further embodiment of the present invention, an application software configuration management apparatus is provided, which includes, in addition to all contents in the embodiment shown in fig. 11, a pull request response module, configured to obtain and respond to a pull request sent by an application software server, and synchronize configuration data to the application software server; when an isolation device is arranged between the configuration management server and the application software server: the pull request response module is used for receiving a pull request sent by the first communication server, responding to the pull request, converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server; the pull request of the first communication server is obtained by synchronizing with the second communication server which receives the pull request sent by the application software server.
The pull request response module receives the pull request, then responds to the pull request to synchronize the configuration data to the application software server, and achieves passive synchronization of the configuration data through the pull request, so that the situation that the configuration data of the application software cannot be updated timely is effectively avoided.
Preferably, the application software configuration management device further comprises an encryption module, an authority management and control module, a version control module, a configuration rollback module and a gray level release module. The encryption module is used for synchronizing the configuration data to the front of the application software server, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration data of the application software and the address of the corresponding application software server are correspondingly encrypted in a mixed mode through a symmetric encryption algorithm and an asymmetric encryption algorithm before being converted into configuration information of a preset transmission format.
The authority control module is used for synchronizing the configuration data to the front of the application software server, acquiring the user information of the current user and detecting whether the current user has synchronization authority or not according to the user information; when the current user has the synchronization right, generating a synchronization instruction; the configuration data synchronization module is further used for synchronizing the configuration data to the application software server in response to the synchronization instruction, wherein when an isolation device is arranged between the configuration management server and the application software server, the configuration data synchronization module responds to the synchronization instruction to convert the configuration data and the address of the corresponding application software server into the configuration information of the preset transmission format before the configuration data of the application software and the address of the corresponding application software server are converted into the configuration information of the preset transmission format.
And the version control module is used for storing the historical configuration data according to the version and responding to the viewing request for displaying.
The configuration rollback module is used for acquiring a configuration rollback instruction and sending the configuration rollback instruction to the configuration data synchronization module; the configuration data synchronization module is used for synchronizing the historical configuration data of the version designated by the configuration rollback instruction to the application software server according to the configuration rollback instruction, wherein when an isolation device is arranged between the configuration management server and the application software server and correspondingly converts the configuration data of the application software and the address of the corresponding application software server into the configuration information of the preset transmission format, the configuration data synchronization module is used for converting the historical configuration data of the version designated by the configuration rollback instruction and the address of the corresponding application software server into the configuration information of the preset transmission format according to the configuration rollback instruction.
The gray level issuing module is used for acquiring a gray level issuing instruction and sending the gray level issuing instruction to the configuration data synchronization module; the configuration data synchronization module is used for synchronizing the configuration data to the application software server specified by the gray scale issuing instruction according to the gray scale issuing instruction, wherein when an isolation device is arranged between the configuration management server and the application software server and correspondingly converts the configuration data of the application software and the address of the corresponding application software server into the configuration information of the preset transmission format, the configuration data synchronization module is used for converting the configuration data and the address of the application software server specified by the gray scale issuing instruction into the configuration information of the preset transmission format according to the gray scale issuing instruction.
The encryption module is arranged to realize the encrypted transmission of the configuration data, so that the safety of the transmission process is ensured; the permission management and control module is arranged to ensure that the issuing/updating operation of the configuration data is set to be carried out by only an authorized user, so that the configuration data is effectively prevented from being modified by mistake; the version control module is arranged to facilitate the understanding of the configuration data condition of each version and the version updating operation history; the configuration rollback module is arranged to realize that when the newly issued configuration is abnormal, the configuration can be appointed to be rolled back to a certain historical version, and the abnormality is solved in time; the gray scale release module is arranged to enable part of application examples to take effect but not all the application examples before formal release, and problems can be found and adjusted in advance to reduce the influence degree of the problems.
Referring to fig. 13, a block diagram of an application software configuration management apparatus according to still another embodiment of the present invention is shown, where the application software configuration management apparatus may be implemented as part of or all of an application software server through software, hardware, or a combination of the software and the hardware. The application software configuration management device comprises: a configuration data receiving module and an application configuration module.
The configuration data receiving module is used for receiving the configuration data synchronized by the configuration management server; the application configuration module is used for configuring application software according to the configuration data; when an isolation device is arranged between the configuration management server and the application software server, the configuration data receiving module is used for receiving configuration data sent by the second communication server; the configuration data sent by the second communication server is obtained by restoring configuration information through the second communication server, the configuration information is obtained by converting the configuration data of the application software and the address of the corresponding application software server into a preset transmission format through the configuration management server, and the configuration information is sent to the first communication server by the configuration management server and then is synchronized to the second communication server; the first communication server and the configuration management server are both located on the same side of the isolation device, the second communication server and the application software server are both located on the same side of the isolation device, and the first communication server and the second communication server are configured to be capable of communicating in the isolation device.
The configuration data receiving module is used for receiving the configuration data synchronized by the configuration management server, the application software is configured based on the configuration data, the centralized configuration of the application software is realized, when the isolation device is arranged between the configuration management server and the application software server, the configuration data recovery module is used for recovering the configuration information synchronized by the configuration management server into the configuration data, the synchronization between the configuration data and the configuration management server is realized, and the problem of the synchronous transmission of the configuration data under the condition that the isolation device exists between the application software server and the configuration management server is solved.
Referring to fig. 14, in yet another embodiment of the present invention, the application software configuration management apparatus further includes a pull request sending module, configured to send a pull request to the configuration management server at regular time; the pull request is used for triggering the configuration management server to synchronize the configuration data to the application software server; when an isolation device is arranged between the configuration management server and the application software server: the pull request sending module is used for sending a pull request to the second communication server at regular time, the pull request is used for triggering the second communication server to be synchronous with the first communication server, the first communication server sends the pull request to the configuration management server, the configuration management server obtains and responds to the pull request sent by the application software server, configuration data of the application software and an address of the corresponding application software server are converted into configuration information in a preset transmission format, and the configuration information is sent to the first communication server.
The pull sending response module sends a pull request to the configuration management server to request the configuration service manager to synchronize the configuration data, so that the situation that the configuration data of the application software cannot be updated timely is effectively avoided.
Referring to fig. 15, a block diagram of an application software configuration management system according to still another embodiment of the present invention is shown, including a configuration management server, a first communication server, a second communication server, and a plurality of application software servers; when an isolation device is arranged between the application software server and the area where the configuration management server is located, the application software server is connected with the configuration management server sequentially through the second communication server, the isolation device and the first communication server; otherwise, the application software server is connected with the configuration management server.
The configuration management server may include an application software configuration management device, which may be implemented as a part or all of the configuration management server by software, hardware, or a combination of both, and the application software configuration management device includes: a configuration data updating module, a configuration data synchronizing module, a configuration data converting module, a pull request responding module, an encrypting module, a permission management and control module, a version control module, a configuration rollback module, and a gray level publishing module, and the functional roles and the respective implementation manners of the modules please refer to the description of the embodiment shown in fig. 11 and 12.
The application software server may include an application software configuration management device, which may be implemented as a part or all of the application software server by software, hardware, or a combination of the two, and the application software configuration management device includes: the system comprises a configuration data receiving module, an application configuration module, a configuration data restoring module and a pulling request sending module; the functional roles and the respective implementations of the modules are described with reference to the embodiments shown in fig. 13 and 14.
Referring to fig. 16, in yet another embodiment of the present invention, the application software configuration management system further includes a master/slave management device; the configuration management servers are at least two and are arranged according to the main type and the standby type. The master and slave management device is connected with all the configuration management servers and is used for monitoring the running state of each configuration management server; and when the running state of the configuration management server of the primary type is unavailable, the configuration management server of the standby type with the running state of being available is switched to the primary type.
Specifically, the active/standby management device receives the running state information of the active type and standby type configuration management servers in real time, and monitors the running state based on the running state information, so that switching is performed in time when the active type configuration management server fails, and it is ensured that the system cannot provide functions due to single node failure or application failure, wherein all configuration data and running data of the configuration management servers are persisted into the database for village coarsening.
Referring to fig. 17, in yet another embodiment of the present invention, in the application software configuration management system, at least two configuration management servers are provided, and the configuration management servers are respectively provided at a local site and a remote site, and the configuration management servers of the local site and the remote site are set according to remote dual-active settings. The master and standby management device is also used for monitoring the running states of the configuration management servers of the local site and the remote site; and when the running states of the configuration management servers of the local sites are all unavailable, the running tasks of the configuration management servers of the local sites are transferred to the configuration management servers of the different sites.
Specifically, the active/standby management device receives the running state information of the configuration management servers of the local site and the remote site in real time, and monitors the running state based on the running state information, so that when the configuration management server of the local site fails, the running service is switched to the configuration management server of the remote site to run in time, and the stability of the system can be effectively guaranteed by combining the dual-computer equipment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (24)

1. An application software configuration management method is characterized in that when an isolation device is arranged between a configuration management server and an application software server, the method comprises the following steps:
acquiring configuration data of application software; the configuration data is used for configuring the application software;
converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server;
the configuration information is used for restoring the configuration data of the application software and the address of the corresponding application software server after being synchronized to the second communication server by the first communication server, and triggering the second communication server to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server;
the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
2. The application software configuration management method according to claim 1, further comprising the steps of:
receiving a pull request sent by a first communication server, responding to the pull request, converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server;
the pull request sent by the first communication server is obtained by synchronizing with the second communication server which receives the pull request sent by the application software server.
3. The method according to claim 1, wherein before the configuration data of the application software and the address of the corresponding application software server are converted into the configuration information in the preset transmission format, the configuration data is encrypted by a symmetric encryption algorithm and an asymmetric encryption algorithm in a mixed manner.
4. The method according to claim 1, wherein before converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, user information of a current user is obtained, and whether the current user has a synchronization right is detected according to the user information; when the current user has the synchronization right, generating a synchronization instruction;
and responding to the synchronous instruction to convert the configuration data and the address of the corresponding application software server into configuration information in a preset transmission format.
5. The application software configuration management method according to claim 1, further comprising the steps of: and storing the historical configuration data according to the version, and responding to the viewing request for displaying.
6. The method for configuration management of application software according to claim 5, wherein when the configuration data of the application software and the address of the corresponding application software server are converted into the configuration information of the preset transmission format, the method comprises the following steps: and when the configuration rollback instruction is acquired, converting the historical configuration data of the designated version of the configuration rollback instruction and the address of the corresponding application software server into configuration information in a preset transmission format according to the configuration rollback instruction.
7. The method for configuration management of application software according to claim 1, wherein when the configuration data of the application software and the address of the corresponding application software server are converted into the configuration information of the preset transmission format, the method comprises the following steps: and when the gray level issuing instruction is acquired, converting the configuration data and the address of the application software server specified by the gray level issuing instruction into the configuration information in the preset transmission format according to the gray level issuing instruction.
8. An application software configuration management method is characterized in that when an isolation device is arranged between a configuration management server and an application software server, the method comprises the following steps:
receiving configuration data sent by a second communication server, and configuring application software according to the configuration data;
the configuration data sent by the second communication server is obtained by restoring configuration information through the second communication server, the configuration information is obtained by converting the configuration data of the application software and the address of the corresponding application software server into a preset transmission format through the configuration management server, and the configuration information is sent to the first communication server by the configuration management server and then is synchronized to the second communication server;
the first communication server and the configuration management server are both located on the same side of the isolation device, the second communication server and the application software server are both located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
9. An application software configuration management method is characterized in that when an isolation device is arranged between a configuration management server and an application software server, the method comprises the following steps:
acquiring configuration data of application software through a configuration management server; the configuration data is used for configuring the application software;
converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format through a configuration management server, and sending the configuration information to a first communication server;
synchronizing, by the first communication server, the configuration information to the second communication server;
restoring the configuration information into configuration data of the application software and an address of a corresponding application software server through the second communication server, and synchronizing the configuration data of the application software to the corresponding application software server according to the address of the application software server;
receiving configuration data sent by the second communication server through the application software server, and configuring the application software according to the configuration data;
the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
10. The application software configuration management method according to claim 9, characterized by further comprising the steps of:
the application software server sends a pulling request to the second communication server at regular time, the second communication server synchronously pulls the request to the first communication server, and the first communication server sends the pulling request to the configuration management server;
the configuration management server acquires and responds to the pull request sent by the application software server, converts the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sends the configuration information to the first communication server.
11. The application software configuration management method according to claim 9, characterized by further comprising the steps of:
before the configuration management server converts the configuration data of the application software and the address of the corresponding application software server into configuration information of a preset transmission format, the configuration management server mixedly encrypts the configuration data through a symmetric encryption algorithm and an asymmetric encryption algorithm;
before the configuration management server converts the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, the configuration management server acquires user information of a current user and detects whether the current user has synchronization authority according to the user information; when the current user has the synchronization right, the configuration management server generates a synchronization instruction; the configuration management server responds to the synchronization instruction to synchronize the configuration data to the application software server;
the configuration management server stores and displays all historical configuration data according to versions;
when the configuration management server converts the configuration data of the application software and the address of the corresponding application software server into the configuration information of the preset transmission format, and when the configuration management server acquires a configuration rollback instruction, converting the historical configuration data of the specified version of the configuration rollback instruction and the address of the corresponding application software server into the configuration information of the preset transmission format according to the configuration rollback instruction; and when the configuration management server acquires the gray level issuing instruction, converting the configuration data and the address of the application software server specified by the gray level issuing instruction into the configuration information in the preset transmission format according to the gray level issuing instruction.
12. The application software configuration management method according to claim 9, characterized by further comprising the steps of:
monitoring the running state of each configuration management server;
and when the running state of the configuration management server of the main type is unavailable, switching the configuration management server of the standby type with the available running state into the main type.
13. The application software configuration management method according to claim 9, characterized by further comprising the steps of:
monitoring the running states of a local site and a configuration management server of a remote site;
and when the operation states of the configuration management servers of the local site are all monitored to be unavailable, changing the response address of the configuration management server from the local site to a remote site.
14. An application software configuration management device, when an isolation device is provided between a configuration management server and an application software server, comprising:
the configuration data acquisition module is used for acquiring configuration data of the application software; the configuration data is used for configuring the application software; and
the configuration data synchronization module is used for converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format and sending the configuration information to the first communication server;
the configuration information is used for restoring the configuration data of the application software and the address of the corresponding application software server after being synchronized to the second communication server by the first communication server, and triggering the second communication server to synchronize the configuration data of the application software to the corresponding application software server according to the address of the application software server;
the first communication server and the configuration management server are located on the same side of the isolation device, the second communication server and the application software server are located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
15. The application software configuration management device according to claim 14, further comprising:
the pull request response module is used for receiving a pull request sent by the first communication server, responding to the pull request, converting the configuration data of the application software and the address of the corresponding application software server into configuration information in a preset transmission format, and sending the configuration information to the first communication server;
the pull request of the first communication server is obtained by synchronizing with the second communication server which receives the pull request sent by the application software server.
16. The device for configuration management of application software according to claim 14, further comprising an encryption module, configured to encrypt the configuration data by a symmetric encryption algorithm and an asymmetric encryption algorithm before converting the configuration data of the application software and the address of the corresponding application software server into the configuration information in the preset transmission format.
17. The application software configuration management device according to claim 14, further comprising:
the authority control module is used for acquiring the user information of the current user before converting the configuration data of the application software and the address of the corresponding application software server into the configuration information of the preset transmission format, and detecting whether the current user has the synchronization authority according to the user information; when the current user has the synchronization right, generating a synchronization instruction;
the configuration data synchronization module is also used for responding to the synchronization instruction and converting the configuration data and the address of the corresponding application software server into configuration information in a preset transmission format.
18. The application software configuration management device according to claim 14, further comprising a version control module for storing the historical configuration data in terms of version and presenting it in response to the viewing request.
19. The application software configuration management device according to claim 18, further comprising a configuration rollback module, configured to obtain a configuration rollback instruction and send the configuration rollback instruction to the configuration data synchronization module;
the configuration data synchronization module is used for converting the historical configuration data of the designated version of the configuration rollback instruction and the address of the corresponding application software server into configuration information in a preset transmission format according to the configuration rollback instruction.
20. The application software configuration management device according to claim 14, further comprising a gray scale issuing module, configured to obtain a gray scale issuing instruction and send the gray scale issuing instruction to the configuration data synchronization module;
and the configuration data synchronization module is used for converting the configuration data and the address of the application software server specified by the gray level issuing instruction into the configuration information in the preset transmission format according to the gray level issuing instruction.
21. An application configuration management apparatus, comprising:
the configuration data receiving module is used for receiving configuration data sent by the second communication server;
the application configuration module is used for configuring application software according to the configuration data;
the configuration data sent by the second communication server is obtained by restoring configuration information through the second communication server, the configuration information is obtained by converting the configuration data of the application software and the address of the corresponding application software server into a preset transmission format through the configuration management server, and the configuration information is sent to the first communication server by the configuration management server and then is synchronized to the second communication server;
the first communication server and the configuration management server are both located on the same side of the isolation device, the second communication server and the application software server are both located on the same side of the isolation device, and the first communication server and the second communication server are configured in the isolation device to be capable of communicating.
22. The application software configuration management system is characterized by comprising a configuration management server, a first communication server, a second communication server and a plurality of application software servers when an isolation device is arranged between the application software servers and an area where the configuration management server is located;
the application software server is connected with the configuration management server sequentially through the second communication server, the isolation device and the first communication server; the configuration management server comprises the application software configuration management device of any one of claims 14 to 20; the application server comprises the application configuration management apparatus of claim 21.
23. The application software configuration management system according to claim 22, further comprising a master backup management device; the configuration management servers are at least two and are arranged according to the main type and the standby type;
the master and slave management device is connected with all the configuration management servers and is used for monitoring the running state of each configuration management server; and when the running state of the configuration management server of the primary type is unavailable, the configuration management server of the standby type with the running state of being available is switched to the primary type.
24. The system for configuration management of application software according to claim 23, wherein the configuration management servers are at least two, and the configuration management servers are respectively installed at a local site and a remote site, and the configuration management servers of the local site and the remote site are installed according to a remote dual-active mode;
the master and standby management device is also used for monitoring the running states of the configuration management servers of the local site and the remote site; and when the running state of the configuration management server of the local site is unavailable, the running task of the configuration management server of the local site is transferred to the configuration management server of the remote site.
CN202011300895.2A 2020-11-19 2020-11-19 Application software configuration management method, device and system Pending CN112099878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011300895.2A CN112099878A (en) 2020-11-19 2020-11-19 Application software configuration management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011300895.2A CN112099878A (en) 2020-11-19 2020-11-19 Application software configuration management method, device and system

Publications (1)

Publication Number Publication Date
CN112099878A true CN112099878A (en) 2020-12-18

Family

ID=73785754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011300895.2A Pending CN112099878A (en) 2020-11-19 2020-11-19 Application software configuration management method, device and system

Country Status (1)

Country Link
CN (1) CN112099878A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769625A (en) * 2021-01-29 2021-05-07 广州技象科技有限公司 Grouping configuration method and device for configuration data
US20230076276A1 (en) * 2021-09-06 2023-03-09 Jpmorgan Chase Bank, N.A. Data configuration deployment framework

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867557A (en) * 2009-04-20 2010-10-20 华北电力科学研究院有限责任公司 One-way transmission device, data acquisition system and method
CN106663033A (en) * 2014-04-28 2017-05-10 甲骨文国际公司 System and method for supporting bypass-domain model and proxy model and updating service information for across-domain messaging in transactional middleware machine environment
CN110457313A (en) * 2019-07-12 2019-11-15 平安普惠企业管理有限公司 A kind of application configuration management method, server and storage medium
CN110932912A (en) * 2019-12-12 2020-03-27 北京中电普华信息技术有限公司 Method for realizing unified management of configuration files under micro-service architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867557A (en) * 2009-04-20 2010-10-20 华北电力科学研究院有限责任公司 One-way transmission device, data acquisition system and method
CN106663033A (en) * 2014-04-28 2017-05-10 甲骨文国际公司 System and method for supporting bypass-domain model and proxy model and updating service information for across-domain messaging in transactional middleware machine environment
CN110457313A (en) * 2019-07-12 2019-11-15 平安普惠企业管理有限公司 A kind of application configuration management method, server and storage medium
CN110932912A (en) * 2019-12-12 2020-03-27 北京中电普华信息技术有限公司 Method for realizing unified management of configuration files under micro-service architecture

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769625A (en) * 2021-01-29 2021-05-07 广州技象科技有限公司 Grouping configuration method and device for configuration data
US20230076276A1 (en) * 2021-09-06 2023-03-09 Jpmorgan Chase Bank, N.A. Data configuration deployment framework
US11789712B2 (en) * 2021-09-06 2023-10-17 Jpmorgan Chase Bank, N.A. Data configuration deployment framework

Similar Documents

Publication Publication Date Title
CN101925880B (en) Method and apparatus for authentication service application processes during service reallocation in high availability clusters
CN108259175B (en) Distributed password service method and system
CN111478771B (en) Method for safety access between micro services and micro service system
CN110601931B (en) Batch configuration method and system of intelligent home system
KR101408037B1 (en) Virtual Machine Integration Monitoring Apparatus and method for Cloud system
CN101883108B (en) Document transmission method and system of dynamic authentication
CN112099878A (en) Application software configuration management method, device and system
CN111800267B (en) Password service supporting system for unified management
CN103856345A (en) Server account number and password management method and system and server
CN109842506B (en) Disaster recovery processing method, device, system and storage medium for key management system
CN104158707A (en) Method and device of detecting and processing brain split in cluster
CN102890486A (en) Center boiler remote monitoring system and control method thereof
CN113993137B (en) Monitoring system, method and device for configuration data, electronic equipment and medium
CN112804202B (en) Multi-internetwork data security interaction method and device, server and storage medium
CN113190620B (en) Method, device, equipment and storage medium for synchronizing data between Redis clusters
CN111552746B (en) Data synchronization method, device, electronic equipment and storage medium
CN104168110A (en) Symmetric key online updating method
CN109062599B (en) Management method and device for code update under micro-service architecture
US11093014B2 (en) Method for monitoring, control and graceful shutdown of control and/or computer units
CN111475225A (en) Microservice configuration method, system, apparatus and computer readable storage medium
US20230359642A1 (en) Method, devices and system for data exchange between a distributed database system and devices
WO2016082368A1 (en) Data consistency maintaining method, device and ptn transmission apparatus
CN104811446A (en) Novel network safety protection system
EP2634988A1 (en) A method and a system for performing a security update in a smart grid network
CN114978619B (en) Cross-safety-zone data integration monitoring method, system and medium for multi-element load regulation and control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201218