CN109474456A - Configuration data processing method, device, computer equipment and storage medium - Google Patents

Configuration data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109474456A
CN109474456A CN201811122008.XA CN201811122008A CN109474456A CN 109474456 A CN109474456 A CN 109474456A CN 201811122008 A CN201811122008 A CN 201811122008A CN 109474456 A CN109474456 A CN 109474456A
Authority
CN
China
Prior art keywords
configuration
sent
client
operation system
allocation list
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
CN201811122008.XA
Other languages
Chinese (zh)
Other versions
CN109474456B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811122008.XA priority Critical patent/CN109474456B/en
Publication of CN109474456A publication Critical patent/CN109474456A/en
Application granted granted Critical
Publication of CN109474456B publication Critical patent/CN109474456B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • 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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of configuration data processing methods, are related to cloud service technical field.It include: the client push service access kit to request access;The operation system access information that the client uploads is received, the connection pool connecting with target service system is constructed according to the operation system access information;Wherein, the operation system access information is that the client generates when carrying out cloud connection configuration to the target service system based on service access kit;When receiving the configuration data change request that the client is sent, any link is obtained from the connection pool;Configuration data after change is sent to the operation system of the connection pool connection by the link.It can guarantee that service invariant is run when configuration data updates using this method.

Description

Configuration data processing method, device, computer equipment and storage medium
Technical field
The present invention relates to field of computer technology, set more particularly to a kind of configuration data processing method, device, computer Standby and storage medium.
Background technique
Internet product in Internet era is related to configuration data invariably.The starting of system, the starting of application program and Operation, interface service require configuration data.
Traditional configuration data storage mode are as follows: configuration file is introduced in code, by configuration data according to the lattice of setting Formula is stored in configuration file, and passes through configuration file management configuration data.When using the above-mentioned configuration based on configuration file Data management mode manages the dynamic configuration data for needing frequently to change, then has following defects that operation system to obtain The configuration data of frequent updating in configuration file needs frequently to restart application server or periodically reads more from configuration file New configuration data.Wherein, it is not only time-consuming and laborious frequently to restart application server, but also it is very unstable to will cause business service It is fixed;Update configuration data is read in timing cannot ensure the timeliness of update, the same stable operation for influencing business service.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing one kind can guarantee that service is steady when configuration data updates Surely configuration data processing method, device, computer equipment and the storage medium run.
A kind of configuration data processing method, comprising:
To the client push service access kit of request access;
The operation system access information that the client uploads is received, according to operation system access information building and mesh Mark the connection pool of operation system connection;
Wherein, the operation system access information is that the client is based on service access kit to the target It is generated when the connection configuration of operation system progress cloud;
When receiving the configuration data change request that the client is sent, any chain is obtained from the connection pool It connects;
Configuration data after change is sent to the operation system of the connection pool connection by the link.
In one embodiment, described according to the target service system access information architecture and corresponding target service system After the connection pool of system connection, further includes:
The corresponding monitoring allocation list of the target service system is generated, includes at least the target in the monitoring allocation list The monitoring configuration item mark carried in operation system access information;
The configuration data acquisition request that the target service system is sent by the corresponding connection pool is received, institute is extracted State the configuration item mark carried in acquisition request;
If being associated with configuration item value under the mark of configuration item described in the monitoring allocation list, the configuration entry value is passed through The connection pool is sent to the target service system.
In one embodiment, the method also includes:
If not associated under the configuration item mark of the monitoring allocation list have configuration entry value, to the target service system System sends feedback information, and receives the configuration item that the target service system is sent and identify corresponding configuration configuration entry value;
The received configuration entry value is added in the monitoring allocation list.
In one embodiment, the method also includes:
The monitoring allocation list of generation is sent to the client, the client is shown in the monitoring allocation list Configuration data;
The additional configurations data that the client is sent are received, the additional configurations data are added to monitoring allocation list In.
In one embodiment, the method also includes:
When receiving the configuration data change request that the client is sent, what is carried in the extraction change request matches Set item mark, the configuration item identifies corresponding configuration entry value and corresponding operation system mark;
It searches and identifies associated associated services system banner with the operation system, obtain the associated services system banner The corresponding monitoring allocation list;
If including that the configuration item identifies in the monitoring allocation list, by being pre-created with the associated services system System identifies the connection pool of corresponding associated services system, and the configuration item is identified corresponding configuration entry value and is sent to the association Operation system.
A kind of configuration data processing unit, described device include:
Kit pushing module is accessed, for the client push service access kit to request access;
Creation module is connected, the operation system access information uploaded for receiving the client, according to the business system System access information constructs the connection pool connecting with target service system;
Wherein, the operation system access information is that the client is based on service access kit to the target It is generated when the connection configuration of operation system progress cloud;
Request receiving module is changed, user is when receiving the configuration data change request that the client is sent, from institute It states and obtains any link in connection pool;
Data-pushing module is updated, is connected for the configuration data after change to be sent to the connection pool by the link The operation system connect.
In one embodiment, described device further include:
Allocation list generation module is monitored, for generating the corresponding monitoring allocation list of the target service system, the monitoring The monitoring configuration item mark carried in the target service system access information is included at least in allocation list;
Configuration data acquisition request module is sent for receiving the target service system by the corresponding connection pool Configuration data acquisition request, extract carried in the acquisition request configuration item mark;
Configuration data searching module, if for being associated with configuration item under the mark of configuration item described in the monitoring allocation list Value, then be sent to the target service system by the connection pool for the configuration entry value.
In one embodiment, described device further include:
Configuration data receiving module, if the configuration item for the monitoring allocation list is not associated under identifying configuration item Value then sends feedback information to the target service system, and receives the configuration item mark that the target service system is sent Know corresponding configuration configuration entry value;The received configuration entry value is added in the monitoring allocation list.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing The step of device realizes method described above when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of method described above is realized when row.
Above-mentioned configuration data processing method, device, computer equipment and storage medium, client is according to access service tool The operation system that packet treats connection is configured, and generates operation system access information, and cloud configuration server is according to operation system Access information constructs the long connection relationship between cloud configuration server and operation system in Cloud Server, when Cloud Server detects It is timely by the long connection relationship between cloud configuration server and operation system to user when client is to change operation has been done Newest configuration data is communicated to operation system, makes operation system in the case where not needing to restart, gets configuration in time Data, timely program configuration updates, operation system stable operation is effectively ensured.
Detailed description of the invention
Fig. 1 is the application scenario diagram of configuration data processing method in one embodiment;
Fig. 2 is the flow diagram of configuration data processing method in one embodiment;
Fig. 3 be one embodiment in operation system based in cloud configuration center monitoring allocation list run program when it is involved Flow diagram;
Fig. 4 is the flow diagram of configuration data processing method in another embodiment;
Fig. 5 is the structural block diagram of configuration data processing unit in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
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 specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.
Interface test method provided by the invention can be applied in application environment as shown in Figure 1.The application environment packet Client 102, cloud configuration server 104 and operation system 106 are included, wherein client 102 can be taken by network and cloud configuration Business device 104 communicates, and cloud configuration service is deployed in cloud configuration server, is configured by the access of client, cloud can be established and configure Connection pool between server and one or multiple operation systems 106.Client 102 can trigger to operation system configuration data Change operation, and change operation is sent to cloud configuration server, cloud configuration server pass through be pre-created with business system Connection pool between system obtains link from connection pool and the configuration entry value of update is sent to operation system, operation system in time Newest configuration data can be obtained at the first time and based on the corresponding service of newest configuration data operation.
In one embodiment, as shown in Fig. 2, providing a kind of configuration data processing method, it is applied to Fig. 1 in this way In cloud configuration server for be illustrated, comprising the following steps:
Step 202: to the client push service access kit of request access.
When operation system needs to access cloud configuration server, the corresponding browser of cloud configuration server is passed through by client " download button " in the page sends service access kit to cloud configuration server.Cloud configuration server is asked in response to obtaining It asks, services access kit to client push.Service access kit is pre-defined and is stored in Cloud Server, is taken Business access tool includes all methods and attribute that client access configuration center is relied on.
Step 204: the operation system access information that client uploads is received, according to the building of operation system access information and mesh Mark the connection pool of operation system connection;Wherein, operation system access information is that client is based on service access kit to target It is generated when the connection configuration of operation system progress cloud.
After client receives service access tool, the access that operation system can be carried out according to service access tool is configured. Specifically: client can will service the access logical page (LPAGE) in access tool, obtain user in the access logic of the page The access configuration information of input.Then configuration object is generated according to the access configuration information in access logic, and object will be configured It is injected into the configuration item that the needs of corresponding service system are monitored.
Wherein, the access configuration information of above-mentioned user input may include the address configuration center (server) ip, service The setting of the time-out time of device port and link.The configuration object of generation can be a configuration file, or including access Other carriers of information.In one embodiment, spring (the lightweight open source frame that Spring is a layering) can be passed through The configuration object with access information of generation is injected into the place that operation system needs to monitor configuration item.
After client configures operation system, connection request is sent to cloud configuration server, is carried in the request and matches the purchase of property Generated operation system access information when business system.Wherein, operation system access information includes all clients to target industry The configuration information of business system.It can specifically include target service system related information, by the target service system of injection configuration object Unite configuration item, connection attribute information (such as link time-out time).Cloud configuration server will be according to operation system access information Construct the connection pool connecting with target service system.
The operation system access information that the configuration of any operation system can be generated by client, building cloud configuration service Connection pool between device and any operation system.
It include several links in connection pool.Configuration information is updated when cloud configuration server pushes in real time to operation system When, the push that information is completed in any link can be obtained.Numerous links in connection pool have ensured that operation system and cloud configuration service The continuity connected between device.
Step 206: when receiving the configuration data change request of client transmission, any chain is obtained from connection pool It connects.
Whether the configuration data for monitoring each operation system for establishing connection pool in real time is modified by cloud configuration server, if It is the configuration data corresponding operation system mark for obtaining change, searches connection pool corresponding with operation system mark, from looks into Any link is obtained in the connection pool found, and the corresponding configuration entry value of the configuration item after change is sent to by business by the link System.Operation system searches the associated program unit of the configuration item, and the configuration data based on update redeploys the business first closed Program runs business procedure according to updated configuration entry value.
User can be manually entered the configuration data of operation system by the configuration management page in client, and will configure number According to storage into Cloud Server.User can also repair the configuration data of display by the configuration management page in client Change.When cloud configuration server detects that client modifies to configuration data, the configuration data of modification, including configuration item are obtained With modified configuration entry value.
Step 208: the configuration data after change is sent to the operation system of connection pool connection by linking.
The communication channel between cloud configuration server and operation system is established by the link in connection pool, after change Configuration data is sent to operation system, so that operation system can be changed in data gets newest configuration number at the first time According to.
In the present embodiment, by connection setup cloud configuration server between client and Cloud Server and operation system it Between long connection relationship, when Cloud Server detect user client to done change operation when, pass through cloud configuration server Newest configuration data is communicated to operation system in time by the long connection relationship between operation system, is being not required to operation system In the case where restarting, configuration data is got in time, and timely program configuration updates, and stablizes fortune so that operation system is effectively ensured Row.
In one embodiment, as shown in figure 3, in step 204: the operation system access information that client uploads is received, After constructing the connection pool between cloud configuration server and corresponding operation system according to operation system access information, further include as Lower step:
Step 302: corresponding monitoring allocation list being generated to each operation system of connection, monitors and is included at least in allocation list The monitoring configuration item mark carried in operation system access information.
After creating connection pool between fortune configuration service and operation system, it is corresponding that cloud configuration server generates the operation system Monitoring allocation list.The configuration item carried in operation system access information is included at least in the monitoring allocation list, can also include Configuration item of the user through client typing.
Monitoring allocation list can be sent to client by Cloud Server, and client obtains the configuration entry value that user is manually entered, And the configuration entry value that will acquire is sent to Cloud Server, Cloud Server will configure entry value and be added in monitoring allocation list.
When creating connection pool, operation system access information carries the configuration item of the operation system of injection configuration object, should Configuration item is the configuration item to be monitored of operation system.The configuration data injection configuration object all into operation system can be passed through It realizes all configuration datas of operation system to be monitored, also can according to need the part configuration number of monitoring service system According to.
Step 304: receiving the configuration data acquisition request that the operation system of any connection is sent by connection pool, extraction obtains Take the configuration item mark carried in request.
Step 306: if being associated with configuration item value under configuration item mark in monitoring allocation list, configuration entry value being passed through into connection Pond is sent to operation system.
When operation system starting or operation program, if currently needing the configuration item obtained is the configuration item monitored, industry Business system obtains linked terms cloud configuration server from connection pool and sends configuration data acquisition request, and carries the configuration item mark Know;
Cloud configuration server obtains the corresponding monitoring allocation list of the operation system, lookup and configuration item from monitoring allocation list Corresponding configuration entry value is identified, and configuration entry value is sent to operation system by the link in connection pool.
It should be noted that the link that operation system relies on when sending configuration data acquisition request to cloud configuration server, It is equally the link that cloud configuration server returns to configuration entry value.It does not discharge namely and has obtained when configuration data obtains Link, until operation system receive cloud configuration server return configuration data just discharge link.
In the present embodiment, it is pre-configured with the configuration item that operation system needs to monitor, the configuration item for needing to monitor is corresponding to match Data are set to be managed by cloud configuration server, when operation system needs to obtain these configuration datas, by operation system with The connection pool established between cloud configuration server obtains the configuration data in cloud in real time.Realize the safety management of configuration data It is obtained with timely, further ensures the stable operation of operation system.
In one embodiment, configuration data processing method further include: if not searching configuration item mark in monitoring allocation list Configuration item value is associated under knowledge, then cloud configuration server sends feedback information to operation system.Feedback information, which can be, not to be searched To message, or the feedback information of fixation pre-defined, as not having in a characterization cloud configuration server predetermined There is the character etc. for storing corresponding configuration data.After operation system receives feedback information, obtained from local configuration file Received configuration entry value is passed to currently running program, to enable a program to stablize by the corresponding configuration entry value of the configuration item Operation.In addition, the configuration entry value that operation system also will acquire is sent to cloud configuration server, cloud configuration server will configure entry value It is added in monitoring allocation list under corresponding configuration item mark.
In the present embodiment, monitors the configuration entry value in allocation list and be not necessarily to go typing manually by client user, but industry Business system obtains configuration data from local configuration file, is being uploaded to cloud configuration server by operation system.
In one embodiment, it is established after connection pool connect in operation system and cloud configuration server, operation system can obtain Local all configuration files are taken, configuration data are obtained from configuration file, and configuration data is parsed into key-value pair format, The configuration data of key-value pair format is sent as cloud configuration server, cloud configuration server generates the corresponding prison of the operation system Control allocation list.The monitoring allocation list of generation is sent to client by Cloud Server, and client is newly-increased pair under specified page column Answer the configuration data management entry of operation system;The configuration data management item stores the configuration data in monitoring allocation list now, Client can show the configuration data.Business personnel carries out the benefit of configuration data in the configuration data page that client is shown It fills, and additional configurations data is sent to cloud configuration server, these supplementary datas are added to monitoring and matched by cloud configuration server It sets in table.When client sends configuration data supplementary data, cloud configuration server only needs corresponding completion monitoring allocation list i.e. It can.When client sends configuration data more new command, updated configuration data is just pushed to operation system in real time.This Embodiment realizes a kind of completion scheme to monitoring allocation list.
In one embodiment, as shown in figure 4, providing a kind of configuration data processing method, specifically comprise the following steps:
Step 402: receiving the access request that multiple client is sent, and create and the connection of corresponding multiple operation systems Pond.
Step 404: when receiving the configuration data change request that the corresponding client of any operation system is sent, extracting Configuration item mark, the corresponding configuration entry value of configuration item mark and the operation system mark carried in change request.
Step 406: searching and identify associated associated services system banner with operation system, obtain associated services system banner Corresponding monitoring allocation list.
Step 408: if including that configuration item identifies in monitoring allocation list, by being pre-created and associated services system marks Configuration item is identified corresponding configuration entry value and is sent to associated services system by the connection pool for knowing corresponding associated services system.
When receiving the configuration data change request of client transmission, this business is notified in time not only by connection pool System, also searching is also to be related to the configuration item in the monitoring allocation list of other operation systems, if so, logical by connection pool simultaneously Know that other relevant operation systems synchronize modification.
In one embodiment, can also by the configuration datas of the configuration center multiple operation systems strong to relevance into Row overall management.As stored common configuration item between multiple operation systems, when modifying to shared configuration item, simultaneously Notify relevant operation system.Further, it is higher more that unified management and setting can also be carried out to shared configuration item Change permission, prevent shared configuration item is arbitrarily more transformed into multiple operation system failures.
It should be understood that although each step in the flow chart of Fig. 2 and 4 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2 and 4 at least A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps Ground executes.
In one embodiment, as shown in figure 5, providing a kind of configuration data processing unit, which includes:
Kit pushing module 502 is accessed, for the client push service access kit to request access.
Creation module 504 is connected, for receiving the operation system access information of client upload, is accessed according to operation system The connection pool that information architecture is connect with target service system.
Wherein, operation system access information is that client is based on service access kit to target service system progress cloud It is generated when connection configuration.
Change request receiving module 506, user when receiving the configuration data change request that the client is sent, from Any link is obtained in the connection pool.
Data-pushing module 508 is updated, it is described for being sent to the configuration data after change by the link The operation system of connection pool connection.
In one embodiment, above-mentioned apparatus further include:
Allocation list generation module is monitored, for generating the corresponding monitoring allocation list of target service system, is monitored in allocation list Including at least the monitoring configuration item mark carried in target service system access information;
Configuration data acquisition request module is sent for receiving the target service system by the corresponding connection pool Configuration data acquisition request, extract carried in the acquisition request configuration item mark;
Configuration data searching module, for searching in monitoring allocation list whether be associated with configuration entry value under configuration item mark, Data-pushing module 508 is updated if so, entering.
In one embodiment, above-mentioned apparatus further include:
Configuration data receiving module, if the configuration item for the monitoring allocation list is not associated under identifying configuration item Value then sends feedback information to the target service system, and receives the configuration item mark that the target service system is sent Know corresponding configuration configuration entry value;The received configuration entry value is added in the monitoring allocation list.
In one embodiment, above-mentioned apparatus further includes configuration information display module, for matching the monitoring generated It sets table and is sent to the client, the client shows the configuration data in the monitoring allocation list;Receive the client The additional configurations data are added in monitoring allocation list by the additional configurations data of transmission.
In one embodiment, above-mentioned apparatus further include: multiservice system configuration data pushing module is received for working as When the configuration data that the client is sent changes request, extracts the configuration item mark carried in the change request, described matches It sets item and identifies corresponding configuration entry value and corresponding operation system mark;It searches and identifies associated association with the operation system Operation system mark, obtains the corresponding monitoring allocation list of the associated services system banner;If in the monitoring allocation list It is identified including the configuration item, then passes through the associated services system corresponding with the associated services system banner being pre-created The configuration item is identified corresponding configuration entry value and is sent to the associated services system by connection pool.
Specific about configuration data processing unit limits the limit that may refer to above for configuration data processing method Fixed, details are not described herein.Modules in above-mentioned configuration data processing unit can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 6.The computer equipment includes processor, the memory, network interface connected by system bus.Its In, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-volatile Property storage medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and database.This is interior Memory provides environment for the operation of operating system and computer program in non-volatile memory medium.The computer equipment Database is for storing monitoring allocation list.The network interface of the computer equipment is used to communicate with client by network connection. To realize a kind of configuration data processing method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to the present invention program is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to the present invention program, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, which performs the steps of when executing computer program connects to the client push service of request access Enter kit;Receive the operation system access information that the client uploads, according to operation system access information building with The connection pool of target service system connection;Wherein, the operation system access information is that the client is connect based on the service It is generated when entering kit to the connection configuration of target service system progress cloud;When receive that the client sends matches When setting data change request, any link is obtained from the connection pool;It is linked by described by the configuration number after change According to the operation system for being sent to the connection pool connection.
In one embodiment, it is also performed the steps of when processor executes computer program and generates the target service System corresponding monitoring allocation list is included at least in the monitoring allocation list and is carried in the target service system access information Monitor configuration item mark;The configuration data acquisition that the target service system is sent by the corresponding connection pool is received to ask It asks, extracts the configuration item mark carried in the acquisition request;If the lower association of the mark of configuration item described in the monitoring allocation list There is configuration entry value, then the configuration entry value is sent to the target service system by the connection pool.
In one embodiment, if processor also performs the steps of the monitoring allocation list when executing computer program Configuration item mark under it is not associated have configuration entry value, then send feedback information to the target service system, and receive institute The configuration item for stating the transmission of target service system identifies corresponding configuration configuration entry value;The received configuration entry value is added To in the monitoring allocation list.
In one embodiment, it also performs the steps of when processor executes computer program by the monitoring of generation Allocation list is sent to the client, and the client shows the configuration data in the monitoring allocation list;Receive the client The additional configurations data sent are held, the additional configurations data are added in monitoring allocation list.
In one embodiment, it also performs the steps of to work as when processor executes computer program and receives the client When the configuration data that end is sent changes request, the configuration item mark carried in the change request, configuration item mark are extracted Corresponding configuration entry value and corresponding operation system mark;It searches and identifies associated associated services system with the operation system Mark, obtains the corresponding monitoring allocation list of the associated services system banner;If including described in the monitoring allocation list Configuration item mark, then pass through the connection pool for the associated services system corresponding with the associated services system banner being pre-created, The configuration item is identified into corresponding configuration entry value and is sent to the associated services system.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of the client push service access kit to request access when being executed by processor;Receive institute The operation system access information for stating client upload is constructed according to the operation system access information and is connect with target service system Connection pool;Wherein, the operation system access information is that the client is based on service access kit to the mesh It is generated when mark operation system progress cloud connection configuration;It is requested when receiving the configuration data change that the client is sent When, any link is obtained from the connection pool;The configuration data after change is sent to the connection pool by the link The operation system of connection.
In one embodiment, it is also performed the steps of when computer program is executed by processor and generates the target industry Business system corresponding monitoring allocation list is included at least in the monitoring allocation list and is carried in the target service system access information Monitoring configuration item mark;The configuration data acquisition that the target service system is sent by the corresponding connection pool is received to ask It asks, extracts the configuration item mark carried in the acquisition request;If the lower association of the mark of configuration item described in the monitoring allocation list There is configuration entry value, then the configuration entry value is sent to the target service system by the connection pool.
In one embodiment, if also performing the steps of the monitoring configuration when computer program is executed by processor It is not associated under the configuration item mark of table to have configuration entry value, then feedback information is sent to the target service system, and receive The configuration item that the target service system is sent identifies corresponding configuration and configures entry value;The received configuration entry value is added It adds in the monitoring allocation list.
In one embodiment, it is also performed the steps of when computer program is executed by processor by the prison of generation Control allocation list is sent to the client, and the client shows the configuration data in the monitoring allocation list;Receive the visitor The additional configurations data are added in monitoring allocation list by the additional configurations data that family end is sent.
In one embodiment, it also performs the steps of to work as when computer program is executed by processor and receives the visitor When the configuration data that family end is sent changes request, the configuration item mark carried in the change request, the configuration item mark are extracted Know corresponding configuration entry value and corresponding operation system mark;It searches and identifies associated associated services system with the operation system System mark, obtains the corresponding monitoring allocation list of the associated services system banner;If in the monitoring allocation list including institute Configuration item mark is stated, then by the connection for the associated services system corresponding with the associated services system banner being pre-created The configuration item is identified corresponding configuration entry value and is sent to the associated services system by pond.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, computer program can be stored in a non-volatile computer and can be read In storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, of the invention To any reference of memory, storage, database or other media used in provided each embodiment, may each comprise non- Volatibility and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from present inventive concept, various modifications and improvements can be made, and these are all within the scope of protection of the present invention. Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of configuration data processing method, comprising:
To the client push service access kit of request access;
Receive the operation system access information that the client uploads, wherein the operation system access information is the client What end group generated when the service access kit is to the connection configuration of target service system progress cloud;
The connection pool connecting with the target service system is constructed according to the operation system access information;
When receiving the configuration data change request that the client is sent, any link is obtained from the connection pool;
Configuration data after change is sent to the operation system of the connection pool connection by the link.
2. the method according to claim 1, wherein described according to operation system access information building and institute After the connection pool for stating the connection of target service system, further includes:
The corresponding monitoring allocation list of the target service system is generated, includes at least the operation system in the monitoring allocation list The monitoring configuration item mark carried in access information;
The configuration data acquisition request that the target service system is sent by the corresponding connection pool is received, is obtained described in extraction Take the configuration item mark carried in request;
If being associated with configuration item value under the mark of configuration item described in the monitoring allocation list, the configuration entry value is passed through described Connection pool is sent to the target service system.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If not associated under the configuration item mark of the monitoring allocation list have configuration entry value, sent out to the target service system Feedback information is sent, and receives the configuration item that the target service system is sent and identifies corresponding configuration configuration entry value;
The received configuration entry value is added in the monitoring allocation list.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
The monitoring allocation list of generation is sent to the client in the client the is shown monitoring allocation list Configuration data;
The additional configurations data that the client is sent are received, the additional configurations data are added to the monitoring allocation list In.
5. the method according to claim 1, wherein the method also includes:
When receiving the configuration data change request that the client is sent, the configuration item carried in the change request is extracted Mark, the configuration item identify corresponding configuration entry value and corresponding operation system mark;
It searches and identifies associated associated services system banner with the operation system, it is corresponding to obtain the associated services system banner The monitoring allocation list;
If including that the configuration item identifies in the monitoring allocation list, by being pre-created with the associated services system mark The configuration item is identified corresponding configuration entry value and is sent to the associated services by the connection pool for knowing corresponding associated services system System.
6. a kind of configuration data processing unit, which is characterized in that described device includes:
Kit pushing module is accessed, for the client push service access kit to request access;
Creation module is connected, the operation system access information uploaded for receiving the client, wherein the operation system connects Entering information is generation when the client is based on service access kit to the connection configuration of target service system progress cloud 's;According to the connection pool between operation system access information building and the target service system;
Request receiving module is changed, user is when receiving the configuration data change request that the client is sent, from the company It connects and obtains any link in pond;
Data-pushing module is updated, for the configuration data after change to be sent to the connection pool connection by the link The operation system.
7. the apparatus according to claim 1, which is characterized in that described device further include:
Allocation list generation module is monitored, for generating the corresponding monitoring allocation list of the target service system, the monitoring configuration The monitoring configuration item mark carried in the target service system access information is included at least in table;
Configuration data acquisition request module is matched for receiving the target service system by what the corresponding connection pool was sent Data acquisition request is set, the configuration item mark carried in the acquisition request is extracted;
Configuration data searching module, if for being associated with configuration item value under the mark of configuration item described in the monitoring allocation list, The configuration entry value is sent to the target service system by the connection pool.
8. device according to claim 7, which is characterized in that described device further include:
Configuration data receiving module, if the configuration item for the monitoring allocation list is not associated under identifying configuration entry value, Feedback information then is sent to the target service system, and receives the configuration item mark pair that the target service system is sent The configuration configuration entry value answered;The received configuration entry value is added in the monitoring allocation list.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 5 is realized when being executed by processor.
CN201811122008.XA 2018-09-26 2018-09-26 Configuration data processing method, device, computer equipment and storage medium Active CN109474456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811122008.XA CN109474456B (en) 2018-09-26 2018-09-26 Configuration data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811122008.XA CN109474456B (en) 2018-09-26 2018-09-26 Configuration data processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109474456A true CN109474456A (en) 2019-03-15
CN109474456B CN109474456B (en) 2023-06-30

