CN112766740B - Public safety emergency information block chain sharing model and method based on side chain - Google Patents

Public safety emergency information block chain sharing model and method based on side chain Download PDF

Info

Publication number
CN112766740B
CN112766740B CN202110086276.6A CN202110086276A CN112766740B CN 112766740 B CN112766740 B CN 112766740B CN 202110086276 A CN202110086276 A CN 202110086276A CN 112766740 B CN112766740 B CN 112766740B
Authority
CN
China
Prior art keywords
side chain
chain
emergency information
information
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202110086276.6A
Other languages
Chinese (zh)
Other versions
CN112766740A (en
Inventor
徐雪松
陈晓红
邵红燕
李芳芳
刘人春
余鑫明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan University of Technology
Original Assignee
Hunan University of Technology
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 Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN202110086276.6A priority Critical patent/CN112766740B/en
Publication of CN112766740A publication Critical patent/CN112766740A/en
Application granted granted Critical
Publication of CN112766740B publication Critical patent/CN112766740B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

A public security emergency information block chain sharing model and method based on a side chain relates to the block chain technical field, the invention includes a main chain and a side chain, the side chain is responsible for the collection of emergency information data and uploads the collected emergency information data to the main chain, the side chain is provided with an intelligent contract, the cross-chain sharing of the data is realized through the intelligent contract, the main chain receives the data uploaded by the side chain and realizes the data sharing of the data among all nodes of the main chain, the main chain is responsible for verifying, checking and authorizing the identity of partial nodes in the side chain, and simultaneously realizes the daily maintenance of the main chain to ensure the stable operation of the main chain, the application adopts a hierarchical management form, establishes a multi-level data storage mode according to regions and departments, the hierarchical management mode can improve the toughness of an emergency information management system while reducing the data redundancy, and cross-chain sharing of data on the side chain is realized through the Ethernet and the intelligent contract.

Description

Public safety emergency information block chain sharing model and method based on side chain
Technical Field
The invention relates to the technical field of block chains, in particular to a public safety emergency information block chain sharing model and method based on side chains.
Background
The emergency has the complex characteristics of various causes, rapid propagation, differentiated distribution, difficulty in predicting hazards and the like, and in addition, multiple difficulties of untimely information communication, difficult sharing and difficult guarantee of authenticity, incomplete coordinated linkage mechanism among departments at all levels, difficult guarantee of material supply, untimely crisis response, unclear responsibility subject and the like exist when crisis occurs, a mature emergency information cooperation mechanism is not formed at present, for example, new crown pneumonia which is outbreaked in 2020, namely, the emergency has the complex characteristics of various causes, rapid propagation, differentiated distribution, difficulty in predicting hazards and the like, serious casualties and economic impact are caused to various countries, and the pneumonia epidemic situation is promoted to be a global emergency. Therefore, the research of enhancing the emergency information collaborative sharing and the establishment of a more efficient, safe and credible emergency information collaborative sharing model become core problems for perfecting and optimizing the emergency information sharing and exchanging capacity of China.
At the present stage, the mode of national emergency information data transmission is mainly a vertical unidirectional information transmission mode of county (district) level organization, city level organization, provincial level organization and national organization, information is often transmitted in the same department, the problems of long emergency information transmission time and single transmission channel exist, and the mechanisms in different regions and departments lack effective information communication, so that the real-time performance and consistency of emergency information data are often difficult to ensure, and the information islanding phenomenon is serious. China starts to operate a national infectious disease automatic early warning system since 2008, but early warning and reporting of infectious diseases only aim at a result rule judgment model of existing diseases and are not condition models based on big data analysis. The public health safety events need multistage manual examination and approval from occurrence to reporting, have very high requirements on the integrity and accuracy of reported data, and are greatly interfered by human factors. When reporting, the report needs to be checked and summarized step by step, the transparency is poor, a transverse information sharing mode is lacked for dealing with public health safety events, and the method is single.
At present, the core requirement of emergency information collaborative sharing in China is safe, efficient and real-time information sharing and information exchange. The block chain is used as a new generation information technology, has basic characteristics of decentralization, intelligent contracts, information sharing, point-to-point transmission and the like, has the characteristic of being not falsified, and can ensure that the authenticity of information and the emergency information management have good synergetic effect. The block chain technology can well solve the problem of collaborative sharing of data in public health safety emergency information, but when the block chain is used for sharing data, large resources and memories are occupied for storing the data, repeated transactions and other problems are easy to occur among different block chains, data redundancy is caused, and the efficiency of emergency information sharing is reduced.
Disclosure of Invention
The invention aims to: in order to solve the technical problems in the background art, the invention provides a public safety emergency information block chain sharing model and method based on a side chain.
The invention specifically adopts the following technical scheme for realizing the purpose:
a public safety emergency information block chain sharing model and method based on side chains comprises a main chain and side chains, wherein the side chains comprise city side chains and provincial side chains, the main chain comprises a national level main chain, the city side chains are used for collecting emergency information data and uploading the collected emergency information data to the provincial side chains, and meanwhile, the sharing of the emergency information data is realized; the provincial side chain collects emergency information data uploaded by the city side chain, uploads the abstract of the emergency information data to the national level main chain, and simultaneously checks the emergency information data related to other provinces and cities through intelligent contracts; the national-level main chain receives the emergency information data abstracts uploaded by the provincial side chain, realizes data sharing among all nodes of the main chain, is responsible for verifying, auditing and authorizing the identities of partial nodes in the provincial side chain, and simultaneously realizes daily maintenance of the national-level main chain to ensure stable operation of the national-level main chain.
Furthermore, the nodes on the city side chain comprise common nodes, management nodes and city-level data exchange nodes for realizing data interaction with provincial side chains, the common nodes are responsible for collection, uploading and sharing of emergency information data, the management nodes are responsible for verification and endorsement of information uploaded by the nodes in the city side chain, and the management nodes are also compatible with the functions of collection, uploading and sharing of the emergency information data by the common nodes.
Further, the information uploaded by the participating nodes is also stored in a city side chain, the information comprises real-time intelligence data (I1), risk symptom data (I2), event initial report data and rechecking data (I3) of event information, and the local account book node of the city side chain stores offline intelligence data (I4).
Furthermore, the nodes on the provincial side chain comprise common nodes, management nodes and provincial data exchange nodes for realizing data interaction with the national level main chain, the common nodes are responsible for collecting emergency information data uploaded by the urban data exchange nodes, and the management nodes can apply for consulting the provincial emergency information data and can request to check other provincial and urban related emergency information data through the provincial data exchange nodes and intelligent contracts.
Furthermore, the nodes of the provincial side chain store emergency information data uploaded by different counties and cities in the province, specifically comprising real-time information data (I1), risk symptom data (I2) and event initial report data (I3), and the local account book nodes of the provincial side chain store offline information data (I4).
Furthermore, the country-level main chain comprises a management node and a main management node, the management node is responsible for uploading and sharing of own emergency information data and is also responsible for daily maintenance of the country-level main chain, the main management node is responsible for verifying, auditing and authorizing the identity of the management node in the side chain, and the main management node also sets the emergency management authority of the nodes in each side chain through an intelligent contract.
A public safety emergency information block chain sharing method based on a side chain is used for realizing emergency information data sharing between the side chain and a main chain, and the realization method comprises the following steps:
step one, uploading emergency information data of each service platform of a network environment and a software environment to an emergency information data sharing platform through an API (application programming interface);
secondly, the emergency information data sharing platform uploads the received emergency information data to a side chain;
and step three, the side chain packages the abstract of the received emergency information data and uploads the abstract to the main chain.
Further, the side chain and the main chain are each formed by a block, an ID of a previous block is recorded on each block, each block includes a block head and a block body, event information (a), public sentiment information (i), information aging (t), security authority(s) and information emergency response level (c) are stored in each block body, information stored in each block body forms a message body δ ═ { a, i, t, s, c }, all information in the message body δ is uploaded to the side chain for storage, and main information in the message body is uploaded to the main chain.
Further, the event information (a) is some specific event information when the public health safety event occurs, including the time, the place, the related people, the event propagation range and the main information of the event; the public opinion information (i) is hotspot information about events, which is expected and discussed by social public before and after public health safety events occur, and emotional tendency and emotional intensity of the public and the victims; and (c) data retrieval and sharing authority of each node in the side chain or the main chain of the security authority(s).
Further, the specific flow of uploading the emergency information data to the side chain is as follows:
s1, the trading node submits the trading request
The transaction node initiates a transaction on the emergency information data sharing platform, and a current node submits a request to the management node, wherein the request comprises the following five types: upload data request (S)1) Verifying data requests of other nodes (S)2) Encapsulating the data request (S)3) Acquiring other node data request (S)4) Analyzing the data request (S)5) Expressed as:
L1=(Di,Ni,Si)
wherein D isiIndicating a request, N, originated by the ith node in any side chainiRepresenting node properties, in particular, N1Is a master management node, N2To manage the nodes, N3Is a common node, SiRepresenting the type of the request submitted by the current node to the management node;
s2, the management node verifies the authority of the transaction
After acquiring the transaction request of the transaction node, the management node verifies V the requested information, including the format of the verification request, whether the transaction signature is valid, whether the submitter of the request has write-in authority and whether the request is submitted repeatedly, and after the verification is passed, the management node signs Q the transaction information and returns the execution result to the transaction node, and the expression is as follows:
L2=(Di,Ni,Si,V,Q)
v is verification of a transaction request of the management node to a transaction node, and Q is signature of the management node to transaction information;
s3, the management node sequences the transaction
In the process of collaborative sharing of emergency information data, a transaction node is always in a waiting state after a request is sent out, after a verification response of a management node is obtained, the transaction node performs signature verification on a verification message, generates a formal transaction after the verification is passed, broadcasts the formal transaction to a main management node for sequencing Ri, the sequencing basis is transaction time and channel ID, then generates a corresponding block, broadcasts the block to a main node of a alliance chain, and expresses that:
L3=(Di,Ni,Si,V,Q,Ri)
ri is the sequence of the management node on the transaction;
s4, the management node accounts the transaction
The account book node of the management node verifies the effectiveness of the block after obtaining the emergency information message sent by the main management node, submits the message to the local account book, completes storage and expresses as follows:
L4=(Di,Ni,Si,V,Q,Ri,A)
wherein, A is the accounting of the transaction by the management node;
s5, each level of side chain uploads the summary information to the previous level of block chain
Each side chain uploads the main information to the upper block chain until the main chain, and the expression is as follows:
L5=∑(Di,Ni,Si,V,Q,Ri,A)。
further, a public safety emergency information block chain sharing method based on a side chain is also used for realizing the cross-chain emergency information data sharing between the side chain and the side chain, and the realization method comprises the following steps:
step 1, deploying an intelligent contract module containing emergency information data sharing service on a side chain;
step 2, provincial side chain alpha for requesting emergency information data sharingiSending a request to a main chain, and independently carrying out authority verification on each received request by the main chain;
step 3, if the verification of step 2 is passed, the main chain sends the request to the requested province side chain alphajOmitting the side chain alphajReturning the query result to provincial side chain alphaiIf the verification in step 2 is not passed, the main chain returns the result of the non-pass to the province side chain alpha of the requesti
Further, still can realize tracing back to emergent information data sharing, specifically do: side chain alpha is omittediSending a request to the main chain, verifying the request by the main chain, and returning the result to the provincial side chain alpha if the verification failsiIf the verification is passed, the main chain sends the request to the requested province side chain alphajOmitting the side chain alphajAnd returning the Merkle Root, verifying the returned Merkle Root by the main chain, and sending the verification result to the provincial side chain alpha for sending the requesti
Further, the intelligent contract comprises the following functions:
(1) uploading and verifying of emergency information data
The participating node is the source of the side chain emergency information, and the environment and time information of the emergency information event is collected and uploaded to the side chain alpha through the emergency information data sharing platformiThe management node of the corresponding region verifies the authenticity and validity of the message, the verified message is uploaded to the side chain, and the main event information is uploaded to the main chain;
(2) authority management and downloading of emergency information
The emergency information uploaded to the side chain is disclosed to the corresponding nodes according to the authority level of the information, each node inquires the corresponding emergency information in the main chain according to the authority level and the requirement, and if more detailed information needs to be inquired and downloaded, the corresponding side chain information is called for inquiry and downloading;
(3) tracing source of emergency information
The emergency information uploaded to the side chain by each node is bound with the Merkle Tree Root, and is synchronized to the main chain of the Ethernet workshop to be used as a source tracing verification code of the emergency information for verifying whether the emergency information is tampered or not, and simultaneously, the source of the emergency information can be asked after problems occur.
The working principle and the beneficial effects of the invention are as follows:
1. the invention adopts a hierarchical management form, establishes a multi-hierarchy data storage mode in the interior according to regions and departments, and can improve the toughness of the emergency information management system while reducing data redundancy.
2. According to the basic characteristics of block chain distribution, intelligent contracts, point-to-point transmission and the like, the invention constructs an emergency information cooperative sharing model jointly constructed based on hierarchical emergency departments of the alliance chain. By utilizing the cooperation problem among alliance chain optimization information departments, the cooperation barrier of bar segmentation in an emergency information sharing mechanism is broken, and the cross-chain emergency information data sharing among side chains is utilized to realize the emergency information cooperation sharing and realize the center removal and flattening; an intelligent contract module containing an emergency information data sharing service performs node authority control and information tracing and accountability, and ensures the safe access of the emergency information in cooperation with the shared information in the transverse direction and the longitudinal direction; and the data throughput of the main alliance chain is reduced by utilizing the side chain, and the high efficiency of the main alliance chain is ensured. The block chain emergency sharing model constructed by the invention can effectively solve the problems of difficult coordination and sharing of emergency information at the present stage and low efficiency.
Drawings
FIG. 1 is a diagram of a model of the invention;
FIG. 2 is a block diagram of the federation chain architecture of the present invention;
FIG. 3 is a block diagram of the sidechain establishment of the present invention;
FIG. 4 is a block diagram of the present invention;
FIG. 5 is a flow chart of the present invention for cross-chain sharing of emergency intelligence data;
FIG. 6 is an algorithm for uploading and validating emergency intelligence information in accordance with the present invention;
FIG. 7 illustrates an algorithm for authority management and downloading of emergency information in accordance with the present invention;
fig. 8 is an algorithm for tracing emergency intelligence information according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Furthermore, the terms "first," "second," and the like are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance.
In the description of the embodiments of the present invention, it should be noted that the terms "inside", "outside", "upper", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally arranged when products of the present invention are used, and are only used for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the devices or elements indicated must have specific orientations, be constructed in specific orientations, and operated, and thus, cannot be construed as limiting the present invention.
Example 1
As shown in figures 1-8, a public safety emergency information block chain sharing model based on side chains is a hierarchical sharing model based on a alliance chain, and comprises city side chains, provincial side chains and a national main chain, as shown in figure 1, the data transmission quantity of the main chain is reduced through the arrangement of the city side chains and the provincial side chains, the emergency information cooperative sharing efficiency is improved, the side chains of each province are arranged into nodes according to the emergency information institutions of the province, and each side chain of the province is provided with a plurality of nodes (D)1,D2,D3…), and the uploading of emergency information from each organization to the main alliance chain is completed through data exchange of each level.
In the city side chain, a common node (N) is arranged3) And a management node (N)2). Common nodes such as departments of transportation, customs and the like can provide latest personnel flow information and are responsible for collection, uploading and sharing of emergency information. The management node is provided with a safety department, a health service committee and other departments and is responsible for verifying and endorsement of information uploaded by the participatory nodes in the city side chain, functions of common nodes are compatible, public health emergency information data are collected, uploaded and shared, and effectiveness and integrity of emergency information collaborative sharing are guaranteed. The emergency information uploaded by the nodes in the city level is stored in the city side chain, and real-time information data (I) is stored in the city side chain1) Risk symptom data (I)2) Event initial report data and event information review data (I)3) Storing offline intelligence data (I) at local account book nodes in the municipal side chain4)。
In the provincial side chain, a common node (N) is arranged3) And a management node (N)2). The emergency information uploaded from different counties and cities in province is collected into province side chain, and real-time information data (I) is stored in the province side chain1) Risk symptom data (I)2) First of an eventSub-report data (I)3) Storing offline intelligence data (I) at the provincial side-chain local account book node4). The management node in the provincial side chain can apply for consulting the provincial emergency information, and can request for examining other provincial and municipal related emergency information data through the provincial data exchange node and the intelligent contract.
In the national level main chain, a management node (N) is arranged2) And a master management node (N)1). And the emergency information abstracts of different provinces and cities are uploaded to the main chain through the side chain data exchange node. The main management node in the main chain is responsible for verifying, auditing and authorizing the identity of the management node in the side chain, and the emergency management authority of the nodes in each side chain is set through an intelligent contract, so that the legality, safety and confidentiality of the emergency information chain node are guaranteed. The verified nodes can search, download and analyze relevant public health safety emergency information in the main chain. Storing real-time intelligence data (I) on the backbone1) Risk symptom data (I)2) First event report data (I)3) Storing offline intelligence data (I) at local ledger node4). The management node in the main chain is responsible for uploading and sharing of emergency information of the node, and is also responsible for daily maintenance of the main chain of the whole alliance, so that stable operation of the main alliance chain is guaranteed.
The emergent information collaborative sharing alliance chain architecture is shown in figure 2 and comprises an emergent information sharing data sharing platform, a side chain and a main chain beta, emergent information related to emergent events is more in information and wide in range, emergent information data operate in different network environments and software environments, data of each service platform provides original emergent information data required for sharing for the public health safety emergent information sharing platform in an API (application program interface) interface butt joint mode, and information of each node is uploaded to a side alpha by a useriEach region having a separate side chain alphaiThe public health safety emergency information collaborative sharing side chain mainly comprises emergency information institutions of all regions, information of all regions is uploaded to the side chain through an emergency information sharing platform, and information abstract of the side chain of each region is packaged and then uploaded to a main chain beta of a alliance chain, wherein beta is (alpha)123,…)。
After a node user initiates an instruction on a platform, a node in a corresponding area initiates a request to an emergency information side chain network, the recording operation of a block is finally completed, and the uploading flow of emergency information data on the side chain is shown in figure 3, which specifically comprises the following steps:
s1, the trading node submits a trading request S
The transaction node initiates a transaction on the platform, and the current node submits a request to the management node, wherein the request comprises the following five types: upload data request (S)1) Verifying data requests of other nodes (S)2) Encapsulating the data request (S)3) Acquiring other node data request (S)4) Analyzing the data request (S)5) Expressed as:
L1=(Di,Ni,Si)
wherein D isiIndicating a request, N, originated by the ith node in any side chainiRepresenting node properties, in particular, N1Is a master management node, N2To manage the nodes, N3Is a common node, SiIndicating the type of request the current node submits to the management node.
S2, the management node verifies the authority V of the transaction
After acquiring the transaction request of the transaction node, the management node verifies the requested information, including the format of the verification request, whether the transaction signature is valid, whether the submitter of the request has write right, whether the submission is repeated, and the like. After the verification is passed, carrying out signature Q on the transaction information, and returning an execution result to a transaction node, wherein the expression is as follows:
L2=(Di,Ni,Si,V,Q)
v is the verification of the transaction request of the management node to the transaction node, and Q is the signature of the management node to the transaction information.
S3, the management node sorts the transactions R
In the process of cooperative sharing of emergency information, a transaction node is always in a waiting state after a request is sent out, after a verification response of a management node is obtained, the transaction node signs and verifies a verification message, a formal transaction is generated after the verification is passed, the formal transaction is broadcasted to a main management node to be sequenced Ri, the management node serves as a centralized server, one of functions is to sequence the transaction messages from all channel nodes according to transaction time and channel IDs, then corresponding blocks are generated, and the blocks are broadcasted to a main node of a alliance chain, and the expression is as follows:
L3=(Di,Ni,Si,V,Q,Ri)
ri is the sequence of the management node on the transaction.
S4, the management node accounts the transaction A
The account book node of the management node verifies the effectiveness of the block after obtaining the emergency information message sent by the main management node, submits the message to the local account book, completes the storage function, and expresses as follows:
L4=(Di,Ni,Si,V,Q,Ri,A)
wherein A is the accounting of the transaction by the management node.
S5, each level of side chain uploads the summary information to the previous level of block chain
Each side chain uploads the main information to the upper-level block chain until the main chain of the alliance chain, and the sharing process of the emergency information is completed and expressed as follows:
L5=∑(Di,Ni,Si,V,Q,Ri,A)。
the block of the emergency alliance block chain is mainly composed of two parts: a block head and a block body. A chain of blocks is formed by blocks, each block records the ID of the last block, each block contains a plurality of emergency information, and these blocks are carriers for actually storing data of the chain of blocks, see fig. 4.
The content stored in the chain block of the emergency information alliance comprises information with different attributes, such as event information (a), public opinion information (i), information timeliness (t), information security level(s), information emergency response level (c) and the like. The event information (a) is mainly used for recording specific event information when public health safety events occur, and comprises the time, the place, related people, an event propagation range, main information and the like of the event. Public opinion information (i) is mainly used for recording hot spot information about events, which is expected and discussed by social public before and after public health safety events, and emotional tendency and emotional intensity of the public and the victims. The information aging (t) is quick to occur and spread in public health safety events, the information aging is very important for emergency response, and the latest information of the events is selected from general emergency information. And the security authority(s), the data retrieval authority and the sharing authority of the main management node, the management node and the common node of the emergency information alliance chain are different, and the main management node has the highest emergency management authority. The information emergency response level (c), the influence and the influence range of different public health safety events are different, so the information emergency response level should be set according to the specific event situation.
The message body delta is { a, i, t, s, c }, all information in the message body delta is uploaded to the side chain for storage, and main information in the message body, such as time and place of event information, is uploaded to the alliance chain main chain beta.
The cooperative sharing of emergency intelligence based on the alliance chain mainly comprises three types of participants, namely a main management node N1, a management node N2 and a common node N3. Aiming at the problem of difficulty in emergency information collaborative sharing and data management in the prior art, the invention utilizes Ethenhouse and intelligent contracts to realize the emergency information collaborative sharing among different regions, and an emergency information sharing flow chart is shown in figure 5, wherein an intelligent contract module containing an emergency information sharing service is arranged on a side chain, thereby improving the emergency information sharing efficiency and ensuring the high efficiency, the safety and the traceability of the emergency information collaborative sharing among all nodes in the side chain.
The intelligent contract deployed on the side chain mainly has the following functions:
(1) and uploading and verifying emergency information. The participating node Ne is the source of the side chain emergency information, and is paired through an emergency information data sharing platformThe information of the environment, time and the like of the emergency information event is collected and uploaded to the side chain alphaiManagement node N of corresponding region2And verifying the authenticity and the validity of the message, uploading the verified information to the side chain, and uploading the main event information to the main chain of the alliance chain, wherein the specific algorithm is shown in figure 6.
(2) And managing and downloading the authority of the emergency information. The emergency information uploaded to the side chain is disclosed to the corresponding nodes according to the authority level of the information, each node inquires corresponding emergency information in the main chain of the alliance chain according to the authority level and the requirement, and if more detailed information needs to be inquired and downloaded, the corresponding side chain information is called to inquire and download. If the node in province A wants to inquire the public health safety emergency information on the side chain in province B, it will send a request to the main chain first, and after the authority verification is passed, it can call the side chain alpha in province BjThe information is downloaded, and the specific algorithm is shown in figure 7.
(3) Tracing the source of emergency information. The emergency information uploaded to the side chain by each node is bound with the Merkle Tree Root, and is synchronized to the main union chain of the Etherns to serve as a source tracing verification code of the emergency information for verifying whether the emergency information is tampered or not, and simultaneously, the source of the emergency information can be asked after problems occur, and a specific algorithm is shown in figure 8.
It will be appreciated by those skilled in the art that the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The embodiments disclosed above are therefore to be considered in all respects as illustrative and not restrictive. All changes which come within the scope of or equivalence to the invention are intended to be embraced therein.

