CN107104816A - A kind of information change monitoring method and device - Google Patents

A kind of information change monitoring method and device Download PDF

Info

Publication number
CN107104816A
CN107104816A CN201710131645.2A CN201710131645A CN107104816A CN 107104816 A CN107104816 A CN 107104816A CN 201710131645 A CN201710131645 A CN 201710131645A CN 107104816 A CN107104816 A CN 107104816A
Authority
CN
China
Prior art keywords
block
node
information
distributed
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710131645.2A
Other languages
Chinese (zh)
Inventor
陈忻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710131645.2A priority Critical patent/CN107104816A/en
Publication of CN107104816A publication Critical patent/CN107104816A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The disclosure provides a kind of information change monitoring method and device, and wherein method includes:Create a new block in block chain, the new block is used to record the node modification information occurred on node, the new block includes block head and block main body, the block head includes the head cryptographic Hash for the upper block being connected in the block chain with new block, and the block main body includes change time and changed content;By the node modification information of the new block, other distributed nodes in distributed system are synchronized to, to cause other described distributed nodes to update the block chain.The disclosure improves the reliability of information storage.

Description

A kind of information change monitoring method and device
Technical field
This disclosure relates to network technology, more particularly to a kind of information change monitoring method and device.
Background technology
Many internet systems are all designed using distributed structure/architecture, and system includes many distributed nodes, these nodes Can dispersedly it configure on different devices.Can be configured with each distributed node the related information of system running environment or Person's service related information, for example, business configuration file, operating system configuration file etc..Answered for stability requirement is higher With scene, the configuration information on each distributed node is also required to keep certain stability, if node configuration occur it is artificial or Changed caused by other factors, it would be possible to cause system operation mistake.
, can be by the management and control node of a centralization, for monitoring what is occurred on each distributed node in correlation technique Configuration change.During monitoring, management and control node can wait the notice of node by way of listening port.If node is found Oneself occur information change, can notify to management and control node, the changed content occurred by management and control nodes records and memory node.But It is, current change monitoring scheme that, when management and control node failure, whole monitoring will be caused not run.
The content of the invention
In view of this, the disclosure provides a kind of information change monitoring method and device, to improve the reliability of monitoring change.
Specifically, the disclosure is achieved by the following technical solution:
First aspect changes monitoring method there is provided a kind of information, and methods described includes:
A new block in block chain is created, the new block is used to record the node modification information occurred on node, The new block includes block head and block main body, and the block head includes being connected the areas of Shang mono- with new block in the block chain The head cryptographic Hash of block, the block main body includes change time and changed content;
By the node modification information of the new block, other distributed nodes in distributed system are synchronized to, to cause Other described distributed nodes update the block chain.
Second aspect changes supervising device there is provided a kind of information, and described device includes:
Block update module, for creating a new block in block chain, the new block is used for minute book node The node modification information of generation, the new block includes block head and block main body, and the block head is included in the block chain The head cryptographic Hash for the upper block being connected with new block, the block main body includes change time and changed content;
Block synchronization module, for by the node modification information of the new block, being synchronized to other in distributed system Distributed node, to cause other described distributed nodes to update the block chain.
The information change monitoring method and device of the disclosure, by the way that when occurring information change, corresponding block will be changed Send to the storage of other distributed nodes so that even if some node failure, also do not interfere with the storage of changed content, other sections Still be stored with same changed content on point, so as to improve the reliability of information storage;Also, this example changes each time The form for employing block chain is stored, and this storage mode not only records each change one block of correspondence, but also Each block is connected according to change time sequencing so that change can recall, is more convenient the investigation analysis of carry out problem, improves The efficiency of monitoring analysis.
Brief description of the drawings
Fig. 1 is a kind of configuration diagram for distributed system that the embodiment of the present disclosure is provided;
Fig. 2 is the flow chart that a kind of information that the embodiment of the present disclosure is provided changes monitoring method;
Fig. 3 is a kind of block chain form schematic diagram that the embodiment of the present disclosure is provided;
Fig. 4 is a kind of block chain form schematic diagram that the embodiment of the present disclosure is provided;
Fig. 5 is the flow chart that a kind of information that the embodiment of the present disclosure is provided changes monitoring method;
Fig. 6 is a kind of flow chart for synchronous block that the embodiment of the present disclosure is provided;
Fig. 7 is a kind of block chain form schematic diagram that the embodiment of the present disclosure is provided;
Fig. 8 is the flow chart that a kind of information that the embodiment of the present disclosure is provided changes monitoring method;
Fig. 9 is a kind of block chain form schematic diagram that the embodiment of the present disclosure is provided;
Figure 10 is the structural representation that a kind of information that the embodiment of the present disclosure is provided changes supervising device;
Figure 11 is the structural representation that a kind of information that the embodiment of the present disclosure is provided changes supervising device.
Embodiment
Fig. 1 illustrates a distributed system, and many internet products are all designed using distributed structure/architecture, for example, one The Internet, applications, the operation of the application needs the cooperation of multiple modules, and the plurality of module can disperse to be deployed in many shown in Fig. 1 , can be with for example, being deployed with distributed node 11 to distributed node 14 on the application, different nodes on individual distributed node Dispose the disparate modules or equal modules of the application.Fig. 1 only illustrates part of nodes, it is actual implement in number of nodes can be with It is more.
The relevant information of application operation can be disposed on node, for example, the operating system related to application runtime environment Configuration file or service related information such as business configuration file etc..Reliability of operation is applied in order to ensure, generally Nodal information on distributed node needs to keep certain stability, it is impossible to arbitrarily change.Change to nodal information is carried out Monitoring is also extremely important, changes and monitors particularly with the information in the distributed system of above-mentioned Fig. 1 examples, is wrapped in distributed system Containing a fairly large number of distributed node, it is an important content that these nodes are carried out with unified change monitoring, monitoring change There is record to inquire about when operation troubles can be allowd to occur, fast and easy investigation is solved the problems, such as.A kind of letter that the disclosure is provided Breath change monitoring method, by for being monitored note to the information change on each distributed node in above-mentioned distributed system Record, the information monitored, which becomes, to be less limited, the change for the running environment configuration information that for example can be used on monitor node.
In disclosed method, each distributed node in distributed system can perform identical information change prison Prosecutor method, for example, information change supervising device can be deployed on a distributed node, the node can just perform this public affairs The monitoring method opened.As follows by taking one of distributed node as an example, to describe the information change monitoring method of the disclosure.With reference to Shown in Fig. 2, this method can include:
In step 201, a new block in block chain is created, the new block is used for what is occurred on minute book node Node modification information.
Wherein, the content to be monitored can be default, self-defined according to demand can realize, such as, can monitor The change of configuration information:Whether business configuration file, operating system configuration file, specific instruction are performed.According to default Whether monitoring content, monitoring content monitored on this node changes.
In this example, block can be an information collection, the information related for recording this change.In one block Information can include block head and block main body, wherein, upper one be connected in block chain with new block can be included in block head Contacted between each block in the head cryptographic Hash of block, block chain with head cryptographic Hash, the block main body includes change Time and changed content.
For example, the partial information that can include in one block of following example:
Block generates timestamp:1471787968010
Change timestamp:1471787967226
Changed content Key:File/etc/hosts
Changed content Value:-202.101.2.3 www.sample.com
Wherein, changed content Key and Value, can user-defined format specification according to demand, in above-mentioned example File/etc/hosts and Value content.
In addition, extended field can also be included in block, used for future extension.Each field in block can be set Field contents length limit is put, e.g., data length acquiescence is not more than 2KB, to save memory space.
, can be by the change time in block and changed content (when there is extended field, also including extension in this example Field), referred to as block information.
In one example, the distributed node of the monitoring method of this flow is performed, can be it is determined that occurring on this node When information is changed, a new block in block chain is created.And it can include this in the block main body of the new block created The change time of change and changed content.In another example, the distributed node of the monitoring method of this flow is performed, also may be used So that every a regular time section, the current time for creating new block can be recorded by creating in a new block, the new block All change records occurred in a period before.In following example, be with determine on this node send out It is described during raw information change exemplified by block of the record comprising this modification information.
For example, with reference to Fig. 3 example, on the distributed node of this example, all one areas of corresponding record are changed each time Block, then repeatedly after change, will record the form of " block chain " (Block chain) on node.Block chain is by multiple areas The structure that block is linked up in order.In the block chain, each block can be sequentially connected according to the order of change time.
As shown in figure 3, by taking the block chain that three blocks are constituted as an example, block C is block B " a upper block ", and block B is Block A " a upper block ".According to the change time, block C is the change occurred earliest, and block A is the change occurred recently, area The time of origin order of consecutive reaction these blocks correspondence change between each block in block chain.
In this example, when this block to be added to the block chain on this node, the block of this change can be added in area Last of block chain, it is the information change of newest generation to represent this.Block chain can be stored in flat on distributed node In file or database file (such as Google Level DB).
In step 202., by the node modification information of the new block, other being synchronized in distributed system are distributed Node, to cause other described distributed nodes to update the block chain.
The block of this change generation can also be synchronized to other distributed nodes in distributed system by this node, For example, when information change occurs for distributed node 11 shown in Fig. 1, it can will change corresponding block and pass through multicast or broadcast Mode, is synchronized to distributed node 12, distributed node 13 and distributed node 14, also to store the area on these nodes Block.
In this example, each distributed node in distributed system can carry out the flow and method shown in Fig. 2, when So, the node for participating in monitoring can be whole nodes or part of nodes in the system.For example, four nodes shown in Fig. 1 In, can all participate in monitoring, can also part of nodes participate in monitoring, as long as take part in monitoring, the distributed node just can be with Perform Fig. 2 flow.
In addition, when block is synchronized to other nodes by this node, other distributed nodes after block is received, In the block chain that the block can be added to oneself storage.Such as, the corresponding block of change on distributed node 11, in hair Deliver to after distributed node 12, the distributed node 12 can also add the block at the end in the block chain of its this node.
In this example, when information change occurs on one of node in distributed system, this is corresponded on the node The block of secondary change will also be synchronized to other distributed nodes, each node so formed in a kind of distributed storage, system On be all stored with identical block chain, and each block for including of the block chain is the change on each node in the system More.
For example:In block chain shown in Fig. 3, it is assumed that block A is the change on distributed node 11, block B is point Change on cloth node 12, block C is the change on distributed node 13.If four distributed nodes in Fig. 1 are joined With monitoring, then the block chain being all stored with shown in Fig. 3 on this four nodes.For example, this block chain include each Block is changed, can be the corresponding each configuration change of some internet product, and the internet product employs distribution Framework, these changes are the change occurred on each distributed node respectively.
This example information change monitoring method, by occur information change when, will change corresponding block send to Other distributed nodes are stored so that even if some node failure, also do not interfere with the storage of changed content, on other nodes still So be stored with same changed content, so as to improve the reliability of information storage;Also, this example employs each change The form of block chain is stored, and this storage mode not only records each change one block of correspondence, but also according to change More each block is connected by time sequencing so that change can recall, and is more convenient the investigation analysis of carry out problem, improves monitoring The efficiency of analysis.
In another example, in the monitoring method of the disclosure, the Hash generated in block chain according to block information is utilized Value, is also prevented from changed content and is maliciously tampered, it is ensured that the correct storage of changed content.As shown in figure 4, illustrating block chain In wherein three blocks., can be according to the block information in block 32 (for example, can include by taking block 32 as an example:During change Between stamp, changed content Key, changed content Value, extended field) carry out Hash, generation one cryptographic Hash, i.e. block 32 in Head cryptographic Hash:cb4e5208b4cd87268b208e49452ed6e89a68e0b8.Similarly, can be according to block 33 and block 34 In block information, generate corresponding head cryptographic Hash.
The linking between each block in block chain, can be realized by cryptographic Hash, for example, can be by block chain In the cryptographic Hash of a upper block, the block for being arranged on this change.Still with Fig. 4 examples, in block 33, in addition to one " the head cryptographic Hash of a upper block ", the cryptographic Hash is the head cryptographic Hash in block 32.Pass through " the head cryptographic Hash of a upper block " Can realize between block it is adjacent review, such as, a upper block for the block 34 in block chain can be by block 34 Comprising " the head cryptographic Hash of a upper block ", find the corresponding block 33 of the cryptographic Hash.
The setting of cryptographic Hash can prevent changed content to be tampered, and flow as shown in Figure 5, the flow can be illustrated how Block information is distorted in detection:
In step 501, the block information to some block in block chain is obtained, the renewal letter after modifying Breath.
For example, for some distributed node, it is assumed that the block information of some block in block chain is maliciously repaiied Change, such as change changed content Value, then node can receive amended block information, be properly termed as updating letter Changed content Value in breath, the fresh information changes, and other information is unchanged.
In step 502, Hash is carried out according to fresh information, obtains the new cryptographic Hash of this block of correspondence.
For example, change timestamp that can be in fresh information, changed content Key, changed content Value and extension word Section, carries out Hash and obtains new cryptographic Hash.
In step 503, " the upper block head cryptographic Hash " in next block in new cryptographic Hash and block chain is carried out Compare, if both are different, it is determined that occur information and distort.
In this step, described " next block " is to point to currently by the block of modification block, such as, if currently repaiied The block changed is the block 33 in Fig. 4, then " next block " is the block 34 in block chain.According in block 33 it is amended more Fresh information, the head cryptographic Hash obtained in new cryptographic Hash, that is, block 33 is updated.This step can be by the block 33 New head cryptographic Hash, is compared with " the upper block head cryptographic Hash " that block 34 includes, and judges whether both are identical.Also, by After the information of block 33 is changed, head Hash also can be different relative to before, then the judged result of this step is different for both. Now, node can confirm that block information is to be tampered.
In step 504, modification of the refusal to block information.
After confirming that block information is tampered, distributed node can refuse the modification of absolute information, such as, above-mentioned example In, the modification to information in block 33 can be refused, the information generated during initial change is remained in that.
In the present embodiment, distributed node can be by performing this method, it is to avoid the block information of storage is arbitrarily distorted; As long as the block information in block chain is changed, node just can be by comparing the head Hash of block with being stored in its next block Corresponding Hash, it is to be tampered to determine information, so as to refuse the modification, so ensures that the block information in block chain, All automatically generated when nodal test is changed to generation information, rather than artificially distort, improve information change storage Reliability.
In another example, the cryptographic Hash in block information can also receive other nodes synchronous applied to node Block information when, with reference to shown in Fig. 6, the Fig. 6 illustrates the processing that node receives synchronous block.
In step 601, the block that other distributed nodes in distributed system are sent is received.
For example, it is assumed that the block of its this node is synchronized to distributed node 12 by the distributed node 11 in Fig. 1, then point Cloth node 12 will receive the synchronous block.In this example, synchronous block can be including in change timestamp, change Holding Key, changed content Value, extended field, head Hash, block generation timestamp etc. information, i.e. distributed node 11 can be by Content in generated block is all sent to node 12.
In step 602, the block information in block carries out Hash.
For example, with reference to Fig. 4 example, it is assumed that the block that distributed node 12 is received is block 34, then distribution section Point 12 can be in block 34 change timestamp, changed content Key, changed content Value, extended field, generation correspondence Cryptographic Hash.
In step 603, the cryptographic Hash that the cryptographic Hash and block of calculating include is compared, and determine both one Cause.
In this step, distributed node 12 can be by the head cryptographic Hash in the cryptographic Hash generated in step 602, with block 34 It is compared, judges whether both are identical;In this example, each distributed node uses identical hash algorithm.If it is different, Show to be tampered during block information is sent, then distributed node 12 can take appropriate measures, such as may be used To refuse the block chain that the block is added to this node, it is possible to which distribution of notifications formula node 11 or other default alarms are set It is standby.If the cryptographic Hash calculated is identical with the head cryptographic Hash in block 34, it can determine that block information is correct, continue executing with 604。
In step 604, synchronous block is added in the block chain of this node.
For example, may refer to Fig. 4 example, distributed node 12, can be according to change after it is determined that the data of block 34 are correct More timestamp, according to time order and function order, block 34 is added in block chain, and in the back of block 33, block 34 Upper block head Hash is the head cryptographic Hash of block 33.
The method of this example, distributed node can add the block when receiving the block of other nodes synchronization Into the block chain of this node, the renewal to this node block chain is realized.Each distributed node in distributed system, not only Oneself memory block chain of energy, but also can be by synchronous to other nodes so that other nodes also store same block chain, So that the changed content that the block chain is formed in distributed storage, distributed system in systems can be by multiple distributions Node is safeguarded jointly, and the storage to system information will not be influenceed because of exiting for some node.
In another example, a distributed node is when receiving the block of other nodes synchronization, it may occur however that such as Under scene:Within the same extremely short time, multiple nodes are changed simultaneously, thus cause the correspondence of this multiple node generation Each block of change, points to a same upper block.If broadcast or multicast in distributed network, these areas are received Some distributed node of block it finds that, it have received the synchronous block of the same block of at least two sensings.As shown in Figure 7 Example, newly-generated block is block 34, but two in Fig. 7 block 34 can be created by different nodes respectively, be this Information change almost occurs simultaneously for two nodes, just causes two blocks 34 occur.
The distributed node of above-mentioned two block 34 is received, the method that can perform Fig. 8 examples is handled:
In step 801, it is determined that receiving at least two synchronous blocks, and " the Shang Yiqu at least two block Build cryptographic Hash " is identical.
For example, with reference to shown in Fig. 7, " the upper block head cryptographic Hash " in two blocks 34 in Fig. 7 is identical, i.e., the two Block 34 all points to a block in identical.
In step 802, the change time at least two block, time-sequencing is carried out.
In this step, node can be ranked up according to the change timestamp in two blocks 34, can be known by sequence Which block of road is first changed in time, and which is changed afterwards in time.Such as, two blocks 34 in Fig. 7, warp Crossing time-sequencing can obtain, and change timestamp first updates for 1471787967378 block 34, and changes timestamp and be Updated after 1471787967226 block 34.
In step 803, time block earlier is charged first in the block chain of this node.
With reference to shown in Fig. 9, the block 34 that timestamp is 1471787967378 can will be changed, be charged first to this node In block chain.When adding block chain, the Information invariability in the block 34.
In step 804, by time later block, after be added in block chain, the and " Shang Yiqu changed in block The head Hash of a upper block in the block chain that build cryptographic Hash " is connected for it.
Wherein, the block 34 that change timestamp is 1471787967226, it is rear to add block chain, as shown in figure 9, the block 34 will add behind change timestamp is 1471787967378 block 34, and block identification 34 can be revised as into 35, As block 35.Further, since its upper block pointed to is also changed, it is necessary to by " the upper block head in block 35 Cryptographic Hash " is by the head Hash of original block 33, and the head cryptographic Hash for the block 34 being changed in Fig. 9, other information is constant.
Change timestamp identical situation may occur under minimum probability, at this point it is possible to respectively according to each block In block information carry out Hash, according to the ascending order of cryptographic Hash, the less block of cryptographic Hash is charged first to block In chain, it is added to after the larger block of cryptographic Hash in block chain.
The method of this example, even if multiple nodes are changed within a short period of time, also ensure that block chain by just True renewal, ensures the accuracy of information in block chain so that the information in block chain can be first according to the renewal of block information Linking is sequentially ranked up afterwards.
In addition, above-mentioned several embodiments of the method are described in a distributed system, between each distributed node how The distributed storage to the information change in system is realized, and ensures the reliable accurate of storage information.When a node is newly added , can be on one of distributed system other distributed nodes during the distributed system, synchronous block chain.Such as, if Certain distributed node is newly added, and existing node in a distributed system can be configured for the node and is synchronized, new node The synchronous existing block chain data (for example, can the mode downloading data based on P2P, such as BT downloads) from existing node.And And, the new node can add broadcast or multicast network, open change monitoring, then can perform above-mentioned information change monitoring side Method.
The information change monitoring method of the disclosure, can be applied in all kinds of distributed system scenes, such as, Ke Yiying The scene for having high Change risk for line, pre- issue etc. is monitored to information change.In the method, can be by being distributed Each distributed node of formula system preserves unified block chain, and the data of information change can be recorded very by decentralization In multinode, safeguarded jointly by multiple nodes, not because a certain node is exited and influences the storage to Information change.Once it is a certain Node finds information change, the block of the correspondence change of generation can be broadcast or multicast to each node for participating in monitoring, respectively Node is jointly by the change synchronized update into block chain, it is not necessary to manually intervened, distributed autonomous.All change records Based on the change time, preserved using the structure of block chain so that change history can be recalled, facilitate carry out problem investigation point Analysis.And block chain also uses hash algorithm, it is ensured that change data can not be distorted, once block chain data are distorted, due to Hash Value can change, and can be found by the matching of simple Hash so that information storage is relatively reliable.
In order to realize that above-mentioned information changes monitoring method, the disclosure additionally provides a kind of information change supervising device, such as Shown in Figure 10, the device can include:
Block update module 1001, for creating a new block in block chain, the new block is used to record this section The node modification information occurred on point, the new block includes block head and block main body, and the block head includes the block The head cryptographic Hash for the upper block being connected in chain with new block, the block main body includes change time and changed content;
Block synchronization module 1002, for being synchronized to the node modification information of the new block in distributed system Other distributed nodes, to cause other described distributed nodes to update the block chain.
In one example, block update module 1001, when for creating a new block in block chain, including: When it is determined that information change occurs on this node, the new block is created;And the block main body includes the change of this change More time and changed content.
In one example, as shown in figure 11, the device can also include:Block reception module 1003.
Block reception module 1003, the block for receiving the transmission of other distributed nodes in distributed system;
Block update module 1001, the block information being additionally operable in the block according to block reception module reception is carried out Hash, and the cryptographic Hash included with the block is compared, if unanimously, the block to be added to the block of this node In chain.
In one example, block update module 1001, is additionally operable to:If receiving at least two blocks, described at least two Individual block is sent by other different distributed nodes respectively, and a corresponding upper block is identical;Then according to described at least two Change time-sequencing in block, at least two block is added on the block chain of this node according to described sort.
In one example, block update module 1001, is additionally operable to:If at least two blocks received, it is described at least Two blocks are sent by other different distributed nodes respectively, and a corresponding upper block is identical;And if it is described at least The change time in two blocks is also identical, then block information respectively in each block carries out Hash, according to cryptographic Hash Ascending order, correspondence block is successively added the block chain of this node.
Device or module that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, or by with The product of certain function is realized.A kind of typically to realize that equipment is computer, the concrete form of computer can be personal meter Calculation machine, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media player, navigation are set It is any several in standby, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various modules during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each module can be realized in same or multiple softwares and/or hardware when open.
The preferred embodiment of the disclosure is the foregoing is only, not to limit the disclosure, all essences in the disclosure God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of disclosure protection.

