CN105049252A - Method and device for managing configuration information - Google Patents

Method and device for managing configuration information Download PDF

Info

Publication number
CN105049252A
CN105049252A CN201510443743.0A CN201510443743A CN105049252A CN 105049252 A CN105049252 A CN 105049252A CN 201510443743 A CN201510443743 A CN 201510443743A CN 105049252 A CN105049252 A CN 105049252A
Authority
CN
China
Prior art keywords
configuration information
service server
configuration
server
described service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510443743.0A
Other languages
Chinese (zh)
Inventor
韩义龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201510443743.0A priority Critical patent/CN105049252A/en
Publication of CN105049252A publication Critical patent/CN105049252A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a device for managing configuration information. The steps of the method at the side of a business server are as follows: when the business server is started, obtaining the configuration information of the business server from a configuration server or from a local configuration information buffer of the business server; and when the business server is working, subscribing to the change of the configuration information from the configuration server. The steps of the method at the side of the configuration server are as follows: returning the configuration information corresponding to the business server to the business server according to a business configuration request from the business server; and synchronizing the change of the configuration information to the business server according to a configuration subscription request from the business server when the configuration information corresponding to the business server is changed. According to the invention, the business server can sense the change of the configuration information in time even in the operating process and use the configuration information of the latest version.

Description

