CN114900520B - Block chain multi-chain management method for intelligent infrastructure - Google Patents
Block chain multi-chain management method for intelligent infrastructure Download PDFInfo
- Publication number
- CN114900520B CN114900520B CN202210495370.1A CN202210495370A CN114900520B CN 114900520 B CN114900520 B CN 114900520B CN 202210495370 A CN202210495370 A CN 202210495370A CN 114900520 B CN114900520 B CN 114900520B
- Authority
- CN
- China
- Prior art keywords
- service
- data
- chain
- node
- link
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 53
- 238000004458 analytical method Methods 0.000 claims abstract description 60
- 238000013523 data management Methods 0.000 claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 14
- 238000010276 construction Methods 0.000 claims description 86
- 238000012544 monitoring process Methods 0.000 claims description 15
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000000034 method Methods 0.000 claims description 9
- 238000012806 monitoring device Methods 0.000 claims description 7
- 238000009434 installation Methods 0.000 claims description 6
- 241000820057 Ithone Species 0.000 claims description 4
- 150000001875 compounds Chemical class 0.000 claims description 3
- 238000007405 data analysis Methods 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims description 2
- 230000037396 body weight Effects 0.000 claims 1
- 230000001360 synchronised effect Effects 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a blockchain multi-chain management method aiming at intelligent infrastructure, which is characterized in that a service personnel data management node and a service data management node are arranged, corresponding link nodes are constructed for the two management nodes, and blockchain nodes for storing personnel information data and blockchain nodes for correspondingly storing service data generated by different service links in a plurality of blockchain networks corresponding to different intelligent infrastructure service scenes are respectively linked to the service personnel data management node and the service data management node, so that multi-chain data intercommunication under different service scenes is realized. And by constructing a personnel information acquisition module for the first link node and a service data acquisition and processing module for the second link node, the synchronous acquisition of service data is realized and the convenience and the effectiveness of multi-link management are improved based on the two modules when the supervision effectiveness analysis is carried out on the multi-service scene.
Description
Technical Field
The invention relates to the technical field of blockchains, in particular to a blockchain multi-chain management method based on intelligent infrastructure.
Background
Currently, blockchain technology is widely used in intelligent infrastructure. For example, for different intelligent infrastructure service scenarios, the infrastructure enterprise builds a separate blockchain network for each service scenario, stores service data generated by corresponding service links in the service scenario through each blockchain node in the network, and then analyzes the effectiveness of service supervision by acquiring the data in the blockchain nodes. However, no correlation is established between the blockchain (multi-chain) networks constructed for different service scenes, when the service supervision effectiveness of each scene is analyzed, the isolated service data required by acquiring each blockchain network is required to be sent to a service analysis system, and the repetition of the data acquisition action is high and very complicated, so that how to realize the effective management of the multi-chain under different service scenes of the intelligent infrastructure is convenient, and when the supervision effectiveness analysis is required to be carried out on a plurality of scenes at the same time, the data required by the service analysis can be synchronously and rapidly acquired, so that the technical problem to be solved in the current blockchain technology for the intelligent infrastructure is urgent.
In addition, when the service supervision availability analysis is performed, the values of data on chains of the blockchain networks corresponding to different service scenes are usually different, and the values of data stored in different blockchain nodes in the same blockchain network are also usually different, when the data required by the service supervision availability analysis is acquired, the data stored on the chains may be lost, so when the data required by the service analysis is synchronously acquired, the data which is identified as high value in the service supervision availability analysis is expected to be acquired first, but in a multi-chain environment, how to identify the value of the data becomes the technical problem to be solved when the data is synchronously acquired.
Disclosure of Invention
The invention aims to realize effective management of a plurality of blockchain networks in an intelligent infrastructure scene, and provides a blockchain multi-chain management method aiming at the intelligent infrastructure.
To achieve the purpose, the invention adopts the following technical scheme:
a block chain multi-chain management method for intelligent infrastructure is provided, comprising the steps of:
s1, setting a service chain, and uploading service data generated by each intelligent infrastructure service scene to the corresponding service chain by a super account book, wherein each block chain node on each service chain stores the service data of the corresponding service link under the same scene;
s2, setting a management chain, wherein the management chain comprises 2 management nodes, namely a service personnel data management node and a service data management node;
S3, constructing a link node corresponding to each management node, wherein the link node comprises a first link node and a second link node, the first link node links all the blockchain nodes used for storing personnel information data in the service chains to the service personnel data management nodes, the second link node links all the blockchain nodes used for storing service data in the service chains to the service data management nodes, and the service data management nodes are connected with a service analysis system;
s4, constructing a personnel information acquisition module for the first link node and constructing a service data acquisition and processing module for the second link node;
S5, in each business analysis, acquiring personnel information data required by the business analysis from each block chain node linked with the first link node through the personnel information acquisition module, acquiring the business data required by the business analysis from each block chain node linked with the second link node through the business data acquisition and processing module, and packaging the personnel information data and each business data related to the acquired business analysis through the business data acquisition and processing module and then sending a data packet to the business analysis data management node;
And S6, the service analysis data management node sends the received data packet to the service analysis system for service data analysis.
Preferably, in step S3, the method step of constructing the second link node includes:
s31, designating the first link construction factors corresponding to each second link construction factor in the second service chain from the first link construction factors in the first service chain;
s32, calculating the data value score of each service chain through the following formula (1):
in the formula (1), Representing the data value score corresponding to the kth business chain;
A value representing an ith one of the first link construction factors in an jth one of the service data in the kth one of the service chains or an ith one of the second link construction factors in an jth one of the service data in the kth one of the service chains;
Representation/> At calculation/>The weight occupied by the time;
n represents the number of the first link construction factor or the second link construction factor in the j-th service data in the k-th service chain;
m represents the number of business data in the kth business chain;
S33, pair has Each of the first link construction factors or each of the second link construction factors in the kth business chain of the maximum value, the degree of difference S between each link construction factor and the second link construction factor or the first link construction factor having the correspondence relationship described in step S31 is calculated by the following formula (2):
In the formula (2), Representation has/>The value of the ith first link construction factor or the ith second link construction factor in the jth business data in the maximum kth business chain;
m 1 denotes a compound having The kth piece of maximum value is the number of business data in the business chain;
representing the o and o of the p-th business data in another said business chain participating in the calculation of the degree of difference s A value of the corresponding first link construction factor or second link construction factor;
m 2 represents the number of business data in another business chain participating in the calculation of the difference degree s;
s34, will have And taking the corresponding block chain node corresponding to the first link construction factor or the second link construction factor with the minimum difference degree s in the k-th service chain with the maximum value as the second link node.
Preferably, the first link construction factors include whether to preset an inner station area of the elevator, whether to preset a joint angle range, whether to collect an elevator taking image, whether to identify a station area number where the person stands, whether to weigh and measure the height of the person, and the data corresponding to each first link construction factor associated with the same elevator operator form one piece of service data.
Preferably, the second link construction factor includes whether the slope is discrete, whether a slope safety monitoring device is installed in each of the discrete slope structures, whether installation position information of each of the slope safety monitoring devices is acquired, and whether monitoring data is acquired by each of the slope safety monitoring devices.
Preferably, in step S5, the method for acquiring the service data required for service analysis for the multi-chain synchronization includes: first, data required for service analysis is acquired from the second link node and/or from a specified blockchain node having the correspondence with the second link node in step S31, and then data required for service analysis is acquired from other blockchain nodes in the service chain where the second link node is located and/or from other blockchain nodes in the service chain where the specified blockchain node is located.
Preferably, the service chain comprises a first service chain and a second service chain, the super ledger execution chain code respectively and correspondingly uploads personnel information data of an authorized elevator, station location information data in a ladder corresponding to each authorized elevator, joint angle range information data allowed by each authorized elevator when each elevator button is operated, riding image data acquired in real time, station location number and personnel information binding relation data, weight data and height data of an elevator operator to first to seventh blockchain nodes of the first service chain, and correspondingly uploads side slope management personnel information data, side slope discrete data, side slope safety monitoring equipment information and equipment installation position information data and side slope safety monitoring data of each equipment to first to fourth blockchain nodes of the second service chain.
A first blockchain node in the first service chain and a first blockchain link node in the second service chain are linked to the service personnel data management node, and the second link node links second through seventh blockchain nodes in the first service chain and second through fourth blockchain nodes in the second service chain to the service analysis data management node and links the service data management node to a service analysis system.
The invention has the following beneficial effects:
1. By setting the business personnel data management node and the business data management node, constructing corresponding link nodes for the two management nodes, respectively linking the blockchain nodes for storing personnel information data and the blockchain nodes for correspondingly storing business data generated by different business links in a plurality of blockchain networks corresponding to different intelligent infrastructure business scenes to the business personnel data management node and the business data management node, and realizing multi-chain data intercommunication under different business scenes. And by constructing a personnel information acquisition module for the first link node and a service data acquisition and processing module for the second link node, the synchronous acquisition of service data is realized and the convenience and the effectiveness of multi-link management are improved based on the two modules when the supervision effectiveness analysis is carried out on the multi-service scene.
2. By calculating the data value score of each service chainAnd will have/>Each block link point in the maximum service chain is used as a formulated link node, and has/>The maximum service chain data has higher effectiveness, and the data has higher value when the service chain data is needed to have/>When the maximum service chain carries out supervision validity analysis, high-value data required by analysis can be rapidly obtained at the finally determined link node in the service chain, and the data acquisition effectiveness and the data acquisition efficiency are improved.
3. By assigning a corresponding first link construction factor in the first service chain to each second link construction factor in the second service chain, artificially correlating blockchain nodes among multiple chains that are liable to generate high-value data, and by calculating a degree of difference s between the first link construction factor and the second link construction factor having a correlationThe corresponding first link construction factor or the blockchain node corresponding to the second link construction factor with the minimum difference degree s in the maximum business chain is taken as the second link node, and the data stored in the second link node is compared/>, because the selection of the second link node considers the relevance of the data stored in the blockchain node corresponding to the first link construction factor and the data stored in the blockchain node corresponding to the second link construction factor, which participate in the calculation of the difference degree sThe data stored by other block chain link points on the maximum service chain has greater value when the first service chain and the second service chain are simultaneously subjected to supervision validity analysis, and the block chain node with the maximum value is used as the second link node, so that the service analysis data which is identified as high value can be acquired more quickly.
4. When the service data required by the service analysis is synchronously acquired for the multiple chains, the data required by the service analysis is firstly acquired from the second link node and/or from the appointed block chain node with the association relation with the second link node, and then the data required by the service analysis is acquired from other block chain nodes in the service chain where the second link node is positioned and/or from other block chain nodes in the service chain where the appointed block chain node is positioned, so that the high-value data can be quickly and accurately acquired when the service supervision effectiveness analysis is carried out for the multiple chains, and the accuracy of the analysis result is facilitated to be improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a block chain multi-chain association method for intelligent infrastructure according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of the connection between a blockchain node and a link node in a plurality of service chains and a management node, and between the management node and a service analysis system.
Detailed Description
The technical scheme of the invention is further described below by the specific embodiments with reference to the accompanying drawings.
Wherein the drawings are for illustrative purposes only and are shown in schematic, non-physical, and not intended to be limiting of the present patent; for the purpose of better illustrating embodiments of the invention, certain elements of the drawings may be omitted, enlarged or reduced and do not represent the size of the actual product; it will be appreciated by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The same or similar reference numbers in the drawings of embodiments of the invention correspond to the same or similar components; in the description of the present invention, it should be understood that, if the terms "upper", "lower", "left", "right", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, only for convenience in describing the present invention and simplifying the description, rather than indicating or implying that the apparatus or elements being referred to must have a specific orientation, be constructed and operated in a specific orientation, so that the terms describing the positional relationships in the drawings are merely for exemplary illustration and should not be construed as limiting the present patent, and that the specific meaning of the terms described above may be understood by those of ordinary skill in the art according to specific circumstances.
In the description of the present invention, unless explicitly stated and limited otherwise, the term "coupled" or the like should be interpreted broadly, as it may be fixedly coupled, detachably coupled, or integrally formed, as indicating the relationship of components; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between the two parts or interaction relationship between the two parts. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In this embodiment, by taking intelligent elevator management based on a blockchain technology and intelligent remote slope safety monitoring management in a infrastructure as an example, a specific implementation process of the provided blockchain multi-chain management method for the intelligent infrastructure is described. For example, the method for intelligent management of the elevator is as follows:
The method comprises the steps of defining a station area in a ladder for each person with elevator operation authority, setting a joint angle range allowed when each button in the elevator is operated for each person, judging whether the person in the ladder falls into the station area, judging whether the weight of the person in the station area is matched with the weight of the person with elevator operation authority, judging whether the height of the person in the station area is matched with the height of the person with elevator operation authority, judging whether the joint angle of the current operation elevator button of the person in the station area falls into a corresponding joint angle range allowed, and finally judging whether the person in the station area has elevator operation authority.
In order to realize intelligent management of whether personnel having authority to operate the elevator, a blockchain network is constructed, namely a first business chain is formed, a plurality of blockchain nodes are arranged on the first business chain, each blockchain node is used for storing business data generated by corresponding management links in elevator intelligent management, for example, a super ledger uploads recorded personnel information of the authority to operate the elevator to the first blockchain node of the first business chain through executing chain codes, intra-elevator station location information defined for personnel having authority to operate the elevator is stored to the second blockchain node of the first business chain, joint angle range information preset for personnel having authority to operate the elevator is stored to the second blockchain node of the first business chain, a real-time acquired elevator taking image is stored to the third blockchain node of the first business chain, station location number information of personnel identified from the acquired elevator taking image is stored to the fourth blockchain node of the first business chain, binding relation information between personnel having authority to operate the elevator and corresponding station location number is stored to the fifth blockchain node, and the weight of the personnel having authority is stored to the first blockchain node of the first business chain is stored to obtain the weight information of the first blockchain.
Similarly, assume intelligent management of remote slope safety monitoring, which relates to slope management personnel information data, slope discrete data, slope safety monitoring equipment information and equipment installation position information data, and safety monitoring data of each equipment on a slope, and a blockchain network constructed for the intelligent management of the remote slope safety monitoring is called a second service chain, and the service chain is provided with 4 blockchain nodes which are respectively used for correspondingly storing the slope management personnel information data, the slope discrete data, the slope safety monitoring equipment information and equipment installation position information data, and safety detection data of each equipment on the slope.
The above-mentioned configuration of the first service chain and the second service chain, i.e. the blockchain multi-chain management method for the intelligent infrastructure provided in the present embodiment as shown in fig. 1:
step S1, setting service chains, and uploading service data generated by each intelligent infrastructure service scene to a corresponding service chain by a super account book, wherein each block chain node on each service chain stores the service data of a corresponding service link under the same scene;
In order to realize unified management of different block chain nodes in a multi-hop service chain, the block chain multi-chain management method aiming at intelligent infrastructure provided by the application comprises the following steps:
Step S2, setting a management chain, wherein the management chain comprises 2 management nodes, namely a business personnel data management node (used for uniformly managing personnel information data on a plurality of business chains) and a business data management node (used for uniformly managing business data on a plurality of business chains);
After the service chain and the management chain are set, the service chain and the management chain are required to be linked together so as to realize unified management of multiple chains. In the application, the service chain with the highest data storage value is found out from a plurality of service chains in a data value calculation mode, then the block chain node storing high-value data is further found out from the service chain as a link node, and a personnel information acquisition module and a service data acquisition and processing module are constructed for the link node, in the subsequent service analysis, the data required by the service analysis is acquired from the corresponding block chain nodes of the corresponding service chain by taking the link node as a data acquisition inlet through the two modules, and the high-value data required by the service analysis can be acquired from the block chain node quickly because the block chain node storing the high-value data is found in advance, thereby avoiding missing to acquire the high-value data and ensuring the data acquisition to be more targeted.
In order to obtain data more pertinently and realize effective management of multiple chains, the block chain multiple chain management method based on intelligent infrastructure provided by the application further comprises the following steps:
Step S3, constructing a link node corresponding to each management node, wherein the link node comprises a first link node and a second link node, and the first link node links the block chain nodes used for storing personnel information data in all service chains to the service personnel data management node, for example, in FIG. 2, the first block chain nodes in the first service chain are linked to the first block chain nodes in the second service chain, and then are themselves linked to the service personnel data management node. The second link node links each block link point for storing service data in all service chains to a service data management node, for example, in fig. 2, after the fourth block link point in the second service chain is linked to the second to seventh block link nodes in the first service chain, the second link node is itself linked to the service data management node, and the service data management node is connected to the service analysis system. Therefore, by setting the first connecting node and the second connecting node, the data interaction among multiple chains is realized.
In order to achieve synchronous acquisition of data of multiple chains, the intelligent infrastructure-based blockchain multiple chain management method provided by the application further comprises the following steps:
Step S4, a personnel information acquisition module is constructed for the first link node, and a service data acquisition and processing module is constructed for the second link node;
Step S5, in each business analysis, acquiring personnel information data required by the business analysis from each blockchain node linked by the first link node through a personnel information acquisition module, for example, when judging whether elevator passengers have elevator operation rights or not, acquiring the personnel information data required by judgment from the first blockchain node of the first business chain shown in figure 2 through the personnel information acquisition module, when analyzing the current safety condition of a remote side slope, acquiring the personnel information data required by analysis from the first blockchain node of the second business chain shown in figure 2 through the personnel information acquisition module,
And the service data acquisition and processing module acquires the service data required by service analysis from each block chain node connected with the second link node, the service data acquisition and processing module packages the personnel information data related to the acquired service analysis and each service data and then sends the data package to the service analysis data management node, for example, when judging whether elevator passengers have elevator operation rights or not, the service data acquisition and processing module acquires the service data required by judgment from the second to seventh block chain nodes of the first service chain shown in fig. 2, and then the service data acquisition and processing module packages the acquired service data and the personnel information data acquired by the first link node and then sends the packaged service data to the service analysis data management node.
Here, since the determination of whether the elevator personnel has the elevator operation authority is progressive, it may not be necessary to acquire all the service data stored in the second to seventh blockchain nodes in the first service chain when the determination of whether the elevator personnel has the elevator operation authority is made, but the elevator image acquired in real time is the data that the determination of the elevator personnel must have anyway, and thus the data stored in the second to seventh blockchain nodes has a score of high value, if the second link node is the fourth blockchain node storing the elevator image in the first service chain or the fourth blockchain node storing the safety monitoring data in the second service chain shown in fig. 2, the data required for the service analysis having high value may be acquired directly at the second link node, and the link skip is not necessary when acquiring the high value data, and the speed of data acquisition is also faster, so it is very important on which blockchain node of which service chain the link node is set. In the application, since the first link node is only used for acquiring the personnel information data, one of the block chain nodes used for storing the personnel information data in each service chain can be selected as the first link node, and the speed of acquiring the service data is not greatly influenced. And because the second link node links all the blockchain nodes used for storing business data on all chains, the setting position of the second link node has great influence on the data acquisition speed and the pertinence of the data acquisition, the setting position of the second link node is determined by introducing a data value score calculation mode, and the specific mode method comprises the following steps:
Step S31, designating the first link construction factor corresponding to each second link construction factor in the second service chain from the first link construction factors in the first service chain, where the meaning of the first link construction factor and the second link construction factor is shown in the following table a:
Table a
The "elevator operator name", "whether to pre-set an intra-elevator site area" and the like in the above table a can have an influence on the selection of the setting position of the link node, and are therefore called connection construction factors, and further, the link construction factors in the first service chain are called first link construction factors, and the link construction factors in the second service chain are called second link construction factors.
The assignment of the correspondence between the first link construction factor and the second link construction factor refers to, for example, in the above table a, that the elevator operator name and the slope name are both name-type link construction factors, so that it may be assigned that the two link construction factors have correspondence. In addition, in the table a, the first link construction factor of whether the elevator taking image is acquired or not and the second link construction factor of whether the monitoring device acquires the monitoring data are both link construction factors of a real-time data acquisition class, so that the two link construction factors can be designated to have a corresponding relation, the essence of the designated corresponding relation is to preliminarily designate the block chain node which is manually considered to store high-value data in each service chain, the purpose is that the data in the block chain nodes with the corresponding relation among multiple chains can be firstly acquired through the link nodes when the multiple chains are synchronously acquired later, the missing of the acquisition of the data which is manually considered to be required for the analysis with high value is avoided, and the pertinence and the acquisition speed of the data acquisition are improved.
The data corresponding to each link construction factor associated with the same person or slope constitutes a piece of business data.
Step S32, calculating the data value score of each service chain through the following formula (1):
in the formula (1), Representing the data value score corresponding to the kth service chain;
Values representing an ith first link construction factor in jth service data in kth service chain or an ith second link construction factor in jth service data in kth service chain, the values "1" and "0" in table a above; for convenience of calculation, the value of each link construction factor in each service chain is expressed by 0 and 1;
Representation/> At calculation/>The weight occupied by the time; for example, when judging whether the person has the elevator operation right or not by the joint angle when the elevator person operates the elevator button, giving a larger weight to the link construction factor of "whether the joint angle range is preset or not";
n represents the number of the first link construction factor or the second link construction factor in the jth service data in the kth service chain;
m represents the number of pieces of service data in the kth service chain, such as one piece of service data for each action in table a;
step S33, for having Each first link construction factor or each second link construction factor in the kth service chain of the maximum value, the difference S between each link construction factor and the second link construction factor or the first link construction factor having the correspondence relation described in step S31 is calculated by the following formula (2), for example, the difference between the first link construction factor of "whether or not to collect the riding image" and the second link construction factor of "whether or not to collect the monitoring data" having the correspondence relation in the table a is calculated:
In the formula (2), Representation has/>The value of the ith first link construction factor or the ith second link construction factor in the jth business data in the kth business chain of the maximum value;
m 1 denotes a compound having The number of service data in the kth service chain of the maximum value;
representing the o and/>, of the p-th business data in another business chain participating in the calculation of the degree of difference s A value of the corresponding first link construction factor or second link construction factor;
m 2 represents the number of business data in another business chain participating in the calculation of the difference degree s;
step S34, will have And taking the block chain node corresponding to the first link construction factor or the second link construction factor with the smallest difference degree s in the kth service chain with the largest value as a second link node.
In order to obtain data required for service analysis more quickly and accurately when the multi-link is obtained in data synchronization, more preferably, in step S5, data required for service analysis is first obtained from the second link node and/or from the designated blockchain node having the correspondence relationship described in step S31 with the second link node, and then data required for service analysis is obtained from other blockchain nodes in the service chain where the second link node is located and/or from other blockchain nodes in the service chain where the designated blockchain node is located.
After the data is obtained, as shown in fig. 1, the blockchain multi-chain management method for intelligent infrastructure provided by the application is transferred to the last step, namely:
And S6, the service analysis data management node sends the received data packet to a service analysis system for service data analysis.
It should be understood that the above description is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be apparent to those skilled in the art that various modifications, equivalents, variations, and the like can be made to the present application. Such variations are intended to be within the scope of the application without departing from the spirit thereof. In addition, some terms used in the description and claims of the present application are not limiting, but are merely for convenience of description.
Claims (5)
1. A block chain multi-chain management method aiming at intelligent infrastructure is characterized by comprising the following steps:
s1, setting a service chain, and uploading service data generated by each intelligent infrastructure service scene to the corresponding service chain by a super account book, wherein each block chain node on each service chain stores the service data of the corresponding service link under the same scene;
s2, setting a management chain, wherein the management chain comprises 2 management nodes, namely a service personnel data management node and a service data management node;
S3, constructing a link node corresponding to each management node, wherein the link node comprises a first link node and a second link node, the first link node links all the blockchain nodes used for storing personnel information data in the service chains to the service personnel data management nodes, the second link node links all the blockchain nodes used for storing service data in the service chains to the service data management nodes, and the service data management nodes are connected with a service analysis system;
s4, constructing a personnel information acquisition module for the first link node and constructing a service data acquisition and processing module for the second link node;
S5, in each business analysis, acquiring personnel information data required by the business analysis from each block chain node linked with the first link node through the personnel information acquisition module, acquiring the business data required by the business analysis from each block chain node linked with the second link node through the business data acquisition and processing module, and packaging the personnel information data and each business data related to the acquired business analysis through the business data acquisition and processing module and then sending a data packet to the business data management node;
S6, the service data management node sends the received data packet to the service analysis system for service data analysis;
in step S3, the method steps of constructing the second link node include:
S31, designating the first link construction factors corresponding to each second link construction factor in the second service chain from the first link construction factors in the first service chain;
s32, calculating the data value score of each service chain through the following formula (1):
in the formula (1), Representing the data value score corresponding to the kth business chain;
A value representing an ith one of the first link construction factors in an jth one of the service data in the kth one of the service chains or an ith one of the second link construction factors in an jth one of the service data in the kth one of the service chains;
Representation/> At calculation/>The weight occupied by the time;
n represents the number of the first link construction factor or the second link construction factor in the j-th service data in the k-th service chain;
m represents the number of business data in the kth business chain;
S33, pair has Calculating a difference degree s between each link construction factor and the corresponding second link construction factor or the first link construction factor according to the following formula (2):
In the formula (2), Representation has/>The value of the ith first link construction factor or the ith second link construction factor in the jth business data in the maximum kth business chain;
m 1 denotes a compound having The kth piece of maximum value is the number of business data in the business chain;
Represents the o & ltth & gt & lt/th & gt in the p & ltth & gt business data in another said business chain participating in the calculation of the difference degree s A value of the corresponding first link construction factor or second link construction factor;
m 2 represents the number of business data in another business chain participating in the calculation of the difference degree s;
s34, will have And taking the corresponding block chain node corresponding to the first link construction factor or the second link construction factor with the minimum difference degree s in the k-th service chain with the maximum value as the second link node.
2. The blockchain multi-chain management method for intelligent infrastructure of claim 1, wherein the first link construction factors include whether to preset a station area in a ladder, whether to preset a joint angle range, whether to collect an riding image, whether to identify a station area number where the person stands, whether to weigh and measure the body weight, and the data corresponding to each first link construction factor associated with the same elevator operator forms one piece of service data.
3. The blockchain multi-chain management method for intelligent infrastructure of claim 1, wherein the second link construction factor includes whether or not slope discretization is completed, whether or not slope safety monitoring devices are installed in each discretized slope structure, whether or not installation position information of each slope safety monitoring device is acquired, and whether or not monitoring data is acquired by each slope safety monitoring device.
4. The blockchain multi-chain management method for intelligent infrastructure according to claim 1, wherein in step S5, the method for acquiring the service data required for service analysis for multi-chain synchronization is as follows: data required for service analysis is first acquired from the second link node and/or from a specified blockchain node having the correspondence in step S31 with the second link node, and then data required for service analysis is acquired from other blockchain nodes in the service chain where the second link node is located and/or from other blockchain nodes in the service chain where the specified blockchain node is located.
5. The blockchain multi-chain management method for the intelligent infrastructure according to claim 1, wherein the service chain comprises a first service chain and a second service chain, the super ledger execution chain code correspondingly uploads personnel information data of a right operation elevator, intra-elevator station location information data corresponding to each right operation elevator, joint angle range information data allowed when each right operation elevator operates each elevator button, real-time acquired riding image data, binding relation data of station location numbers and personnel information, weight data and height data of elevator operators to first to seventh blockchain nodes of the first service chain, and correspondingly uploads side slope personnel information data, side slope discrete data, side slope safety monitoring equipment information and equipment installation position information data and side slope safety monitoring data of each equipment to first to fourth blockchain nodes of the second service chain respectively;
A first blockchain node in the first service chain and a first blockchain link node in the second service chain are linked to the service personnel data management node, and the second link node links second through seventh blockchain nodes in the first service chain and second through fourth blockchain nodes in the second service chain to the service data management node and links the service data management node to a service analysis system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210495370.1A CN114900520B (en) | 2022-05-07 | 2022-05-07 | Block chain multi-chain management method for intelligent infrastructure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210495370.1A CN114900520B (en) | 2022-05-07 | 2022-05-07 | Block chain multi-chain management method for intelligent infrastructure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114900520A CN114900520A (en) | 2022-08-12 |
CN114900520B true CN114900520B (en) | 2024-06-11 |
Family
ID=82721804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210495370.1A Active CN114900520B (en) | 2022-05-07 | 2022-05-07 | Block chain multi-chain management method for intelligent infrastructure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114900520B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106530083A (en) * | 2016-10-27 | 2017-03-22 | 上海亿账通区块链科技有限公司 | Multi-chain management method and system based on block chain |
CN109766723A (en) * | 2018-12-11 | 2019-05-17 | 烨链(上海)科技有限公司 | A kind of block chain data framework, regulatory framework, monitoring and managing method and computer readable storage medium |
CN111402101A (en) * | 2020-03-12 | 2020-07-10 | 北京安洁康生物科技有限公司 | Food safety supervision method and device, block chain alliance management platform and medium |
CN112766867A (en) * | 2021-03-09 | 2021-05-07 | 北京华链共赢科技有限公司 | Intelligent pasture supervision method and device based on block chain and storage medium |
-
2022
- 2022-05-07 CN CN202210495370.1A patent/CN114900520B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106530083A (en) * | 2016-10-27 | 2017-03-22 | 上海亿账通区块链科技有限公司 | Multi-chain management method and system based on block chain |
CN109766723A (en) * | 2018-12-11 | 2019-05-17 | 烨链(上海)科技有限公司 | A kind of block chain data framework, regulatory framework, monitoring and managing method and computer readable storage medium |
CN111402101A (en) * | 2020-03-12 | 2020-07-10 | 北京安洁康生物科技有限公司 | Food safety supervision method and device, block chain alliance management platform and medium |
CN112766867A (en) * | 2021-03-09 | 2021-05-07 | 北京华链共赢科技有限公司 | Intelligent pasture supervision method and device based on block chain and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114900520A (en) | 2022-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107026793A (en) | Method for routing, apparatus and system | |
CN110807460B (en) | Transformer substation intelligent patrol system based on image recognition and application method thereof | |
CN110209723A (en) | A kind of equipment information collection system based on Internet of Things big data | |
CN109889512A (en) | A kind of method for detecting abnormality and device of charging pile CAN message | |
CN108092854A (en) | The test method and device of train grade ethernet device based on IEC61375 agreements | |
CN107210927A (en) | Abnormality detection in protocol processes | |
CN106506226B (en) | A kind of starting method and device of fault detection | |
CN116980284B (en) | Optical cable fiber distribution box operation and maintenance information transmission method and system based on Internet of things | |
CN115664006B (en) | Intelligent management and control integrated platform for incremental power distribution network | |
CN101174899B (en) | Automatic testing method for service protection and recovery in ASON network | |
CN114900520B (en) | Block chain multi-chain management method for intelligent infrastructure | |
CN114025437B (en) | LoRa intelligent safety helmet system ranging gateway scheduling method | |
CN101252477B (en) | Determining method and analyzing apparatus of network fault root | |
CN108882263A (en) | A kind of base station O&M method and apparatus | |
CN108696371A (en) | Network failure determines method and system | |
CN114463873A (en) | Patrol system for community | |
CN113887953A (en) | Intelligent scheduling management method and device, computer equipment and storage medium | |
CN110275509A (en) | A kind of energy-accumulating power station test of supervisor method and system | |
CN105682131B (en) | Radio reception device communication quality monitoring method, system and monitoring device | |
CN117156386A (en) | Intelligent positioning, calling for help and alarming intercom equipment for fire control | |
CN116424986A (en) | Elevator emergency rescue system based on autonomous robot recognition and dispatch and method thereof | |
CN114666774B (en) | Identification matching system and method of Bluetooth equipment | |
CN114584585A (en) | Industrial equipment self-diagnosis system and method based on Internet of things | |
TWI735942B (en) | System and method for predicting and preventing obstacles of network communication equipment based on machine learning | |
CN109272596A (en) | A kind of monitoring method based on warehouse operator on duty's authentication |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |