CN104023056B - The method and relevant device updated the data - Google Patents

The method and relevant device updated the data Download PDF

Info

Publication number
CN104023056B
CN104023056B CN201410241870.8A CN201410241870A CN104023056B CN 104023056 B CN104023056 B CN 104023056B CN 201410241870 A CN201410241870 A CN 201410241870A CN 104023056 B CN104023056 B CN 104023056B
Authority
CN
China
Prior art keywords
data
keyword
template
grid node
node
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.)
Active
Application number
CN201410241870.8A
Other languages
Chinese (zh)
Other versions
CN104023056A (en
Inventor
殷罗英
谢江帆
张建鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Hengtang Technology Industry Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410241870.8A priority Critical patent/CN104023056B/en
Publication of CN104023056A publication Critical patent/CN104023056A/en
Application granted granted Critical
Publication of CN104023056B publication Critical patent/CN104023056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention provides the method updated the data and relevant device, including:Receive the first template identifier ID and the first data parsing template that control node is sent;Receive the first new information that user equipment is sent;According to the first template ID and first data parsing template, it is determined that the data of the first keyword preserved;According to first new information and first data parsing template, updating the data in the data of first keyword is determined;Updating the data in the data of first keyword of preservation and the data of first keyword, updates the data of first keyword.In above-mentioned technical proposal, when the partial data in the data that grid node preserves updates, partial data can be only updated, improves the efficiency of data renewal and redundant synchronization.

Description

The method and relevant device updated the data
Technical field
Set the present embodiments relate to areas of information technology, and more particularly, to the method and correlation updated the data It is standby.
Background technology
Distributed memory network is a kind of new internal memory computing technique.User equipment can be by the industry of the application run Business running status and the data of the application are stored in distributed memory network.Distributed memory network can be provided based on key The distributed fast memory access ability of word value (key-value), the keyword institute can be quickly determined by search key Corresponding data (below can referred to as " data of keyword ").In such manner, it is possible to realize extensive processing business ability in real time.
Data access logic component based on key-value requires that data manipulation must be carried out with keyword (key) for unit.When When user equipment needs to be updated the data of the application of operation, the user equipment must be carried out by granularity of complete key Operation.When the data for needing to update are more, the more new capability of data and the performance of redundant synchronization will be remarkably decreased.
The content of the invention
The embodiment of the present invention provides the method updated the data and relevant device, reduces the traffic volume of data, and it is same to improve redundancy The performance of step.
In a first aspect, the embodiment of the present invention provides a kind of method updated the data, this method is performed by the first grid node, Wherein first grid node is the grid node where the primary data of the first keyword, this method in distributed memory network Including:Receive the first template identifier ID and the first data parsing template that control node is sent;Receive what user equipment was sent Updating the data in the data of the first new information, wherein first new information including the first keyword, first keyword With first template ID, first keyword corresponds to first template ID;According to the first template ID and the first data solution Template is analysed, determines the data for the first keyword that first grid node preserves;According to first new information and first number According to parsing template, updating the data in the data of first keyword is determined;According to the data of first keyword of preservation and Updating the data in the data of first keyword, update the data of first keyword.
With reference in a first aspect, in the first possible implementation, this method also includes:Determine first keyword Grid node where preliminary data;The first renewal number is sent to the grid node where the preliminary data of first keyword According to.
Second aspect, the embodiment of the present invention provide a kind of method updated the data, and this method is performed by control node, the party Method includes:The synchronization request message that user equipment is sent is received, the synchronization request message includes the first crucial character matrix plate and first Data parse template, and the wherein first crucial character matrix plate includes the attribute information of the first keyword, first data parsing template For constructing and parsing the data of first keyword;It is determined that the first template identifier corresponding to the first crucial character matrix plate ID;First template ID is sent to the user equipment;All grid nodes into distributed memory network send first mould Plate ID and first data parsing template.
The third aspect, the embodiment of the present invention provide a kind of method updated the data, and this method is performed by user equipment, the party Method includes:In the case of the data renewal of the first keyword, the first new information is determined, wherein first new information includes Updating the data in the data of first keyword, first keyword and and the first template mark corresponding to first keyword Know symbol ID;Determine the grid node where the primary data of first keyword in distributed memory network;This first is updated Message is sent to the grid node where the primary data of first keyword, in order to the primary data institute of first keyword Grid node update according to first new information data of first keyword.
With reference to the third aspect, in the first possible implementation, it is determined that before first new information, this method Also include:Synchronization request message is sent to control node, the synchronization request message includes the first crucial character matrix plate and the first data Template is parsed, the wherein first crucial character matrix plate includes the attribute information of first keyword, and first data parsing template is used In the data for constructing and parsing first keyword;Receive correspond to the first crucial character matrix plate the of control node transmission One template ID;According to first template ID, first keyword is determined.
With reference to the first possible implementation, in second of possible implementation, this according to first template ID, The first keyword is determined, including:According to first template ID, first keyword is created.
With reference to the first possible implementation, in the third possible implementation, this according to first template ID, The first keyword is determined, including:It will be bound corresponding to the instance key of the first crucial character matrix plate and first template ID;Really The instance key of fixed and first template ID bindings is first keyword.
Fourth aspect, the embodiment of the present invention provide a kind of grid node, and the grid node includes:Receiving unit, for connecing Receive the first template identifier ID and the first data parsing template that control node is sent;The receiving unit, it is additionally operable to receive user The first new information that equipment is sent, wherein first new information include updating the data, being somebody's turn to do in the data of the first keyword First keyword and first template ID, first keyword correspond to first template ID;Determining unit, for being connect according to this The first template ID and first data parsing template that unit receives are received, determines the first keyword that the grid node preserves Data;The determining unit, first new information and first data parsing template received according to the receiving unit is additionally operable to, Determine updating the data in the data of first keyword;Updating block, the data for first keyword according to preservation With updating the data in the data of first keyword, the data of first keyword are updated.
With reference to fourth aspect, in the first possible implementation, the determining unit, it is additionally operable to determine first key Grid node where the preliminary data of word;The grid node also includes:Transmitting element, for the standby of first keyword Grid node where data sends this and first updated the data.
5th aspect, the embodiment of the present invention provide a kind of control node, and the control node includes:Receiving unit, for connecing The synchronization request message that user equipment is sent is received, the synchronization request message includes the first crucial character matrix plate and the first data parsing mould Plate, the wherein first crucial character matrix plate include the attribute information of the first keyword, first data parsing template be used to construct and Parse the data of first keyword;Determining unit, for determining the first template identification corresponding to the first crucial character matrix plate Accord with ID;Transmitting element, for sending first template ID to the user equipment;The transmitting element, it is additionally operable to distributed memory All grid nodes in network send the first template ID and first data parsing template.
6th aspect, the embodiment of the present invention provide a kind of user equipment, and the user equipment includes:Determining unit, for In the case of the data renewal of first keyword, the first new information is determined, wherein first new information includes first pass Updating the data in the data of key word, first keyword and the first template identifier ID corresponding to first keyword;Should Determining unit, it is additionally operable to determine the grid node in distributed memory network where the primary data of first keyword;Send Unit, the first new information for being additionally operable to determine the determining unit are sent to the net where the primary data of first keyword Lattice node.
With reference to the 6th aspect, in the first possible implementation, the transmitting element, it is additionally operable to send to control node Synchronization request message, the synchronization request message include the first crucial character matrix plate and the first data parsing template, wherein first pass Key character matrix plate includes the attribute information of first keyword, and first data parsing template is used to constructing and parsing first key The data of word;The user equipment also includes:Receiving unit, for receive the control node transmission correspond to first keyword First template ID of template;The determining unit, it is additionally operable to, according to first template ID, determine first keyword.
With reference to the first possible implementation, in second of possible implementation, the determining unit, it is specifically used for According to first template ID, first keyword is created.
With reference to the first possible implementation, in the third possible implementation, the determining unit, it is specifically used for It will be bound corresponding to the instance key of the first crucial character matrix plate and first template ID, it is determined that being bound with first template ID Instance key be first keyword.
In above-mentioned technical proposal, the grid node in distributed memory network can parse according to new information and data Template will need the partial data updated to be updated in the data preserved, without all data are updated.Work as grid When partial data in the data that node preserves updates, the data of renewal can be only transmitted, the data without renewal can Not to be transmitted.So, the efficiency of data renewal and redundant synchronization can be improved.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention Accompanying drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the indicative flowchart of the method updated the data provided according to embodiments of the present invention.
Fig. 2 is the indicative flowchart of the method updated the data provided according to embodiments of the present invention.
Fig. 3 is the indicative flowchart of the method updated the data provided according to embodiments of the present invention.
Fig. 4 is the schematic diagram of the method updated the data provided according to embodiments of the present invention.
Fig. 5 is the structured flowchart of the grid node provided according to embodiments of the present invention.
Fig. 6 is the structured flowchart of the control node determined according to embodiments of the present invention.
Fig. 7 is the structured flowchart of the user equipment provided according to embodiments of the present invention.
Fig. 8 is the structural representation of the distributed memory network provided according to embodiments of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is the part of the embodiment of the present invention, rather than whole embodiments.Based on the present invention In embodiment, the every other implementation that those of ordinary skill in the art are obtained on the premise of creative work is not made Example, should all belong to the scope of protection of the invention.
Fig. 1 is the indicative flowchart of the method updated the data provided according to embodiments of the present invention.Method shown in Fig. 1 By the first grid node perform, wherein first grid node for the first keyword in distributed memory network primary data institute Grid node.
101, receive the first template identifier (Identifier, ID) and the first data parsing mould that control node is sent Plate.
102, the first new information that user equipment is sent is received, wherein first new information includes the first keyword Updating the data in data, first keyword and first template ID, first keyword correspond to first template ID.
103, template is parsed according to the first template ID and first data, determines first grid node preserves first The data of keyword.
104, according to first new information and first data parsing template, in the data for determining first keyword Update the data.
105, updating the data in the data of first keyword of preservation and the data of first keyword, update The data of first keyword.
Method according to Fig. 1, the grid node energy of the primary data of the first keyword in distributed memory network It is enough according to the new information for corresponding to the first keyword and to parse template corresponding to the data of the first keyword and be preserved It is updated corresponding to the partial data for needing to update in the data of the first keyword, without by corresponding to the institute of the first keyword There are data to be updated.When the partial data in the data of the first keyword updates, the data of renewal can be only transmitted, Data without renewal can not be transmitted.So, the efficiency of data renewal can be improved.
Further, the method shown in Fig. 1 can also include:Determine the grid section where the preliminary data of first keyword Point, send this to the grid node where the preliminary data of first keyword and first update the data, so as to first keyword Preliminary data where grid node the data of the first keyword of preservation are updated.So, when carry out be directed to first During the redundant synchronization of keyword, the data updated in the data of first keyword only can be sent to first keyword Node where preliminary data.The performance of redundant synchronization can get a promotion.
Fig. 2 is the indicative flowchart of the method updated the data provided according to embodiments of the present invention.Method shown in Fig. 2 Performed by control node.
201, the synchronization request message that user equipment is sent is received, the wherein synchronization request message includes the first crucial type matrix Plate and the first data parsing template, the wherein first crucial character matrix plate include the attribute information of the first keyword, first data Parsing template is used for the data for constructing and parsing first keyword.
202, it is determined that the first template ID corresponding to the first crucial character matrix plate.
203, send first template ID to the user equipment.
204, all grid nodes into distributed memory network send the first template ID and first data parsing Template.
The crucial character matrix plate and data that receive can be parsed template and sent by the method according to Fig. 2, control node To all grid nodes in distributed memory network.In addition, the control node can also determine template ID and by template ID It is sent to user equipment.User equipment can determine corresponding keyword according to template ID.In the distributed memory grid Grid node can according to the crucial character matrix plate and the data parsing template determine the keyword corresponding to data.
Fig. 3 is the indicative flowchart of the method updated the data provided according to embodiments of the present invention.Method shown in Fig. 3 Performed by user equipment.
301, in the case of the data renewal of first keyword, the first new information is determined, wherein first renewal Updating the data in the data of message including first keyword, first keyword and corresponding to first keyword first Template ID.
302, determine the grid node where the primary data of first keyword in distributed memory network.
303, the grid node first new information being sent to where the primary data of first keyword.
Method according to Fig. 3, when user equipment needs to change in distributed memory network the data preserved, the use Family equipment only needs for the data of renewal to be sent to the grid node where primary data, without this is updated the data correspondingly All data of keyword be sent to grid node where the primary data of the keyword.In other words, the side shown in Fig. 3 Method can only be sent to the grid node where the primary data of the keyword to the partial data in the data of keyword, without Need to resend all data of the keyword to the grid node where the primary data of the keyword.So, it is not required to Operation is updated by granularity of complete keyword, it is possible to reduce the traffic volume of data, improve the performance of redundant synchronization.
Further, before step 301 is performed, user equipment can also send synchronization request message to control node, connect The first template identifier (Identifier, ID) corresponding to the first crucial character matrix plate of control node transmission is received, according to First template ID, determines the first keyword, and wherein the synchronization request message includes the first crucial character matrix plate and the first data solution Template is analysed, the wherein first crucial character matrix plate includes the attribute information of the first keyword, and first data parsing template is used for structure Make and parse the data of first keyword.
Optionally, as one embodiment, this determines the first keyword according to first template ID, including:According to this One template ID, create first keyword.Specifically, the user equipment can call internal memory grid to create keyword application journey Sequence DLL (Application Programming Interface, API), be passed to first template ID, create this first Keyword.The data of the first keyword just created can be empty.
Optionally, as another embodiment, this determines the first keyword according to first template ID, including:Will be corresponding Bound in the instance key of the first crucial character matrix plate with first template ID, it is determined that the example with first template ID bindings Keyword is first keyword.In the case, the first crucial character matrix plate can be true according to the example critical character matrix plate Fixed.The instance key can be the keyword created in the user equipment.
Fig. 4 is the schematic diagram of the method updated the data provided according to embodiments of the present invention.Distributed memory network includes One control node and multiple grid nodes.
401, user equipment sends synchronization request message to control node, and the synchronization request message includes the first crucial type matrix Plate and the first data parsing template, the wherein first crucial character matrix plate include the attribute information of the first keyword, first data Parsing template is used for the data for constructing and parsing first keyword.
The attribute information of first keyword can be the size of keyword, the version number etc. of keyword.
402, the control node determines the first template ID corresponding to the first crucial character matrix plate.
403, the first crucial character matrix plate and first data parsing template are sent to distributed memory by the control node All grid nodes in network.
404, first template ID is sent to the user equipment by the control node.
405, the user equipment determines the first keyword according to first template ID.
Optionally, first key can be created according to first template ID as one embodiment, the user equipment Word.Specifically, the user equipment can call internal memory grid to create keyword API, be passed to first template ID, create this One keyword.Content in the first keyword just created can be empty.
Optionally, can be by corresponding to the example of the first crucial character matrix plate as another embodiment, the user equipment Keyword is bound with first template ID, it is determined that being first keyword with first template ID instance keys bound. In this case, the first crucial character matrix plate can be determined according to the example critical character matrix plate.
406, the user equipment can determine the first new information.
Specifically, the user equipment determines that first renewal disappears in the case of the data renewal of first keyword Updating the data in the data of breath, wherein first new information including first keyword, first keyword and this first Template ID.
407, the user equipment can be determined in the distributed memory network where the primary data of first keyword Grid node.
Specifically, the data of first keyword can be stored in multiple grid sections in the distributed memory network Point.A grid node in the plurality of grid node is the grid node where the primary data of first keyword, remaining Grid node be grid node where the preliminary data of first keyword.The user equipment can pass through uniformity Hash (hash) algorithm determines the grid node where primary data.For convenience of description, where the primary data of first keyword Grid node hereinafter referred to as the first grid node, the grid node where the preliminary data of first keyword is hereinafter referred to as Standby grid node.It is understood that the standby grid node shown in Fig. 4 can be multiple grid nodes.
408, first new information is sent to first grid node by the user equipment.
409, first grid node can according to the first template ID and first data parsing template determine this first The data for the first keyword that grid node preserves.
410, first grid node can also parse template according to first new information and first data, it is determined that should Updating the data in the data of the first keyword.
411, the data for first keyword that first grid node preserves according to first grid node and this first Updating the data in the data of keyword, update the data of the first keyword of first grid node preservation.
412, first grid node can also determine the grid node where the preliminary data of first keyword.
413, first new information is sent to where the preliminary data of first keyword by first grid node Grid node.
The preliminary data of first keyword can be stored in one or more grid nodes.First keyword it is standby It can determine what is preserved according to the first template ID and first data parsing template with each grid node where data The data of first keyword, template is parsed according to first new information and first data, determines the number of first keyword Updating the data in, updating the data in the data of the first keyword of the preservation and the data of first keyword, Update the data of the first keyword preserved.So, in the distributed memory network data of first keyword redundant digit According to also being updated.
Method according to Fig. 4, user equipment can construct crucial character matrix plate and the data solution corresponding to the keyword Analyse template.Grid node in distributed memory network can determine the pass according to the crucial character matrix plate and data parsing template The data of key word.When the data in user equipment update, the user equipment will can update in the data of keyword Data be sent to grid node where the primary data for the initial data that this in distributed memory network updates the data without The grid node all data of the keyword being sent to where the primary data of the keyword.Net where the primary data Lattice node can determine needs in the data of the keyword according to keyword and corresponding to the data parsing template of the keyword The data of renewal, and corresponding data are updated.Then, the number that the grid node where the primary data can update needs According to the grid node being sent to where preliminary data.Grid node where the preliminary data can also according to the keyword and Determine to need the data updated in the data of the keyword corresponding to the data parsing template of the keyword, and by corresponding data Renewal.So, in the data preserved in updating the distributed memory network, without the institute corresponding to the keyword by the data There are data to be updated, and the partial data for needing to update need to only be updated, data when being updated the data so as to reduce Transmission quantity, improve the efficiency updated the data.
Fig. 5 is the structured flowchart of the grid node provided according to embodiments of the present invention.Grid node shown in Fig. 5 can be held Each step shown in row Fig. 1.The first grid node that grid node shown in Fig. 5 can also be performed shown in Fig. 4 performs each Individual step.Grid node 500 can include receiving unit 501, determining unit 502 and updating block 503.
Receiving unit 501, for receiving the first template ID and the first data parsing template of control node transmission.
Receiving unit 501, it is additionally operable to receive the first new information that user equipment is sent, wherein the first new information bag Updating the data in the data of the first keyword, first keyword and the first template ID are included, first keyword corresponds to should First template ID.
Determining unit 502, for the first template ID received according to receiving unit 501 and first data parsing mould Plate, determine the data for the first keyword that grid node 500 preserves.
Determining unit 502, it is additionally operable to first new information and the first data solution received according to receiving unit 701 Template is analysed, determines updating the data in the data of first keyword.
Updating block 503, in the data of first keyword according to preservation and the data of first keyword Update the data, update the data of first keyword.
Grid node shown in Fig. 5 is the grid node of the primary data of the first keyword in distributed memory network, The grid node can will need the part number that updates according to new information in the data corresponding to the first keyword preserved According to being updated, without all data corresponding to the first keyword are updated.Portion in the data of the first keyword When divided data updates, the data of renewal can be only transmitted, the data without renewal can not be transmitted.So, can be with Improve the efficiency of data renewal.
Further, determining unit 502, it is additionally operable to determine the grid node where the preliminary data of first keyword. In this case, grid node 500 can also include transmitting element 504.Transmitting element 504, for the standby of first keyword This is sent with the grid node where data first to update the data.
Fig. 6 is the structured flowchart of the control node determined according to embodiments of the present invention.Control node shown in Fig. 6 can be held Each step shown in row Fig. 2.Control node shown in Fig. 6 can also perform each step that middle control node shown in Fig. 4 performs Suddenly.Control node 600 can include:Receiving unit 601, determining unit 602 and transmitting element 603.
Receiving unit 601, for receiving the synchronization request message of user equipment transmission, the synchronization request message includes first Crucial character matrix plate and the first data parsing template, the wherein first crucial character matrix plate include the attribute information of the first keyword, should First data parsing template is used for the data for constructing and parsing first keyword.
Determining unit 602, for determining the first template ID corresponding to the first crucial character matrix plate.
Transmitting element 603, for sending first template ID to the user equipment.
Transmitting element 603, be additionally operable to all grid nodes into distributed memory network send the first template ID and First data parse template.
The crucial character matrix plate and data that receive can be parsed template and be sent to distribution by the control node 600 shown in Fig. 6 All grid nodes in formula internal memory network.In addition, control node 600 can also determine template ID and be sent to template ID User equipment.User equipment can determine corresponding keyword according to template ID.Grid section in the distributed memory network Point can according to the crucial character matrix plate and the data parsing template determine the keyword corresponding to data.
Fig. 7 is the structured flowchart of the user equipment provided according to embodiments of the present invention.User equipment shown in Fig. 7 can be held Each step of method shown in row Fig. 3.User equipment shown in Fig. 7 can also carry out each step that user equipment performs in Fig. 4 Suddenly.User equipment 700 can include determining that unit 701 and transmitting element 702.
Determining unit 701, it is additionally operable in the case of the data renewal of first keyword, determine the first new information, Updating the data wherein in the data of first new information including first keyword, first keyword and corresponding to this First template ID of one keyword.
Determining unit 701, it is additionally operable to determine the net in distributed memory network where the primary data of first keyword Lattice node.
Transmitting element 702, the first new information for being additionally operable to determine determining unit 701 are sent to first keyword Grid node where primary data.
When user equipment 700 need change distributed memory network in preserve data when, user equipment 700 only need by The data of renewal are sent to the grid node where primary data, without this is updated the data into all of corresponding keyword Data are sent to the grid node where the primary data of the keyword.In other words, the user equipment 700 shown in Fig. 7 can be with The grid node being only sent to the partial data in the data of keyword where the primary data of the keyword, without inciting somebody to action All data of the keyword are resend to the grid node where the primary data of the keyword.This way it is not necessary to complete Whole keyword is that granularity is updated operation, it is possible to reduce the traffic volume of data, improves the performance of redundant synchronization.
Further, transmitting element 702, it is additionally operable to send synchronization request message, the synchronization request message bag to control node The first crucial character matrix plate and the first data parsing template are included, the wherein first crucial character matrix plate includes the attribute letter of the first keyword Breath, first data parsing template are used for the data for constructing and parsing first keyword.User equipment 700 can also include connecing Receive unit 703.Receiving unit 703, for receiving the first mould corresponding to the first crucial character matrix plate of control node transmission Plate ID.Determining unit 701, for first template ID received according to receiving unit 703, determine first keyword.
Optionally, as one embodiment, determining unit 701, specifically for according to first template ID, create this first Keyword.Specifically, determining unit 701, internal memory grid can be called to create keyword API, is passed to first template ID, wound Build first keyword.The data of the first keyword just created can be empty.
Optionally, as another embodiment, determining unit 701, specifically for the first crucial character matrix plate will be corresponded to Instance key and first template ID bind, it is determined that first being closed as this with the instance keys of first template ID bindings Key word.In the case, the first crucial character matrix plate can be determined according to the example critical character matrix plate.The instance key It can be the keyword created in the user equipment.
Fig. 8 is the structural representation of the distributed memory network provided according to embodiments of the present invention.Distribution shown in Fig. 8 A control node 600 as shown in Figure 6 and multiple grid nodes as shown in Figure 5 can be included in internal memory network 800 500。
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) or processor (processor) perform side described in each embodiment of the present invention The all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all should It is included within the scope of the present invention, therefore protection scope of the present invention should be defined by scope of the claims.