A kind of configuration information management method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of configuration information management method and device.
Background technology
Along with the development of the Internet, cloud computing, system scale constantly increases, and system user gets more and more, also more and more higher to the performance requirement of system.
Current most of system adopts distributed design architecture, and distributed system preferably resolves the performance issue of system, but the complexity of system but improves greatly, and the deployment of system and the location of problem are relative to traditional information system, and difficulty is larger.Often have up to a hundred machines in distributed system under normal circumstances, every platform machine all needs connection data storehouse, access cache server, accesses other external systems.So, distributed system a lot of configuration information good at managing, as: address information, resource information etc.
In the management of configuration information, configuration information can store on each service server in the cluster respectively, and relies on labor management.But the situation of configuration error easily appears in manual amendment's configuration file, service server is caused to go wrong; And when cluster exceedes certain scale, if configuration information needs adjustment, the workload of labor management is very large.
In order to reduce the probability and cost of labor of manually makeing mistakes, configuration server can be set separately, configuration server is database server or Light Directory Access Protocol (LightweightDirectoryAccessProtocol is called for short LDAP) server normally.When service server starts, to configuration server request configuration information and initialization service server.But just can get up-to-date configuration information when this kind of server only has service server to start, if at service server run duration, configuration information changes, service server cannot perceive the change of configuration information in time.
Summary of the invention
The invention provides a kind of configuration information management method and device, in order to solve in the prior art, if at service server run duration, configuration information changes, and service server cannot perceive the problem of configuration information change in time.
For above-mentioned technical problem, the present invention solves by the following technical programs.
Present invention also offers a kind of configuration information management method, comprise in the step of service server side: when described service server starts, from configuration server or from the local configuration information buffer memory of described service server, obtain the configuration information of described service server; And, when described service server runs, subscribe to the change of described configuration information from described configuration server.
Wherein, from the local configuration information buffer memory of described service server, obtain the configuration information of described service server, also comprise: when described service server runs, from the configuration information of the synchronous described service server of configuration server; The described configuration information be synchronized to is stored in the local configuration information buffer memory of described service server, so that when described service server starts next time, from the local configuration information buffer memory of described service server, obtain the configuration information of described service server.
Wherein, subscribe to the change of described configuration information from configuration server, comprising: the subscription rules that described configuration information is set; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to; Send described subscription rules to described configuration server, so that described configuration server is according to described subscription rules, send the change of described configuration item to described service server.
Present invention also offers a kind of configuration information management method, comprise in the step of configuration server side: according to the business configuration request from service server, return configuration information corresponding to described service server to described service server; According to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server.
Wherein, according to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server, comprising: obtain the subscription rules of carrying in described configuration subscribe request; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to; When the configuration item of configuration information corresponding to described service server changes, to the change of the synchronous described configuration item of described service server.
Wherein, described method also comprises: for often kind of storage medium arranges corresponding plug-in unit; By selecting described plug-in unit, the configuration information controlling described service server corresponding is stored in the storage medium of respective type, to obtain the configuration information of described service server request from described storage medium.
Wherein, described method also comprises: the entrance being provided for maintain configuration information.
Wherein, described method also comprises: the concatenate rule between pre-configured service server and configuration server and heartbeat; Wherein, described concatenate rule comprises the information of service server that permission and described configuration server connect; Described heartbeat comprises service server in its running, to the frequency of the configuration information of the synchronous described service server of described configuration server request.
Present invention also offers a kind of configuration information management device, comprise at the described device of service server side: configuration information proxy module, for when described service server starts, from configuration server or from the local configuration information buffer memory of described service server, obtain the configuration information of described service server; And, when described service server runs, subscribe to the change of described configuration information from described configuration server.
Wherein, described configuration information proxy module, also for: when described service server runs, from the configuration information of the synchronous described service server of configuration server; The described configuration information be synchronized to is stored in the local configuration information buffer memory of described service server, so that when described service server starts next time, described configuration information proxy module, from the local configuration information buffer memory of described service server, obtains the configuration information of described service server.
Wherein, described configuration information proxy module is specifically for the subscription rules arranging described configuration information; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to; Send described subscription rules to described configuration server, so that described configuration server is according to described subscription rules, send the change of described configuration item to described service server.
Present invention also offers a kind of configuration information management device, comprise at the described device of configuration server side: configuration information synchronization module, for according to the business configuration request from service server, return configuration information corresponding to described service server to described service server; Configuration information subscribing module, for according to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server.
Wherein, described configuration information subscribing module specifically for: obtain the subscription rules of carrying in described configuration subscribe request; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to; When the configuration item of configuration information corresponding to described service server changes, to the change of the synchronous described configuration item of described service server.
Wherein, described device also comprises: storage medium administration module, for arranging corresponding plug-in unit for often kind of storage medium; By selecting described plug-in unit, the configuration information controlling described service server corresponding is stored in the storage medium of respective type, so that described configuration information synchronization module obtains configuration information corresponding to described service server from described storage medium.
Wherein, described device also comprises: configuration information management module, for providing the entrance of maintain configuration information.
Wherein, described device also comprises: customer's representative's administration module, for the concatenate rule between configuration service server and configuration server and heartbeat; Wherein, described concatenate rule comprises the information of service server that permission and described configuration server connect; Described heartbeat comprises service server in its running, to the frequency of the configuration information of the synchronous described service server of described configuration server request.
Beneficial effect of the present invention is as follows:
The present invention in service server running, by configuration information proxy module, from the change of the synchronous configuration information of configuration server, perception configuration information.Even if by service server of the present invention in running, also can perceive the change of configuration information in time, use the configuration information of latest edition.
Accompanying drawing explanation
Fig. 1 is the structure chart of configuration information management system according to a first embodiment of the present invention;
Fig. 2 is the structure chart of configuration information management device according to a second embodiment of the present invention;
Fig. 3 is the structure chart of configuration information management device according to a third embodiment of the present invention;
Fig. 4 is the sequential chart of configuration information synchronizing process according to a fourth embodiment of the present invention;
Fig. 5 is the sequential chart of configuration information subscription procedure according to a fourth embodiment of the present invention;
Fig. 6 is the flow chart of configuration information management method according to a fifth embodiment of the present invention;
Fig. 7 is the flow chart of configuration information management method according to a sixth embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, do not limit the present invention.
Embodiment one
Present embodiments providing a kind of configuration information management system, as shown in Figure 1, is the structure chart of configuration information management system according to a first embodiment of the present invention.
Configuration information management system 100, comprising: service server, configuration server.
Configuration information management system, for realizing the dynamic synchronization of configuration information between service server and configuration server.By this configuration information management system, even if service server is in running, also can perceive the change of configuration information in time, use the configuration information of latest edition.The configuration information management server of the present embodiment can be applied to large-scale cluster distributed server.
The quantity of service server can be one or more, and the quantity of configuration server is one.
Service server runs operation system.Service server is used for carrying out business logic processing based on configuration information.
Configuration server runs configuration-system.Configuration server is for managing the configuration information of all service servers.
Configuration information management device 200 in service server, the configuration information management device 300 in configuration server cooperatively interact and perform following operation:
When service server starts, in local configuration information buffer memory, obtain configuration information or from configuration server, obtain the configuration information of latest edition.
When service server runs, subscribe to configuration information change from configuration server.Configuration server, according to this subscription, when the configuration information that this service server is corresponding sends change, sends the configuration information of latest edition to this service server.
Concrete, configuration information in the local configuration information buffer memory of service server obtains from configuration server the service server last time, the configuration information of the not necessarily latest edition of the configuration information so in the local configuration information buffer memory of service server, and, even if service server is when starting, the configuration information of latest edition is obtained from configuration server, configuration information also may be updated at service server run duration, so, the configuration information of latest edition can be used, need when service server runs, dynamic synchronization configuration information between service server and configuration server.
The present embodiment achieves the Double Faces to Install synchronizing information between configuration server and service server, makes configuration variation can be distributed to service server in time; Service server according to the configuration item subscribing to its concern, when this configuration item changes, can perceive the change of this configuration item, meet the individual cultivation demand of configuration information in time.
Embodiment two
Based on above-mentioned configuration information synchro system, present embodiments provide a kind of configuration information management device 200.As shown in Figure 2, be the structure chart of configuration information management device according to a second embodiment of the present invention.The present embodiment is arranged on service server side.
The configuration information management device 200 of this service server side comprises: configuration information proxy module 210.
Configuration information proxy module 210, for when service server starts, from configuration server or from the local configuration information buffer memory of service server, obtains the configuration information of described service server; And, when service server runs, subscribe to the change of described configuration information from described configuration server.
Configuration information proxy module 210, also for when service server runs, from the configuration information of configuration server synchronous service server; The described configuration information be synchronized to is stored in the local configuration information buffer memory of service server, so that when service server starts next time, configuration information proxy module 210, from the local configuration information buffer memory of service server, obtains the configuration information of service server.
Configuration information proxy module 210, also for when service server starts, and the configuration information management device being arranged on configuration server side sets up transmission control protocol (TransmissionControlProtocol, TCP) connection.Connect based on this TCP, configuration information proxy module 210 sends business configuration request and configuration subscribe request to configuration server.
Business configuration request is for asking configuration server to the synchronously up-to-date configuration information of service server.
Configuration subscribe request is for asking configuration server to the change of the synchronous configuration information of service server.
The focus to configuration information of service server is different, and therefore, configuration information proxy module 210 only can subscribe to the change of the configuration item that service server is paid close attention in configuration information.Concrete, configuration information proxy module 210 can arrange the subscription rules of configuration information; Wherein, subscription rules is the configuration item of the configuration information that service server is paid close attention to; Configuration information proxy module 210 sends subscription rules to configuration server, so that configuration server is according to described subscription rules, sends the change of described configuration item to described service server.
Such as: subscription rules is that the tool-class provided based on configuration information proxy module 210 is initiated, service server manageable order numbers per second is a configuration item (maxOrderProcessNumberPerMinute), if service server needs the change knowing this configuration item, so subscription rules can be set to: subscribe (" order "; [" maxOrderProcessNumberPerMinute "]; " update|delete ", * callBackForOrder ()); This subscription rules has four parameters, and first is the service server " order " belonging to this subscription rules; Second is the configuration item " maxOrderProcessNumberPerMinute " of concrete subscription, and it is an array; 3rd is configuration item Action Events " update|delete "; 4th is a call back function " callBackForOrder () "; The implication of this subscription rules is, if " the maximum process quantity per second " generation of " EDrop order server " " change or delete " time, this change of informing business server.
Service server, after learning that configuration information changes, carries out corresponding business logic processing.Concrete business processing logic needs to realize in call back function, configuration information proxy module 210 is when producing subscription demand, registered in advance call back function, after learning that configuration information changes, the call back function of readjustment registered in advance, obtain the parameter of this call back function, namely this parameter is the configuration information after changing.
Such as: when the configuration item " maximum process quantity per second " in configuration information changes, configuration information proxy module 210 adjusts back the call back function " callBackForOrder (ConfigItemnewConfigItem) " of registered in advance, the parameter " ConfigItemnewConfigItem " of call back function is exactly up-to-date configuration item, and service server is according to up-to-date configuration item adjustment service logic.
Embodiment three
Based on above-mentioned configuration information management system, present embodiments provide a kind of configuration information management device 300.As shown in Figure 3, be the structure chart of configuration information management device according to a third embodiment of the present invention.The present embodiment is arranged on configuration server side.
The configuration information management device 300 of configuration server side comprises: configuration information synchronization module 310 and configuration information subscribing module 320.
Configuration information synchronization module 310, for according to the business configuration request from service server, returns configuration information corresponding to described service server to described service server.Configuration information synchronization module 310, is also connected for setting up TCP with configuration information proxy module 210, connects the business configuration request and configuration subscribe request that receive configuration information proxy module 210 based on this TCP.
Configuration information subscribing module 320, for according to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server.Configuration information subscribing module 320 specifically for: obtain the subscription rules of carrying in configuration subscribe request; Wherein, subscription rules is the configuration item of the configuration information that service server is paid close attention to; When the configuration item of configuration information corresponding to service server changes, to the change of the synchronous described configuration item of service server.
The configuration information management device 300 of this configuration server side also comprises: configuration information management module 330, customer's representative's administration module 340, storage medium administration module 350 and storage medium 360.
Configuration information management module 330, for providing the entrance of maintain configuration information.Keeper is added by this entrance, revise, delete configuration information.
Customer's representative's administration module 340, for the concatenate rule between configuration service server and configuration server, heartbeat etc.
In order to Deterministic service device safety, proxy module administration module 340 presets concatenate rule at configuration server, this concatenate rule defines the information allowing to set up the service server that TCP is connected with configuration server (configuration information synchronization module 310), can shield malice like this and connect or unauthorized connection.Such as, the Internet protocol address (InternetProtocolAddress is called for short IP) of legal service server is set in concatenate rule.
Owing to can also ask from the synchronous configuration information of configuration server in service server running, so, customer's representative's administration module 340 is also preset with heartbeat at configuration server, each service server is defined in its running, to the frequency of the configuration information of configuration server (configuration information synchronization module 310) request this service server synchronous in this heartbeat.Such as: service server A is in its running, and the frequency of synchronous configuration information is 1 time/1 minute; Service server B is in its running, and the frequency of synchronous configuration information is 1 time/5 minutes.
In addition, set up after TCP is connected at configuration information synchronization module 310 and configuration information proxy module 210, checked the relevant information of the service server of access configuration server by customer's representative's administration module 340.
Storage medium administration module 350, for arranging corresponding plug-in unit for often kind of storage medium; By selecting described plug-in unit, the configuration information controlling described service server corresponding is stored in the storage medium of respective type.
Storage medium 360 is configuration informations for storing all service servers.Storage medium 360 is database or other storage mediums, and storage medium 360 is transparent for service server.Storage medium 360 also can exist independent of configuration information management device.
Further, the up-to-date configuration information of all service servers is stored in storage medium 360 by configuration server.The present embodiment arranges polytype storage medium, and the plug-in unit that the storage medium arranging every type is corresponding; Adopt the management mode of plug-in unit to manage concrete storage medium, the plug-in unit of multi storage realizes unified interface; The storage medium selecting service server to be applicable to, only needs to select corresponding plug-in unit, and line correlation of going forward side by side configuration just can complete.The kind of storage medium 360 comprises: the storage medium of Mysql, Zookeeper, Redis and other types.For often kind of storage medium arranges corresponding plug-in unit, when store configuration information, a kind of plug-in unit can be selected, like this, just can control this configuration information and be stored in the middle of storage medium corresponding to this plug-in unit.
Embodiment four
Fig. 4 is the sequential chart of configuration information synchronizing process according to a fourth embodiment of the present invention.
Step 1 ~ 5, service server starts, and calls configuration information proxy module 210 and carries out initialization; The configuration information synchronization module 310 that configuration information proxy module 210 connects configuration server 300 side carries out agency of trademark registration, and configuration information proxy module 210 and configuration information synchronization module 310 set up the communication port based on TCP.
Step 6 ~ 12, service server obtains configuration information by configuration information proxy module 210, first configuration information proxy module 210 searches local configuration information buffer memory, if there is configuration information just directly to return in local configuration information buffer memory, this configuration information is sent to service server, otherwise configuration information proxy module 210 far call configuration information synchronization module 310, obtains configuration information.Configuration information synchronization module 310 obtains configuration information corresponding to service server from storage medium 360, and configuration information is sent to configuration information proxy module 210, sends to service server to use by configuration information proxy module 210.
Step 13 ~ 15, the heartbeat passage that configuration information is synchronous is maintained between configuration information proxy module 210 with configuration information synchronization module 310, configuration information proxy module 210 timing obtains up-to-date configuration information from configuration information synchronization module 310, and upgrades local configuration information buffer memory.
Fig. 5 is the sequential chart of configuration information subscription procedure according to a fourth embodiment of the present invention.
Step 1 ~ 5, service server starts, and calls configuration information proxy module 210 and carries out initialization; The configuration information synchronization module 310 that configuration information proxy module 210 connects configuration server 300 side carries out agency of trademark registration, and configuration information proxy module 210 and configuration information synchronization module 310 set up the communication port based on TCP.
Step 6 ~ 9, service server is for the configuration item of some sensitivity, the subscription configuration information interface that calling configuration information proxy module 210 provides is subscribed to, and configuration information subscribing module 320 is responsible for the subscription rules storing and resolve the transmission of configuration information proxy module 210.
Such as: subscribe to " maximum process quantity per second " configuration item, subscribing interface function can be defined as: subscribe (" order "; [" maxOrderProcessNumberPerMinute "]; " update|delete ", * callBackForOrder ()).Configuration information subscribing module 330 can return to configuration information proxy module 210 and subscribe to successful message.Like this, when " maximum process quantity per second " generation " changes or deletes " time, configuration information subscribing module 320 will informing business server.
Step 10 ~ 17, some configuration item of some configuration information of user interface modifications that keeper is provided by configuration information management module 330 or configuration information, configuration information in storage medium 360 is upgraded, after successfully modified, configuration information management module 330 generates corresponding configuration information change events, and be sent to configuration information subscribing module 320, configuration information subscribing module 320 finds the service server subscribing to this configuration information according to the subscription rules prestored, and call configuration information synchronization module 310 configuration information change events is sent to configuration information proxy module 210, configuration information change events is notified service server by the callback interface that configuration information proxy module 210 calls service server registered in advance, namely the parameter of call back function is up-to-date configuration information or configuration item.
Embodiment five
Based on above-mentioned configuration information management system, present embodiments provide a kind of configuration information management method.Fig. 6 is the flow chart of configuration information management method according to a fifth embodiment of the present invention.The present embodiment performs in service server side.
Step S610, when service server starts, from configuration server or from the local configuration information buffer memory of described service server, obtains the configuration information of described service server.
When service server starts, service server and configuration server are set up TCP and are connected; Connect based on this TCP, service server, by sending business configuration request to configuration server, obtains configuration information corresponding to service server from configuration server; When service server runs, from the configuration information of the synchronous described service server of configuration server, as: regularly from the configuration information that configuration server synchronous service server is up-to-date; The configuration information be synchronized to is stored in the local configuration information buffer memory of service server, so that when service server starts next time, directly from the local configuration information buffer memory of described service server, the configuration information of service server can be obtained.
Step S620, in the process running service server, subscribes to the change of this configuration information from configuration server.
In service server running, the configuration information that this service server is corresponding may be updated at configuration server, in order to enable the change of the timely perception configuration information of service server, service server subscribes to the change of its configuration information from configuration server, that is: when the configuration information that service server is corresponding changes, configuration server can change by its configuration information of informing business server, the configuration information after enabling service server get change.
Because the focus of service server is different, the change of the configuration item that service server is paid close attention in configuration information only can be subscribed to.Concrete, the subscription rules of described configuration information can be set; Wherein, subscription rules is the configuration item of the configuration information that service server is paid close attention to; Send subscription rules to configuration server, so that described configuration server is according to described subscription rules, send the change of described configuration item to described service server.
Further, when can start based on service server, the TCP between service server and configuration server connects, and sends configuration subscribe request, carry the subscription rules of service server in this configuration subscribe request to configuration server.
Embodiment six
Based on above-mentioned configuration information management system, present embodiments provide a kind of configuration information management method.As shown in Figure 7, be the flow chart of configuration information management method according to a sixth embodiment of the present invention.The present embodiment is the flow process performed in configuration server side.
Step S710, according to the business configuration request from service server, returns configuration information corresponding to described service server to described service server.
Configuration server and service server are set up TCP and are connected; Connect based on this TCP, receive the business configuration request from service server.The information of service server is carried in business configuration request, according to this business configuration request, call the plug-in unit that this service server is corresponding, from corresponding storage medium, obtain the configuration information that service server is corresponding, and this configuration information is sent to this service server.
Configuration information is stored in storage medium.The present embodiment is that often kind of storage medium arranges corresponding plug-in unit; By selecting plug-in unit, the configuration information that service control server is corresponding is stored in the storage medium of respective type.When service server needs to obtain configuration information, the configuration information synchronization module in configuration server needs in storage medium, obtain configuration information corresponding to service server.
Step S720, according to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server.
Obtain the subscription rules of carrying in configuration subscribe request; Wherein, subscription rules is the configuration item in the configuration information of service server concern; When the configuration item of configuration information corresponding to service server changes, to the change of the synchronous described configuration item of service server.Configuration server is provided for the interface configuring, upgrade, revise configuration information.Keeper can be configured configuration information based on this interface, upgrades, revise, and configuration information is changed.
Although be example object, disclose the preferred embodiments of the present invention, it is also possible for those skilled in the art will recognize various improvement, increase and replacement, and therefore, scope of the present invention should be not limited to above-described embodiment.