Claims (13)

1. a kind of information changes monitoring method, it is characterised in that methods described includes:
A new block in block chain is created, the new block is used to record the node modification information occurred on node, described New block includes block head and block main body, and the block head includes the upper block being connected in the block chain with new block Head cryptographic Hash, the block main body includes change time and changed content;
By the node modification information of the new block, other distributed nodes in distributed system are synchronized to, it is described to cause Other distributed nodes update the block chain.
2. according to the method described in claim 1, it is characterised in that
The new block created in block chain, including:When it is determined that information change occurs on this node, create described new Block;And the block main body includes change time and the changed content of this change.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
When this node newly adds the distributed system, on one of the distributed system other distributed nodes, together Walk the block chain.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive the block that other distributed nodes in the distributed system are sent;
Block information in the block carries out Hash, and the cryptographic Hash included with the block is compared, if one Cause, then the block is added in the block chain of this node.
5. method according to claim 4, it is characterised in that methods described also includes:
If receiving at least two blocks, at least two block is sent by other different distributed nodes respectively, and right The upper block answered is identical;The then change time-sequencing at least two block, according to the sequence will described in extremely Few two blocks add the block chain of this node.
6. method according to claim 4, it is characterised in that methods described also includes:
If at least two blocks received, at least two block is sent by other different distributed nodes respectively, and A corresponding upper block is identical;And if the change time at least two block is also identical, then respectively according to each Block information in block carries out Hash, the order ascending according to cryptographic Hash, and correspondence block successively is added into this node Block chain.
7. according to any described method of claim 1~6, it is characterised in that the nodal information, including:On this node The business configuration file and operating system configuration file of configuration.
8. a kind of information changes supervising device, it is characterised in that described device includes:
Block update module, for creating a new block in block chain, the new block is used to occur on minute book node Node modification information, the new block includes block head and block main body, the block head include in the block chain with it is new The head cryptographic Hash of a upper block for block connection, the block main body includes change time and changed content;
Block synchronization module, for by the node modification information of the new block, being synchronized to other distributions in distributed system Formula node, to cause other described distributed nodes to update the block chain.
9. device according to claim 8, it is characterised in that
The block update module, when for creating a new block in block chain, including:It is determined that occurring on this node When information is changed, the new block is created;And the block main body includes change time and the changed content of this change.
10. device according to claim 8, it is characterised in that
Described device also includes:Block reception module, sends for receiving other distributed nodes in the distributed system Block;
The block update module, the block information being additionally operable in the block according to block reception module reception is breathed out Wish, and the cryptographic Hash included with the block is compared, if unanimously, the block to be added to the block chain of this node In.
11. device according to claim 10, it is characterised in that
The block update module, is additionally operable to:If receiving at least two blocks, at least two block is respectively by different Other distributed nodes are sent, and a corresponding upper block is identical;Then the change time at least two block arranges Sequence, at least two block is added on the block chain of this node according to described sort.
12. device according to claim 10, it is characterised in that
The block update module, is additionally operable to:If at least two blocks received, at least two block is respectively by difference Other distributed nodes send, and a corresponding upper block is identical;And if during change at least two block Between it is also identical, then block information in each block carries out Hash respectively, the order ascending according to cryptographic Hash, will be right Block is answered successively to add the block chain of this node.
13. a kind of distributed system, it is characterised in that the system includes multiple distributed nodes, each distributed section On point, any described information change supervising device of claim 8 to 12 is provided with.
CN201710131645.2A 2017-03-07 2017-03-07 A kind of information change monitoring method and device Pending CN107104816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710131645.2A CN107104816A (en) 2017-03-07 2017-03-07 A kind of information change monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710131645.2A CN107104816A (en) 2017-03-07 2017-03-07 A kind of information change monitoring method and device