Family

ID=65663213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811122008.XA Active CN109474456B (en) 2018-09-26 2018-09-26 Configuration data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109474456B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086719A (en) * 2019-04-30 2019-08-02 深圳市腾讯网域计算机网络有限公司 Data processing method, device and server
CN110928598A (en) * 2019-11-11 2020-03-27 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN111125223A (en) * 2019-12-20 2020-05-08 北京爱奇艺科技有限公司 Database connection pool updating method and device
CN111314118A (en) * 2020-01-19 2020-06-19 中移(杭州)信息技术有限公司 Data management method and device, electronic equipment and storage medium
CN111596968A (en) * 2020-04-28 2020-08-28 上海帆一尚行科技有限公司 Security reinforcement system, method thereof, server, client, electronic device and storage medium
CN113485767A (en) * 2021-07-09 2021-10-08 绿盟科技集团股份有限公司 Control configuration updating method and system and electronic equipment
CN113641678A (en) * 2021-08-25 2021-11-12 杭州每刻科技有限公司 Dynamic service configuration method and system based on multi-dimensional form
CN113778542A (en) * 2020-08-31 2021-12-10 北京沃东天骏信息技术有限公司 Service configuration table generation method and device
CN115344366A (en) * 2022-08-10 2022-11-15 中电金信软件有限公司 Connection pool object switching method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795569A (en) * 2014-01-22 2014-05-14 亿赞普(北京)科技有限公司 Server connection method and device based on connection pool
WO2016129028A1 (en) * 2015-02-09 2016-08-18 株式会社日立製作所 Business coordination system and business coordination method
CN106598633A (en) * 2015-10-19 2017-04-26 北京国双科技有限公司 Configuration file update method, client and server
CN106878363A (en) * 2016-06-01 2017-06-20 阿里巴巴集团控股有限公司 A kind of information processing method, apparatus and system
WO2017107956A1 (en) * 2015-12-23 2017-06-29 北京奇虎科技有限公司 Data processing method, client and server
CN107508715A (en) * 2017-09-30 2017-12-22 广东欧珀移动通信有限公司 Configuration information acquisition, processing method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795569A (en) * 2014-01-22 2014-05-14 亿赞普(北京)科技有限公司 Server connection method and device based on connection pool
WO2016129028A1 (en) * 2015-02-09 2016-08-18 株式会社日立製作所 Business coordination system and business coordination method
CN106598633A (en) * 2015-10-19 2017-04-26 北京国双科技有限公司 Configuration file update method, client and server
WO2017107956A1 (en) * 2015-12-23 2017-06-29 北京奇虎科技有限公司 Data processing method, client and server
CN106878363A (en) * 2016-06-01 2017-06-20 阿里巴巴集团控股有限公司 A kind of information processing method, apparatus and system
CN107508715A (en) * 2017-09-30 2017-12-22 广东欧珀移动通信有限公司 Configuration information acquisition, processing method, device and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086719A (en) * 2019-04-30 2019-08-02 深圳市腾讯网域计算机网络有限公司 Data processing method, device and server
CN110928598A (en) * 2019-11-11 2020-03-27 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN110928598B (en) * 2019-11-11 2024-01-30 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN111125223A (en) * 2019-12-20 2020-05-08 北京爱奇艺科技有限公司 Database connection pool updating method and device
CN111125223B (en) * 2019-12-20 2023-10-10 北京爱奇艺科技有限公司 Database connection pool updating method and device
CN111314118B (en) * 2020-01-19 2023-04-07 中移(杭州)信息技术有限公司 Data management method and device, electronic equipment and storage medium
CN111314118A (en) * 2020-01-19 2020-06-19 中移(杭州)信息技术有限公司 Data management method and device, electronic equipment and storage medium
CN111596968A (en) * 2020-04-28 2020-08-28 上海帆一尚行科技有限公司 Security reinforcement system, method thereof, server, client, electronic device and storage medium
CN111596968B (en) * 2020-04-28 2023-10-17 上海帆一尚行科技有限公司 Security reinforcement system and method, server side, client side, electronic equipment and storage medium thereof
CN113778542A (en) * 2020-08-31 2021-12-10 北京沃东天骏信息技术有限公司 Service configuration table generation method and device
CN113485767A (en) * 2021-07-09 2021-10-08 绿盟科技集团股份有限公司 Control configuration updating method and system and electronic equipment
CN113641678A (en) * 2021-08-25 2021-11-12 杭州每刻科技有限公司 Dynamic service configuration method and system based on multi-dimensional form
CN115344366A (en) * 2022-08-10 2022-11-15 中电金信软件有限公司 Connection pool object switching method and device, electronic equipment and readable storage medium
CN115344366B (en) * 2022-08-10 2023-10-31 中电金信软件有限公司 Connection pool object switching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN109474456B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN109474456A (en) Configuration data processing method, device, computer equipment and storage medium
US11068449B2 (en) Data migration method, apparatus, and storage medium
TWI740901B (en) Method and device for performing data recovery operation
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN108932309A (en) Platform database management method, device, computer equipment and storage medium
CN111310427A (en) Service data configuration processing method and device, computer equipment and storage medium
CN111737227B (en) Data modification method and system
CN106528871A (en) Method for updating information of engineering data points in industrial control system on line
WO2020248375A1 (en) Method and system for synchronizing data between databases, computer device and storage medium
CN103200247B (en) A kind of data download method and PC download client
CN105335472A (en) Method and device for updating configuration list of data query engine
CN109144799A (en) Integrated testing method, apparatus, computer equipment and storage medium
CN109460358A (en) Configuring management method and system based on Cmdb
WO2019062132A1 (en) Service rule management method and apparatus, storage medium, and computer device
CN104954482A (en) Configuration management system and method
CN107113199B (en) Analysis device for analyzing and processing communication sequences
CN110460668B (en) File uploading method and device, computer equipment and storage medium
CN107220258A (en) For method, device and the terminal of the data for capturing five application page
CN110704122A (en) Plug-in loading method and device
US10713278B2 (en) Flexible configuration of offline synchronization scope
CN110830554A (en) Method and system for asynchronously and concurrently updating distributed node mirror image
US10545798B2 (en) Resegmenting chunks of data for efficient load balancing across indexers
CN112181785B (en) Method, terminal and storage medium for automatically adding monitoring equipment
CN112256500B (en) Storage system test server configuration method, system, terminal and storage medium

Legal Events

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