Claims (16)

1. a configuration information management method, is characterized in that, comprises in the step of service server side:
When described service server starts, from configuration server or from the local configuration information buffer memory of described service server, obtain the configuration information of described service server; And,
When described service server runs, subscribe to the change of described configuration information from described configuration server.
2. method according to claim 1, is characterized in that, from the local configuration information buffer memory of described service server, obtains the configuration information of described service server, also comprises:
When described service server runs, from the configuration information of the synchronous described service server of configuration server;
The described configuration information be synchronized to is stored in the local configuration information buffer memory of described service server, so that when described service server starts next time, from the local configuration information buffer memory of described service server, obtain the configuration information of described service server.
3. method according to claim 1 and 2, is characterized in that, subscribes to the change of described configuration information, comprising from configuration server:
The subscription rules of described configuration information is set; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to;
Send described subscription rules to described configuration server, so that described configuration server is according to described subscription rules, send the change of described configuration item to described service server.
4. a configuration information management method, is characterized in that, comprises in the step of configuration server side:
According to the business configuration request from service server, return configuration information corresponding to described service server to described service server;
According to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server.
5. method according to claim 4, is characterized in that, according to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server, comprising:
Obtain the subscription rules of carrying in described configuration subscribe request; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to;
When the configuration item of configuration information corresponding to described service server changes, to the change of the synchronous described configuration item of described service server.
6. the method according to claim 4 or 5, is characterized in that, described method also comprises:
For often kind of storage medium arranges corresponding plug-in unit;
By selecting described plug-in unit, the configuration information controlling described service server corresponding is stored in the storage medium of respective type, to obtain the configuration information of described service server request from described storage medium.
7. method according to claim 6, is characterized in that, described method also comprises: the entrance being provided for maintain configuration information.
8. the method according to claim 4 or 5, is characterized in that, described method also comprises:
Concatenate rule between pre-configured service server and configuration server and heartbeat; Wherein,
Described concatenate rule comprises the information of service server that permission and described configuration server connect;
Described heartbeat comprises service server in its running, to the frequency of the configuration information of the synchronous described service server of described configuration server request.
9. a configuration information management device, is characterized in that, comprises at the described device of service server side:
Configuration information proxy module, for when described service server starts, from configuration server or from the local configuration information buffer memory of described service server, obtains the configuration information of described service server; And, when described service server runs, subscribe to the change of described configuration information from described configuration server.
10. device according to claim 9, is characterized in that, described configuration information proxy module, also for:
When described service server runs, from the configuration information of the synchronous described service server of configuration server;
The described configuration information be synchronized to is stored in the local configuration information buffer memory of described service server, so that when described service server starts next time, described configuration information proxy module, from the local configuration information buffer memory of described service server, obtains the configuration information of described service server.
11. devices according to claim 9 or 10, is characterized in that, described configuration information proxy module specifically for:
The subscription rules of described configuration information is set; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to;
Send described subscription rules to described configuration server, so that described configuration server is according to described subscription rules, send the change of described configuration item to described service server.
12. 1 kinds of configuration information management devices, is characterized in that, comprise at the described device of configuration server side:
Configuration information synchronization module, for according to the business configuration request from service server, returns configuration information corresponding to described service server to described service server;
Configuration information subscribing module, for according to the configuration subscribe request from service server, when the configuration information that described service server is corresponding changes, to the change of the synchronous described configuration information of described service server.
13. devices according to claim 12, is characterized in that, described configuration information subscribing module specifically for:
Obtain the subscription rules of carrying in described configuration subscribe request; Wherein, described subscription rules is the configuration item of the described configuration information that described service server is paid close attention to;
When the configuration item of configuration information corresponding to described service server changes, to the change of the synchronous described configuration item of described service server.
14. devices according to claim 12 or 13, it is characterized in that, described device also comprises:
Storage medium administration module, for arranging corresponding plug-in unit for often kind of storage medium; By selecting described plug-in unit, the configuration information controlling described service server corresponding is stored in the storage medium of respective type, so that described configuration information synchronization module obtains configuration information corresponding to described service server from described storage medium.
15. devices according to claim 14, is characterized in that, described device also comprises:
Configuration information management module, for providing the entrance of maintain configuration information.
16. devices according to claim 12 or 13, it is characterized in that, described device also comprises:
Customer's representative's administration module, for the concatenate rule between configuration service server and configuration server and heartbeat; Wherein,
Described concatenate rule comprises the information of service server that permission and described configuration server connect;
Described heartbeat comprises service server in its running, to the frequency of the configuration information of the synchronous described service server of described configuration server request.
CN201510443743.0A 2015-07-24 2015-07-24 Method and device for managing configuration information Pending CN105049252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510443743.0A CN105049252A (en) 2015-07-24 2015-07-24 Method and device for managing configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510443743.0A CN105049252A (en) 2015-07-24 2015-07-24 Method and device for managing configuration information