Claims (14)

  1. A kind of 1. method updated the data, it is characterised in that methods described is performed by the first grid node, wherein first net Lattice node is that the grid node where the primary data of the first keyword, methods described include in distributed memory network:
    Receive the first template identifier ID and the first data parsing template that control node is sent;
    The first new information that user equipment is sent is received, wherein first new information is included in the data of the first keyword Update the data, first keyword and the first masterplate ID, first keyword correspond to first template ID;
    According to the first template ID and first data parsing template, determine that first grid node preserves first closes The data of key word;
    According to first new information and first data parsing template, determine in the data of first keyword more New data;
    Updating the data in the data of first keyword of preservation and the data of first keyword, described in renewal The data of first keyword.
  2. 2. the method as described in claim 1, it is characterised in that methods described also includes:
    Determine the grid node where the preliminary data of first keyword;
    Described first is sent to the grid node where the preliminary data of first keyword to update the data.
  3. A kind of 3. method updated the data, it is characterised in that methods described is performed by control node, and methods described includes:
    The synchronization request message that user equipment is sent is received, the synchronization request message includes the first crucial character matrix plate and the first number According to parsing template, wherein the first crucial character matrix plate includes the attribute information of the first keyword, first data parse mould Plate is used for the data for constructing and parsing first keyword;
    It is determined that the first template identifier ID corresponding to the described first crucial character matrix plate;
    The first template ID is sent to the user equipment;
    All grid nodes into distributed memory network send the first template ID and first data parsing template, Wherein, all grid nodes include the first grid node, and first grid node is first in distributed memory network Grid node where the primary data of keyword, the first template ID and first data parsing template are used for described the One grid node determines the data of first keyword, and the data according to first keyword and first keyword Data in update the data the data for updating first keyword, it is described update the data be first grid node according to The first data parsing template and the first new information determination received from the user equipment, first new information Updating the data in the data including the first keyword, first keyword and the first masterplate ID, described first closes Key word corresponds to the first template ID.
  4. A kind of 4. method updated the data, it is characterised in that methods described is performed by user equipment, and methods described includes:
    In the case of the data renewal of the first keyword, the first new information is determined, wherein first new information includes Updating the data in the data of first keyword, first keyword and the first mould corresponding to first keyword Panel sign accords with ID;
    The first grid node is determined, first grid node is the primary number of the first keyword described in distributed memory network According to the grid node at place;
    First new information is sent to first grid node, in order to which first grid node is according to described The first data parsing template that one new information updates and received from control node is determined in the data of first keyword Update the data, and according to the data of first keyword of preservation and renewal first keyword that updates the data Data, wherein, the data of first keyword are first grid nodes according to the first template ID and described first Data parsing template determines.
  5. 5. method as claimed in claim 4, it is characterised in that it is determined that before first new information, methods described is also Including:
    Synchronization request message is sent to control node, the synchronization request message includes the first crucial character matrix plate and the first data solution Template is analysed, wherein the first crucial character matrix plate includes the attribute information of first keyword, first data parse mould Plate is used for the data for constructing and parsing first keyword;
    Receive the first template ID corresponding to the described first crucial character matrix plate that the control node is sent;
    According to the first template ID, first keyword is determined.
  6. 6. method as claimed in claim 5, it is characterised in that it is described according to the first template ID, the first keyword is determined, Including:
    According to the first template ID, first keyword is created.
  7. 7. method as claimed in claim 5, it is characterised in that it is described according to the first template ID, the first keyword is determined, Including:
    It will be bound corresponding to the instance key of the described first crucial character matrix plate and the first template ID;
    It is determined that it is first keyword with the first template ID instance keys bound.
  8. 8. a kind of grid node, it is characterised in that the grid node includes:
    Receiving unit, for receiving the first template identifier ID and the first data parsing template of control node transmission;
    The receiving unit, it is additionally operable to receive the first new information that user equipment is sent, wherein the first new information bag Include updating the data in the data of the first keyword, first keyword and the first template ID, first keyword Corresponding to the first template ID;
    Determining unit, template is parsed for the first template ID received according to the receiving unit and first data, Determine the data for the first keyword that the grid node preserves;
    The determining unit, it is additionally operable to first new information according to receiving unit reception and the first data solution Template is analysed, determines updating the data in the data of first keyword;
    Updating block, for the renewal in the data of first keyword according to preservation and the data of first keyword Data, update the data of first keyword.
  9. 9. grid node as claimed in claim 8, it is characterised in that
    The determining unit, it is additionally operable to determine the grid node where the preliminary data of first keyword;
    The grid node also includes:
    Transmitting element, the first renewal number is sent for the grid node where the preliminary data to first keyword According to.
  10. 10. a kind of control node, it is characterised in that the control node includes:
    Receiving unit, for receiving the synchronization request message of user equipment transmission, it is crucial that the synchronization request message includes first Character matrix plate and the first data parsing template, wherein the first crucial character matrix plate includes the attribute information of the first keyword, it is described First data parsing template is used for the data for constructing and parsing first keyword;
    Determining unit, for determining the first template identifier ID corresponding to the described first crucial character matrix plate;
    Transmitting element, for sending the first template ID to the user equipment;
    The transmitting element, all grid nodes being additionally operable into distributed memory network send the first template ID and institute The first data parsing template is stated, wherein, all grid nodes include the first grid node, and first grid node is point Grid node in cloth internal memory network where the primary data of the first keyword, the first template ID and first data Parsing template is used for the data that first grid node determines first keyword, and according to the number of first keyword The data of first keyword are updated according to updating the data in the data with first keyword, described update the data is institute It is true to state the first new information that the first grid node parses template according to first data and received from the user equipment Fixed, first new information includes updating the data in the data of the first keyword, first keyword and described the One masterplate ID, first keyword correspond to the first template ID.
  11. 11. a kind of user equipment, it is characterised in that the user equipment includes:
    Determining unit, in the case of being updated in the data of the first keyword, the first new information is determined, wherein described first Updating the data in the data of new information including first keyword, first keyword and closed corresponding to described first First template identifier ID of key word;
    The determining unit, it is additionally operable to determine the first grid node, first grid node is institute in distributed memory network State the grid node where the primary data of the first keyword;
    Transmitting element, it is additionally operable to first new information being sent to first grid node, in order to first net The first data parsing template that lattice node updates according to first new information and received from control node determines described the Updating the data in the data of one keyword, and according to the data of first keyword of preservation and described update the data renewal The data of first keyword, wherein, the data of first keyword are first grid nodes according to described first What template ID and first data parsing template determined.
  12. 12. user equipment as claimed in claim 11, it is characterised in that
    The transmitting element, it is additionally operable to send synchronization request message to control node, the synchronization request message includes first and closed Key character matrix plate and the first data parsing template, wherein the attribute that the first crucial character matrix plate includes first keyword is believed Breath, the first data parsing template are used for the data for constructing and parsing first keyword;
    The user equipment also includes:
    Receiving unit, the first template ID corresponding to the described first crucial character matrix plate sent for receiving the control node;
    The determining unit, it is additionally operable to, according to the first template ID, determine first keyword.
  13. 13. user equipment as claimed in claim 12, it is characterised in that the determining unit, specifically for according to described One template ID, create first keyword.
  14. 14. user equipment as claimed in claim 13, it is characterised in that the determining unit, specifically for institute will be corresponded to The instance key and the first template ID for stating the first crucial character matrix plate are bound, it is determined that the reality with the first template ID bindings Example keyword is first keyword.