Publications (1)

Publication Number Publication Date
CN107104816A true CN107104816A (en) 2017-08-29

Family

ID=59675915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710131645.2A Pending CN107104816A (en) 2017-03-07 2017-03-07 A kind of information change monitoring method and device

Country Status (1)

Country Link
CN (1) CN107104816A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537063A (en) * 2018-02-26 2018-09-14 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment of data storage
CN108616574A (en) * 2018-03-30 2018-10-02 华为技术有限公司 Manage storage method, equipment and the storage medium of data
CN108737415A (en) * 2018-05-16 2018-11-02 成都甄识科技有限公司 A kind of safety certifying method for smart home
CN109255856A (en) * 2018-08-20 2019-01-22 深圳市长龙铁路电子工程有限公司 A kind of cab signaling equipment data record method based on block chain technology
CN109636402A (en) * 2018-12-14 2019-04-16 泰康保险集团股份有限公司 Based on the credit information processing method of block chain, device, equipment, storage medium
CN109657450A (en) * 2018-12-14 2019-04-19 泰康保险集团股份有限公司 Method, apparatus, medium and the electronic equipment evaluated based on block chain
CN109947997A (en) * 2017-12-18 2019-06-28 厦门本能管家科技有限公司 A kind of simulating forest growth data sharding method
CN110086856A (en) * 2019-04-01 2019-08-02 深圳前海达闼云端智能科技有限公司 Control method and device of block chain node, storage medium and electronic equipment
CN110147686A (en) * 2019-04-18 2019-08-20 阿里巴巴集团控股有限公司 A kind of storage method, system, device and the equipment of personal asset change record
CN110400217A (en) * 2018-04-25 2019-11-01 中国移动通信集团广东有限公司 The regular changing process method and device of intelligent contract
CN110688664A (en) * 2019-09-25 2020-01-14 支付宝(杭州)信息技术有限公司 Authority management method, device and equipment in block chain type account book
WO2020035086A3 (en) * 2019-11-06 2020-08-20 Alipay (Hangzhou) Information Technology Co., Ltd. Data security of shared blockchain data storage based on error correction code
WO2020207194A1 (en) * 2019-04-12 2020-10-15 深圳前海微众银行股份有限公司 Blockchain-based iot device changing method and apparatus
CN112231754A (en) * 2020-10-21 2021-01-15 南方电网科学研究院有限责任公司 Method, system and storage medium for monitoring configuration information of power edge computing node
CN114095511A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Method and equipment for data synchronization of mobile distributed system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404387A (en) * 2011-10-25 2012-04-04 上海聚力传媒技术有限公司 Method, device and equipment for information synchronization with other nodes
US20160027229A1 (en) * 2014-07-25 2016-01-28 Blockchain Technologies Corporation System and method for securely receiving and counting votes in an election
CN105404701A (en) * 2015-12-31 2016-03-16 浙江图讯科技股份有限公司 Peer-to-peer network-based heterogeneous database synchronization method
CN105701372A (en) * 2015-12-18 2016-06-22 布比(北京)网络技术有限公司 Block chain identity construction and verification method
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN106209947A (en) * 2015-05-07 2016-12-07 中兴通讯股份有限公司 The data processing method of a kind of decentration autonomy organization and system
CN106228446A (en) * 2016-05-12 2016-12-14 北京众享比特科技有限公司 Transaction in assets plateform system based on privately owned block chain and method
CN106357405A (en) * 2016-09-19 2017-01-25 弗洛格(武汉)信息科技有限公司 Method and system for managing data on basis of block chain technology consistency algorithms

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404387A (en) * 2011-10-25 2012-04-04 上海聚力传媒技术有限公司 Method, device and equipment for information synchronization with other nodes
US20160027229A1 (en) * 2014-07-25 2016-01-28 Blockchain Technologies Corporation System and method for securely receiving and counting votes in an election
CN106209947A (en) * 2015-05-07 2016-12-07 中兴通讯股份有限公司 The data processing method of a kind of decentration autonomy organization and system
CN105701372A (en) * 2015-12-18 2016-06-22 布比(北京)网络技术有限公司 Block chain identity construction and verification method
CN105404701A (en) * 2015-12-31 2016-03-16 浙江图讯科技股份有限公司 Peer-to-peer network-based heterogeneous database synchronization method
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN106228446A (en) * 2016-05-12 2016-12-14 北京众享比特科技有限公司 Transaction in assets plateform system based on privately owned block chain and method
CN106357405A (en) * 2016-09-19 2017-01-25 弗洛格(武汉)信息科技有限公司 Method and system for managing data on basis of block chain technology consistency algorithms

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947997B (en) * 2017-12-18 2021-07-06 本无链科技(深圳)有限公司 Forest growth simulation data slicing method
CN109947997A (en) * 2017-12-18 2019-06-28 厦门本能管家科技有限公司 A kind of simulating forest growth data sharding method
CN108537063A (en) * 2018-02-26 2018-09-14 阿里巴巴集团控股有限公司 A kind of method, apparatus and equipment of data storage
CN108616574A (en) * 2018-03-30 2018-10-02 华为技术有限公司 Manage storage method, equipment and the storage medium of data
CN108616574B (en) * 2018-03-30 2020-06-16 华为技术有限公司 Management data storage method, device and storage medium
CN110400217A (en) * 2018-04-25 2019-11-01 中国移动通信集团广东有限公司 The regular changing process method and device of intelligent contract
CN110400217B (en) * 2018-04-25 2022-07-01 中国移动通信集团广东有限公司 Rule change processing method and device for intelligent contract
CN108737415A (en) * 2018-05-16 2018-11-02 成都甄识科技有限公司 A kind of safety certifying method for smart home
CN109255856A (en) * 2018-08-20 2019-01-22 深圳市长龙铁路电子工程有限公司 A kind of cab signaling equipment data record method based on block chain technology
CN109657450A (en) * 2018-12-14 2019-04-19 泰康保险集团股份有限公司 Method, apparatus, medium and the electronic equipment evaluated based on block chain
CN109636402A (en) * 2018-12-14 2019-04-16 泰康保险集团股份有限公司 Based on the credit information processing method of block chain, device, equipment, storage medium
CN110086856A (en) * 2019-04-01 2019-08-02 深圳前海达闼云端智能科技有限公司 Control method and device of block chain node, storage medium and electronic equipment
CN110086856B (en) * 2019-04-01 2022-02-01 达闼机器人有限公司 Control method and device of block chain node, storage medium and electronic equipment
WO2020207194A1 (en) * 2019-04-12 2020-10-15 深圳前海微众银行股份有限公司 Blockchain-based iot device changing method and apparatus
CN110147686A (en) * 2019-04-18 2019-08-20 阿里巴巴集团控股有限公司 A kind of storage method, system, device and the equipment of personal asset change record
TWI724730B (en) * 2019-04-18 2021-04-11 開曼群島商創新先進技術有限公司 Storage method, system, device and equipment for personal asset change records
CN110688664A (en) * 2019-09-25 2020-01-14 支付宝(杭州)信息技术有限公司 Authority management method, device and equipment in block chain type account book
KR20210055631A (en) * 2019-11-06 2021-05-17 알리페이 (항저우) 인포메이션 테크놀로지 씨오., 엘티디. Data security of shared blockchain data storage based on error correction codes
US11057190B2 (en) 2019-11-06 2021-07-06 Alipay (Hangzhou) Information Technology Co., Ltd. Data security of shared blockchain data storage based on error correction code
WO2020035086A3 (en) * 2019-11-06 2020-08-20 Alipay (Hangzhou) Information Technology Co., Ltd. Data security of shared blockchain data storage based on error correction code
KR102363271B1 (en) 2019-11-06 2022-02-14 알리페이 (항저우) 인포메이션 테크놀로지 씨오., 엘티디. Data security of shared blockchain data storage based on error correction codes
CN114095511A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Method and equipment for data synchronization of mobile distributed system
CN114095511B (en) * 2020-07-31 2023-03-10 华为技术有限公司 Method and equipment for data synchronization of mobile distributed system
CN112231754A (en) * 2020-10-21 2021-01-15 南方电网科学研究院有限责任公司 Method, system and storage medium for monitoring configuration information of power edge computing node