Claims (5)

1. A public safety emergency information block chain sharing method based on a side chain is characterized in that the method is used for realizing emergency information data sharing between the side chain and a main chain, and the realization method comprises the following steps:
step one, uploading emergency information data of each service platform of a network environment and a software environment to an emergency information data sharing platform through an API (application programming interface);
step two, the emergency information data sharing platform uploads the received emergency information data to the side chain, and the specific process of uploading the emergency information data to the side chain in the step two is as follows:
s1, the trading node submits the trading request
The transaction node initiates a transaction on the emergency information data sharing platform, and a current node submits a request to the management node, wherein the request comprises the following five types: upload data request (S)1) Verifying data requests of other nodes (S)2) Encapsulating the data request (S)3) Acquiring other node data request (S)4) Analyzing the data request (S)5) Expressed as:
L1=(Di,Ni,Si)
wherein D isiIndicating a request, N, originated by the ith node in any side chainiRepresenting node properties, in particular, N1Is a master management node, N2To manage the nodes, N3Is a common node, SiRepresenting the type of the request submitted by the current node to the management node;
s2, the management node verifies the authority of the transaction
After acquiring the transaction request of the transaction node, the management node verifies V the requested information, including the format of the verification request, whether the transaction signature is valid, whether the submitter of the request has write-in authority or not and whether the submission is repeated, after the verification is passed, the management node signs Q the transaction information, and returns the execution result to the transaction node, and the expression is as follows:
L2=(Di,Ni,Si,V,Q)
v is verification of a transaction request of the management node to a transaction node, and Q is signature of the management node to transaction information;
s3, the management node sequences the transaction
In the process of cooperative sharing of emergency information data, the transaction node is always in a waiting state after a request is sent out, and after the verification response of the management node is obtained, the transaction node signs a verification messageName verification, generating formal transaction after passing the verification, broadcasting to the main management node for sequencing RiThe sequencing is based on the time and channel ID of the transaction, and then generates the corresponding block and broadcasts to the master nodes of the federation chain, expressed as:
L3=(Di,Ni,Si,V,Q,Ri)
wherein R isiOrdering of transactions for the management node;
s4, the management node accounts the transaction
The account book node of the management node verifies the effectiveness of the block after obtaining the emergency information message sent by the main management node, submits the message to the local account book, completes storage and expresses as follows:
L4=(Di,Ni,Si,V,Q,Ri,A)
wherein, A is the accounting of the transaction by the management node;
s5, each level of side chain uploads the summary information to the previous level of block chain
Each side chain uploads the main information to the upper block chain until the main chain, and the expression is as follows:
L5=∑(Di,Ni,Si,V,Q,Ri,A);
and step three, the side chain packages the abstract of the received emergency information data and uploads the abstract to the main chain.
2. The method as claimed in claim 1, wherein the side chain and the main chain are each composed of a block, the block has an ID of the previous block recorded thereon, the block includes a block header and a block body, the block body stores therein event information (a), public opinion information (i), information aging (t), security authority(s) and information emergency response level (c), the information stored in the block body constitutes a message body δ ═ a, i, t, s, c }, all information in the message body δ is uploaded to the side chain for holding, and the main information in the message body is uploaded to the main chain.
3. The method for sharing public safety emergency intelligence block chains based on side chains according to claim 1, further used for realizing the sharing of emergency intelligence data across the chain between the side chains, the realization method comprises the following steps:
step 1, deploying an intelligent contract module containing emergency information data sharing service on a side chain;
step 2, provincial side chain alpha for requesting emergency information data sharingiSending a request to a main chain, and independently carrying out authority verification on each received request by the main chain;
step 3, if the verification of step 2 is passed, the main chain sends the request to the requested province side chain alphajOmitting the side chain alphajReturning the query result to provincial side chain alphaiIf the verification in step 2 is not passed, the main chain returns the result of the non-pass to the province side chain alpha of the requesti
4. The method for sharing a public safety emergency information block chain based on a side chain as claimed in claim 3, further comprising tracing emergency information data sharing, specifically: side chain alpha is omittediSending a request to the main chain, verifying the request by the main chain, and returning the result to the provincial side chain alpha if the verification failsiIf the verification is passed, the main chain sends the request to the requested province side chain alphajOmitting the side chain alphajAnd returning the Merkle Root, verifying the returned Merkle Root by the main chain, and sending the verification result to the provincial side chain alpha for sending the requesti
5. The method of claim 3, wherein the intelligent contract module comprises the following functions:
(1) uploading and verifying of emergency information data
The participating nodes are the source of the side-chain emergency information, and the environment and time information of the emergency information event is collected and uploaded through the emergency information data sharing platformTo the side chain alphaiThe management node of the corresponding region verifies the authenticity and validity of the message, the verified message is uploaded to the side chain, and the main event information is uploaded to the main chain;
(2) authority management and downloading of emergency information
The emergency information uploaded to the side chain is disclosed to the corresponding nodes according to the authority level of the information, each node inquires the corresponding emergency information in the main chain according to the authority level and the requirement, and if more detailed information needs to be inquired and downloaded, the corresponding side chain information is called for inquiry and downloading;
(3) tracing source of emergency information
The emergency information uploaded to the side chain by each node is bound with the Merkle Tree Root, and is synchronized to the main chain of the Ethernet workshop to be used as a source tracing verification code of the emergency information for verifying whether the emergency information is tampered or not, and simultaneously, the source of the emergency information can be asked after problems occur.
CN202110086276.6A 2021-01-22 2021-01-22 Public safety emergency information block chain sharing model and method based on side chain Expired - Fee Related CN112766740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110086276.6A CN112766740B (en) 2021-01-22 2021-01-22 Public safety emergency information block chain sharing model and method based on side chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110086276.6A CN112766740B (en) 2021-01-22 2021-01-22 Public safety emergency information block chain sharing model and method based on side chain