CN201410241870.8A 2014-05-30 2014-05-30 The method and relevant device updated the data Active CN104023056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410241870.8A CN104023056B (en) 2014-05-30 2014-05-30 The method and relevant device updated the data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410241870.8A CN104023056B (en) 2014-05-30 2014-05-30 The method and relevant device updated the data

Publications (2)

Publication Number Publication Date
CN104023056A CN104023056A (en) 2014-09-03
CN104023056B true CN104023056B (en) 2017-11-24

Family

ID=51439625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410241870.8A Active CN104023056B (en) 2014-05-30 2014-05-30 The method and relevant device updated the data

Country Status (1)

Country Link
CN (1) CN104023056B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815327A (en) * 2016-12-29 2017-06-09 南京欣网互联信息技术有限公司 One kind is for moving operation data resource regeneration method
CN108874649B (en) * 2017-05-08 2021-08-17 中兴通讯股份有限公司 Method and device for generating automatic test script and computer equipment thereof
CN112667495A (en) * 2020-12-08 2021-04-16 上海纳恩汽车技术股份有限公司 Automatic test case keyword management system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323947A (en) * 2011-09-05 2012-01-18 东北大学 Generation method of pre-join table on ring-shaped schema database
CN102831223A (en) * 2012-08-23 2012-12-19 大唐移动通信设备有限公司 Management method and system of distributed databases

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8738801B2 (en) * 2009-07-14 2014-05-27 Qualcomm Incorporated Methods and apparatus for updating index information while adding and updating documents in a distributed network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323947A (en) * 2011-09-05 2012-01-18 东北大学 Generation method of pre-join table on ring-shaped schema database
CN102831223A (en) * 2012-08-23 2012-12-19 大唐移动通信设备有限公司 Management method and system of distributed databases

Also Published As

Publication number Publication date
CN104023056A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
CN101009516B (en) A method, system and device for data synchronization
US8344916B2 (en) System and method for simplifying transmission in parallel computing system
CN103019960B (en) Distributed caching method and system
CN110599169B (en) Data processing method, device, terminal and medium
US8271433B2 (en) Method and apparatus for providing automatic controlled value expansion of information
CN106599104A (en) Mass data association method based on redis cluster
US9569285B2 (en) Method and system for message handling
CN111723298A (en) Social network community discovery method, device and medium based on improved label propagation
US20190018878A1 (en) Dual overlay query processing
CN104023056B (en) The method and relevant device updated the data
CN104255011A (en) Cloud computing secure data storage
CN105045790A (en) Graph data search system, method and device
CN106330788B (en) Message fragment transmission method and device
Kim et al. SELCOM: Selective compression scheme for lightweight nodes in blockchain system
CN111639080A (en) Data processing method and device, node equipment and storage medium
CN108062235A (en) Data processing method and device
CN104346426A (en) Shared data de-duplication method and system
CN105528365A (en) Method and device for managing executable files
CN109213565A (en) Management method, relevant device and the storage medium of isomery virtual computing resource
CN102929657A (en) Internal memory data sharing method, device and system
JP2009038416A (en) Multicast communication system, and group key management server
CN114328464A (en) Data maintenance method, device, equipment and readable medium for distributed storage equipment
CN103970860B (en) Method, device and system for processing data
CN103258016B (en) Data transmission method and system
CN104572432B (en) A kind of no chain table managing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201103

Address after: 625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee after: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20201126

Address after: 213000 No. 11 Qingyang North Road, Tianning District, Changzhou, Jiangsu

Patentee after: Changzhou Hong quantity Electronic Technology Co.,Ltd.

Address before: 625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee before: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220822

Address after: Tianning District Hehai road 213000 Jiangsu city of Changzhou province No. 9

Patentee after: Changzhou Tianning Communication Technology Industrial Park Co.,Ltd.

Address before: 213000 No. 11 Qingyang North Road, Tianning District, Changzhou City, Jiangsu Province

Patentee before: Changzhou Hong quantity Electronic Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221229

Address after: Tianning District Hehai road 213000 Jiangsu city of Changzhou province No. 9

Patentee after: Changzhou Hengtang Technology Industry Co.,Ltd.

Address before: Tianning District Hehai road 213000 Jiangsu city of Changzhou province No. 9

Patentee before: Changzhou Tianning Communication Technology Industrial Park Co.,Ltd.

TR01 Transfer of patent right