CN107483640A - A kind of buffering updating method, server and operation system - Google Patents
A kind of buffering updating method, server and operation system Download PDFInfo
- Publication number
- CN107483640A CN107483640A CN201710875179.9A CN201710875179A CN107483640A CN 107483640 A CN107483640 A CN 107483640A CN 201710875179 A CN201710875179 A CN 201710875179A CN 107483640 A CN107483640 A CN 107483640A
- Authority
- CN
- China
- Prior art keywords
- target
- node
- data
- storage node
- target storage
- 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
Links
Classifications
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of buffering updating method, server and operation system, the method applied to server includes:At least two memory nodes are created, monitoring module is set respectively at least two distributed components of operation system;Receive the renewal request of at least one data;Identified according to the memory node that carries respectively of every a data renewal request, it is determined that per a data renewal request distinguish corresponding to target storage node;It is determined that update the reception order of request corresponding at least one the first data of target storage node;The target configuration data that each data of bar first are updated to request carrying according to reception order is updated into target storage node as current configuration data successively, so that target distribution formula component corresponding to the triggering of corresponding target monitoring module updates the caching of target distribution formula component according to the current configuration data stored under target storage node.By technical scheme, the more stable operation of the individual distributed component of operation system can be enable.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of buffering updating method, server and operation system.
Background technology
With big data and the fast development of cloud computing, increasing operation system can carry out distributed extension, than
Such as, distributed caching business is realized to improve reading and writing data speed by disposing multiple distributed components.Operation system it is each
When individual distributed component realizes corresponding business, it is often necessary to update the caching of each distributed component.
At present, each distributed component of operation system is generally joined directly together with multiple client, causes multiple client
Different target configuration datas may be provided simultaneously to same distributed component in synchronization, influence distributed component just
Often operation.
The content of the invention
The embodiments of the invention provide a kind of buffering updating method, server and operation system, can make each of operation system
Individual distributed component can be more stable operation.
In a first aspect, the invention provides a kind of buffering updating method, applied to the server of operation system, including:
At least two memory nodes are created based on zookeeper, divided at least two distributed components of operation system
Monitoring module is not set, wherein, at least two memory node corresponds with each monitoring module;
Receive at least one data renewal request of at least two clients transmission;
Identified according to the memory node that each data renewal request carries respectively, determine each data more
New request distinguish corresponding to target storage node;
Each described target storage node is directed to, is performed both by:It is determined that corresponding to the target storage node at least
The reception order of one the first data renewal request;According to reception order, by the first data renewal request described in each bar
The target configuration data carried respectively is successively as current configuration data renewal into the target storage node, so as to correspond to
The current configuration data hair that the target monitoring module of the target storage node stores in the case where listening to the target storage node
During changing, target distribution formula component is real-time according to the current configuration data stored under the target storage node corresponding to triggering
Update the caching of the target distribution formula component.
Preferably,
It is described according to reception order, the target that carries respectively in the first data renewal request described in each bar is configured into number
According to successively be used as current configuration data renewal into the target storage node, including:
A1:According to reception order, each first data are created successively under the target storage node more
New request distinguish corresponding to child node;
A2:Each current node under the target storage node is entered according to the establishment of each child node order
Row sequence;
A3:Carried during according to ranking results, sequential bits are asked for the second data renewal corresponding to 1 target child node
Target configuration data write the target storage node as current configuration data;
A4:The target child node created under the target storage node is deleted, then performs A2.
Preferably,
Also include:When receiving the releasing request corresponding to the renewal request of the second data, updated from second data
The child node for corresponding to second data renewal request is deleted in the corresponding target storage node of request.
Second aspect, the embodiments of the invention provide a kind of server, applied to operation system, including:
Setup module, for creating at least two memory nodes based on zookeeper, at least two points of operation system
Monitoring module is set respectively in cloth component, wherein, a pair of at least two memory node and each monitoring module 1
Should;
Information receiving module, update request for receiving at least one data that at least one client is sent;
Determining module, the memory node for being carried respectively according to each data renewal request identifies, it is determined that often
One data renewal request distinguish corresponding to target storage node;
Processing module is updated, for being directed to each described target storage node, is performed both by:It is determined that correspond to the mesh
Mark the reception order of at least one the first data renewal requests of memory node;According to reception order, by described in each article the
The target configuration data carried respectively in the renewal request of one data stores as current configuration data renewal to the target successively
In node, so as to be stored corresponding to the target monitoring module of the target storage node in the case where listening to the target storage node
Current configuration data when changing, target distribution formula component corresponding to triggering under the target storage node according to storing
The caching of target distribution formula component described in current configuration data real-time update.
Preferably,
The renewal processing module, including:Node creating unit, sequence processing unit, renewal processing unit and node pipe
Manage unit;Wherein,
The node creating unit, for according to reception order, being created successively under the target storage node every
One first data renewal request distinguish corresponding to child node;
The sequence processing unit, for the establishment order according to each child node under the target storage node
Each current node be ranked up;
The renewal processing unit, for according to ranking results by sequential bits be 1 target child node corresponding to second
The target configuration data carried in data renewal request writes the target storage node as current configuration data;
The node management unit, for deleting the target child node created under the target storage node, and touch
Send out sequence processing unit described.
Preferably,
Also include:Release management module;Wherein,
The release management module, for receive corresponding to the second data renewal request releasing request when, from institute
State in the corresponding target storage node of the second data renewal request and delete the son section for corresponding to second data renewal request
Point.
The third aspect, the embodiments of the invention provide a kind of operation system, including:
At least two distributed components, at least two clients, and the server as described in any in second aspect;Its
In,
A monitoring module is respectively arranged with each described distributed component;
At least two client, for sending the renewal request of at least one data to the server;
Each described distributed component, under the triggering of the corresponding monitoring module, according to the server
In correspond to the current configuration data that stores under the target storage node of the distributed component, target distribution described in real-time update
The caching of formula component.
The embodiments of the invention provide a kind of buffering updating method, server and operation system, this method is applied to business
The server of system, by creating at least two memory nodes based on zookeeper, at least two in operation system are distributed
Monitoring module is set respectively in component, and at least two memory nodes correspond with each monitoring module, are receiving at least
During at least one data renewal request that two clients are sent, then it can be updated according to every a data and ask what is carried respectively to deposit
Store up node identification, it is determined that per a data renewal request distinguish corresponding to target storage node, and then be directed to each target
Memory node, it is performed both by:It is determined that update the reception order of request corresponding at least one the first data of target storage node;Root
According to reception order, using the target configuration data carried respectively in the renewal request of each data of bar first successively as current configuration data
Update in target storage node.In this way, when the target monitoring module corresponding to target storage node is listening to target storage
When the current configuration data stored under node changes, then it can trigger corresponding target distribution formula component and section stored according to target
The caching of the current configuration data real-time update target distribution formula component of the lower storage of point, avoid the same distribution of operation system
Component receives multiple target configuration datas simultaneously in synchronization, so that each distributed component of operation system can
More stable operation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for buffering updating method that one embodiment of the invention provides;
Fig. 2 is a kind of structural representation for server that one embodiment of the invention provides;
Fig. 3 is the structural representation for another server that one embodiment of the invention provides;
Fig. 4 is a kind of structural representation for operation system that one embodiment of the invention provides;
Fig. 5 is the flow chart for another buffering updating method that one embodiment of the invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of buffering updating method, applied to the server of operation system,
Including:
Step 101, at least two memory nodes are created based on zookeeper, at least two in operation system are distributed
Monitoring module is set respectively in component, wherein, at least two memory node corresponds with each monitoring module;
Step 102, at least one data renewal request that at least two clients are sent is received;
Step 103, the memory node carried respectively according to each data renewal request identifies, and determines each institute
State data renewal request distinguish corresponding to target storage node;
Step 104, each described target storage node is directed to, is performed both by:It is determined that corresponding to target storage section
The reception order of at least one the first data renewal requests of point;According to the reception sequentially, by the first data described in each bar more
The target configuration data carried respectively in new request is updated into the target storage node as current configuration data successively, with
Make that the target monitoring module corresponding to the target storage node stores in the case where listening to the target storage node current matches somebody with somebody
When putting data and changing, target distribution formula component is currently configured according to what is stored under the target storage node corresponding to triggering
The caching of target distribution formula component described in data real-time update.
In the above embodiment of the present invention, this method is applied to the server of operation system, by being created based on zookeeper
At least two memory nodes, monitoring module, and at least two are set respectively at least two distributed components of operation system
Memory node corresponds with each monitoring module, please at least one data renewal for receiving the transmission of at least two clients
When asking, then the memory node that request carries respectively can be updated according to every a data and is identified, it is determined that the renewal request per a data
Target storage node corresponding to distinguishing, and then each target storage node is directed to, it is performed both by:It is determined that stored corresponding to target
The reception order of at least one the first data renewal requests of node;According to reception order, each data of bar first are updated and asked
The middle target configuration data carried respectively is successively as current configuration data renewal into target storage node.In this way, when corresponding
Changed in the current configuration data that the target monitoring module of target storage node stores in the case where listening to target storage node
When, then corresponding target distribution formula component is can trigger according to the current configuration data real-time update mesh stored under target storage node
The caching of distributed component is marked, the same distributed component of operation system is avoided in synchronization while receives multiple targets
Configuration data, so that the operation that each distributed component of operation system can be more stable.
It is described according to reception order in one embodiment of the invention, by the first data renewal request described in each bar
The target configuration data carried respectively is updated into the target storage node as current configuration data successively, including:
A1:According to reception order, each first data are created successively under the target storage node more
New request distinguish corresponding to child node;
A2:Each current node under the target storage node is entered according to the establishment of each child node order
Row sequence;
A3:Carried during according to ranking results, sequential bits are asked for the second data renewal corresponding to 1 target child node
Target configuration data write the target storage node as current configuration data;
A4:The target child node created under the target storage node is deleted, then performs A2.
In the above embodiment of the present invention, determining what the data of each bar first renewal corresponding to target storage node was asked
After reception order, each the first data renewal request is created under target storage node according to reception order successively and distinguished
Corresponding child node, each current node under target storage node is arranged according to the establishment of each child node order
Sequence, and the target carried during sequential bits are asked for the second data renewal corresponding to 1 target child node according to ranking results
Configuration data writes target storage node as current configuration data, the target son section then created under delete target memory node
Point, the current configuration data that multiple client can be avoided to be stored in the case where synchronization is to same memory node are updated.
In one embodiment of the invention, in addition to:When receiving the releasing request corresponding to the renewal request of the second data,
Deleted in the target storage node corresponding from second data renewal request and correspond to second data renewal request
Child node.
In the above embodiment of the present invention, when client be present, warp-wise server sends out the renewal request of the second data, and services
The target configuration data that device also fails to implement to update second data request carrying is updated to corresponding as current configuration data
Target storage node when, can be by corresponding client to service if user needs actively to abandon second renewal to ask
Device sends the releasing request for corresponding to second data renewal request, and server can be then updated corresponding to request from second data
Target storage node in delete correspond to the second data renewal request child node, so as to no longer by this second renewal request in
The target configuration data of carrying is updated into corresponding target storage node as current configuration data.
As shown in Fig. 2 the embodiments of the invention provide a kind of server, applied to operation system, including:
Setup module 201, for creating at least two memory nodes based on zookeeper, at least the two of operation system
Monitoring module is set respectively in individual distributed component, wherein, at least two memory node and each monitoring module one
One correspondence;
Information receiving module 202, update request for receiving at least one data that at least one client is sent;
Determining module 203, the memory node for being carried respectively according to each data renewal request identify, it is determined that
Each data renewal request distinguish corresponding to target storage node;
Processing module 204 is updated, for being directed to each described target storage node, is performed both by:It is determined that corresponding to institute
State the reception order of at least one the first data renewal requests of target storage node;According to reception order, by each bar institute
State the target configuration data carried respectively in the renewal request of the first data and arrive the target as current configuration data renewal successively
In memory node so that corresponding to the target storage node target monitoring module in the case where listening to the target storage node
When the current configuration data of storage changes, target distribution formula component is deposited according under the target storage node corresponding to triggering
The caching of target distribution formula component described in the current configuration data real-time update of storage.
As shown in figure 3, in one embodiment of the invention, the renewal processing module 204, including:Node creating unit
2041st, sort processing unit 2042, renewal processing unit 2043 and node management unit 2044;Wherein,
The node creating unit 2041, for according to reception order, being created successively under the target storage node
Build each first data renewal request distinguish corresponding to child node;
The sequence processing unit 2042, the target is stored for the establishment order according to each child node and saved
Each current node under point is ranked up;
It is described renewal processing unit 2043, for according to ranking results by sequential bits be 1 target child node corresponding to
The target configuration data carried in the renewal request of second data writes the target storage node as current configuration data;
The node management unit 2044, for deleting the target child node created under the target storage node,
And trigger the sequence processing unit 2042.
In one embodiment of the invention, in addition to:Release management module (not shown in accompanying drawing);Wherein,
The release management module, for receive corresponding to the second data renewal request releasing request when, from institute
State in the corresponding target storage node of the second data renewal request and delete the son section for corresponding to second data renewal request
Point.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned server, due to real with the inventive method
Apply example and be based on same design, particular content can be found in the narration in the inventive method embodiment, and here is omitted.
As shown in figure 4, the embodiments of the invention provide a kind of operation system, including:
Carried at least two distributed components 401, at least two clients 402, and any one embodiment of the invention
The server 403 of confession;Wherein,
A monitoring module is respectively arranged with each described distributed component 401;
At least two client 402, for delivering to few a data renewal request to server hair 403;
Each described distributed component 401, under the triggering of the corresponding monitoring module, according to the service
Corresponding to the current configuration data that stores under the target storage node of the distributed component 401 in device 403, described in real-time update
The caching of target distribution formula component 401.
In order to more clearly illustrate technical scheme and advantage, with reference to industry provided in an embodiment of the present invention
Business system, so that the operation system includes server, distributed component A, B, client a, b, c as an example, realize in the operation system
When distributed component A, B caching are updated, as shown in figure 5, including following each step:
Step 501, created in the server based on zookeeper corresponding to distributed component A and distributed component B difference
Memory node N, M.
Step 502, monitoring module watcher1 is set under distributed component A, and prison is set under distributed component B
Control module watcher2.
Step 503, each administrative staff of operation system combine practical business demand, control client a respectively to service
Device sends data renewal request n1, control client b and sends data renewal request n2, control client c to service to server
Device sends data renewal request n3.
In the embodiment of the present invention, only with the node identification N and target configuration data X, number of carrying memory node N in data n1
Memory node N node identification N and target configuration data Y are carried according to renewal request n2, data renewal request n3 carries storage section
Exemplified by point N node identification N and target configuration data Z.
Step 504, the memory node mark carried respectively in server based on data renewal request n1, n2, n3, determines number
According to renewal request n1, n2, n3 distinguish corresponding to target storage node.
It will be apparent that can determine that in the embodiment of the present invention data renewal request n1, n2, n3 distinguish corresponding to target
Memory node is memory node N.
Step 505, server determines that the reception of data renewal request n1, n2, n3 corresponding to target storage node N are suitable
Sequence.
In the embodiment of the present invention, only so that data renewal request n1, n2, n3 reception order are n1-n2-n3 as an example.
Step 506, server is according to reception order, created successively under target storage node N data renewal request n1,
N2, n3 distinguish corresponding to child node.
In the embodiment of the present invention, only so that each child node created successively is node_1, node_2, node_3 as an example.
Step 507, server saves according to the establishment order of each child node to each current son under target storage node N
Point is ranked up.
It will be apparent that ranking results can be node_1, node_2, node_3.
Step 508, sequential bits are updated request by server according to ranking results for the data corresponding to 1 target child node
The target configuration data of middle carrying is as current configuration data write-in target storage node N.
For example, when sequential bits be 1 target child node be node_1 when, can by sequential bits be 1 target child node
The target configuration data X carried in data renewal request n1 corresponding to node_1 is updated to target as current configuration data to be deposited
Store up in node N.
Step 509, the target child node created under server delete target memory node N.
For example, when the data renewal corresponding to the target child node node_1 that sequential bits are 1 asks what is carried in n1
Target configuration data X, after being arrived as current configuration data renewal in target storage node N, node_1 can be deleted
Processing.
Server can perform step 507 again after execution of step 509, and step 507 is performed by circulating so as to realize
To step 509 to match somebody with somebody data are updated into the target that request n1, n2, n3 carry respectively respectively at different moments or in different time sections
Data are put to update into target storage node N as current configuration data.
Step 510, monitoring module watcher1 and monitoring module watcher2 monitoring memory node N and storages in real time respectively
The situation of change of the current configuration data of node M memory storage.
In the embodiment of the present invention, only the current configuration data of memory node N memory storages is changing.
Step 511, monitoring module watcher1 changes in the current configuration data for monitoring memory node N memory storages
When, corresponding distributed component A is triggered according to the current configuration data real-time update distributed component stored under target storage node N
A caching.
For example, changed when monitoring module watcher1 monitors the current configuration data that is stored under node N everywhere by X
For Y when, monitoring module watcher1 then can trigger distributed component A, so that distributed component A is according under memory node N
The current configuration data Y renewal distributed components A of storage caching.
In the embodiment of the present invention, when user needs actively to abandon corresponding data renewal request, for example server is
When the target configuration data X renewals carried in data renewal request n1 are arrived into memory node N, if user needs actively to abandon data
Renewal request n3, then the releasing request for corresponding to data renewal request n3 can be sent to server by client c, server is then
The child node node_3 created under memory node N can be deleted after receiving corresponding to data renewal request n3 releasing request,
In this way, the target configuration data Z that data renewal request n3 is carried will not be then updated in memory node N.
Visible by above-mentioned each step of the embodiment of the present invention, different clients can not update same storage section simultaneously
Current configuration data under point, the same distributed component of operation system are only capable of the memory node corresponding in synchronization
One current configuration data of middle storage updates its caching, avoids the same distributed component of operation system same in synchronization
When receive multiple target configuration datas and influence the normal operation of distributed component, it is ensured that each distributed group of operation system
Part can be more stable operation.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control
During the execute instruction, the storage control performs the buffering updating method provided in any one embodiment of the invention.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The processor is connected with the memory by the bus;
The memory, when the storage control is run, memory storage is described described in the computing device
Execute instruction, so that the storage control performs the buffering updating method provided in any one embodiment of the invention.
In summary, each embodiment of the present invention at least has the advantages that:
1st, in one embodiment of the invention, this method is applied to the server of operation system, by being created based on zookeeper
At least two memory nodes, monitoring module, and at least two are set respectively at least two distributed components of operation system
Memory node corresponds with each monitoring module, please at least one data renewal for receiving the transmission of at least two clients
When asking, then the memory node that request carries respectively can be updated according to every a data and is identified, it is determined that the renewal request per a data
Target storage node corresponding to distinguishing, and then each target storage node is directed to, it is performed both by:It is determined that stored corresponding to target
The reception order of at least one the first data renewal requests of node;According to reception order, each data of bar first are updated and asked
The middle target configuration data carried respectively is successively as current configuration data renewal into target storage node.In this way, when corresponding
Changed in the current configuration data that the target monitoring module of target storage node stores in the case where listening to target storage node
When, then corresponding target distribution formula component is can trigger according to the current configuration data real-time update mesh stored under target storage node
The caching of distributed component is marked, the same distributed component of operation system is avoided in synchronization while receives multiple targets
Configuration data, so that the operation that each distributed component of operation system can be more stable.
2nd, in one embodiment of the invention, determining what the data of each bar first renewal corresponding to target storage node was asked
After reception order, each the first data renewal request is created under target storage node according to reception order successively and distinguished
Corresponding child node, each current node under target storage node is arranged according to the establishment of each child node order
Sequence, and the target carried during sequential bits are asked for the second data renewal corresponding to 1 target child node according to ranking results
Configuration data writes target storage node as current configuration data, the target son section then created under delete target memory node
Point, the current configuration data that multiple client can be avoided to be stored in the case where synchronization is to same memory node are updated.
3rd, in one embodiment of the invention, when client be present, warp-wise server sends out the renewal request of the second data, and takes
Business device also fail to implement using second data update request carry target configuration data as current configuration data renewal arrive pair
, can be by corresponding client to clothes if user needs actively to abandon second renewal to ask during the target storage node answered
Business device sends the releasing request for corresponding to second data renewal request, and server then can be right from second data renewal request institute
The child node for corresponding to the renewal request of the second data is deleted in the target storage node answered, so as to no longer ask second renewal
The target configuration data of middle carrying is updated into corresponding target storage node as current configuration data.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that
Other identical factor in the process including the key element, method, article or equipment also be present.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (7)
- A kind of 1. buffering updating method, it is characterised in that applied to the server of operation system, including:At least two memory nodes are created based on zookeeper, set respectively at least two distributed components of operation system Monitoring module is put, wherein, at least two memory node corresponds with each monitoring module;Also include:Receive at least one data renewal request of at least two clients transmission;Identified according to the memory node that each data renewal request carries respectively, determine that each data renewal please Seek target storage node corresponding to distinguishing;Each described target storage node is directed to, is performed both by:It is determined that at least one corresponding to the target storage node The reception order of first data renewal request;According to reception order, will distinguish in the first data renewal request described in each bar The target configuration data of carrying is successively as current configuration data renewal into the target storage node, so that corresponding to described The current configuration data that the target monitoring module of target storage node stores in the case where listening to the target storage node becomes During change, target distribution formula component corresponding to triggering is according to the current configuration data real-time update stored under the target storage node The caching of the target distribution formula component.
- 2. the method described in as requested 1, it is characterised in thatIt is described according to reception order, by the target configuration data that carries respectively in the first data renewal request described in each bar according to It is secondary to be updated as current configuration data into the target storage node, including:A1:According to reception order, creating each the first data renewal successively under the target storage node please Seek child node corresponding to distinguishing;A2:Each current node under the target storage node is arranged according to the establishment of each child node order Sequence;A3:The mesh carried during sequential bits are asked for the second data renewal corresponding to 1 target child node according to ranking results Mark configuration data and write the target storage node as current configuration data;A4:The target child node created under the target storage node is deleted, then performs A2.
- 3. according to the method for claim 2, it is characterised in thatAlso include:When receiving the releasing request corresponding to the renewal request of the second data, update and ask from second data The child node for corresponding to second data renewal request is deleted in corresponding target storage node.
- A kind of 4. server, it is characterised in that applied to operation system, including:Setup module, for creating at least two memory nodes based on zookeeper, at least two in operation system are distributed Monitoring module is set respectively in component, wherein, at least two memory node corresponds with each monitoring module;Information receiving module, update request for receiving at least one data that at least one client is sent;Determining module, the memory node for being carried respectively according to each data renewal request identify, and determine each Data renewal request distinguish corresponding to target storage node;Processing module is updated, for being directed to each described target storage node, is performed both by:It is determined that deposited corresponding to the target Store up the reception order of at least one the first data renewal requests of node;According to reception order, by the first number described in each bar The target configuration data carried respectively in being asked according to renewal arrives the target storage node as current configuration data renewal successively In, so as to work as corresponding to what the target monitoring module of the target storage node stored in the case where listening to the target storage node When preceding configuration data changes, target distribution formula component corresponding to triggering is current according to what is stored under the target storage node The caching of target distribution formula component described in configuration data real-time update.
- 5. server according to claim 4, it is characterised in thatThe renewal processing module, including:Node creating unit, sequence processing unit, renewal processing unit and node administration list Member;Wherein,The node creating unit, for according to reception order, creating each successively under the target storage node First data renewal request distinguish corresponding to child node;The sequence processing unit, for the establishment order according to each child node to each under the target storage node Individual current node is ranked up;The renewal processing unit, for according to ranking results by sequential bits be 1 target child node corresponding to the second data The target configuration data carried in renewal request writes the target storage node as current configuration data;The node management unit, for deleting the target child node created under the target storage node, and trigger institute State sequence processing unit.
- 6. server according to claim 5, it is characterised in thatAlso include:Release management module;Wherein,The release management module, for when receiving the releasing request corresponding to the renewal request of the second data, from described the The child node for corresponding to second data renewal request is deleted in the corresponding target storage node of two data renewal request.
- A kind of 7. operation system, it is characterised in that including:At least two distributed components, at least two clients, and the server as described in any in claim 4 to 6;Its In,A monitoring module is respectively arranged with each described distributed component;At least two client, for sending the renewal request of at least one data to the server;Each described distributed component, under the triggering of the corresponding monitoring module, according to right in the server The current configuration data stored under the target storage node of distributed component described in Ying Yu, target distribution formula group described in real-time update The caching of part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710875179.9A CN107483640A (en) | 2017-09-25 | 2017-09-25 | A kind of buffering updating method, server and operation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710875179.9A CN107483640A (en) | 2017-09-25 | 2017-09-25 | A kind of buffering updating method, server and operation system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107483640A true CN107483640A (en) | 2017-12-15 |
Family
ID=60585859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710875179.9A Pending CN107483640A (en) | 2017-09-25 | 2017-09-25 | A kind of buffering updating method, server and operation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107483640A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704460A (en) * | 2019-09-02 | 2020-01-17 | 广州市城市规划勘测设计研究院 | Space-time big data collection system and method |
CN113127025A (en) * | 2019-12-31 | 2021-07-16 | 航天信息股份有限公司 | Accounting contract updating method, device, equipment and medium |
CN114115718A (en) * | 2021-08-31 | 2022-03-01 | 济南浪潮数据技术有限公司 | Distributed block storage system service quality control method, device, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001071555A1 (en) * | 2000-03-22 | 2001-09-27 | Venation Limited | Data access |
CN102394867A (en) * | 2011-10-10 | 2012-03-28 | 深圳市金槌拍卖行有限公司 | Technology for converting network concurrent communication request into tandem queue |
CN103971185A (en) * | 2014-05-30 | 2014-08-06 | 成都德迈安科技有限公司 | Automatic thread optimizing-scheduling method based on cloud service platform docking |
CN105306514A (en) * | 2014-07-30 | 2016-02-03 | 北京信威通信技术股份有限公司 | Audio recording file distributed storage method and audio recording file distributed storage system based on Zookeeper |
CN106294607A (en) * | 2016-07-29 | 2017-01-04 | 北京奇虎科技有限公司 | Data cached update method and updating device |
CN106603281A (en) * | 2016-12-07 | 2017-04-26 | 乐视控股(北京)有限公司 | Configuration file management method and system |
-
2017
- 2017-09-25 CN CN201710875179.9A patent/CN107483640A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001071555A1 (en) * | 2000-03-22 | 2001-09-27 | Venation Limited | Data access |
CN102394867A (en) * | 2011-10-10 | 2012-03-28 | 深圳市金槌拍卖行有限公司 | Technology for converting network concurrent communication request into tandem queue |
CN103971185A (en) * | 2014-05-30 | 2014-08-06 | 成都德迈安科技有限公司 | Automatic thread optimizing-scheduling method based on cloud service platform docking |
CN105306514A (en) * | 2014-07-30 | 2016-02-03 | 北京信威通信技术股份有限公司 | Audio recording file distributed storage method and audio recording file distributed storage system based on Zookeeper |
CN106294607A (en) * | 2016-07-29 | 2017-01-04 | 北京奇虎科技有限公司 | Data cached update method and updating device |
CN106603281A (en) * | 2016-12-07 | 2017-04-26 | 乐视控股(北京)有限公司 | Configuration file management method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704460A (en) * | 2019-09-02 | 2020-01-17 | 广州市城市规划勘测设计研究院 | Space-time big data collection system and method |
CN110704460B (en) * | 2019-09-02 | 2021-07-09 | 广州市城市规划勘测设计研究院 | Space-time big data collection system and method |
CN113127025A (en) * | 2019-12-31 | 2021-07-16 | 航天信息股份有限公司 | Accounting contract updating method, device, equipment and medium |
CN114115718A (en) * | 2021-08-31 | 2022-03-01 | 济南浪潮数据技术有限公司 | Distributed block storage system service quality control method, device, equipment and medium |
CN114115718B (en) * | 2021-08-31 | 2024-03-29 | 济南浪潮数据技术有限公司 | Distributed block storage system service quality control method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107092437B (en) | Data write-in, read method and device, cloud storage system | |
CN106250226B (en) | Method for scheduling task and system based on consistency hash algorithm | |
CN107066570A (en) | Data managing method and device | |
CN105224255B (en) | A kind of storage file management method and device | |
CN107566531A (en) | A kind of Elasticsearch cluster expansion methods for supporting balanced resource | |
CN105701156B (en) | A kind of distributed file system management method and device | |
CN104184812B (en) | A kind of multipoint data transmission method based on private clound | |
CN112084258A (en) | Data synchronization method and device | |
CN109491928A (en) | Buffer control method, device, terminal and storage medium | |
US20200409584A1 (en) | Load balancing for scalable storage system | |
CN106326239A (en) | Distributed file system and file meta-information management method thereof | |
CN107483640A (en) | A kind of buffering updating method, server and operation system | |
CN110109868A (en) | Method, apparatus and computer program product for index file | |
CN103440345B (en) | Distributed database extension method and distributed database extension system based on relational database | |
CN107451853A (en) | Method, apparatus, system and the storage medium that a kind of red packet distributes in real time | |
CN106126374A (en) | Method for writing data, method for reading data and device | |
CN108829787A (en) | A kind of meta-data distribution formula system | |
CN108667744A (en) | Flow control methods and device | |
CN109391487A (en) | A kind of configuration update method and system | |
CN109739684A (en) | The copy restorative procedure and device of distributed key value database based on vector clock | |
CN109597903A (en) | Image file processing apparatus and method, document storage system and storage medium | |
CN106681656A (en) | Dynamically-adjustable cloud storage system fault tolerance method | |
CN108366110A (en) | A kind of website data interactive system and method | |
US10817512B2 (en) | Standing queries in memory | |
CN105760391A (en) | Data dynamic redistribution method and system, data node and name node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171215 |