CN107360018A - Config update method and device - Google Patents
Config update method and device Download PDFInfo
- Publication number
- CN107360018A CN107360018A CN201710413706.4A CN201710413706A CN107360018A CN 107360018 A CN107360018 A CN 107360018A CN 201710413706 A CN201710413706 A CN 201710413706A CN 107360018 A CN107360018 A CN 107360018A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- update
- destination object
- service instance
- config
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Stored Programmes (AREA)
Abstract
The present invention proposes a kind of config update method and device, wherein, method includes:Whether the configuration information of monitoring objective object updates;When the configuration information update of destination object, the Service Instance dependent on destination object is obtained;The configuration information of Service Instance is updated using the configuration information after renewal.The config update method, realize when the configuration information for monitoring destination object updates, utilize the configuration information after renewal, the configuration information of Service Instance dependent on the destination object is updated, without restarting Service Instance, you can the configuration information update of Service Instance is completed, after solving existing config update every time, the service of restarting is needed, the problem of config update mode is cumbersome.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of config update method and device.
Background technology
At present, be to single Service Instance or the system service of distributed deployment, the method for config update, one by one editor or
Person updates the configuration file of all Service Instances, restarts each Service Instance again afterwards.
It can be seen that the config update method, it is necessary to restart Service Instance after config update, in particular for parallel weight
The situation of service is opened, the responding ability of system can be reduced.In addition, the config update method is complex for operation step, in operating process
Easily error.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of config update method, target pair is being monitored to realize
When the configuration information of elephant updates, using the configuration information after renewal, the configuration to the Service Instance dependent on destination object
Information is updated, and existing every time after config update, it is necessary to restart Service Instance for solving, config update mode is cumbersome
The problem of.
Second object of the present invention is to propose a kind of config update device.
Third object of the present invention is to propose a kind of config update device.
Fourth object of the present invention is to propose a kind of computer program product.
The 5th purpose of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
For the above-mentioned purpose, first aspect present invention embodiment proposes a kind of config update method, including:Monitoring objective
Whether the configuration information of object updates;When the configuration information update of destination object, the clothes dependent on destination object are obtained
Pragmatic example;The configuration information of Service Instance is updated using the configuration information after renewal.
The config update method of the embodiment of the present invention, whether updated by the configuration information of monitoring objective object, when
During the configuration information update of destination object, the Service Instance dependent on the destination object is obtained, utilizes the configuration information after renewal
The configuration information of Service Instance is updated.Hereby it is achieved that when the configuration information for monitoring destination object updates,
Using the configuration information after renewal, the configuration information of the Service Instance dependent on the destination object is updated, without
Restart Service Instance, you can complete the configuration information update of Service Instance, solve existing every time after config update, it is necessary to restart
Service, the problem of config update mode is cumbersome.
In addition, the config update method of the embodiment of the present invention, also following additional technical feature:
In one embodiment of the invention, whether the configuration information of monitoring objective object updates, including:To target
Object sends polling message;Polling message is used to inquire whether the configuration information of destination object updates;Receiving by mesh
When marking the configuration update message of object transmission life, then judge that the configuration information of destination object updates.
In one embodiment of the invention, whether the configuration information of monitoring objective object updates, including:To target
The configuration update message that object is sent is monitored;Configuration update message be by destination object in the configuration information update of itself
Actively send;When listening to configuration update message, then judge that the configuration information of destination object updates.
In one embodiment of the invention, the example dependent on destination object is obtained, including:Obtain the of destination object
One mark;Service Instance is obtained according to the first mark.
In one embodiment of the invention, the configuration information of Service Instance is carried out more using the configuration information after renewal
Newly, including:According to the configuration information after the configuration information of destination object and renewal, acquisition updates the data;Transmission will be updated the data
To Service Instance;Triggering Service Instance is according to default response policy and updates the data carry out config update.
For the above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of config update device, including:Monitor mould
Whether block, the configuration information for monitoring objective object update;Acquisition module, for when destination object configuration information more
When new, the Service Instance dependent on destination object is obtained;Update module, for utilizing the configuration information after updating to Service Instance
Configuration information be updated.
The config update device of the embodiment of the present invention, whether updated by the configuration information of monitoring objective object, when
During the configuration information update of destination object, the Service Instance dependent on the destination object is obtained, utilizes the configuration information after renewal
The configuration information of Service Instance is updated.Hereby it is achieved that when the configuration information for monitoring destination object updates,
Using the configuration information after renewal, the configuration information of the Service Instance dependent on the destination object is updated, without
Restart Service Instance, you can complete the configuration information update of Service Instance, solve existing every time after config update, it is necessary to restart
Service, the problem of config update mode is cumbersome.
In addition, the config update device of the embodiment of the present invention, also following additional technical feature:
In one embodiment of the invention, monitoring modular, it is specifically used for:Polling message is sent to destination object;Poll
Message is used to inquire whether the configuration information of destination object updates;Disappeared receiving by the config update of destination object transmission
During breath, then judge that the configuration information of destination object updates.
In one embodiment of the invention, monitoring modular, it is specifically used for:The configuration update message sent to destination object
Monitored;Configuration update message is actively sent in the configuration information update of itself by destination object;Match somebody with somebody when listening to
When putting new information, then judge that the configuration information of destination object updates.
In one embodiment of the invention, acquisition module, it is specifically used for:Obtain the first mark of destination object;According to
First mark obtains Service Instance.
In one embodiment of the invention, update module, it is specifically used for:According to the configuration information of destination object and renewal
Configuration information afterwards, acquisition update the data;It will update the data and be sent to Service Instance;Service Instance is triggered according to default response
Strategy and update the data carry out config update.
For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of config update device, including memory and
Processor, wherein, the executable program code that processor is stored by reading in memory is run and executable program code
Corresponding program, for performing the config update method as described in above-mentioned first aspect embodiment.
For the above-mentioned purpose, fourth aspect present invention embodiment proposes a kind of computer program product, works as computer program
When instruction in product is by computing device, the config update method as described in first aspect embodiment is performed.
For the above-mentioned purpose, fifth aspect present invention embodiment proposes a kind of non-transitorycomputer readable storage medium,
Computer program is stored thereon with, the configuration as described in first aspect embodiment is realized when the computer program is executed by processor
Update method.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and it is readily appreciated that, wherein:
Fig. 1 is a kind of schematic flow sheet of config update method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of concrete configuration update method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another config update method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of config update device provided in an embodiment of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the config update method and device of the embodiment of the present invention is described.
At present, be to single Service Instance or the system service of distributed deployment, the method for config update, one by one editor or
Person updates the configuration file of all Service Instances, restarts each Service Instance again afterwards.
It can be seen that the config update method, it is necessary to restart Service Instance after config update, in particular for parallel weight
The situation of service is opened, the responding ability of system can be reduced.Also, the config update method is complex for operation step, in operating process
Easily error.Furthermore the config update method requires that configuration management personnel have system maintenance ability, can be in config update
The running status of monitoring system, adds maintenance cost.
Fig. 1 is a kind of schematic flow sheet of config update method provided in an embodiment of the present invention.In the present embodiment, configuration is more
The executive agent of new method can be config update device.
As shown in figure 1, the config update method includes:
Whether S101, the configuration information of monitoring objective object update.
Wherein, destination object includes but is not limited to local file system or catalogue, distributed file system or catalogue, distribution
The path or back end of formula coordination service device, local or Distributed Message Queue etc..
During system operation, whether the configuration information of real-time monitoring objective object updates.
, can be by sending polling message, monitoring to destination object in a kind of possible way of realization of the embodiment of the present invention
Whether the configuration information of destination object updates.Wherein, polling message is used to inquire whether the configuration information of destination object is sent out
Raw renewal.In the present embodiment, after destination object receives the polling message of config update device transmission, in matching somebody with somebody for destination object
After confidence breath updates, a configuration update message can be sent to config update device.Specifically, can be when default
Between to destination object, such as local file system, distributed file system, send polling message.Certain moment, if receiving mesh
The configuration update message that object is sent is marked, then can be determined that the configuration information of the destination object is updated.
In the alternatively possible way of realization of the embodiment of the present invention, the config update that can be sent by monitoring destination object
Whether message, the configuration information of monitoring objective object update.Wherein, configuration update message is at itself by destination object
Actively sent during configuration information update.Alternatively, destination object can broadcast the configuration update message by the form of broadcast,
Config update device can receive the configuration update message of broadcast.Specifically, a monitor can be set and monitors mesh in real time
The message that mark object is sent, at certain moment, when monitor listens to configuration update message, then can be determined that the configuration of destination object
Information is updated.
S102, when the configuration information update of destination object, obtain the Service Instance dependent on destination object.
Wherein, Service Instance can be understood as the specific service on server, such as load balancing service.
Because specific service depends on destination object, thus when the configuration information update of destination object, it is necessary to obtain according to
Rely the Service Instance in destination object, to realize Service Instance with the configuration provides service after updating.
In one embodiment of the invention, when the configuration information for monitoring destination object updates, target is obtained
First mark of object, wherein, first is identified as the identity of destination object, has uniqueness.Afterwards, according to the mesh of acquisition
The first mark of object is marked, obtains the Service Instance dependent on the destination object.
S103, the configuration information of Service Instance is updated using the configuration information after renewal.
After the config update of destination object, in order that the Service Instance dependent on destination object carries out configuration information more
Newly, can be by setting interface for different Service Instances, to be updated the data by interface.
Specifically, the configuration information after configuration information and renewal before being updated according to destination object, acquisition update the data.So
Afterwards, the notification message for including updating the data is sent to Service Instance by corresponding interface, directly can be also sent to Service Instance
Update the data.After Service Instance receives notification message, obtain and update the data from notification message, further according to updating the data and
Default response policy, carry out config update.
By taking the load balancing service of server as an example, it is assumed that there are 3 servers to carry out load balancing, manager originally
The configuration information of destination object corresponding to the load balancing service has been entered renewal, configuration information is by original by member according to business demand
3 servers come carry out load balancing and are updated to carry out load balancing by 2 servers.Pass through interface in load balancing service
Receive after updating the data, load balancing is carried out according to 2 servers of configuration are updated the data, it is achieved thereby that load balancing service
Config update.
The config update method of the embodiment of the present invention, whether updated by the configuration information of monitoring objective object, when
During the configuration information update of destination object, the Service Instance dependent on the destination object is obtained, utilizes the configuration information after renewal
The configuration information of Service Instance is updated.Hereby it is achieved that when the configuration information for monitoring destination object updates,
Using the configuration information after renewal, the configuration information of the Service Instance dependent on the destination object is updated, without
Restart Service Instance, you can complete the configuration information update of Service Instance, solve existing every time after config update, it is necessary to restart
Service, the problem of config update mode is cumbersome.
For clearer description above-described embodiment, illustrate configuration proposed by the present invention below by a specific embodiment
Update method.
As shown in Fig. 2 due to business demand need update configuration when, service management personnel can by config editor,
Such as terminal or the client of Distributed Services, the configuration information of editing and updating destination object.Wherein, destination object is in Fig. 2
Shown, local or Distributed Message Queue, distributed coordination service, distributed file system, local file system etc..
During system operation, polling message can be sent by timing or monitors the renewal that destination object is sent and is matched somebody with somebody
Message is put, whether the configuration for carrying out monitoring objective object is updated.
In actual applications, different monitoring modes can be taken for different destination objects, as file system uses more
The mode of polling message is sent, and distributed coordination service (such as zookeeper), message queue are disappeared using monitoring config update more
The mode of breath.
When monitoring the configuration of certain destination object there occurs updating, the first mark of destination object is obtained, according to first
Mark obtains the Service Instance dependent on the destination object, and is sent to the Service Instance comprising the notification message updated the data,
Or directly transmit and update the data, Service Instance according to update the data and default response policy carry out config update.
That is, when the configuration of destination object updates, config update data can be sent to depending on automatically
The Service Instance of destination object, Service Instance respond in real time according to config update.Compared with prior art, in destination object
Configuration information when updating, it is not necessary to restart Service Instance, so as to simplify the operating procedure of config update, realize whole
The automation of individual config update process.
In order that service management personnel can learn the more new state of Service Instance in time, in Service Instance config update
Afterwards, the client that the result that config update is fed back can be fed back to terminal or Distributed Services is shown.Alternatively, terminal
Or the client of Distributed Services, also can be by way of actively sending inquiry message to system, inquiry system Service Instance
Config update state.
The config update method of the embodiment of the present invention, can monitor the config update of different target object, and trigger automatically
Default response policy dependent on the Service Instance of destination object;Whole config update process all automates so that configuration is more
New operation is simpler;After the configuration information update of destination object, it is not necessary to restart Service Instance, can also complete matching somebody with somebody for Service Instance
Put renewal.
Above-mentioned is in embodiment, by setting interface to update the data for Service Instance, with reference to Fig. 3, is introduced logical
Cross the config update for setting response policy to realize Service Instance.
As shown in figure 3, the config update method includes:
S301, the response policy of the one or more response config updates of Service Instance registration.
First, the response policy of the one or more response config updates of Service Instance registration, by this inside response policy
Body business, corresponding processing logic is set.
S302, is monitored or whether the configuration information of polling targets object updates.
By setting monitor to monitor the configuration update message that destination object is sent, or timing sends polling message, prison
Whether the configuration information for surveying destination object updates.Wherein, destination object will not be repeated here as shown in above-mentioned embodiment.
S303, the response policy of the config update of Service Instance registration is triggered one by one.
When the configuration information for monitoring destination object updates, the first mark of destination object is obtained, according to target
First mark of object, obtains the Service Instance dependent on the destination object, and triggers the configuration of Service Instance registration one by one more
New response policy, and the configuration data of destination object is passed into response policy with parametric form.Service Instance is according to renewal
Configuration data and response policy afterwards carries out config update.
If not having to monitor that the configuration information of destination object updates, step S302 is performed, continues monitoring objective
Whether the configuration information of object updates.
S304, Service Instance is with the configuration provides service after updating.
After the configuration information update of Service Instance, Service Instance is with the configuration provides service after updating.Afterwards, continue to supervise
Whether the configuration information for surveying destination object updates, it is achieved thereby that continuing, monitoring objective object matches somebody with somebody confidence incessantly
Breath change.
To achieve these goals, the embodiment of the present invention also proposes a kind of config update device.
As shown in figure 4, the config update device includes:Monitoring modular 410, acquisition module 420, update module 430.
Whether the configuration information that monitoring modular 410 is used for monitoring objective object updates.
Monitoring modular 410 is specifically used for:Polling message is sent to destination object;Polling message is used to inquire destination object
Whether configuration information updates;When receiving the configuration update message sent by destination object, then destination object is judged
Configuration information updates.
Monitoring modular 410 is specifically used for:The configuration update message that destination object is sent is monitored;Configuration update message
It is actively to be sent in the configuration information update of itself by destination object;When listening to configuration update message, then mesh is judged
The configuration information of mark object updates.
Acquisition module 420 is used for when the configuration information update of destination object, obtains real dependent on the service of destination object
Example.
Acquisition module 420 is specifically used for:Obtain the first mark of destination object;Service Instance is obtained according to the first mark.
Update module 430 is used to be updated the configuration information of Service Instance using the configuration information after renewal.
Update module 430 is specifically used for:According to the configuration information after the configuration information of destination object and renewal, renewal is obtained
Data;It will update the data and be sent to Service Instance;Triggering Service Instance is matched somebody with somebody according to default response policy and updating the data
Put renewal.
It should be noted that the config update method that above-described embodiment proposes, is also applied for proposition of the embodiment of the present invention
Config update device, is repeated again herein.
The config update device of the embodiment of the present invention, whether updated by the configuration information of monitoring objective object, when
During the configuration information update of destination object, the Service Instance dependent on the destination object is obtained, utilizes the configuration information after renewal
The configuration information of Service Instance is updated.Hereby it is achieved that when the configuration information for monitoring destination object updates,
Using the configuration information after renewal, the configuration information of the Service Instance dependent on the destination object is updated, without
Restart Service Instance, you can complete the configuration information update of Service Instance, solve existing every time after config update, it is necessary to restart
Service, the problem of config update mode is cumbersome.
To achieve these goals, the embodiment of the present invention proposes a kind of config update device, including memory and processing
Device, wherein, the executable program code that processor is stored by reading in memory is corresponding with executable program code to run
Program, for performing config update method as described in above-mentioned embodiment.
To achieve these goals, the embodiment of the present invention proposes a kind of computer program product, works as computer program product
In instruction by computing device when, perform config update method as described in above-mentioned embodiment.
To achieve these goals, the embodiment of the present invention proposes a kind of non-transitorycomputer readable storage medium, thereon
Computer program is stored with, the config update side as described in above-mentioned embodiment is realized when the computer program is executed by processor
Method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification
Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from
Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (13)
- A kind of 1. config update method, it is characterised in that including:Whether the configuration information of monitoring objective object updates;When the configuration information update of the destination object, the Service Instance dependent on the destination object is obtained;The configuration information of the Service Instance is updated using the configuration information after renewal.
- 2. config update method according to claim 1, it is characterised in that the configuration information of the monitoring objective object is It is no to update, including:Polling message is sent to the destination object;The polling message be used for inquire the destination object configuration information whether Update;When receiving the configuration update message sent by the destination object, then the configuration information hair of the destination object is judged Raw renewal.
- 3. config update method according to claim 1, it is characterised in that the configuration information of the monitoring objective object is It is no to update, including:The configuration update message that the destination object is sent is monitored;The configuration update message is by the target What object was actively sent in the configuration information update of itself;When listening to configuration update message, then judge that the configuration information of the destination object updates.
- 4. config update method according to claim 1, it is characterised in that described to obtain dependent on the destination object Example, including:Obtain the first mark of the destination object;The Service Instance is obtained according to the described first mark.
- 5. config update method according to claim 1, it is characterised in that the configuration information using after renewal is to institute The configuration information for stating Service Instance is updated, including:According to the configuration information after the configuration information of the destination object and the renewal, acquisition updates the data;Described update the data is sent to the Service Instance;The Service Instance is triggered according to default response policy and described updates the data carry out config update.
- A kind of 6. config update device, it is characterised in that including:Whether monitoring modular, the configuration information for monitoring objective object update;Acquisition module, for when the configuration information update of the destination object, obtaining the service dependent on the destination object Example;Update module, for being updated using the configuration information after renewal to the configuration information of the Service Instance.
- 7. config update device according to claim 6, it is characterised in that the monitoring modular, be specifically used for:Polling message is sent to the destination object;The polling message be used for inquire the destination object configuration information whether Update;When receiving the configuration update message sent by the destination object, then the configuration information hair of the destination object is judged Raw renewal.
- 8. config update device according to claim 6, it is characterised in that the monitoring modular, be specifically used for:The configuration update message that the destination object is sent is monitored;The configuration update message is by the target What object was actively sent in the configuration information update of itself;When listening to configuration update message, then judge that the configuration information of the destination object updates.
- 9. config update device according to claim 6, it is characterised in that the acquisition module, be specifically used for:Obtain the first mark of the destination object;The Service Instance is obtained according to the described first mark.
- 10. according to the config update device described in claim any one of 6-9, it is characterised in that the update module is specific to use In:According to the configuration information after the configuration information of the destination object and the renewal, acquisition updates the data;Described update the data is sent to the Service Instance;The Service Instance is triggered according to default response policy and described updates the data carry out config update.
- A kind of 11. config update device, it is characterised in that including memory and processor, wherein, the processor passes through reading The executable program code stored in the memory runs program corresponding with the executable program code, for holding Config update method of the row as any one of claim 1-5.
- 12. a kind of computer program product, when the instruction in the computer program product is by computing device, perform as weighed Profit requires the config update method any one of 1-5.
- 13. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the calculating The config update method as any one of claim 1-5 is realized when machine program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710413706.4A CN107360018A (en) | 2017-06-05 | 2017-06-05 | Config update method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710413706.4A CN107360018A (en) | 2017-06-05 | 2017-06-05 | Config update method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107360018A true CN107360018A (en) | 2017-11-17 |
Family
ID=60271672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710413706.4A Withdrawn CN107360018A (en) | 2017-06-05 | 2017-06-05 | Config update method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107360018A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965007A (en) * | 2018-07-19 | 2018-12-07 | 北京车和家信息技术有限公司 | API gateway interface configures update method and device |
CN111104133A (en) * | 2018-10-25 | 2020-05-05 | 深圳市茁壮网络股份有限公司 | Configuration parameter updating system, method and storage medium |
CN111857800A (en) * | 2020-07-01 | 2020-10-30 | 北京达佳互联信息技术有限公司 | Dynamic component configuration method and device, electronic equipment and storage medium |
CN114124700A (en) * | 2021-10-26 | 2022-03-01 | 马上消费金融股份有限公司 | Cluster parameter configuration method and device, electronic equipment and readable storage medium |
CN114238015A (en) * | 2021-12-13 | 2022-03-25 | 成都新希望金融信息有限公司 | Attribute updating method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130205128A1 (en) * | 2012-02-02 | 2013-08-08 | Microsoft Corporation | Self-Updating Functionality in a Distributed System |
CN104199666A (en) * | 2014-09-09 | 2014-12-10 | 北京京东尚科信息技术有限公司 | Dynamic configuration method and device for application program |
CN104965726A (en) * | 2015-03-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Configuration updating method, apparatus and system |
CN105592127A (en) * | 2014-11-20 | 2016-05-18 | 中国银联股份有限公司 | Application management system for cloud computing environment |
CN106357447A (en) * | 2016-09-21 | 2017-01-25 | 努比亚技术有限公司 | Synchronizing method and device for configuration data |
CN106790595A (en) * | 2016-12-29 | 2017-05-31 | 上海理想信息产业(集团)有限公司 | A kind of Docker containers active load balancer and method |
-
2017
- 2017-06-05 CN CN201710413706.4A patent/CN107360018A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130205128A1 (en) * | 2012-02-02 | 2013-08-08 | Microsoft Corporation | Self-Updating Functionality in a Distributed System |
CN104199666A (en) * | 2014-09-09 | 2014-12-10 | 北京京东尚科信息技术有限公司 | Dynamic configuration method and device for application program |
CN105592127A (en) * | 2014-11-20 | 2016-05-18 | 中国银联股份有限公司 | Application management system for cloud computing environment |
CN104965726A (en) * | 2015-03-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Configuration updating method, apparatus and system |
CN106357447A (en) * | 2016-09-21 | 2017-01-25 | 努比亚技术有限公司 | Synchronizing method and device for configuration data |
CN106790595A (en) * | 2016-12-29 | 2017-05-31 | 上海理想信息产业(集团)有限公司 | A kind of Docker containers active load balancer and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965007A (en) * | 2018-07-19 | 2018-12-07 | 北京车和家信息技术有限公司 | API gateway interface configures update method and device |
CN111104133A (en) * | 2018-10-25 | 2020-05-05 | 深圳市茁壮网络股份有限公司 | Configuration parameter updating system, method and storage medium |
CN111857800A (en) * | 2020-07-01 | 2020-10-30 | 北京达佳互联信息技术有限公司 | Dynamic component configuration method and device, electronic equipment and storage medium |
CN114124700A (en) * | 2021-10-26 | 2022-03-01 | 马上消费金融股份有限公司 | Cluster parameter configuration method and device, electronic equipment and readable storage medium |
CN114238015A (en) * | 2021-12-13 | 2022-03-25 | 成都新希望金融信息有限公司 | Attribute updating method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107360018A (en) | Config update method and device | |
CN104508627B (en) | Mix cloud environment | |
CN102761581B (en) | The dynamic method for subscribing of management information and equipment and distribution method thereof and system | |
DE102020203877A1 (en) | PROCEDURES AND EQUIPMENT FOR CONTROLLING THE PROCESSING OF TELEMETRY DATA ON AN EDGE PLATFORM | |
US20190034828A1 (en) | Supervised learning system training using chatbot interaction | |
CN108667861A (en) | By browser to the method, system and server of device real-time monitoring | |
CN109656782A (en) | Visual scheduling monitoring method, device and server | |
CN105357167A (en) | Service processing method and device | |
CN104599064A (en) | Operation maintenance management system of data center | |
WO2016112676A1 (en) | Alarm processing method and device | |
CN113726890B (en) | Federal prediction method and system for block chain data service | |
CN106845815A (en) | Business management method and system | |
CN106162715A (en) | Method for managing and monitoring and device | |
CN110892675A (en) | Monitoring of the blockchain | |
CN104363257B (en) | A kind of user interface data method for refreshing and equipment | |
CN112769620B (en) | Network deployment method, equipment and computer readable storage medium | |
CN113225388B (en) | Distributed scheduling method and device, equipment and storage medium | |
CN103475435B (en) | Broadcasting command collision processing method and the device of network digital broadcast | |
CN105894602A (en) | Work order processing method and device | |
CN110648105B (en) | Recommendation method and device based on data processing, electronic equipment and storage medium | |
KR101064706B1 (en) | Sensor network management system and method | |
US20200065173A1 (en) | Controlled monitoring based on root cause analysis recommendations | |
CN116383171A (en) | Game data migration, game data migration device, readable storage medium and electronic equipment | |
CN109309671A (en) | A kind of communications device data management method and device based on block chain | |
CN108459902A (en) | Method, apparatus and electronic equipment for order-processing business |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190903 Address after: 100192 Dongsheng Science Park, Zhongguancun, 66 Xixiaokou Road, Haidian District, Beijing Applicant after: Green Bay Network Technology Co., Ltd. Address before: 100089 Beijing Haidian District Xixiaokou Road 66 Zhongguancun Dongsheng Science Park B-6 Building B 5 floors Applicant before: Grass count language (Beijing) Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171117 |
|
WW01 | Invention patent application withdrawn after publication |