Data management system
By introducing encryption devices and blockchain networks into the gas data management system, the problem of gas data loss or tampering during transmission and processing has been solved, achieving secure and reliable data storage and management.
Patent Information
- Application Number
- CN202310739305.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-20
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2043-06-20
AI Technical Summary
In existing technologies, gas data is easily lost or tampered with during transmission and processing, which makes it impossible to guarantee its validity, accuracy and integrity.
A data management system is adopted, comprising a gas data acquisition device, a gas data encryption device, a gas data processing device, and a blockchain network that are connected in sequence, and the security and integrity of the data are ensured through encryption and blockchain technologies.
It has enabled scientific and intelligent management of gas data, ensuring the immutability and transparency of the data, and improving the reliability and integrity of the data.
Smart Images

Figure CN116614534B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a data management system. BACKGROUND
[0002] With the development of society, the demand for monitoring of gas data is expanding.
[0003] The prior art usually transmits the gas data detected by the gas detector to the data platform of the gas management department for receiving and processing, and then outputs the final gas data.
[0004] In the transmission and processing process of the gas data of the prior art, the gas data is prone to loss or tampering due to the lack of effective monitoring and management, which cannot guarantee the effectiveness, accuracy and integrity of the gas data. SUMMARY
[0005] The purpose of the present application is to provide a data management system, which solves the technical problem that the prior art cannot guarantee the effectiveness, accuracy and integrity of the gas data.
[0006] In order to achieve the above purpose, the present application provides the following technical scheme:
[0007] In a first aspect, a data management system is provided, comprising a gas data acquisition device, a gas data encryption device, a gas data processing device and a blockchain network connected in sequence.
[0008] Optionally, the data management system further comprises a client, and the client is in communication connection with the gas data processing device.
[0009] Optionally, the gas data acquisition device is configured to acquire gas data.
[0010] The gas data encryption device is configured to encrypt the gas data.
[0011] The gas data processing device is configured to verify the encrypted gas data, obtain a data digest of the gas data that passes the verification, and store the data digest in the blockchain network.
[0012] The client is configured to send query information to the gas data processing device in response to a query instruction.
[0013] The gas data processing device is further configured to receive the query information and send the gas data corresponding to the query information to the client.
[0014] Optionally, the gas data includes gas flow in a to-be-detected gas environment, methane content of the to-be-detected gas environment, environmental temperature of the to-be-detected gas environment and environmental pressure of the to-be-detected gas environment.
[0015] The gas data acquisition device comprises a gas flow meter, a methane detector, a temperature transmitter and a pressure transmitter;
[0016] The gas flow meter is used for acquiring the gas flow in the gas environment to be detected.
[0017] The methane detector is used for acquiring the methane content of the gas environment to be detected.
[0018] The temperature transmitter is used for acquiring the ambient temperature of the gas environment to be detected.
[0019] The pressure transmitter is used for acquiring the ambient pressure of the gas environment to be detected.
[0020] Optionally, the gas data encryption device comprises a power module, an Internet of Things wireless data collector, a communication protocol module, an encryption module and a wireless communication module.
[0021] The power module is in communication connection with the Internet of Things wireless data collector, the communication protocol module, the encryption module and the wireless communication module respectively, and is used for supplying power to the Internet of Things wireless data collector, the communication protocol module, the encryption module and the wireless communication module.
[0022] The Internet of Things wireless data collector is further in communication connection with the communication protocol module through an RS485 interface; the model of the Internet of Things wireless data collector is F2114 GPRS DTU, and the Internet of Things wireless data collector is used for receiving the gas data acquired by the gas data acquisition device.
[0023] The communication protocol module is further in communication connection with the encryption module; the communication protocol module is used for receiving the gas data acquired by the gas data acquisition device and sending the gas data to the encryption module.
[0024] The encryption module is further in communication connection with the wireless communication module through an RJ45 interface; the chip model of the encryption module is HSMD1 chip, and the encryption module is used for encrypting the gas data and sending the encrypted gas data to the wireless communication module.
[0025] The wireless communication module is further in communication connection with the gas data processing device; the wireless communication module is used for sending the encrypted gas data to the gas data processing device.
[0026] Optionally, the gas data processing device comprises a processing module, a storage module, an analysis module, a response module and a security module.
[0027] The processing module is in communication connection with the wireless communication module, the storage module, the analysis module, the security module and a block chain network respectively.
[0028] The storage module is in communication connection with the analysis module, the block chain network and the processing module respectively.
[0029] The analysis module is in communication connection with the processing module, the storage module and the response module respectively;
[0030] The response module is in communication connection with the analysis module and the client respectively;
[0031] The security module is in communication connection with the analysis module and the processing module respectively.
[0032] Optionally, the chip model of the processing module is an RJGT102 series chip or an RJMU401 series chip;
[0033] The chip model of the storage module is a data type flash NAND chip;
[0034] The analysis module is a microprocessor MPU unit;
[0035] The chip model of the response module is an e5551 transponder chip;
[0036] The chip model of the security module is any one of an LM324, an LM358 and a uA741.
[0037] Optionally, the processing module is configured to: acquire encrypted gas data; verify the encrypted gas data; acquire a data digest of the verified gas data;
[0038] The analysis module is configured to: acquire the verified gas data, and perform outlier processing on the verified gas data to obtain processed gas data;
[0039] The processing module is further configured to: acquire a data digest of the processed gas data;
[0040] The storage module is configured to: store a plurality of data; store the plurality of data into a blockchain network; receive and store a plurality of block identifiers corresponding to the plurality of data respectively and sent by the blockchain network; the plurality of data comprises the verified gas data, the data digest of the verified gas data, the processed gas data and the data digest of the processed gas data;
[0041] The response module is configured to: receive a first request sent by the client, and in response to the first request, send the processed gas data corresponding to the first request to the client;
[0042] The security module is configured to: receive a second request sent by the client, and send the second request to the processing module;
[0043] The processing module is further configured to: in response to the second request, acquire a block identifier corresponding to the second request; the second request comprises a data digest of requested data; acquire a target data digest corresponding to the block identifier; determine a comparison result of the data digest of the requested data and the target data digest, and send the comparison result to the client through the security module.
[0044] Optionally, the blockchain network comprises a firewall, a switch, a blockchain node server, a blockchain as a service (BaaS) server, a cloud storage server and a distributed file system;
[0045] The firewall is in communication connection with the switch;
[0046] The switch is in communication connection with the blockchain node server, the BaaS server and the cloud storage server respectively;
[0047] The cloud storage server is in communication connection with the distributed file system.
[0048] Optionally, the client comprises an application layer and a platform layer;
[0049] The application layer is used for displaying gas data in a gas use device;
[0050] The platform layer is used for displaying gas data in a gas management device.
[0051] The data management system provided by the application brings at least the following beneficial effects:
[0052] The application provides a data management system, comprising a gas data acquisition device, a gas data encryption device, a gas data processing device and a blockchain network which are sequentially in communication connection.
[0053] Firstly, after the gas data acquisition device acquires gas data, the acquired gas data can be encrypted by the gas data encryption device, thereby providing a first layer of security control. Then, since the blockchain has technical characteristics such as reliable data, non-tamperability, transparency and distributed storage, and distributed accounting, encryption, openness and sharing features, after the gas data processing device verifies the gas data encryption device, the verified gas data can be stored in the blockchain network. The application of the blockchain technology can help promote the scientific and intelligent level of gas data management, and plays a very important role in strengthening gas data management. BRIEF DESCRIPTION OF DRAWINGS
[0054] Figure 1 FIG. 1 is a structural schematic diagram of a data management system provided by the application;
[0055] Figure 2 FIG. 2 is a structural schematic diagram of a gas data acquisition device provided by the application;
[0056] Figure 3 FIG. 3 is a structural schematic diagram of a gas data encryption device provided by the application;
[0057] Figure 4 FIG. 4 is a structural schematic diagram of a gas data processing device provided by the application;
[0058] Figure 5 A structural schematic diagram of a blockchain network is provided for the present application.
[0059] Figure 6 A structural schematic diagram of a client is provided for the present application. DETAILED DESCRIPTION
[0060] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0061] In the description of the present application, it should be understood that the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation of the present application. The terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, the meaning of "a plurality of" is two or more.
[0062] In the description of the present application, it should be noted that unless otherwise specified and limited, the terms "mounting", "connecting", "connecting" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected; it can be directly connected, or indirectly connected through an intermediate medium; it can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0063] As described in the background, in the transmission and processing process of the prior art gas data, due to the lack of effective monitoring and management, the gas data is easy to be lost or tampered with, which cannot guarantee its effectiveness, accuracy and integrity.
[0064] In view of the above problems, the present application provides a data management system, comprising a gas data acquisition device, a gas data encryption device, a gas data processing device and a blockchain network which are sequentially connected in communication.
[0065] Firstly, after the gas data collected by the gas data collection device, the gas data collected can be encrypted by the gas data encryption device, providing the first layer of security control. Then, since the blockchain has technical characteristics such as reliable data, non-tamperable, transparent and distributed storage, and distributed accounting, encryption, open and shared features, after the gas data encryption device is verified by the gas data processing device, the verified gas data can be stored in the blockchain network. The application of blockchain technology can help promote the scientific and intelligent level of gas data management, and plays a very important role in strengthening gas data management.
[0066] As shown in Figure 1 , the data management system 10 includes a gas data collection device 1, a gas data encryption device 2, a gas data processing device 3, and a blockchain network 4 connected in sequence.
[0067] Optionally, the data management system 10 further includes a client 5. The client 5 is in communication connection with the gas data processing device 3.
[0068] The gas data collection device 1 is configured to collect gas data.
[0069] The gas data encryption device 2 is configured to encrypt the gas data.
[0070] The gas data processing device 3 is configured to verify the encrypted gas data, obtain a data digest of the gas data that passes the verification, and store the data digest in the blockchain network 4.
[0071] The client 5 is configured to send query information to the gas data processing device 3 in response to a query instruction.
[0072] The gas data processing device 3 is further configured to receive the query information and send the gas data corresponding to the query information to the client 5.
[0073] In one implementation, the connection between the gas data collection device 1 and the gas data encryption device 2 can be infrared induction / electrical connection, and the gas data collection device 1 can transmit the collected gas data to the gas data encryption device 2.
[0074] The gas data can include: gas flow in a to-be-detected gas environment, methane content of the to-be-detected gas environment, environment temperature of the to-be-detected gas environment, and environment pressure of the to-be-detected gas environment.
[0075] As shown in Figure 2 , the gas data collection device 1 includes a gas flow meter 11, a methane detector 12, a temperature transmitter 13, and a pressure transmitter 14.
[0076] The gas flow meter 11 is used to collect the gas flow in the environment to be detected.
[0077] Specifically, the gas flow meter 11 is used to measure the gas pipeline flow, has the advantages of high measurement accuracy, wide range, low power consumption, easy installation, simple operation, small pressure loss, etc., can display the measured working condition volume flow or standard volume flow (integrated intelligent temperature, pressure compensation) on site, and can be attached with pulse or 4-20 milliampere current output function according to user needs.
[0078] The methane detector 12 is used to collect the methane content of the environment to be detected.
[0079] Specifically, the methane detector 12 is used to measure the methane content in the gas station, gas, etc. The methane detector 12 can store 3000 groups of data, has the functions of key adjustment and LED display, and the measurement range can be 0-4%.
[0080] The temperature transmitter 13 is used to collect the environment temperature of the environment to be detected.
[0081] Specifically, the temperature transmitter 13 is used to measure the temperature in the gas station. The temperature transmitter is used to convert the signal of the temperature sensor into a current signal, which is connected to the secondary instrument to display the corresponding temperature.
[0082] The pressure transmitter 14 is used to collect the environment pressure of the environment to be detected.
[0083] Specifically, the pressure transmitter 14 is used to measure the pressure in the gas station. It is a device that converts pressure into pneumatic signal or electric signal for control and remote transmission. The pressure transmitter 14 can convert the physical pressure parameters of gas, liquid, etc. sensed by the pressure measuring element sensor into standard electrical signals (such as 4-20 mADC, etc.) to supply secondary instruments such as indicating alarm instrument, recorder, and regulator for measurement, indication, and process regulation.
[0084] In an implementable manner, the gas data encryption device 2 is used to encrypt the data collected by the gas data collection device 1, and is in communication connection with the gas data collection device 1. As shown in Figure 3 The gas data encryption device 2 includes a power module 21, an Internet of Things wireless data collector 22, a communication protocol module 23, an encryption module 24, and a wireless communication module 25.
[0085] The power module 21 is in communication connection with the Internet of Things wireless data collector 22, the communication protocol module 23, the encryption module 24, and the wireless communication module 25, respectively, and is used to power the Internet of Things wireless data collector 22, the communication protocol module 23, the encryption module 24, and the wireless communication module 25.
[0086] Specifically, the power module 21 is electrically connected with the Internet of Things wireless data collector 22, the communication protocol module 23, the encryption module 24 and the wireless communication module 25, and is used for supplying power to the Internet of Things wireless data collector 22, the communication protocol module 23, the encryption module 24 and the wireless communication module 25, and providing power for them.
[0087] The Internet of Things wireless data collector 22 is also in communication connection with the communication protocol module 23 through an RS485 interface. The model of the Internet of Things wireless data collector 22 is F2114 GPRS DTU, which is used for receiving the gas data collected by the gas data collection device 1.
[0088] Specifically, the Internet of Things wireless data collector 22 can use F2114 (GPRS DTU) as a data transmission terminal. F2114 is a wireless data transmission terminal of the Internet of Things, which uses an operator network to provide wireless long-distance data transmission for users, supports a GPRS network, and supports RS232 and RS485 (or RS422) interfaces to realize transparent data transmission.
[0089] The Internet of Things wireless data collector 22 has a low-power design, and the minimum power consumption is less than 1 mA.
[0090] The Internet of Things wireless data collector 22 can also provide 5-way I / 0, and can realize functions such as digital quantity input and output, pulse output, analog quantity input, pulse counting and the like.
[0091] The communication protocol module 23 is also in communication connection with the encryption module 24. The communication protocol module 23 is used for receiving the gas data collected by the gas data collection device 1, and sending the gas data to the encryption module 24.
[0092] Specifically, the communication protocol module 23 uses a standard communication protocol to convert the gas data collected by the gas data collection device 1 into a storable data format. The Internet of Things wireless data collector 22 is in communication connection with the communication protocol module 23, and can use an RS485 interface to connect.
[0093] The encryption module 24 is also in communication connection with the wireless communication module 25 through an RJ45 interface. The chip model of the encryption module 24 is HSMD1 chip, which is used for encrypting the gas data and sending the encrypted gas data to the wireless communication module 25.
[0094] Specifically, after the Internet of Things wireless data collector 22 receives the gas data sent by the gas data collection device 1, the gas data can be sent to the encryption module 24 through the communication protocol module 23. The encryption module 24 is installed with a blockchain software with signature encryption. After the encryption module 24 reads the original data, it encrypts the signature, and then sends the encrypted data to the gas data processing device 3 through the wireless communication module 25.
[0095] Meanwhile, the encryption module 24 automatically calculates the digest of the original data (calculates the hash value through a general hash algorithm) and uploads the packaged digest data to the blockchain network 4 for on-chain storage according to the frequency.
[0096] The communication protocol module 23 is in communication connection with the encryption module 24 and can be connected through an RJ45 interface.
[0097] The wireless communication module 25 is also in communication connection with the gas data processing device 3. The wireless communication module 25 is used to send the encrypted gas data to the gas data processing device 3.
[0098] Specifically, the wireless communication module 25 is in communication connection with the gas data processing device 3 and is used to transmit the encrypted gas data to the gas data processing device 3.
[0099] The wireless communication module 25 can be connected to the gas data processing device 3 through ADSL, Internet public network, fixed IP, public network dynamic IP + DNS resolution service, or APN / VPDN private network.
[0100] The encryption module 24 is in communication connection with the wireless communication module 25 and can be connected through an RJ45 interface.
[0101] In an implementable manner, as shown in Figure 4 The gas data processing device 3 includes a processing module 31, a storage module 32, an analysis module 33, a response module 34, and a security module 35.
[0102] The processing module 31 is in communication connection with the wireless communication module 25, the storage module 32, the analysis module 33, the security module 35, and the blockchain network 4, respectively.
[0103] Optionally, the chip model of the processing module 31 is an RJGT102 series chip or an RJMU401 series chip.
[0104] The storage module 32 is in communication connection with the analysis module 33, the blockchain network 4, and the processing module 31, respectively.
[0105] Optionally, the chip model of the storage module 32 is a data type flash NAND chip.
[0106] The analysis module 33 is in communication connection with the processing module 31, the storage module 32, and the response module 34, respectively.
[0107] Optionally, the analysis module 33 is a microprocessor MPU unit.
[0108] The response module 34 is in communication connection with the analysis module 33 and the client 5, respectively.
[0109] Optionally, the chip model of the response module 34 is an e5551 transponder chip.
[0110] The security module 35 is in communication connection with the analysis module 33 and the processing module 31 respectively.
[0111] Optionally, the chip model of the security module 35 is any one of LM324, LM358 and uA741.
[0112] The processing module 31 is configured to: acquire the encrypted gas data; verify the encrypted gas data; and acquire a data digest of the verified gas data.
[0113] The analysis module 33 is configured to: acquire the verified gas data; and perform outlier processing on the verified gas data to obtain processed gas data.
[0114] The processing module 31 is further configured to: acquire a data digest of the processed gas data.
[0115] The storage module 32 is configured to: store a plurality of data; store the plurality of data into the blockchain network 4; and receive and store a plurality of block identifiers corresponding to the plurality of data respectively and sent by the blockchain network 4. The plurality of data includes the verified gas data, the data digest of the verified gas data, the processed gas data and the data digest of the processed gas data.
[0116] The response module 34 is configured to: receive a first request sent by the client 5; and in response to the first request, send the processed gas data corresponding to the first request to the client 5.
[0117] The security module 35 is configured to: receive a second request sent by the client 5; and send the second request to the processing module 31.
[0118] The processing module 31 is further configured to: in response to the second request, acquire a block identifier corresponding to the second request; acquire a target data digest corresponding to the block identifier; determine a comparison result of a data digest of the requested data and the target data digest; and send the comparison result to the client 5 through the security module 35.
[0119] Specifically, the processing module 31 as the core component of the gas data processing device 3 is configured to perform calculation and processing on data, including key decryption calculation and data digest calculation, etc.
[0120] The gas data processing device 3 receives the gas data transmitted by the gas data encryption device 2, and first decrypts and verifies the gas data through the processing module 31. The encrypted gas data and signature data transmitted by the gas data encryption device 2 are decrypted through the private key and the public key to verify that the data transmission process has not been tampered with, to ensure data security and reliability, and to confirm that the data and the data source are correct before transmitting to the storage module 32.
[0121] The storage module 32 is used to store the gas data collected by the gas data collection device 1, and to store the subsequent gas data for packaging and chaining. The storage module 32 also stores the data requested by the client 5 for access.
[0122] Optionally, the storage module 32 can block and package the stored gas data of various types, and then transmit them to the blockchain network 4 at a set frequency to realize the data storage function.
[0123] The storage module 32 is in communication connection with the blockchain network 4, and transmits the various gas data block identifiers returned by the blockchain network 4 to the storage module 32 for storage.
[0124] The analysis module 33 is used to analyze the gas data in the storage module 32, remove abnormal gas data values, and correct unreasonable data. The analysis module 33 also summarizes the correct gas data according to the gas flow, temperature, pressure, and methane concentration data types within a predetermined time.
[0125] Meanwhile, the analysis module 33 is also used to record the gas data processing process and transmit it to the processing module 31 to calculate the data digest for chaining.
[0126] Optionally, the processing module 31 can also be in communication connection with the blockchain network 4. The processing module 31 is used to calculate the data digest of the gas data processing process, and package and chain the data digest for gas data storage.
[0127] Optionally, the response module 34 is in communication connection with the analysis module 33, and can exchange gas data to respond to the data request of the client 5.
[0128] The response module 34 can call the gas data stored in the storage module 32 through the analysis module 33, and send the processed gas data to the response module 34. The response module 34 then sends the processed gas data to the client 5.
[0129] When the client 5 has doubts about the gas data obtained from the gas data processing device 3, the application can call the gas data block identifier in the storage module 32 through the processing module 31 to confirm the data digest of the gas data in question through the case identifier.
[0130] Meanwhile, the processing module 31 calculates the disputed data digest and compares the two digests. If consistent, it means that the data sent to the client 5 user has not been tampered with and is authentic and reliable. The processing data transmits the comparison result to the security module 35, which sends back the final judgment of the gas data result to the client 5 user.
[0131] In an implementable manner, as shown in Figure 5 The blockchain network 4 includes a firewall 41, a switch 42, a blockchain node server 43, a blockchain as a service (BaaS) server 44, a cloud storage server 45, and a distributed file system 46.
[0132] The firewall 41 is in communication connection with the switch 42.
[0133] The switch 42 is in communication connection with the blockchain node server 43 (for example, a Sawtooth blockchain node), the BaaS server 44, and the cloud storage server 45, respectively.
[0134] The cloud storage server 45 is in communication connection with the distributed file system 46.
[0135] Specifically, the blockchain network 4 is used to receive and store the gas data to be chained and the data in the data processing operation process.
[0136] The blockchain network 4 is in communication connection with the gas data processing device 3. The blockchain network 4 includes the firewall 41, the switch 42, the Sawtooth blockchain node server 43, the BaaS server 44, the cloud storage server 45, and the distributed file system 46.
[0137] The firewall 41, the switch 42, the Sawtooth blockchain node server 43, the BaaS server 44, and the cloud storage server 45 are connected on the switch 42 through a network and are in the same local area network. The cloud storage server 45 is in network connection with the distributed file system 46.
[0138] The gas data processing device 3 transmits the gas data to be chained to the firewall 41. The firewall 41 transmits the chained gas data to the Sawtooth blockchain node server 43, the BaaS server 44, and the cloud storage server 45 via the switch 42. The cloud storage server 45 transmits the chained gas data to the distributed file system 46, which provides fault tolerance capability. If a certain node fails, other nodes can continue to provide services.
[0139] Optionally, the firewall 41 has the functions of centralized security management, protection of network service resources and data resources, network access control, etc., for realizing the functions of network security and load balancing. The gas data processing device 3 transmits the gas data to be uploaded to the firewall 41, and the firewall 41 transmits the uploaded gas data to the switch 42.
[0140] Optionally, the switch 42 is a network connection device, which is connected with the firewall 41, the switch 42, the Sawtooth blockchain node server 43, the BaaS server 44, and the cloud storage server 45, to realize data interaction between devices.
[0141] Optionally, the Sawtooth blockchain node server 43 is used to realize the core function of blockchain accounting, store gas data, uniformly manage the identity of the uploading device, and verify the identity of the uploading device.
[0142] Optionally, there are multiple Sawtooth nodes (for example, node 1, node 2, node 3, node 4, and node n) in the blockchain network 4, and each Sawtooth node has a Sawtooth Network. Figure 5
[0143] Optionally, each node has the same validator, transaction processor, consensus engine, and REST API, and each node can connect the client 5 in a pluggable manner. The development based on Hyperledger Sawtooth requires defining the business logic of the transaction processor, the business logic of the client 5, and the data model to build a transaction family to complete specific business requirements.
[0144] Hyperledger Sawtooth is a blockchain framework that is built, deployed, and run using a modular platform to provide high confidentiality, flexibility, flexibility, and scalability. Since the gas bureau needs to encrypt the gas data, the present application adopts the Hyperledger Sawtooth blockchain framework in the blockchain network 4.
[0145] Optionally, the BaaS server 44 is used for functions such as blockchain creation and management, intelligent contract life cycle management, operation and maintenance monitoring, and providing access interfaces to the outside. It can be built on an open-source or closed-source blockchain architecture, supporting core technologies such as a pluggable consensus mechanism, a distributed ledger storage mechanism, a multi-language supported intelligent contract engine, cross-chain interaction, and a security and privacy protection mechanism. It is used for data uploading, ensuring the continuous and stable operation of the business. The blockchain business running on the bottom layer of the blockchain, the user can complete the application uploading through the system service visualization, and complete the uploading by integrating the blockchain bottom layer SDK in the application engineering.
[0146] Optionally, the cloud storage server 45 is used to store the chained gas data and related files.
[0147] Optionally, the distributed file system 46 is used to distribute the chained gas data and related files stored in the cloud storage server 45 to each node, which can provide fault tolerance capability, if a node fails, other nodes can continue to provide services. In addition, DFS can also provide data integrity and security to ensure data consistency.
[0148] In an implementable manner, as shown in Figure 6 The client 5 includes an application layer 51 and a platform layer 52.
[0149] The application layer 51 is used to display the gas data in the gas use equipment.
[0150] The platform layer 52 is used to display the gas data in the gas management equipment.
[0151] Specifically, the client 5 faces the user and is used to receive and display the gas data published by the gas data processing equipment 3. The gas use equipment of the application layer 51 includes the gas use equipment in the environment of enterprise station, gas filling station, supply station, gas management department, etc. Relying on the powerful data processing function of the gas data processing equipment 3 and the reliable security of the blockchain network 4, various gas supervision platforms can also be connected, including the gas safety information management platform, the gas industry supervision information platform, enterprises, gas supervision agencies, etc. (i.e. gas management equipment).
[0152] The present application provides a data management system based on blockchain, which solves the problem of easy loss and tampering of existing data, and specifically includes a gas data acquisition device 1, a gas data encryption device 2, a gas data processing device 3, a blockchain network 4 and a client 5.
[0153] The gas data acquisition device 1 and the gas data encryption device 2 are in communication connection, the gas data encryption device 2 is in communication connection with the gas data processing device 3, and the gas data processing device 3 is in communication connection with the blockchain network 4 and the client 5.
[0154] The gas data encryption device 2 is used to convert the received raw gas data into gas data summary and transmit it to the blockchain network 4 for chaining, and at the same time, the raw gas data is signed and encrypted and sent to the gas data processing device 3.
[0155] The gas data processing device 3 is used to decrypt and authenticate the signed and encrypted data and further process the gas data and send it to the client 5, and at the same time, the process data of further processing the gas data is sent to the blockchain network 4 for chaining.
[0156] By using the security, non-tamperability, transparency, openness and decentralization of the blockchain, the gas data is avoided from being lost or tampered, at the same time, the gas data modification record is recorded, the gas data is avoided from being maliciously tampered and fake, and the accuracy, real-time and integrity of the gas data are ensured.
[0157] In the description of the embodiments of the present application, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0158] The above is merely specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0159] In the description of the embodiments of the present application, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0160] The above is merely specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A data management system, characterized by, The gas data acquisition device, the gas data encryption device, the gas data processing device, and the blockchain network are sequentially and communicatively connected. The gas data encryption device comprises an Internet of Things wireless data collector, a communication protocol module, an encryption module, and a wireless communication module. The Internet of Things wireless data collector is communicatively connected with the communication protocol module and configured to receive the gas data collected by the gas data acquisition device. The communication protocol module is further communicatively connected with the encryption module and configured to receive the gas data collected by the gas data acquisition device and send the gas data to the encryption module. The encryption module is further communicatively connected with the wireless communication module and configured to encrypt the gas data and send the encrypted gas data to the wireless communication module. The encryption module is installed with blockchain software with signature encryption function. The encryption module is further configured to calculate the digest of the gas data by using the blockchain software, package the digest of the gas data, and upload the packaged digest to the blockchain network for on-chain storage and evidence. The wireless communication module is further communicatively connected with the gas data processing device and configured to send the encrypted gas data to the gas data processing device. The gas data processing device comprises a processing module, a storage module, an analysis module, a response module, and a security module. The processing module is configured to obtain the encrypted gas data, verify the encrypted gas data, and obtain the digest of the verified gas data. The analysis module is configured to obtain the verified gas data, perform outlier processing on the verified gas data, and obtain processed gas data. The processing module is further configured to obtain the digest of the processed gas data. The storage module is configured to store multiple data, store the multiple data in the blockchain network, receive and store multiple block identifiers corresponding to the multiple data sent by the blockchain network, and the multiple data comprises the verified gas data, the digest of the verified gas data, the processed gas data, and the digest of the processed gas data. The response module is configured to receive a first request sent by a client and send the processed gas data corresponding to the first request to the client in response to the first request. The security module is configured to receive a second request sent by the client and send the second request to the processing module. The processing module is further configured to obtain a block identifier corresponding to the second request in response to the second request, the second request comprises a data digest of requested data, obtain a target data digest corresponding to the block identifier, determine a comparison result of the data digest of the requested data and the target data digest, and send the comparison result to the client through the security module. The blockchain network comprises a firewall, a switch, a blockchain node server, a blockchain as a service (BaaS) server, a cloud storage server, and a distributed file system. The gas data processing device transmits the gas data needing to be chained to the firewall, the firewall transmits the gas data needing to be chained to the blockchain node server, the BaaS server and the cloud storage server via the switch, and the cloud storage server transmits the gas data needing to be chained to the distributed file system; the distributed file system is used for providing fault tolerance capability, and in the case of failure of a certain node, other nodes continue to provide services.
2. The data management system of claim 1, wherein, The gas data encryption device further comprises a power module; The power module is in communication connection with the Internet of Things wireless data collector, the communication protocol module, the encryption module and the wireless communication module respectively, and is used for powering the Internet of Things wireless data collector, the communication protocol module, the encryption module and the wireless communication module.
3. The data management system according to claim 2, wherein, The client is configured to send query information to the gas data processing device in response to a query instruction; The gas data processing device is further configured to receive the query information and send gas data corresponding to the query information to the client.
4. The data management system of claim 1, wherein, The gas data comprises gas flow in a to-be-detected gas environment, methane content of the to-be-detected gas environment, environment temperature of the to-be-detected gas environment and environment pressure of the to-be-detected gas environment; The gas data acquisition device comprises a gas flow meter, a methane detector, a temperature transmitter and a pressure transmitter; The gas flow meter is configured to acquire the gas flow in the to-be-detected gas environment; The methane detector is configured to acquire the methane content of the to-be-detected gas environment; The temperature transmitter is configured to acquire the environment temperature of the to-be-detected gas environment; The pressure transmitter is configured to acquire the environment pressure of the to-be-detected gas environment.
5. The data management system according to claim 1, wherein, The processing module is in communication connection with the wireless communication module, the storage module, the analysis module, the security module and the blockchain network respectively; The storage module is in communication connection with the analysis module, the blockchain network and the processing module respectively; The analysis module is in communication connection with the processing module, the storage module and the response module respectively; The response module is in communication connection with the analysis module and the client respectively; The security module is in communication connection with the analysis module and the processing module respectively.
6. The data management system according to claim 5, wherein, The chip model of the processing module is an RJGT102 series chip or an RJMU401 series chip; The chip model of the storage module is a data type flash NAND chip; The analysis module is a microprocessor MPU unit; The chip model of the response module is an e5551 transponder chip; The chip model of the security module is any one of LM324, LM358 and uA741.
7. The data management system according to claim 1, wherein, The firewall is in communication connection with the switch. The switch is in communication connection with the blockchain node server, the BaaS server and the cloud storage server respectively; The cloud storage server is in communication connection with the distributed file system.
8. The data management system of any of claims 1-7, wherein, The client includes an application layer and a platform layer; The application layer is used for displaying gas data in a gas use device; The platform layer is used for displaying gas data in a gas management device.
Citation Information
Patent Citations
Collective reading system and method for four meters based on block chain
CN110322678A
Environment monitoring data acquisition and processing system based on block chain
CN212086236U
Metering equipment measurement and control system based on NB-IoT technology
CN212691497U