CN108848140A - Event driven configuring management method, device, computer equipment and storage medium - Google Patents

Event driven configuring management method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108848140A
CN108848140A CN201810548839.7A CN201810548839A CN108848140A CN 108848140 A CN108848140 A CN 108848140A CN 201810548839 A CN201810548839 A CN 201810548839A CN 108848140 A CN108848140 A CN 108848140A
Authority
CN
China
Prior art keywords
configuration
server
management system
application management
system server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810548839.7A
Other languages
Chinese (zh)
Other versions
CN108848140B (en
Inventor
常明华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810548839.7A priority Critical patent/CN108848140B/en
Publication of CN108848140A publication Critical patent/CN108848140A/en
Application granted granted Critical
Publication of CN108848140B publication Critical patent/CN108848140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to event driven configuring management method, device, computer equipment and storage medium, the method includes:Simultaneously configuration upload path is arranged in selected configuration platform;The configuration platform is uploaded for proxy server, application management system server, database, the upload path to be arranged for completing configuration;Upload simultaneously management configuration;The upload configuration is used for the path according to upload configuration, configuration is uploaded to application management system server, the management configuration is used to that configuration to be carried out Classification Management using application management system server and is stored into database;Downloading updates configuration, and the downloading update is configured to realize the downloading and update to the configuration in operation system.The above method may be implemented in distributed environment, carries out unitized management to configuration, reduces the amount of storage of backup file;Setting configuration storage platform, realizes that configuration is shared, and a key saves and modification configuration, improves efficiency.

Description

Event driven configuring management method, device, computer equipment and storage medium
Technical field
The present invention relates to technical field of the computer network, more particularly to event driven configuring management method, device, meter Calculate machine equipment and storage medium.
Background technique
Configuration management is to be controlled by technology or administration means software product and its development process and life cycle With some column measures of specification.The target of configuration management is the evolutionary process of logging software product, to ensure that software developer exists Each stage can obtain accurate products configuration in software life-cycle.The mode of the management configuration of mainstream is according to item at present The needs of mesh exploitation formulate corresponding configuration management process be managed or by all configurations be stored in local folders, into The mode of row unified management.Though above two mode can reach the effect of configuration management, in distributed environment, still deposit As following drawbacks:
1, configuration is downloaded to local folders, there can be more parts of backup files at node, causes amount of storage big;
2, configuration management is not smooth, once impaired can cause configuration file that can not repair;
3, using deployment virtualization mode, multiple systems is caused to use the situation of same deployment package, configuration interface is more;
According to above situation, it is badly in need of a kind of event driven configuration management tool, realizes in distributed environment, to configuration Unitized management is carried out, the amount of storage of backup file is reduced;It realizes verification in real time and mass monitoring, improves configuration compatibility; Setting configuration storage platform, realizes that configuration is shared, and a key saves and modification configuration, improves efficiency.
Summary of the invention
Based on this, it is necessary to for when being managed for configuration, configuration are downloaded to local folders and cause to deposit at node The problems such as more parts of files, multiple systems use same deployment package and configuration management not smooth, a kind of event driven is provided Configuring management method, system, computer equipment and storage medium.
A kind of event driven configuring management method, the event driven configuring management method, specific step is as follows:
S1:Simultaneously configuration upload path is arranged in selected configuration platform, and the configuration platform is for being arranged proxy server, application Tomcat-AdminPortal and configuration memory cell, the configuration upload path and take from server to application management system for configuring The upload task of business device;
S2:It uploads and configuration is uploaded to application management system server, managed by management configuration according to configuration upload path Reason is configured to that configuration is carried out Classification Management using application management system server and is stored into configuration memory cell;
S3:Downloading updates configuration, and node perceived mechanism is arranged between operation system and application management system server, uses When the configuration variation situation of monitoring application management system server admin, configuration change, updated after the operation system downloading It is locally configured.
In one embodiment, the step S1 includes:
S101:A selected configuration platform, is arranged a proxy server on the configuration platform, and the proxy server needs Setting two, respectively first agent's server and second agent's server, first agent's server is as web service Device and Reverse Proxy, second agent's server are used as the backup server of first agent's server;
S102:One application management system server, the application management system server are set on the configuration platform Two need to be arranged, undertake the amount of access of same weight respectively, two application management system servers are respectively the first application Tomcat-AdminPortal and the second application management system server, the first application management system server is for uploading and managing Reason configuration, the second application management system server are used as the backup server of the first application management system server;
S103:The first application management system server connects user by first agent's server, has been allowed to At data interaction, the path that configuration uploads is formed.
In one embodiment, the configuration platform selects conf configuration platform;
The configuration memory cell includes database and buffer;
The proxy server selects nginx;
The application management system server selects AMS-server server.
In one embodiment, the step 2 includes:
S201:Upload configuration request is sent to proxy server by web browser, the proxy server will be described Request is sent to application management system server, obtains the license of upload configuration;
S202:User is completed by proxy server to application management system server upload configuration, application management system Server is temporarily stored the configuration of upload;
S203:The application management system server by the configuration temporarily stored according to configure applied by operation system Classification Management is carried out, and stores the configuration that classification is completed to configuration memory cell according to certain configuration transmission mode;It is described Configuration memory cell is arranged on configuration platform.
In one embodiment, the configuration transmission mode includes single by application management system server and configuration storage Configuration transmission is completed in Database connection in member;Using should Tomcat-AdminPortal will configuration storage it is single to configuration storage In buffer in member;
The web browser selects the browser of Trident kernel, the browser or Webkit kernel of Gecko kernel Browser;
The configuration memory cell includes the memory for temporarily storing, the memory select DAS memory or Any one of NAS memory;
The database selects key-value database, the number of the database and the application management system service The number of device is identical, and a database is correspondingly connected with the application management system server;
The buffer selects redis.
In one embodiment, the step S3 includes:
S301:Selected one operation system for needing to be managed for configuration, the operation system and the application management system Server is connected;
S302:When operation system is restarted, the operation system is used to be established directly with the application management system server It connects in succession, the operation system directly accesses application management system server, and download configuration is to complete the update being locally configured;
S303:It, will when the node perceived mechanism monitors to the configuration stored in configuration memory cell change Changed configuration information is sent to the operation system, under the operation system is direct from application management system server It carries changed configuration and completes configuration and update;If node perceived mechanism has download configuration function, it is stored in monitoring When configuration in configuration memory cell changes, the node perceived mechanism downloading is changed with postponing, and is sent to industry Business system is completed configuration and is updated after operation system downloading.
Preferably, the node perceived mechanism selects Zookeeper;
The operation system includes APP;The operation system there are it is multiple when, multiple operation systems are independently By contacting realization configuration downloading with application management system server foundation and updating, multiple operation system difference are only It is vertical by being contacted with node perceived Mechanism establishing, realize the monitoring of configuration.
Based on the same technical idea, the present invention also provides a kind of event driven configuration management system, the event is driven Ejector half configuration management system includes setting unit, uploads administrative unit and downloading updating unit;
The setting unit uploads path for selecting configuration platform and configuration being arranged, and the configuration platform is for being arranged Proxy server, application management system server and configuration memory cell, the configuration upload path for configuring from server To the upload task of application management system server;
The upload administrative unit uploads path according to configuration, configuration is uploaded to application for uploading simultaneously management configuration Configuration is carried out Classification Management using application management system server and is stored single to configuration storage by Tomcat-AdminPortal In member;
The downloading updating unit updates configuration for downloading, between operation system and application management system server Node perceived mechanism is set, it is described when configuration change for monitoring the configuration variation situation of application management system server admin It updates and is locally configured after operation system downloading.
Based on the same technical idea, described the present invention also provides a kind of computer equipment, including memory and processor Computer-readable instruction is stored in memory, when the computer-readable instruction is executed by the processor, so that the place Manage the step of device executes above-mentioned event driven configuring management method.
Based on the same technical idea, the present invention also provides a kind of storage medium for being stored with computer-readable instruction, institutes When stating computer-readable instruction and being executed by one or more processors, so that one or more processors execute above-mentioned event such as and drive The step of ejector half configuring management method.
Above-mentioned event driven configuring management method, system, computer equipment and storage medium, by selecting configuration platform And configuration is set and uploads path;According to the path of upload configuration, configuration is uploaded to application management system server, and use is answered Configuration is subjected to Classification Management with Tomcat-AdminPortal and is stored into database;It is final to realize in operation system The downloading and update of configuration.The advantageous effects of the technical program are:By building configuration platform, realize in distributed ring To the unitized management of configuration under border, the amount of storage of backup file is reduced;According to the need for the operation system that need to be managed for configuration It asks completion configuration downloading and updates, realize key modification and save configuration, improve efficiency;Real time monitoring is established, realizes real-time school It tests and is monitored with mass, improve configuration compatibility, it is ensured that configuration timely updates.
Detailed description of the invention
Fig. 1 is a kind of flow chart of event driven configuring management method in one embodiment of the invention;
Fig. 2 is the flow chart that setting configuration uploads path in one embodiment of the invention;
Fig. 3 is the flow chart that management configuration is uploaded in one embodiment of the invention;
Fig. 4 is the flow chart that downloading updates configuration in one embodiment of the invention;
Fig. 5 is a kind of structural schematic diagram of event driven configuring management method in one embodiment of the invention;
Fig. 6 is a kind of environment schematic of event driven configuring management method in one embodiment of the invention;
Fig. 7 is a kind of schematic diagram of event driven configuration management system in one embodiment of the invention;
Wherein, 1- user;2- first agent's server;3- second agent's server;4- the first application management system service Device;5- the second application management system server;6- first database;7- buffer;The second database of 8-;9- node perceived machine System;The operation system that 10- need to be managed for configuration;Other operation systems that need to be managed for configuration of 11-;12- configuration platform.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figure 1, the present invention provides a kind of event driven configuring management method, the event driven configuration management Method may include steps of:
Step S1:Selected configuration platform is simultaneously arranged configuration and uploads path, the configuration platform for be arranged proxy server, Application management system server and configuration memory cell, the configuration upload path for configuring from server to application management system The upload task of system server;
Step S2:Simultaneously management configuration is uploaded, path is uploaded according to configuration, configuration is uploaded to application management system service Device, the management configuration are used to carry out Classification Management and be stored to configuration to deposit by configuration using application management system server In storage unit;
Step S3:Downloading updates configuration, and node perceived machine is arranged between operation system and application management system server System, for monitoring the configuration variation situation of application management system server admin, when configuration change, after the operation system downloading Update is locally configured.
Fig. 2 is the flow chart that setting configuration uploads path in one embodiment of the invention, as shown in Fig. 2, being matched by selected Proxy server and application management system server is arranged in horizontalization platform, so that the two establishes connection, and completes configuration and uploads;
Step S101:Proxy server is set, specially:A selected configuration platform, is arranged one on the configuration platform Proxy server, two, respectively first agent's server and second agent's server need to be arranged in the proxy server, described First agent's server takes as web page server and Reverse Proxy, second agent's server as first agent The backup server of business device;The configuration platform selects conf configuration platform;The conf configuration platform for being arranged on it Proxy server, application management system server, database are to realize that configuration uploads, manages and download the platform updated.It is described Proxy server selects nginx server, and the nginx server is a high performance HTTP and Reverse Proxy, It completes the setting in the upload path of configuration, to realize configuration for realizing connection user and application management system server Upload.
Step S102:Application management system server is set, specially:One application management is set on the configuration platform System server, the application management system server need to be arranged two, the amount of access of same weight be undertaken respectively, described in two Application management system server is respectively the first application management system server and the second application management system server, and described For one application management system server for upload and management configuration, the second application management system server is used as the first application The backup server of Tomcat-AdminPortal;The application management system server selects AMS-server, the AMS- Server (Application Management System) is the application management system of MIDP, is responsible in management current device The J2ME of installation is applied, and can be realized the operation of mobile information apparatus small routine, and installation, display are updated and deleted.Utilize AMS- Server can be realized whether change to storage configuration in the database and whether need to update, installation etc. can It is detected.
Step S103:It establishes connection setting configuration and uploads path, specially:The first application management system server is logical First agent's server connection user is crossed, is allowed to complete data interaction, forms the path that configuration uploads.It answers when described first After establishing connection by first agent's server and user with Tomcat-AdminPortal, data interaction can be completed, into And by established connection, set the path that configuration uploads.
Fig. 3 is the flow chart that management configuration is uploaded in one embodiment of the invention, as shown in figure 3, user is asked by sending It asks acquisition configuration to upload license, and then is carried out in the memory that configuration is uploaded in the first application management system server interim Storage, the first application management system server carry out Classification Management to configuration according to operation system applied by configuration, and Configuration after completion is stored into database.
Step S201:It sends request license to upload, specially:It sends to upload to proxy server by web browser and match Request is set, the request is sent to application management system server, obtains the license of upload configuration by the proxy server;Institute State the browser that web browser selects Trident kernel, the browser of Gecko kernel or the browser of Webkit kernel. Select any web browser that the request for sending upload configuration to proxy server can be realized, it is final to obtain what configuration uploaded License.
Step S202:Upload configuration, specially:User is completed on application management system server by proxy server Configuration is passed, application management system server is temporarily stored the configuration of upload;Configuration memory cell includes for temporarily depositing The memory of storage, the memory select DAS memory or NAS memory, are arranged in the application management system server DAS memory or NAS memory, temporarily store the configuration being uploaded in application management system server.
Step S203:Management configuration simultaneously saves, specially:The application management system server will match to what is temporarily stored It sets and Classification Management is carried out according to operation system applied by configuration, and matching according to certain configuration transmission mode by what classification was completed It sets and stores to configuration memory cell;The configuration memory cell is arranged on configuration platform.Configuration transmission mode includes by answering Completion configuration transmission is contacted with the Database in Tomcat-AdminPortal and configuration memory cell;Using should management system Server is stored configuration in the buffer into configuration memory cell.The buffer selects redis.The database is selected Two, respectively first database and the second database need to be arranged in key-value database, the database;First number According to library for connecting the first application management system server, second database is for connecting the second application management system service Device.The key-value database has many advantages, such as that inquiry velocity is fast, store data volume is big, supports high concurrent, is very suitable to lead to Major key is crossed to be inquired.
Fig. 4 is the flow chart that downloading updates configuration in one embodiment of the invention;As described in Figure 4, when an operation system needs When being managed for configuration, contacted by accessing the configuration platform with application management system server foundation, according to industry Configuration management can be realized in the self-demand downloading corresponding configuration of business system.
Step S301:Operation system is contacted with the foundation of application management system server, specially:Selected one is matched The operation system of management is set, the operation system is connected with the application management system server;When operation system need into When row configuration management, by accessing the configuration platform, contacting with application management system server foundation can be according to industry The self-demand downloading corresponding configuration of business system realizes configuration management.The operation system includes APP;The operation system exists When multiple, multiple operation systems independently by with the application management system server foundation contact realization configuration Downloading and update, multiple operation systems independently by being contacted with node perceived Mechanism establishing, realize the prison of configuration Control.
Step S302:Update configuration is directly downloaded, specially:When operation system is restarted, the operation system use with The application management system server foundation is directly connected to, and the operation system directly accesses application management system server, under Carry update of the configuration to complete to be locally configured;
Step S303:It monitors in real time and downloads update configuration, specially:When the node perceived mechanism monitors are to being stored in When configuration in configuration memory cell changes, changed configuration information is sent to the operation system, the industry Business system, which directly downloads changed configuration from application management system server and completes configuration, to be updated;If node perceived machine Fixture is for download configuration function, when monitoring the configuration stored in configuration memory cell and changing, the node perceived Mechanism downloading is changed to be sent to operation system with postponing, and after operation system downloading, completes configuration and updates.The section Point perception mechanism selects Zookeeper;The Zookeeper is distributed, open source code a distributed application program Coordination service can be realized configuring maintenance, domain name service, distributed synchronization and perception configuration variation function.
Fig. 5 is a kind of structural schematic diagram of event driven configuring management method in one embodiment of the invention, such as Fig. 5 institute Show, select configuration platform 12, first agent's server 2 and second agent's server 3, first agent's server 2 are set on it For reverse proxy, second agent's server 3 is used as the backup server of first agent's server 2.Configuration platform 12 up to Two application management system servers are set less, undertake the amount of access of same weight respectively.Setting two herein, respectively first Application management system server 4 and the second application management system server 5.The first application management system server 4 passes through First agent's server 2 is established with user and is contacted, and realizes data interaction, is formed configuration and is uploaded path.
User 1 sends the request of upload configuration, first agent's server by web browser to first agent's server 2 2 requests for sending user 1 are sent to the first application management system server 4 and obtain the license of upload configuration.User 1 passes through First agent's server 2 is placed on the first application management system to 4 upload configuration of the first application management system server, and by configuration It is temporarily stored in memory in system server 4.First application management system server 4 will be according to applied by configuration Operation system carries out Classification Management, and stores the configuration that classification is completed to configuration memory cell according to certain transmission mode; The configuration memory cell includes database and buffer;The database is equipped with two, respectively first database 6 and second Database 8;First database 6 is answered for connecting the first application management system server 4, the second database 8 for connecting second With Tomcat-AdminPortal 5.Configuring transmission mode includes by the first application management system server 4 and configuration memory cell First database 6 establish connection complete configuration transmission;Configuration storage is extremely configured using the first application management system server 4 In buffer 7 in storage unit.
A selected operation system 10 for needing to be managed for configuration, operation system 10 and the first application management system service Device 4 establishes connection, to realize configuration downloading.When operation system 10 is restarted, operation system 10 is used and the first application management When system server 4 is established direct links, operation system 10 will directly access the first application management system server 4, and under Configuration is carried, update is locally configured in completion;Operation system 10 takes using by a node perceived mechanism 9 and the first application management system When business device 4 establishes connection, change when the node perceived mechanism 9 monitors the configuration being stored in configuration memory cell When, it will changed configuration information is notified that, to the operation system 10, the operation system will utilize the first application Tomcat-AdminPortal 4 downloads changed configuration and completes that update is locally configured.Match if node perceived mechanism 9 has downloading Function is set, when monitoring the configuration stored in configuration memory cell and changing, the node perceived mechanism 9 can be downloaded Configuration is to complete to be locally configured update.
Fig. 6 is a kind of environment schematic of event driven configuring management method in one embodiment of the invention, such as Fig. 6 institute Show, selecting configuration platform is conf, and selecting proxy server is nginx, and selecting application management system server is AMS- Server server, selected data library are key-value, and selecting buffer is NAS memory, and selected node perceived mechanism is Zookeeper, selecting buffer is redis;Nginx, AMS-server server, key-value, NAS memory and Redis is arranged on conf;The NAS memory is arranged in AMS-server server server;The configuration platform More operation systems can be supported to be managed for configuration.
User sends the request of upload configuration by web browser to nginx, and the nginx can be asked what user sent Ask the license for being sent to AMS-server server and obtaining upload configuration.User passes through nginx to AMS-server server Upload configuration, and temporarily stored configuring in the NAS memory being placed in AMS-server server, the AMS- Server server will carry out Classification Management according to applied operation system is configured, and will divide according to certain transmission mode The configuration that class is completed is placed into key-value database.The configuration transmission mode includes passing through AMS-server server Completion configuration transmission is contacted with key-value Database, while being placed into configuration using AMS-server server In redis.
The foundation of selecting business system 1 and AMS-server server contacts in the present embodiment, to realize configuration downloading.When When operation system 1 is restarted, the operation system 1 will complete configuration and update directly from AMS-server server download configuration; When the operation system 1 by zookeeper and AMS-server server foundation using being contacted, when described When zookeeper monitors the configuration stored in key-value database or redis and changes, it will becoming The configuration information of change notifies that, to the operation system 1, the operation system 1 will be occurred using the downloading of AMS-server server Update is locally configured in the configuration and completion of variation.If zookeeper has download configuration function, key- is stored in monitoring When configuration in value database or redis changes, the zookeeper can download configuration to complete local match Set update.
Based on the same technical idea, the embodiment of the invention also provides a kind of event driven configuration management systems, such as Shown in Fig. 7, which includes setting unit, uploads administrative unit and downloading updating unit;
The setting unit uploads path for selecting configuration platform and configuration being arranged, and the configuration platform is for being arranged Proxy server, application management system server and configuration memory cell, the configuration upload path for configuring from server To the upload task of application management system server;
The upload administrative unit uploads path according to configuration, configuration is uploaded to application for uploading simultaneously management configuration Tomcat-AdminPortal, the management configuration be used for using application management system server will configuration carry out Classification Management and by its It stores into configuration memory cell;
The downloading updating unit updates configuration for downloading, between operation system and application management system server Node perceived mechanism is set, it is described when configuration change for monitoring the configuration variation situation of application management system server admin It updates and is locally configured after operation system downloading.
Based on the same technical idea, the invention proposes a kind of computer equipment, the computer equipment includes storage Device, processor and it is stored in the computer-readable instruction that can be run on the memory and on the processor, the processing Device realizes following steps when executing the computer-readable instruction:Simultaneously configuration upload path is arranged in selected configuration platform;It is described to match Horizontalization platform is for being arranged proxy server, application management system server, database, and the upload path is for completing configuration It passes;It uploads and configuration is uploaded to application management system server, uses application by management configuration according to the path of upload configuration Configuration is carried out Classification Management and is stored into database by Tomcat-AdminPortal;Downloading updates configuration, in operation system Node perceived mechanism is set between application management system server, for monitoring the configuration of application management system server admin Situation of change when configuration change, is updated after the operation system downloading and is locally configured.
The present invention also provides a kind of storage medium for being stored with computer-readable instruction, institutes based on the same technical idea When stating computer-readable instruction and being executed by one or more processors, so that one or more processors execute following steps:Choosing Determine configuration platform and configuration be set to upload path;The configuration platform is for being arranged proxy server, application management system service Device, database, the upload path are uploaded for completing configuration;It uploads and management configuration will match according to the path of upload configuration It sets and is uploaded to application management system server, configuration is subjected to Classification Management using application management system server and is stored Into database;Downloading updates configuration, and node perceived mechanism is arranged between operation system and application management system server, uses When the configuration variation situation of monitoring application management system server admin, configuration change, updated after the operation system downloading It is locally configured.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of event driven configuring management method, which is characterized in that the event driven configuring management method includes:
S1:Simultaneously configuration upload path is arranged in selected configuration platform, and the configuration platform is for being arranged proxy server, application management System server and configuration memory cell, the configuration upload path for configuring from server to application management system server Upload task;
S2:Simultaneously management configuration is uploaded, path is uploaded according to configuration, configuration is uploaded to application management system server, management is matched It sets for configuration to be carried out Classification Management using application management system server and is stored into configuration memory cell;
S3:Downloading updates configuration, node perceived mechanism is arranged between operation system and application management system server, for supervising The configuration variation situation for controlling application management system server admin when configuration change, updates local after the operation system downloading Configuration.
2. a kind of event driven configuring management method according to claim 1, which is characterized in that the step S1 packet It includes:
S101:A selected configuration platform, is arranged a proxy server, the proxy server needs to be arranged on the configuration platform Two, respectively first agent's server and second agent's server, first agent's server as web page server and Reverse Proxy, second agent's server are used as the backup server of first agent's server;
S102:One application management system server is set on the configuration platform, and the application management system server need to be set Two are set, undertakes the amount of access of same weight respectively, two application management system servers are respectively the first application management System server and the second application management system server, the first application management system server are matched for uploading and managing It sets, the second application management system server is used as the backup server of the first application management system server;
S103:The first application management system server connects user by first agent's server, is allowed to complete number According to interaction, the path that configuration uploads is formed.
3. a kind of event driven configuring management method according to claim 1, which is characterized in that the configuration platform choosing With conf configuration platform;
The configuration memory cell includes database and buffer;
The proxy server selects nginx;
The application management system server selects AMS-server server.
4. a kind of event driven configuring management method according to claim 1, which is characterized in that the step S2 packet It includes:
S201:Upload configuration request is sent to proxy server by web browser, the proxy server is by the request It is sent to application management system server, obtains the license of upload configuration;
S202:User is completed by proxy server to application management system server upload configuration, application management system service Device is temporarily stored the configuration of upload;
S203:The application management system server will carry out the configuration temporarily stored according to applied operation system is configured Classification Management, and store the configuration that classification is completed to configuration memory cell according to certain configuration transmission mode;The configuration Storage unit is arranged on configuration platform.
5. a kind of event driven configuring management method according to claim 4, which is characterized in that the configuration transmission side Formula includes that completion configuration transmission is contacted by the Database in application management system server and configuration memory cell;It uses Should Tomcat-AdminPortal will configuration storage in buffer into configuration memory cell;
The web browser selects the browser of Trident kernel, the browser of Gecko kernel or Webkit kernel it is clear Look at device;
The configuration memory cell includes the memory for temporarily storing, and the memory selects DAS memory or NAS to deposit Any one of reservoir;
The database selects key-value database, the number of the database and the application management system server Number is identical, and a database is correspondingly connected with the application management system server;
The buffer selects redis.
6. a kind of event driven configuring management method according to claim 1, which is characterized in that the step S3 packet It includes:
S301:Selected one operation system for needing to be managed for configuration, the operation system and the application management system service Device is connected;
S302:When operation system is restarted, the operation system is used directly to be connected with application management system server foundation It connects, the operation system directly accesses application management system server, and download configuration is to complete the update being locally configured;
S303:When the node perceived mechanism monitors to the configuration stored in configuration memory cell change, will occur The configuration information of variation is sent to the operation system, and the operation system directly downloads hair from application management system server The configuration for changing simultaneously completes configuration update;If node perceived mechanism has download configuration function, configuration is stored in monitoring When configuration in storage unit changes, the node perceived mechanism downloading is changed with postponing, and is sent to business system System is completed configuration and is updated after operation system downloading.
7. a kind of event driven configuring management method according to claim 1, which is characterized in that the node perceived machine System selects Zookeeper;
The operation system includes APP;The operation system there are it is multiple when, multiple operation systems passing through independently Realization configuration downloading is contacted with application management system server foundation and is updated, and multiple operation systems are independently By contacting with node perceived Mechanism establishing, the monitoring of configuration is realized.
8. a kind of event driven configuration management system, which is characterized in that the event driven configuration management system includes setting It sets unit, upload administrative unit and downloading updating unit;
The setting unit uploads path for selecting configuration platform and configuration being arranged, and the configuration platform is for being arranged agency Server, application management system server and configuration memory cell, the configuration upload path for configuring from server to answering With the upload task of Tomcat-AdminPortal;
The upload administrative unit uploads path according to configuration, configuration is uploaded to application management for uploading simultaneously management configuration System server, management configuration are used to that configuration to be carried out Classification Management and stored to matching using application management system server It sets in storage unit;
The downloading updating unit updates configuration for downloading, is arranged between operation system and application management system server Node perceived mechanism, for monitoring the configuration variation situation of application management system server admin, when configuration change, the business It updates and is locally configured after system downloading.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right It is required that the step of described event driven configuring management method.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more When device executes, so that one or more processors execute the event-driven as described in any one of claim 1 to 7 claim The step of type configuring management method.
CN201810548839.7A 2018-05-31 2018-05-31 Event-driven configuration management method, event-driven configuration management apparatus, computer device, and storage medium Active CN108848140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810548839.7A CN108848140B (en) 2018-05-31 2018-05-31 Event-driven configuration management method, event-driven configuration management apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810548839.7A CN108848140B (en) 2018-05-31 2018-05-31 Event-driven configuration management method, event-driven configuration management apparatus, computer device, and storage medium

Publications (2)

Publication Number Publication Date
CN108848140A true CN108848140A (en) 2018-11-20
CN108848140B CN108848140B (en) 2022-11-08

Family

ID=64210210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810548839.7A Active CN108848140B (en) 2018-05-31 2018-05-31 Event-driven configuration management method, event-driven configuration management apparatus, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN108848140B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142768A (en) * 1999-11-09 2001-05-25 Internatl Business Mach Corp <Ibm> Client server system, server, client, proxy server control method, proxy server function providing method and program transmitting device
US20100082701A1 (en) * 2008-09-24 2010-04-01 Computer Associates Think, Inc. System and Method for Using a Configuration Management Database
EP2228741A2 (en) * 2009-03-11 2010-09-15 Maria Giovanna Reggiani Integrated platform for providing contents pertaining to health for chemist's shops, hospitals and clinics, and related process
EP2299360A1 (en) * 2009-09-18 2011-03-23 Group Business Software AG process for installing a software application and platform operating system
CN102064966A (en) * 2010-12-29 2011-05-18 北京世纪互联工程技术服务有限公司 Configuration method, server, equipment and system
CN102752137A (en) * 2012-06-28 2012-10-24 用友软件股份有限公司 Device and method for actively setting network parameters of virtual machine
US20130305338A1 (en) * 2012-05-10 2013-11-14 Passwordbank Technologies, Inc. Computer readable storage media for selective proxification of applications and method and systems utilizing same
WO2015035816A1 (en) * 2013-09-12 2015-03-19 中兴通讯股份有限公司 Nginx server configuration maintenance method and system
CN105450720A (en) * 2014-09-30 2016-03-30 高德软件有限公司 GPS data collection and transmission method and device
CN107404509A (en) * 2016-05-20 2017-11-28 北京融聚世界网络科技有限公司 Distributed Services configure system and approaches to IM
CN107579865A (en) * 2017-10-18 2018-01-12 北京奇虎科技有限公司 Right management method, the apparatus and system of distributed code server
US20180041500A1 (en) * 2016-08-04 2018-02-08 Loom Systems LTD. Cross-platform classification of machine-generated textual data
CN107908708A (en) * 2017-11-09 2018-04-13 北京锐安科技有限公司 A kind of method, system, equipment and the storage medium of group document synchronization
CN108037961A (en) * 2017-12-07 2018-05-15 北京锐安科技有限公司 A kind of application program collocation method, device, server and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142768A (en) * 1999-11-09 2001-05-25 Internatl Business Mach Corp <Ibm> Client server system, server, client, proxy server control method, proxy server function providing method and program transmitting device
US20100082701A1 (en) * 2008-09-24 2010-04-01 Computer Associates Think, Inc. System and Method for Using a Configuration Management Database
EP2228741A2 (en) * 2009-03-11 2010-09-15 Maria Giovanna Reggiani Integrated platform for providing contents pertaining to health for chemist's shops, hospitals and clinics, and related process
EP2299360A1 (en) * 2009-09-18 2011-03-23 Group Business Software AG process for installing a software application and platform operating system
CN102064966A (en) * 2010-12-29 2011-05-18 北京世纪互联工程技术服务有限公司 Configuration method, server, equipment and system
US20130305338A1 (en) * 2012-05-10 2013-11-14 Passwordbank Technologies, Inc. Computer readable storage media for selective proxification of applications and method and systems utilizing same
CN102752137A (en) * 2012-06-28 2012-10-24 用友软件股份有限公司 Device and method for actively setting network parameters of virtual machine
WO2015035816A1 (en) * 2013-09-12 2015-03-19 中兴通讯股份有限公司 Nginx server configuration maintenance method and system
CN105450720A (en) * 2014-09-30 2016-03-30 高德软件有限公司 GPS data collection and transmission method and device
CN107404509A (en) * 2016-05-20 2017-11-28 北京融聚世界网络科技有限公司 Distributed Services configure system and approaches to IM
US20180041500A1 (en) * 2016-08-04 2018-02-08 Loom Systems LTD. Cross-platform classification of machine-generated textual data
CN107579865A (en) * 2017-10-18 2018-01-12 北京奇虎科技有限公司 Right management method, the apparatus and system of distributed code server
CN107908708A (en) * 2017-11-09 2018-04-13 北京锐安科技有限公司 A kind of method, system, equipment and the storage medium of group document synchronization
CN108037961A (en) * 2017-12-07 2018-05-15 北京锐安科技有限公司 A kind of application program collocation method, device, server and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
凌质亿; 刘哲星; 曹蕾: "高并发环境下Apache与Nginx的I/O性能比较", 《计算机系统应用》 *
马丽娟: "基于软件开发环节中软件架构的作用研究", 《电子测试》 *

Also Published As

Publication number Publication date
CN108848140B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US11314607B2 (en) Modifying aspects of a storage system associated with data mirroring
JP5945031B2 (en) Provision and manage replicated data instances
CN109347663B (en) Resource visualization arranging method in OpenStack cloud platform
US9215158B1 (en) Computing resource availability risk assessment using graph comparison
US9547564B1 (en) Automated deployment of applications
JP5937724B2 (en) Techniques for network replication
CN112099918A (en) Live migration of clusters in containerized environments
US11727288B2 (en) Database-management system with artificially intelligent virtual database administration
US9137110B1 (en) Availability risk assessment, system modeling
US9741005B1 (en) Computing resource availability risk assessment using graph comparison
US9619772B1 (en) Availability risk assessment, resource simulation
US20180307472A1 (en) Simultaneous deployment on cloud devices and on on-premise devices
US11151025B1 (en) Generating software test plans based at least in part on monitored traffic of a production application
US11087042B1 (en) Generation of a simulation plan and performance of a simulation based on the plan
US11080153B2 (en) Modifying journaling associated with data mirroring within a storage system
CN114070883B (en) Test resource access method and device, electronic equipment and storage medium
CN105262608A (en) Monitoring method and monitoring device for network service
US11108638B1 (en) Health monitoring of automatically deployed and managed network pipelines
CN115812298A (en) Block chain management of supply failure
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
US10459709B1 (en) Automated deployment of applications
CN108848140A (en) Event driven configuring management method, device, computer equipment and storage medium
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
CN113824801B (en) Intelligent integration terminal unified access management component system
US10642703B2 (en) Configuring a secondary storage system for data mirroring

Legal Events

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