Similar Documents

Publication Publication Date Title
CN107104816A (en) A kind of information change monitoring method and device
CN107888562B (en) Data verification and transceiving method, node and system for parallel link access to interconnection chain
CN110442652B (en) Cross-chain data processing method and device based on block chain
CN109522363B (en) Cloud platform synchronization method, system, equipment and storage medium based on block chain
US10623235B2 (en) Correlating computing network events
WO2020207371A1 (en) Data processing system and method, apparatus, and electronic device
CN110909521B (en) Online document information synchronous processing method and device and electronic equipment
CN108696581A (en) Caching method, device, computer equipment and the storage medium of distributed information
CN111639080B (en) Data processing method and device, node equipment and storage medium
CN111651525A (en) Block chain data storage method and device
CN110324166B (en) Method, device and system for synchronizing target information in multiple nodes
CN114092252A (en) Block chain transaction execution method, device, equipment and readable storage medium
CN108737501A (en) A kind of DNA date storage methods, equipment and system based on block chain
CN115471307A (en) Audit evaluation information generation method and device based on knowledge graph and electronic equipment
CN109889325B (en) Verification method, verification device, electronic equipment and medium
CN109167819B (en) Data synchronization system, method, device and storage medium
CN107016075A (en) Company-data synchronous method and device
CN112291121B (en) Data processing method and related equipment
CN110781066B (en) User behavior analysis method, device, equipment and storage medium
CN110515909B (en) File storage method and device, electronic equipment and computer storage medium
CN111198853B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN111161072A (en) Block chain-based random number generation method, equipment and storage medium
CN114762305A (en) Method for grabbing packets from containers in cluster context
CN114598680B (en) Domain name management method, device and storage medium
CN114827698B (en) Method, device, terminal equipment and storage medium for synchronizing play information

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1242067

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170829