CN110995837B - Underground cable collected data uploading method and system based on block chain - Google Patents

Underground cable collected data uploading method and system based on block chain Download PDF

Info

Publication number
CN110995837B
CN110995837B CN201911218548.2A CN201911218548A CN110995837B CN 110995837 B CN110995837 B CN 110995837B CN 201911218548 A CN201911218548 A CN 201911218548A CN 110995837 B CN110995837 B CN 110995837B
Authority
CN
China
Prior art keywords
block chain
underground cable
temporary
node
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911218548.2A
Other languages
Chinese (zh)
Other versions
CN110995837A (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 Guoao Power Equipment Co ltd
Original Assignee
Hunan Guoao Power Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Guoao Power Equipment Co ltd filed Critical Hunan Guoao Power Equipment Co ltd
Priority to CN201911218548.2A priority Critical patent/CN110995837B/en
Publication of CN110995837A publication Critical patent/CN110995837A/en
Application granted granted Critical
Publication of CN110995837B publication Critical patent/CN110995837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/20Arrangements in telecontrol or telemetry systems using a distributed architecture

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a block chain-based underground cable collected data uploading method and system. The method comprises the following steps: the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographical position; the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node; and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area. By adopting the method, the data security can be ensured.

Description

Underground cable collected data uploading method and system based on block chain
Technical Field
The application relates to the technical field of underground cables, in particular to an underground cable collected data uploading method and system based on a block chain.
Background
Along with the urban power supply mode, the overhead line is changed into the underground cable burying mode, and the requirements on the reliability and the power supply quality of the power distribution network and the underground cable are higher and higher. Underground cable generally has a long running period, and is easily influenced by other disasters such as water seepage or insect damage. Therefore, it is particularly important to comprehensively monitor the operating states of the power distribution network along the cable and the related devices in the underground cable in real time, so that the working data of the underground cable needs to be collected in real time.
The existing underground cable data acquisition completely needs manual work to go to the field for acquisition, and then the acquired data is transmitted back to a background, so that people can tamper the data at any time in the acquisition process, and the final data is inaccurate.
Disclosure of Invention
In view of the above, there is a need to provide a block chain-based underground cable collected data uploading method and system capable of ensuring data security.
A blockchain-based underground cable acquisition data uploading method, the method comprising:
the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographical position;
the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node;
and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area.
In one embodiment, the method further comprises:
the method comprises the steps that a server receives a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information;
the server inquires a temporary node of a block chain corresponding to the first geographical position information;
the server establishes a corresponding relation between the block chain temporary uploading mechanism and the block chain temporary node so as to complete the registration of the block chain temporary uploading mechanism;
and the server returns the address of the blockchain temporary node to the registered blockchain temporary uploading mechanism.
In one embodiment, the method further comprises:
the server receives cable data of the newly added underground cable sent by the user terminal, wherein the cable data carries second geographical position information of the newly added underground cable;
the server judges whether first geographical position information matched with the second geographical position information exists or not;
when first geographical position information matched with the second geographical position information exists, the server extracts a communication address of the underground cable acquisition system from the cable data of the newly added underground cable;
and the server establishes communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address.
In one embodiment, the blockchain temporary upload mechanism uploads the received underground cable work data to a blockchain temporary node, and includes:
the block chain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node;
and the block chain temporary uploading mechanism uploads the encrypted underground cable working data to the block chain temporary node.
In one embodiment, the blockchain persistence node reads the underground cable work data from the blockchain temporary node and uploads the underground cable work data to the blockchain data storage area, and the method includes:
the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node;
the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key;
and the block chain persistence node uploads the underground cable working data of the plaintext obtained by decryption to a block chain data storage area.
A blockchain-based underground cable acquisition data upload system, the system comprising: the system comprises a block chain temporary uploading mechanism, a block chain temporary node and a block chain persistent node;
the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographical position;
the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node;
and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area.
In one embodiment, the system further comprises a server;
the server is used for receiving a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information; inquiring a temporary node of a block chain corresponding to the first geographical position information; establishing a corresponding relation between the temporary block chain uploading mechanism and the temporary block chain node so as to complete the registration of the temporary block chain uploading mechanism; and returning the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is completed.
In one embodiment, the server is further configured to receive cable data of the newly added underground cable sent by the user terminal, where the cable data carries second geographic location information of the newly added underground cable; judging whether first geographical position information matched with the second geographical position information exists or not; when first geographic position information matched with the second geographic position information exists, extracting a communication address of the underground cable acquisition system from the cable data of the newly added underground cable; and establishing communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address.
A computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above.
According to the underground cable acquisition data uploading method and system based on the block chain, the block chain temporary uploading mechanism receives underground cable working data acquired by the underground cable acquisition system corresponding to the geographical position; the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node; the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to the block chain data storage area, so that the underground cable working data are uploaded in batches, the efficiency can be improved, the batches correspond to geographical positions, the division of labor is facilitated, and in addition, the safety of the data can be ensured when the underground cable working data are uploaded to the block chain.
Drawings
FIG. 1 is a diagram of an application scenario of a method for uploading data collected by an underground cable based on a block chain in one embodiment;
FIG. 2 is a schematic flow chart of a block chain-based method for uploading data collected by an underground cable in one embodiment;
FIG. 3 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The underground cable acquisition data uploading method based on the block chain can be applied to the application environment shown in fig. 1. The block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographic position; the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node; and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area. The underground cable working data are uploaded in batches, so that the efficiency can be improved, the batches correspond to the geographic positions, the labor division is facilitated, and the safety of the data can be guaranteed when the underground cable working data are uploaded to the block chain.
In one embodiment, as shown in fig. 2, there is provided a block chain-based underground cable acquisition data uploading method, including the following steps:
s202: and the block chain temporary uploading mechanism receives underground cable working data acquired by the underground cable acquisition system corresponding to the geographical position.
Specifically, the temporary block chain uploading mechanism corresponds to an underground cable acquisition system, and the underground cable acquisition system in a certain geographic range corresponds to one temporary block chain uploading mechanism. And the underground cable acquisition system uploads the acquired underground cable working data in the geographic range to the block chain temporary uploading mechanism.
The underground cable working data comprises current environment data and current operation data, the current environment data comprises one or more of temperature data, water-sensitive data, environment gas data and displacement data, the operation data comprises but is not limited to partial discharge signals, and the current operation data can also refer to the magnitude of current in the underground cable. Underground cable collection systems are installed underground, for example, at the junction of underground cables, and are used for collecting environmental data and operational data at the junction of underground cables. After the underground cable acquisition system acquires the environmental data and the operation data of the underground cable, the environmental data and the operation data are sent to the block chain temporary uploading mechanism.
S204: and the block chain temporary uploading mechanism uploads the received underground cable working data to the block chain temporary node.
Specifically, the blockchain temporary node is used for receiving the data uploaded by the blockchain temporary uploading mechanism, and the blockchain temporary node receives and stores the data, so that the blockchain persistent node reads the data from the blockchain temporary node and uploads the data.
S206: and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area.
Specifically, the blockchain persistence node is used for persistently storing the underground cable work data, wherein the blockchain persistence node can read the underground cable work data from the blockchain temporary node and upload the underground cable work data to the blockchain data storage area, so that the process of uploading the underground cable work data to the blockchain is completed, and the safety of the underground cable data is ensured.
According to the underground cable acquisition data uploading method based on the block chain, the block chain temporary uploading mechanism receives underground cable working data acquired by an underground cable acquisition system at a corresponding geographic position; the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node; the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to the block chain data storage area, so that the underground cable working data are uploaded in batches, the efficiency can be improved, the batches correspond to geographical positions, the division of labor is facilitated, and in addition, the safety of the data can be ensured when the underground cable working data are uploaded to the block chain.
In one embodiment, the method further comprises: the method comprises the steps that a server receives a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information; the server inquires a temporary node of a block chain corresponding to the first geographical position information; the server establishes a corresponding relation between the block chain temporary uploading mechanism and the block chain temporary node so as to complete the registration of the block chain temporary uploading mechanism; and the server returns the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is completed.
In particular, the present embodiments relate to registration of a blockchain temporary upload mechanism, which corresponds to the location of underground cables, when an underground cable is newly added, sometimes a blockchain temporary uploading mechanism needs to be newly added, and at this time, the server may obtain a corresponding blockchain temporary node according to a registration request uploaded by the blockchain temporary uploading mechanism, for example, the registration request may carry first geographical location information, then the server inquires the temporary node of the block chain corresponding to the first geographic position, if the temporary node exists, establishing a corresponding relationship between the temporary blockchain uploading mechanism and the temporary blockchain node to complete registration of the temporary blockchain uploading mechanism, and if the temporary node does not exist, selecting a new block link point from the block chain temporary node pool as a block chain temporary node corresponding to the block chain temporary uploading mechanism. And after the server selects the temporary node of the block chain for the temporary block chain uploading mechanism, returning the address of the temporary node of the block chain to the temporary block chain uploading mechanism after registration. So that the temporary block chain uploading mechanism uploads underground cable data to the temporary block chain uploading mechanism next time.
In one embodiment, the method may further include: the server receives cable data of the newly added underground cable sent by the user terminal, wherein the cable data carries second geographical position information of the newly added underground cable; the server judges whether first geographic position information matched with the second geographic position information exists or not; when the first geographic position information matched with the second geographic position information exists, the server extracts the communication address of the underground cable acquisition system from the cable data of the newly added underground cable; and the server establishes communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address.
Specifically, the server receives cable data of the newly-added underground cable sent by the user terminal, wherein the cable data carries second geographical position information of the newly-added underground cable, the server can judge whether first geographical position information matched with the second geographical position information exists or not, and when the first geographical position information matched with the second geographical position information exists, the communication address of the underground cable acquisition system is extracted from the cable data of the newly-added underground cable; the server establishes communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address, so that when a newly added cable exists, the corresponding block chain temporary uploading mechanism can be actively distributed for the newly added cable, and therefore next time the newly added cable uploads cable data, the data can be directly uploaded to the block chain temporary uploading mechanism instead of the server, and therefore processing efficiency is improved.
In one embodiment, the blockchain temporary upload mechanism uploads the received underground cable work data to a blockchain temporary node, and includes: the block chain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node; and the block chain temporary uploading mechanism uploads the encrypted underground cable working data to the block chain temporary node.
In one embodiment, the blockchain persistence node reads the underground cable work data from a blockchain temporary node and uploads the underground cable work data to a blockchain data storage area, and the method comprises the following steps: the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node; the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key; and the block chain persistence node uploads the underground cable working data obtained by decryption to a block chain data storage area.
Specifically, in order to ensure the security of data, when the block chain temporary uploading mechanism uploads the underground cable working data, the underground cable working data is firstly encrypted through a preset public key and then uploaded to the block chain temporary node, so that after the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node, decryption operation is firstly carried out to obtain the plaintext underground cable working data, and then the decrypted underground cable working data is uploaded to the block chain data storage region, so that the conditions of the underground cable can be conveniently read by a server and the like, and prediction of the conditions of the underground cable is carried out. The encryption process is realized through an asymmetric encryption algorithm and comprises a preset public key and a preset private key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node, and the preset private key corresponds to the preset public key. The preset public key and the preset private key may be generated in advance, for example, according to the device attribute of the blockchain persistent node.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 1, there is provided a block chain-based underground cable acquisition data uploading system, comprising: the system comprises a block chain temporary uploading mechanism, a block chain temporary node and a block chain persistent node;
the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographical position;
the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node;
and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area.
In one embodiment, the system further comprises a server;
the server is used for receiving a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information; inquiring a block chain temporary node corresponding to the first geographical position information; establishing a corresponding relation between the temporary block chain uploading mechanism and the temporary block chain node so as to complete the registration of the temporary block chain uploading mechanism; and returning the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is completed.
In one embodiment, the server is further configured to receive cable data of the newly added underground cable sent by the user terminal, where the cable data carries second geographic location information of the newly added underground cable; judging whether first geographical position information matched with the second geographical position information exists or not; when first geographic position information matched with the second geographic position information exists, extracting a communication address of the underground cable acquisition system from the cable data of the newly added underground cable; and establishing communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address.
In one embodiment, the blockchain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the blockchain persistent node; and the block chain temporary uploading mechanism uploads the encrypted underground cable working data to the block chain temporary node.
In one embodiment, the blockchain persistence node reads the underground cable work data from a blockchain temporary node and uploads the underground cable work data to a blockchain data storage area, and the method comprises the following steps:
the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node;
the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key;
and the block chain persistence node uploads the underground cable working data obtained by decryption to a block chain data storage area.
For specific limitations of the system for uploading block chain-based underground cable acquisition data, reference may be made to the above limitations on the method for uploading block chain-based underground cable acquisition data, and details are not repeated here. All or part of each module in the underground cable acquisition data uploading system based on the block chain can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing underground cable work data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a blockchain-based underground cable acquisition data uploading method.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographic position; the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node; and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the method comprises the steps that a server receives a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information; the server inquires a temporary node of a block chain corresponding to the first geographical position information; the server establishes a corresponding relation between the block chain temporary uploading mechanism and the block chain temporary node so as to complete the registration of the block chain temporary uploading mechanism; and the server returns the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is completed.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the server receives cable data of the newly added underground cable sent by the user terminal, wherein the cable data carries second geographical position information of the newly added underground cable; the server judges whether first geographical position information matched with the second geographical position information exists or not; when the first geographic position information matched with the second geographic position information exists, the server extracts the communication address of the underground cable acquisition system from the cable data of the newly added underground cable; and the server establishes communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address.
In one embodiment, the blockchain temporary upload mechanism implemented when the processor executes the computer program uploads the received underground cable work data to a blockchain temporary node, comprising: the block chain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node; and the block chain temporary uploading mechanism uploads the encrypted underground cable working data to the block chain temporary node.
In one embodiment, the blockchain persistence node, implemented when a processor executes a computer program, reads the underground cable work data from a blockchain temporary node and uploads the underground cable work data to a blockchain data storage area, comprising: the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node; the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key; and the block chain persistence node uploads the underground cable working data obtained by decryption to a block chain data storage area.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographical position; the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node; and the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method comprises the steps that a server receives a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information; the server inquires a temporary node of a block chain corresponding to the first geographical position information; the server establishes a corresponding relation between the block chain temporary uploading mechanism and the block chain temporary node so as to complete the registration of the block chain temporary uploading mechanism; and the server returns the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is completed.
In one embodiment, the computer program when executed by the processor further performs the steps of: the server receives cable data of the newly added underground cable sent by the user terminal, wherein the cable data carries second geographical position information of the newly added underground cable; the server judges whether first geographical position information matched with the second geographical position information exists or not; when the first geographic position information matched with the second geographic position information exists, the server extracts the communication address of the underground cable acquisition system from the cable data of the newly added underground cable; and the server establishes communication connection between the underground cable acquisition system and the block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address.
In one embodiment, the blockchain temporary upload mechanism implemented when the computer program is executed by the processor uploads the received underground cable work data to a blockchain temporary node, comprising: the block chain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node; and the block chain temporary uploading mechanism uploads the encrypted underground cable working data to a block chain temporary node.
In one embodiment, the blockchain persistence node, when executed by a processor, of the computer program, reads the underground cable work data from blockchain temporary nodes and uploads the underground cable work data to blockchain data storage, including: the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node; the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key; and the block chain persistence node uploads the underground cable working data obtained by decryption to a block chain data storage area.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (4)

1. A method for uploading data collected by an underground cable based on a block chain, the method comprising:
the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographical position;
the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node;
the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area;
the method further comprises the following steps:
the method comprises the steps that a server receives a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information;
the server inquires a temporary node of a block chain corresponding to the first geographical position information;
the server establishes a corresponding relation between the block chain temporary uploading mechanism and the block chain temporary node so as to complete the registration of the block chain temporary uploading mechanism;
the server returns the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is finished;
the method further comprises the following steps:
the server receives cable data of the newly added underground cable sent by the user terminal, wherein the cable data carries second geographical position information of the newly added underground cable;
the server judges whether first geographical position information matched with the second geographical position information exists or not;
when first geographical position information matched with the second geographical position information exists, the server extracts a communication address of the underground cable acquisition system from the cable data of the newly added underground cable;
the server establishes communication connection between the underground cable acquisition system and a block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address;
the temporary block chain uploading mechanism uploads the received underground cable work data to a temporary block chain node, and the temporary block chain uploading mechanism comprises:
the block chain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node;
the block chain temporary uploading mechanism uploads the encrypted underground cable working data to a block chain temporary node;
the block chain persistent node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area, and the method comprises the following steps:
the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node;
the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key;
and the block chain persistence node uploads the underground cable working data of the plaintext obtained by decryption to a block chain data storage area.
2. An underground cable acquisition data uploading system based on a blockchain, the system comprising: the system comprises a block chain temporary uploading mechanism, a block chain temporary node and a block chain persistent node;
the block chain temporary uploading mechanism receives underground cable working data collected by an underground cable collecting system corresponding to the geographic position;
the block chain temporary uploading mechanism uploads the received underground cable working data to a block chain temporary node;
the block chain persistence node reads the underground cable working data from the block chain temporary node and uploads the underground cable working data to a block chain data storage area;
the system further comprises a server;
the server is used for receiving a registration request of a block chain temporary uploading mechanism, wherein the registration request carries first geographical position information; inquiring a block chain temporary node corresponding to the first geographical position information; establishing a corresponding relation between the temporary block chain uploading mechanism and the temporary block chain node so as to complete the registration of the temporary block chain uploading mechanism; returning the address of the temporary node of the block chain to the temporary uploading mechanism of the block chain after the registration is finished;
the server is further used for receiving cable data of the newly increased underground cable sent by the user terminal, wherein the cable data carries second geographic position information of the newly increased underground cable; judging whether first geographical position information matched with the second geographical position information exists or not; when first geographic position information matched with the second geographic position information exists, extracting a communication address of the underground cable acquisition system from the cable data of the newly added underground cable; establishing communication connection between the underground cable acquisition system and a block chain temporary uploading mechanism corresponding to the first geographical position information according to the communication address;
the block chain temporary uploading mechanism encrypts the underground cable working data through a preset public key, wherein the preset public key is a pre-generated asymmetric encryption key corresponding to the block chain persistent node;
the block chain temporary uploading mechanism uploads the encrypted underground cable working data to a block chain temporary node;
the block chain persistent node reads the encrypted underground cable working data from the block chain temporary node;
the block chain persistence node decrypts the encrypted underground cable working data through a preset private key to obtain plaintext underground cable working data, wherein the preset private key corresponds to the preset public key;
and the block chain persistence node uploads the underground cable working data of the plaintext obtained by decryption to a block chain data storage area.
3. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of claim 1 when executing the computer program.
4. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as claimed in claim 1.
CN201911218548.2A 2019-12-03 2019-12-03 Underground cable collected data uploading method and system based on block chain Active CN110995837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911218548.2A CN110995837B (en) 2019-12-03 2019-12-03 Underground cable collected data uploading method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911218548.2A CN110995837B (en) 2019-12-03 2019-12-03 Underground cable collected data uploading method and system based on block chain

Publications (2)

Publication Number Publication Date
CN110995837A CN110995837A (en) 2020-04-10
CN110995837B true CN110995837B (en) 2022-09-30

Family

ID=70089506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911218548.2A Active CN110995837B (en) 2019-12-03 2019-12-03 Underground cable collected data uploading method and system based on block chain

Country Status (1)

Country Link
CN (1) CN110995837B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134939A (en) * 2020-09-16 2020-12-25 许永宾 Block city cloud platform based on smart city

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135661A (en) * 2016-12-26 2017-09-05 深圳前海达闼云端智能科技有限公司 Data processing method, device, system and information collecting device
CN108833255A (en) * 2018-04-27 2018-11-16 深圳市元征科技股份有限公司 Communication means, system and block chain node device based on block chain
CN109088871A (en) * 2018-08-14 2018-12-25 深圳市人民政府金融发展服务办公室 Datagram delivery method and system based on block chain technology

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10114980B2 (en) * 2016-07-21 2018-10-30 Acronis International Gmbh System and method for verifying data integrity using a blockchain network
CN107734021B (en) * 2017-09-30 2020-04-07 深圳壹账通智能科技有限公司 Block chain data uploading method and system, computer system and storage medium
CN108600272B (en) * 2018-05-10 2020-08-04 阿里巴巴集团控股有限公司 Block chain data processing method, device, processing equipment and system
CN109033855B (en) * 2018-07-18 2020-02-11 腾讯科技(深圳)有限公司 Data transmission method and device based on block chain and storage medium
CN109918261B (en) * 2019-01-25 2022-11-22 中国联合网络通信集团有限公司 Fault monitoring method, device, equipment and computer readable storage medium
CN109862006A (en) * 2019-01-29 2019-06-07 济南浪潮高新科技投资发展有限公司 A kind of block catenary system cut-in method, apparatus and system
CN109658236A (en) * 2019-01-31 2019-04-19 北京京东尚科信息技术有限公司 Information interacting method, block chain node and credit investigation system based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135661A (en) * 2016-12-26 2017-09-05 深圳前海达闼云端智能科技有限公司 Data processing method, device, system and information collecting device
CN108833255A (en) * 2018-04-27 2018-11-16 深圳市元征科技股份有限公司 Communication means, system and block chain node device based on block chain
CN109088871A (en) * 2018-08-14 2018-12-25 深圳市人民政府金融发展服务办公室 Datagram delivery method and system based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Integrating Blockchain Technology for Data Collection and Analysis in Wireless Sensor Networks with an Innovative Implementation;Shun-Yuan Wang 等;《2018 International Symposium on Computer, Consumer and Control (IS3C)》;20190221;全文 *
基于区块链技术的物联网信息共享安全机制;葛琳 等;《计算机应用》;20181008;全文 *

Also Published As

Publication number Publication date
CN110995837A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN110099104B (en) File transmission method, system and storage medium
CN110336662B (en) Digital information encryption method and device, computer equipment and storage medium
CN109788032B (en) Method and device for acquiring mirror image file, computer equipment and storage medium
CN111935080B (en) Data sharing method and device of block chain, computer equipment and storage medium
CN108448575B (en) Power distribution network power load analysis method and system, computer storage medium and equipment
CN109359994B (en) Service processing method, device and system based on block chain
CN108777709A (en) Website access method, device, computer equipment and storage medium
CN110602168B (en) Data synchronization method and device, computer equipment and storage medium
CN108286981B (en) Vehicle path planning method and device of Internet of vehicles and computer equipment
CN110995837B (en) Underground cable collected data uploading method and system based on block chain
CN111049711B (en) Device control right sharing method and device, computer device and storage medium
CN110956288A (en) Underground cable fault early warning method and device based on three-dimensional modeling
CN112702193A (en) Data interaction method and device, computer equipment and storage medium
CN110837956A (en) Underground cable inspection task distribution method and device
CN110381149B (en) Data distribution method and device and data synchronization method and device
CN110909669A (en) Underground cable fault determination method and device based on image detection
CN111105076A (en) Weather forecast data generation method and device, computer equipment and storage medium
CN110780950A (en) Interface metadata management method and device, computer equipment and storage medium
CN110955730B (en) Underground cable three-dimensional modeling method and device based on block chain
CN115967166A (en) Power transmission line monitoring method and device, computer equipment and storage medium
CN112398682B (en) Internet of things gateway configuration method and device, computer equipment and storage medium
CN110868292B (en) Underground cable data transmission method and device based on block chain
CN108647234B (en) Method and device for acquiring power failure range, computer equipment and storage medium
CN111031475A (en) Method for collecting terminal position information, terminal, position collecting terminal and storage medium
CN111130991A (en) Instant messaging information processing method and device, computer equipment and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20240110

Address after: 411102 No.16, Xingfu Road, Bantang Street, High tech Zone, Xiangtan City, Hunan Province

Patentee after: HUNAN GUOAO POWER EQUIPMENT Co.,Ltd.

Address before: 411100 66 new road, twin Horse Street, Xiangtan high tech Zone, Hunan

Patentee before: HUNAN GUOAO POWER EQUIPMENT Co.,Ltd.

Patentee before: Yuan Maoyin

TR01 Transfer of patent right