Publications (2)

Publication Number Publication Date
CN112766740A CN112766740A (en) 2021-05-07
CN112766740B true CN112766740B (en) 2021-11-02

Family

ID=75702658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110086276.6A Expired - Fee Related CN112766740B (en) 2021-01-22 2021-01-22 Public safety emergency information block chain sharing model and method based on side chain

Country Status (1)

Country Link
CN (1) CN112766740B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407624A (en) * 2021-06-05 2021-09-17 广东辰宜信息科技有限公司 Block chain automatic grouping method and device and computer readable storage medium
CN116018796A (en) * 2021-08-20 2023-04-25 京东方科技集团股份有限公司 Creation method, information processing method, storage method, electronic device, and storage medium
CN114819750B (en) * 2022-06-23 2022-09-16 湖南工商大学 Intelligent power supply dynamic hierarchical management method
CN115189965B (en) * 2022-09-06 2022-12-13 浙江数秦科技有限公司 Cross-chain management system and cross-chain operation method of block chain
CN115840683B (en) * 2023-02-24 2023-05-16 浪潮电子信息产业股份有限公司 Heterogeneous alliance chain monitoring method, system, device, equipment and storage medium
CN116029619B (en) * 2023-03-29 2023-07-28 佛山市龙生光启科技有限公司 Data processing method and system for smart city planning

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650231A (en) * 2018-04-04 2018-10-12 广州广电运通金融电子股份有限公司 Physical characteristics collecting method and system based on block chain
CN109902075A (en) * 2019-01-24 2019-06-18 深圳市步云科技有限公司 A kind of distributed cloud storage management platform system based on IPFS and block chain
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Across chain communication means, device, main chain node and storage medium
CN110619587A (en) * 2018-12-28 2019-12-27 深圳市建筑科学研究院股份有限公司 Method and system for foundation pit monitoring intelligent early warning and data evidence storage
CN110689471A (en) * 2019-09-30 2020-01-14 浙江水利水电学院 Water resource monitoring system and method based on block chain
CN111415753A (en) * 2020-03-06 2020-07-14 杭州云象网络技术有限公司 Epidemic situation monitoring and early warning method and system based on block chain
CN111625598A (en) * 2020-05-15 2020-09-04 南京东垚建筑科技研究院有限公司 Engineering cooperation block chain data structure and application method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650231A (en) * 2018-04-04 2018-10-12 广州广电运通金融电子股份有限公司 Physical characteristics collecting method and system based on block chain
CN110619587A (en) * 2018-12-28 2019-12-27 深圳市建筑科学研究院股份有限公司 Method and system for foundation pit monitoring intelligent early warning and data evidence storage
CN109902075A (en) * 2019-01-24 2019-06-18 深圳市步云科技有限公司 A kind of distributed cloud storage management platform system based on IPFS and block chain
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Across chain communication means, device, main chain node and storage medium
CN110689471A (en) * 2019-09-30 2020-01-14 浙江水利水电学院 Water resource monitoring system and method based on block chain
CN111415753A (en) * 2020-03-06 2020-07-14 杭州云象网络技术有限公司 Epidemic situation monitoring and early warning method and system based on block chain
CN111625598A (en) * 2020-05-15 2020-09-04 南京东垚建筑科技研究院有限公司 Engineering cooperation block chain data structure and application method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A Green Power Traceability Technology Based on Timestamp in a Main-Side Chain System;Hongkai Wang 等;《2020 13th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics》;20201125;第1087-1092页 *