Publications (1)

Publication Number Publication Date
CN105049252A true CN105049252A (en) 2015-11-11

Family

ID=54455474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510443743.0A Pending CN105049252A (en) 2015-07-24 2015-07-24 Method and device for managing configuration information

Country Status (1)

Country Link
CN (1) CN105049252A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635320A (en) * 2016-03-04 2016-06-01 江苏盟广信息技术有限公司 Method and equipment for calling configuration information
CN105847054A (en) * 2016-03-25 2016-08-10 国网福建省电力有限公司 Method for dynamically acquiring service information
CN105871584A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, device and system for updating client configuration in key value pair database
CN106803793A (en) * 2017-01-13 2017-06-06 郑州云海信息技术有限公司 Client configuration management system and method in a kind of distributed document
CN107040396A (en) * 2016-02-03 2017-08-11 博雅网络游戏开发(深圳)有限公司 configuration information obtaining method and device
CN107292598A (en) * 2017-05-31 2017-10-24 杭州大搜车汽车服务有限公司 One kind pays method for routing and pays route middleware
CN107357555A (en) * 2016-05-09 2017-11-17 阿里巴巴集团控股有限公司 Configure method for pushing and device, system
CN107885541A (en) * 2016-09-30 2018-04-06 北京京东尚科信息技术有限公司 The method and device of processing system configuration
CN108111333A (en) * 2017-11-22 2018-06-01 链家网(北京)科技有限公司 A kind of flow limitation method and system based on WEB
CN108255533A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 System configuration changes method and device
CN108415723A (en) * 2018-01-17 2018-08-17 海尔优家智能科技(北京)有限公司 Configuration data synchronization method, device, medium based on message queue and equipment
CN108599971A (en) * 2017-12-22 2018-09-28 金蝶软件(中国)有限公司 Configuring information processing method, system, computer equipment and storage medium
CN108881817A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of methods, devices and systems that data are synchronous
CN109525406A (en) * 2017-09-18 2019-03-26 飞狐信息技术(天津)有限公司 A kind of operation system configuration method and device
CN111314118A (en) * 2020-01-19 2020-06-19 中移(杭州)信息技术有限公司 Data management method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201886473U (en) * 2010-02-08 2011-06-29 阿里巴巴集团控股有限公司 Configuration file-updating system, configuration server and application servers
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
US20140244809A1 (en) * 2011-11-04 2014-08-28 Huawei Technologies Co., Ltd. Service configuration method and apparatus
CN104065517A (en) * 2014-07-07 2014-09-24 用友软件股份有限公司 Distributed-system software configuration management method and system
CN104639429A (en) * 2015-02-12 2015-05-20 青岛海尔智能家电科技有限公司 Message notification method and device of cloud platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201886473U (en) * 2010-02-08 2011-06-29 阿里巴巴集团控股有限公司 Configuration file-updating system, configuration server and application servers
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
US20140244809A1 (en) * 2011-11-04 2014-08-28 Huawei Technologies Co., Ltd. Service configuration method and apparatus
CN104065517A (en) * 2014-07-07 2014-09-24 用友软件股份有限公司 Distributed-system software configuration management method and system
CN104639429A (en) * 2015-02-12 2015-05-20 青岛海尔智能家电科技有限公司 Message notification method and device of cloud platform

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871584A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, device and system for updating client configuration in key value pair database
WO2017092348A1 (en) * 2015-12-02 2017-06-08 乐视控股(北京)有限公司 Updating method, configuration and system for key-value pair database of client terminal
CN107040396A (en) * 2016-02-03 2017-08-11 博雅网络游戏开发(深圳)有限公司 configuration information obtaining method and device
CN105635320A (en) * 2016-03-04 2016-06-01 江苏盟广信息技术有限公司 Method and equipment for calling configuration information
CN105847054A (en) * 2016-03-25 2016-08-10 国网福建省电力有限公司 Method for dynamically acquiring service information
CN107357555A (en) * 2016-05-09 2017-11-17 阿里巴巴集团控股有限公司 Configure method for pushing and device, system
CN107357555B (en) * 2016-05-09 2020-11-17 阿里巴巴集团控股有限公司 Configuration pushing method, device and system
CN107885541A (en) * 2016-09-30 2018-04-06 北京京东尚科信息技术有限公司 The method and device of processing system configuration
CN108255533A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 System configuration changes method and device
CN106803793A (en) * 2017-01-13 2017-06-06 郑州云海信息技术有限公司 Client configuration management system and method in a kind of distributed document
CN107292598A (en) * 2017-05-31 2017-10-24 杭州大搜车汽车服务有限公司 One kind pays method for routing and pays route middleware
CN109525406A (en) * 2017-09-18 2019-03-26 飞狐信息技术(天津)有限公司 A kind of operation system configuration method and device
CN108881817A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of methods, devices and systems that data are synchronous
CN108881817B (en) * 2017-10-30 2020-09-18 视联动力信息技术股份有限公司 Data synchronization method, device and system
CN108111333A (en) * 2017-11-22 2018-06-01 链家网(北京)科技有限公司 A kind of flow limitation method and system based on WEB
CN108599971A (en) * 2017-12-22 2018-09-28 金蝶软件(中国)有限公司 Configuring information processing method, system, computer equipment and storage medium
CN108415723A (en) * 2018-01-17 2018-08-17 海尔优家智能科技(北京)有限公司 Configuration data synchronization method, device, medium based on message queue and equipment
CN111314118A (en) * 2020-01-19 2020-06-19 中移(杭州)信息技术有限公司 Data management method and device, electronic equipment and storage medium
CN111314118B (en) * 2020-01-19 2023-04-07 中移(杭州)信息技术有限公司 Data management method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105049252A (en) Method and device for managing configuration information
CN106503163B (en) Global configuration multi-tenant dynamic data source system based on SaaS application
US20180032327A1 (en) System and method for the data management in the interaction between machines
CN109542865A (en) Distributed cluster system configuration file synchronous method, device, system and medium
EP2429120A1 (en) Distributed network management system, network element management server, and data configuration management method
KR20220088739A (en) Consent Management System with Device Enrollment Process
CN111611091A (en) Service calling method, device and medium for business object
CN102866998A (en) Centralized password management method and centralized password management system in synchronous system
CN106814975A (en) A kind of memory management method and its system for polymorphic type storage device
EP2671171A1 (en) Distributed database
CN109462640B (en) Metadata synchronization method, data terminal, interaction system and medium
KR20120107022A (en) Method and apparatus for synchronizing personal information
EP3457668A1 (en) Clustering in unified communication and collaboration services
CN104519095A (en) Dynamic message pushing method and system thereof, server-side, and client
CN105005500A (en) Remote procedure calling method, server side and client
CN105656643B (en) Method and equipment for performing compatible management based on network configuration protocol
CN114448686B (en) Cross-network communication device and method based on micro-service
CN108259605B (en) Data calling system and method based on multiple data centers
US10389597B2 (en) Device asset tracking and service desk using a management system as a data source
CN101751421A (en) Anisomerous synchronization method, system and device of database in video monitoring system
CN114625565A (en) Data disaster tolerance backup method, Unified Data Management (UDM) entity and storage medium
CN115562757A (en) Data processing method, configuration center system, electronic device, and storage medium
CN110650033B (en) Distributed application configuration management method and distributed computing system
CN111064643B (en) Node server and data interaction method and related device thereof
CN115189931A (en) Distributed key management method, device, equipment and storage medium

Legal Events

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

Application publication date: 20151111

RJ01 Rejection of invention patent application after publication