Also Published As

Publication number Publication date
CN112766740A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN112766740B (en) Public safety emergency information block chain sharing model and method based on side chain
CN110572281B (en) Credible log recording method and system based on block chain
CN113438084B (en) Green power source tracing method and system based on R-PBFT consensus algorithm and timestamp
CN112395640B (en) Industry internet of things data light-weight credible sharing technology based on block chain
CN111666337B (en) Patent technology conversion operation platform and transaction method based on blockchain technology
CN107147735A (en) A kind of distributed account book system based on hierarchy
CN110399373A (en) A kind of block chain account book storage system, storage querying method and delet method
CN110688634B (en) Intelligent execution method for alliance chain affairs
CN112270550A (en) New energy electric power source tracing method and system based on block chain
CN110163607A (en) The personal reference method of college student number based on block chain intelligence contract
CN111612483B (en) Tea leaf credible tracing system based on decentralization and centralization cooperation
CN109741217A (en) Intellectual Property Right Protection System and method based on block chain
CN109120590A (en) The credible shared transaction system of data based on block chain
CN105956029A (en) Data access method under hybrid storage architecture
CN108428116A (en) A kind of invitation system based on the network platform
CN109359860A (en) A kind of access method of the steel creation data based on intelligent contract
US20220012806A1 (en) Electricity market trading and evaluation method based on weak centralized consortium blockchain
CN114528346A (en) Method for sharing transaction of multi-source heterogeneous data assets by depending on block chain
CN113886501A (en) Block chain service module extension method based on multi-chain architecture
CN109657075A (en) A kind of digital resource adduction relationship recording method and system
CN113763170A (en) Carbon number data storage and transaction system based on block chain
CN109117501A (en) Science data modeling and storage method based on block chain
CN111127257A (en) Housing estate information management platform based on block chain
CN111061982B (en) News information publishing and managing system based on block chain
CN110766422B (en) Drug collaboration and traceability system and method based on alliance chain

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211102

CF01 Termination of patent right due to non-payment of annual fee