CN115118460B - Data integrity verification method and system based on blockchain - Google Patents

Data integrity verification method and system based on blockchain Download PDF

Info

Publication number
CN115118460B
CN115118460B CN202210635675.8A CN202210635675A CN115118460B CN 115118460 B CN115118460 B CN 115118460B CN 202210635675 A CN202210635675 A CN 202210635675A CN 115118460 B CN115118460 B CN 115118460B
Authority
CN
China
Prior art keywords
data
central control
control module
data transmission
transmission rate
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
CN202210635675.8A
Other languages
Chinese (zh)
Other versions
CN115118460A (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.)
Sichuan Xuanjie Intelligent Technology Co Ltd
Original Assignee
Shanghai Xuanjie Intelligent Technology 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 Shanghai Xuanjie Intelligent Technology Co ltd filed Critical Shanghai Xuanjie Intelligent Technology Co ltd
Priority to CN202210635675.8A priority Critical patent/CN115118460B/en
Publication of CN115118460A publication Critical patent/CN115118460A/en
Application granted granted Critical
Publication of CN115118460B publication Critical patent/CN115118460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及技术领域,尤其涉及一种基于区块链的数据完整性验证方法与系统。包括:步骤S1,在对数据的完整性验证开始前,中控模块控制用户终端将数据进行分块操作并将所述经过数据分块完成的数据传输加密模块;步骤S2,对数据块进行加密并发送至服务器;步骤S3,中控模块控制服务器将数据信息发送至数据完整性验证模块,步骤S4,中控模块根据实际传输到数据完整性验证模块的数据完整性对系统的传输情况进行初步的判定,并根据数据传输速率检测装置检测到的数据传输速率对系统的数据传输情况进行进一步判定,系统包括:用户终端、加密模块、服务器以及数据完整性验证模块,本发明实现了对于数据完整性验证的准确度和验证效率的提高。

The present invention relates to the technical field, and in particular to a data integrity verification method and system based on blockchain. The method comprises: step S1, before the data integrity verification starts, the central control module controls the user terminal to perform data block operation and transmits the data after the data block to the data transmission encryption module; step S2, encrypting the data block and sending it to the server; step S3, the central control module controls the server to send the data information to the data integrity verification module, step S4, the central control module makes a preliminary judgment on the transmission status of the system according to the data integrity actually transmitted to the data integrity verification module, and further judges the data transmission status of the system according to the data transmission rate detected by the data transmission rate detection device. The system comprises: user terminal, encryption module, server and data integrity verification module. The present invention realizes the improvement of the accuracy and verification efficiency of data integrity verification.

Description

Data integrity verification method and system based on block chain
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain-based data integrity verification method and system.
Background
The blockchain is a chain structure formed by combining data blocks in a sequential connection mode according to time sequence, and is a distributed account book which is not tamperable and not counterfeitable and ensured in a cryptographic mode. The node information of the blockchain is commonly maintained by participants of all blockchains, so all information on the blockchain is publicly transparent, and once issued, the information is permanently reserved and cannot be tampered with. The public verification and non-tampering characteristics of the blockchain can be used as a trusted third party to solve the user concern in the cloud computing environment, and all results can be issued into the blockchain and authenticated and maintained by all users of the blockchain. Therefore, the blockchain is combined to the cloud computing field, the defects of the cloud computing environment are overcome by utilizing the advantages of the blockchain, and the guarantee can be provided for the data security of the user more effectively.
Chinese patent publication No. CN113553627a. The method comprises the steps of receiving real-time integrity information sent by a user side, generating the real-time integrity information by cloud storage data based on preset data processing rules, and searching whether original integrity information consistent with the real-time integrity information exists in a blockchain network or not to obtain a searching result. The integrity information of the original data is stored in the block chain network, and the data integrity verification is carried out in the block chain network, so that the integrity information of the original data is not tampered and deleted, and the reliability of the data integrity verification is improved. It can be seen that the blockchain-based data integrity verification method, system, device and medium have the following problems that the accuracy and verification efficiency of data integrity verification are low.
Disclosure of Invention
Therefore, the invention provides a data integrity verification method and system based on a blockchain, which are used for solving the problems of low accuracy and low verification efficiency of data integrity verification in the prior art.
In order to achieve the above object, the present invention provides a data integrity verification method based on blockchain, including:
the method comprises the steps of S1, before the integrity verification of data starts, controlling a user terminal to carry out blocking operation on the data by a central control module and transmitting all data blocks which are completed by the data blocking to an encryption module, S2, when the encryption module completes receiving all the data blocks, controlling the encryption module to encrypt each data block respectively and transmitting the encrypted data blocks to a server by the central control module, S3, when the server receives the data blocks transmitted by the encryption module, controlling the server to carry out decryption operation on all the data blocks, searching whether data information which is the same as data information transmitted by the user terminal exists in a block chain according to the decrypted data, transmitting the data information to the data integrity verification module, and detecting the transmission rate of the data in the process of transmitting the data to the data integrity verification module by the user terminal, S4, when the uploading time of the data information reaches the preset transmission time, carrying out primary judgment on the transmission condition of the system according to the data integrity of the data integrity verification module, carrying out secondary judgment on the data integrity of the system according to the data integrity of the data integrity verification module, carrying out primary judgment on the data integrity of the system according to the data integrity of the data transmission condition, carrying out secondary judgment on the data integrity judgment of the data integrity verification after the data transmission condition is further carrying out delay control and further judging on the data integrity judgment on the data transmission condition.
Further, in the step S4, when the data integrity verification module receives the data transmitted from the user terminal, the central control module determines the data transmission condition of the system according to the actual integrity S of the data received by the data integrity verification module, where the central control module is provided with a preset first preset integrity S1, a second preset integrity S2 and a third preset integrity S3, where S1< S2< S3,
If S is less than or equal to S1, the central control module preliminarily judges that the system is intercepted and carries out reverse tracking on equipment for intercepting data;
If S1 is less than or equal to S2, the central control module preliminarily judges that the data transmission is bad and controls the data transmission rate detection device to detect the data transmission rate;
If S2 is less than or equal to S3, the central control module preliminarily judges that data transmission is incomplete and delay detection is needed, and calculates a difference delta S between the actual integrity and the preset integrity and determines the delay detection duration according to delta S;
if S > S3, the central control module judges that the data integrity is qualified and the data transmission is normal.
Further, when S is less than or equal to S1, the central control module determines the intercepted address of the system according to whether the data transmission rate in the period generates abrupt change, the central control module is provided with a preset first data transmission rate abrupt change value P1 and a preset second data transmission rate abrupt change value P2, wherein P1 is less than P2,
If P is less than or equal to P1, the central control module judges that the actual data transmission rate mutation value is in the allowable range and does not determine the address corresponding to the transmission rate mutation value;
if P1< P is less than or equal to P2, the central control module determines that the actual data transmission rate mutation value exceeds the allowable range, calculates a difference Δp between the actual data transmission rate mutation value and a preset first data transmission rate mutation value, further determines whether interception exists according to Δp, and sets Δp=p-P1;
If P > P2, the central control module judges that the actual data transmission rate mutation value exceeds the allowable range, determines the address corresponding to the mutation value as the intercepted address of the system and sends the address to the server for storage.
Further, the central control module further judges whether interception exists according to a difference value delta P between an actual data transmission rate mutation value and a preset data transmission rate mutation value when P1< P is less than or equal to P2, the central control module is provided with a preset first data transmission rate mutation value difference value delta P1 and a preset second data transmission rate mutation value delta P2, wherein delta P1< [ delta ] P2,
If delta P is less than or equal to delta P1, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value is within the allowable range and judges that the address corresponding to the transmission rate mutation value is not determined;
If delta P1 is less than or equal to delta P2, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value is in an allowable range and sends an address corresponding to the transmission rate mutation value to a server as a storage address;
If delta P > -delta P2, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value exceeds the allowable range, determines the address corresponding to the mutation value as the intercepted address of the system, and sends the address to the server for storage.
Further, the central control module further judges the data transmission condition according to the actual data transmission rate detected by the actual transmission rate detection device when S1< S2, wherein the central control module is provided with a preset first transmission rate Q1 and a preset second transmission rate Q2, Q1< Q2,
If Q is less than or equal to Q1, the central control module judges that the network environment is congested and sends out a poor transmission alarm;
If Q1 is less than or equal to Q2, the central control module judges that the data transmission is bad, detects the server load and judges whether to delay the task simultaneously carried out in the server load according to the load;
and if Q is more than Q2, the central control module judges that the data transmission rate is qualified and the data is intercepted.
Further, when Q1< Q2 is determined, the central control module controls the load detection device to detect whether the load quantity simultaneously transmitted by the server delays the data transmission task which is simultaneously performed or not to determine, the central control module is provided with a preset first transmission load quantity D1 and a preset second transmission load quantity D2, wherein D1< D2,
If D is less than or equal to D1, the central control module judges that the actual transmission load is lower than the allowable range and increases the number of the transmitted data blocks;
if D1 is less than or equal to D2, the central control module judges that the actual transmission load is within the allowable range and does not delay the data transmission task which is transmitted simultaneously;
And if D > D2, the central control module judges that the actual transmission load exceeds the allowable range and defers the data transmission task transmitted simultaneously.
Further, when S2< S3 > is determined, the central control module determines the delay time according to the difference DeltaS between the actual integrity of the data received by the data integrity verification module and the preset integrity, deltaS=S3-S is set, the central control module is provided with a preset first preset integrity difference DeltaS 1 and a second preset integrity difference DeltaS 2, the first preset delay time t1 and the second preset delay time t2, deltaS 1< DeltaS2, t1< t2,
If 0< [ delta ] S is less than or equal to [ delta ] S1, the central control module judges that the data receiving delay t1 duration detection is performed by the verification module;
If delta S1 is less than or equal to delta S2, the central control module judges that the data receiving delay time t2 is long and then detects the data;
And if the data transmission rate is delta S > -delta S2, the central control module judges that the data transmission is bad and carries out secondary detection on the data transmission rate.
Further, after the delay t1, the central control module controls the data integrity detection program to re-detect the data integrity S',
If S' > S3, the central control module judges that the data is not intercepted and does not carry out inverse tracking on the data;
and if S' is less than or equal to S3, the central control module judges that the data is intercepted and carries out reverse tracking.
Further, after the delay t2, the central control module controls the data integrity detection program to re-detect the data integrity S 'and further determine whether the data is intercepted according to the difference between S' and S3,
If S' > S3, the central control module judges that the data has poor transmission and sends out a data transmission problem alarm;
if S '. Ltoreq.s3, calculating Δs', setting Δs '=s3-S';
if 0< [ delta ] S is less than or equal to [ delta ] S1, the central control module judges the time length of the re-delay t1 and detects the data transmission rate Q to judge whether the situation of poor data transmission exists;
If delta S1 is less than or equal to delta S2, the central control module judges that the data is intercepted and sends out a data intercepted alarm;
and if the data transmission is blocked, the central control module judges the data transmission is blocked and sends out a data transmission problem alarm.
A blockchain-based data integrity verification system, comprising:
The user terminal is used for performing blocking operation and data encryption operation on the data and sending the data after the data blocking and encryption to the server;
The encryption module is connected with the user terminal and is used for encrypting the data block transmitted by the user terminal;
The server is connected with the encryption module and is used for receiving the data encryption information transmitted by the encryption module and decrypting the data encryption confidence, searching whether the data information which is the same as the data information transmitted by the user terminal exists in the blockchain according to the decrypted data after the decryption of the information is completed and transmitting the data information to the data integrity verification module;
And the data integrity verification module is connected with the server and is used for verifying the integrity of the data transmitted by the user terminal according to the data information received by the server.
Compared with the prior art, the method has the advantages that the preset data integrity, the preset data transmission rate mutation value and the preset integrity difference value are set, the transmission condition of the system can be primarily judged according to the actual data integrity, the data transmission condition of the system can be further judged according to the data transmission rate detected by the data transmission rate detection device, the time length of delay transmission detection can be adjusted according to the difference value of the actual data integrity and the preset data integrity, the accuracy of data integrity verification, the accurate monitoring of the data transmission rate of the data integrity verification and the efficiency of the data integrity verification are improved, and the accuracy and the verification efficiency of the data integrity verification are improved.
Furthermore, the method can judge the data transmission condition of the system according to the actual integrity by setting the preset first preset integrity, the second preset integrity and the third preset integrity, thereby improving the accurate judgment of the data integrity verification and further realizing the improvement of the accuracy and the verification efficiency of the data integrity verification.
Furthermore, the method can determine the intercepted address suffered by the system according to whether the data transmission rate in the period is suddenly changed by setting the preset first data transmission rate suddenly changed value and the preset second data transmission rate suddenly changed value, thereby improving the supervision capability of the data transmission process and further realizing the improvement of the accuracy and the verification efficiency of the data integrity verification.
Further, by setting the preset first data transmission rate mutation value difference value and the preset second data transmission rate mutation value difference value, the method can further judge whether interception exists according to the difference delta P between the actual data transmission rate mutation value and the preset data transmission rate mutation value, improves the accurate identification capability of whether interception exists in the data transmission process, and further improves the accuracy and the verification efficiency of data integrity verification.
Further, according to the method, the data transmission condition can be further judged according to the actual data transmission rate detected by the actual transmission rate detection device by setting the preset first transmission rate and the preset second transmission rate, so that the accurate judgment capability for data transmission is improved, and the accuracy and the verification efficiency of data integrity verification are further improved.
Further, by setting the preset first transmission load amount and the preset second transmission load amount, the method can judge whether the detected load amounts transmitted simultaneously delay the data transmission tasks which are simultaneously carried out or not, improves the accurate adjustment capability of the data transmission tasks, and further realizes the improvement of the accuracy and the verification efficiency of the data integrity verification.
Further, according to the method, the delay time length can be determined according to the difference value of the actual integrity and the preset integrity by setting the preset first preset integrity difference value, the second preset integrity difference value, the first preset delay time length t1 and the second preset delay time length, so that the accurate determination of the delay time length is realized, and the accuracy and the verification efficiency of the data integrity verification are further improved.
Further, the method can further judge the data integrity by re-detecting the data integrity after the delay time, thereby improving the deep confirmation capability of the transmission process affecting the data integrity and further realizing the improvement of the accuracy and the verification efficiency of the data integrity verification.
Further, the method of the invention realizes further accurate determination of the data transmission process condition related to the data integrity by controlling the data integrity detection program to re-detect the data integrity and further judging whether the data is intercepted or not, and further realizes improvement of accuracy and verification efficiency of data integrity verification.
The system can verify the data integrity by arranging the user terminal, the server and the data integrity verification module, improves the accuracy of data integrity verification, and further improves the accuracy and the verification efficiency of data integrity verification.
Drawings
FIG. 1 is a flow chart of a blockchain-based data integrity verification method in accordance with an embodiment of the present invention;
FIG. 2 is a system block diagram of a blockchain-based data integrity verification system in accordance with an embodiment of the invention.
Detailed Description
The invention will be further described with reference to examples for the purpose of making the objects and advantages of the invention more apparent, it being understood that the specific examples described herein are given by way of illustration only and are not intended to be limiting.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
Referring to fig. 1, a data integrity verification method based on a blockchain includes:
Step S1, before the integrity verification of the data starts, a central control module controls a user terminal to perform partitioning operation on the data and transmits each data block which is subjected to data partitioning to an encryption module;
Step S2, when the encryption module finishes receiving each data block, the central control module controls the encryption module to encrypt each data block respectively, and sends the encrypted data blocks to a server;
Step S3, when the server receives the data blocks transmitted by the encryption module, the central control module controls the server to decrypt each data block, searches whether data information which is the same as the data information transmitted by the user terminal exists in the blockchain according to the decrypted data, transmits the data information to the data integrity verification module, and detects the transmission rate of the data in the process of transmitting the data to the data integrity verification module through the user terminal;
And S4, when the central control module judges that the uploading time of the data information reaches the preset transmission time, the central control module primarily judges the transmission condition of the system according to the integrity of the data actually transmitted to the data integrity verification module, further judges the data transmission condition of the system according to the data transmission rate detected by the data transmission rate detection device, adjusts the time length of delay transmission detection according to the difference value between the actual data integrity and the preset number integrity when the central control module finishes judging the data transmission condition, and controls the verification module to secondarily detect the data integrity and further judges the data transmission condition after the delay time.
The invention can carry out preliminary judgment on the transmission condition of the system according to the actual data integrity by setting the preset data integrity, the preset data transmission rate mutation value and the preset integrity difference value, and further judge the data transmission condition of the system according to the data transmission rate detected by the data transmission rate detection device, and can regulate the time length of delay transmission detection according to the difference value of the actual data integrity and the preset data integrity, thereby improving the accuracy of data integrity verification, the accurate monitoring of the data transmission rate of the data integrity verification and the efficiency of the data integrity verification, and realizing the improvement of the accuracy and the verification efficiency of the data integrity verification.
Specifically, in the step S4, when the data integrity verification module receives the data transmitted from the user terminal, the central control module determines the data transmission condition of the system according to the actual integrity S of the data received by the data integrity verification module, where the central control module is provided with a preset first preset integrity S1, a second preset integrity S2 and a third preset integrity S3, where S1< S2< S3,
If S is less than or equal to S1, the central control module preliminarily judges that the system is intercepted and carries out reverse tracking on equipment for intercepting data;
If S1 is less than or equal to S2, the central control module preliminarily judges that the data transmission is bad and controls the data transmission rate detection device to detect the data transmission rate;
If S2 is less than or equal to S3, the central control module preliminarily judges that data transmission is incomplete and delay detection is needed, and calculates a difference delta S between the actual integrity and the preset integrity and determines the delay detection duration according to delta S;
if S > S3, the central control module judges that the data integrity is qualified and the data transmission is normal.
According to the method, the data transmission condition of the system can be judged according to the actual integrity by setting the preset first preset integrity, the second preset integrity and the third preset integrity, so that the accurate judgment of data integrity verification is improved, and the accuracy and the verification efficiency of data integrity verification are further improved.
Specifically, when S is less than or equal to S1, the central control module determines the intercepted address of the system according to whether the data transmission rate in the period is suddenly changed, the central control module is provided with a preset first data transmission rate suddenly changed value P1 and a preset second data transmission rate suddenly changed value P2, wherein P1 is less than P2,
If P is less than or equal to P1, the central control module judges that the actual data transmission rate mutation value is in the allowable range and does not determine the address corresponding to the transmission rate mutation value;
if P1< P is less than or equal to P2, the central control module determines that the actual data transmission rate mutation value exceeds the allowable range, calculates a difference Δp between the actual data transmission rate mutation value and a preset first data transmission rate mutation value, further determines whether interception exists according to Δp, and sets Δp=p-P1;
If P > P2, the central control module judges that the actual data transmission rate mutation value exceeds the allowable range, determines the address corresponding to the mutation value as the intercepted address of the system and sends the address to the server for storage.
According to the method, the interception address suffered by the system can be determined according to whether the data transmission rate is suddenly changed in a period or not by setting the preset first data transmission rate suddenly changed value and the preset second data transmission rate suddenly changed value, so that the supervision capability of the data transmission process is improved, and the accuracy and the verification efficiency of the data integrity verification are further improved.
Specifically, the central control module further judges whether interception exists according to a difference value delta P between an actual data transmission rate mutation value and a preset data transmission rate mutation value when P1< P is less than or equal to P2, the central control module is provided with a preset first data transmission rate mutation value difference value delta P1 and a preset second data transmission rate mutation value delta P2, wherein delta P1< [ delta ] P2,
If delta P is less than or equal to delta P1, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value is within the allowable range and judges that the address corresponding to the transmission rate mutation value is not determined;
If delta P1 is less than or equal to delta P2, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value is in an allowable range and sends an address corresponding to the transmission rate mutation value to a server as a storage address;
If delta P > -delta P2, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value exceeds the allowable range, determines the address corresponding to the mutation value as the intercepted address of the system, and sends the address to the server for storage.
According to the method, whether interception exists or not can be further judged according to the difference delta P between the actual data transmission rate mutation value and the preset data transmission rate mutation value by setting the preset first data transmission rate mutation value difference and the preset second data transmission rate mutation value difference, so that the accurate recognition capability of whether interception exists in the data transmission process is improved, and the accuracy and the verification efficiency of data integrity verification are further improved.
Specifically, the central control module further judges the data transmission condition according to the actual data transmission rate detected by the actual transmission rate detection device when S1< S2, wherein the central control module is provided with a preset first transmission rate Q1 and a preset second transmission rate Q2, Q1< Q2,
If Q is less than or equal to Q1, the central control module judges that the network environment is congested and sends out a poor transmission alarm;
If Q1 is less than or equal to Q2, the central control module judges that the data transmission is bad, detects the server load and judges whether to delay the task simultaneously carried out in the server load according to the load;
and if Q is more than Q2, the central control module judges that the data transmission rate is qualified and the data is intercepted.
According to the method, the preset first transmission rate and the preset second transmission rate are set, so that the data transmission condition can be further judged according to the actual data transmission rate detected by the actual transmission rate detection device, the accurate judgment capability for data transmission is improved, and the accuracy and the verification efficiency of data integrity verification are further improved.
Specifically, when Q1< Q2 is determined, the central control module controls the load detection device to detect whether the load quantity simultaneously transmitted by the server is delayed to determine the data transmission task simultaneously, the central control module is provided with a preset first transmission load quantity D1 and a preset second transmission load quantity D2, wherein D1< D2,
If D is less than or equal to D1, the central control module judges that the actual transmission load is lower than the allowable range and increases the number of the transmitted data blocks;
if D1 is less than or equal to D2, the central control module judges that the actual transmission load is within the allowable range and does not delay the data transmission task which is transmitted simultaneously;
And if D > D2, the central control module judges that the actual transmission load exceeds the allowable range and defers the data transmission task transmitted simultaneously.
According to the method, the preset first transmission load capacity and the preset second transmission load capacity are set, so that whether the detected load capacity of simultaneous transmission delays the simultaneous data transmission task or not can be judged, the accurate adjustment capacity of the data transmission task is improved, and the accuracy and the verification efficiency of data integrity verification are further improved.
Specifically, when S2< S is less than or equal to S3, the central control module determines the delay time according to the difference DeltaS between the actual integrity of the data received by the data integrity verification module and the preset integrity, and sets DeltaS=S3-S, the central control module is provided with a preset first preset integrity difference DeltaS 1 and a preset second integrity difference DeltaS 2, a first preset delay time t1 and a second preset delay time t2, deltaS 1< DeltaS2, t1< t2,
If 0< [ delta ] S is less than or equal to [ delta ] S1, the central control module judges that the data receiving delay t1 duration detection is performed by the verification module;
If delta S1 is less than or equal to delta S2, the central control module judges that the data receiving delay time t2 is long and then detects the data;
And if the data transmission rate is delta S > -delta S2, the central control module judges that the data transmission is bad and carries out secondary detection on the data transmission rate.
According to the method, the delay time length can be determined according to the difference value between the actual integrity and the preset integrity by setting the preset first preset integrity difference value, the second preset integrity difference value, the first preset delay time length t1 and the second preset delay time length, so that the accurate determination of the delay time length is realized, and the accuracy and the verification efficiency of the data integrity verification are further improved.
Specifically, after the delay t1, the central control module controls the data integrity detection program to re-detect the data integrity S',
If S' > S3, the central control module judges that the data is not intercepted and does not carry out inverse tracking on the data;
and if S' is less than or equal to S3, the central control module judges that the data is intercepted and carries out reverse tracking.
The method can further judge the data integrity by re-detecting the data integrity after the delay time, improves the deep confirmation capability of the transmission process affecting the data integrity, and further realizes the improvement of the accuracy and the verification efficiency of the data integrity verification.
Specifically, after the delay t2, the central control module controls the data integrity detection program to re-detect the data integrity S 'and further determine whether the data is intercepted according to the difference between S' and S3,
If S' > S3, the central control module judges that the data has poor transmission and sends out a data transmission problem alarm;
if S '. Ltoreq.s3, calculating Δs', setting Δs '=s3-S';
if 0< [ delta ] S is less than or equal to [ delta ] S1, the central control module judges the time length of the re-delay t1 and detects the data transmission rate Q to judge whether the situation of poor data transmission exists;
If delta S1 is less than or equal to delta S2, the central control module judges that the data is intercepted and sends out a data intercepted alarm;
and if the data transmission is blocked, the central control module judges the data transmission is blocked and sends out a data transmission problem alarm.
According to the method, the data integrity is re-detected and whether the data is intercepted or not is further judged by controlling the data integrity detection program, so that further accurate determination of the data transmission process condition related to the data integrity is realized, and further improvement of accuracy and verification efficiency of data integrity verification is realized.
Referring to fig. 2, a blockchain-based data integrity verification system includes:
The user terminal is used for performing blocking operation and data encryption operation on the data and sending the data after the data blocking and encryption to the server;
The encryption module is connected with the user terminal and is used for encrypting the data block transmitted by the user terminal;
The server is connected with the encryption module and is used for receiving the data encryption information transmitted by the encryption module and decrypting the data encryption confidence, searching whether the data information which is the same as the data information transmitted by the user terminal exists in the blockchain according to the decrypted data after the decryption of the information is completed and transmitting the data information to the data integrity verification module;
And the data integrity verification module is connected with the server and is used for verifying the integrity of the data transmitted by the user terminal according to the data information received by the server.
The system can verify the data integrity by arranging the user terminal, the server and the data integrity verification module, improves the accuracy of data integrity verification, and further improves the accuracy and the verification efficiency of data integrity verification.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A blockchain-based data integrity verification method, comprising:
Step S1, before the integrity verification of the data starts, a central control module controls a user terminal to perform partitioning operation on the data and transmits each data block which is subjected to data partitioning to an encryption module;
Step S2, when the encryption module finishes receiving each data block, the central control module controls the encryption module to encrypt each data block respectively, and sends the encrypted data blocks to a server;
Step S3, when the server receives the data blocks transmitted by the encryption module, the central control module controls the server to decrypt each data block, searches whether data information which is the same as the data information transmitted by the user terminal exists in the blockchain according to the decrypted data, transmits the data information to the data integrity verification module, and detects the transmission rate of the data in the process of transmitting the data to the data integrity verification module through the user terminal;
And S4, when the central control module judges that the uploading time of the data information reaches the preset transmission time, the central control module primarily judges the transmission condition of the system according to the integrity of the data actually transmitted to the data integrity verification module, further judges the data transmission condition of the system according to the data transmission rate detected by the data transmission rate detection device, adjusts the time length of delay transmission detection according to the difference value between the actual data integrity and the preset data integrity when the central control module finishes judging the data transmission condition, and controls the data integrity verification module to secondarily detect the data integrity and further judges the data transmission condition after the delay time.
2. The blockchain-based data integrity verification method of claim 1, wherein in the step S4, when the data integrity verification module receives data transmitted from the user terminal, the central control module determines a data transmission condition of the system according to an actual integrity S of the data received by the data integrity verification module, and the central control module is provided with a preset first preset integrity S1, a second preset integrity S2 and a third preset integrity S3, wherein S1< S2< S3,
If S is less than or equal to S1, the central control module preliminarily judges that the system is intercepted and carries out reverse tracking on equipment for intercepting data;
If S1 is less than or equal to S2, the central control module preliminarily judges that the data transmission is bad and controls the data transmission rate detection device to detect the data transmission rate;
If S2 is less than or equal to S3, the central control module preliminarily judges that data transmission is incomplete and delay detection is needed, and calculates a difference delta S between the actual integrity and the preset integrity and determines the delay detection duration according to delta S;
if S > S3, the central control module judges that the data integrity is qualified and the data transmission is normal.
3. The method for verifying the integrity of data based on a blockchain as in claim 2, wherein the central control module determines the intercepted address of the system according to whether the data transmission rate in the period is suddenly changed when S is less than or equal to S1, the central control module is provided with a preset first data transmission rate suddenly changed value P1 and a preset second data transmission rate suddenly changed value P2, wherein P1< P2,
If P is less than or equal to P1, the central control module judges that the actual data transmission rate mutation value is in the allowable range and does not determine the address corresponding to the transmission rate mutation value;
if P1< P is less than or equal to P2, the central control module determines that the actual data transmission rate mutation value exceeds the allowable range, calculates a difference Δp between the actual data transmission rate mutation value and a preset first data transmission rate mutation value, further determines whether interception exists according to Δp, and sets Δp=p-P1;
If P > P2, the central control module judges that the actual data transmission rate mutation value exceeds the allowable range, determines the address corresponding to the mutation value as the intercepted address of the system and sends the address to the server for storage.
4. The method for verifying the data integrity based on the blockchain as in claim 3, wherein the central control module further determines whether interception exists according to a difference DeltaP between an actual data transmission rate mutation value and a preset data transmission rate mutation value when P1< P2 is determined, wherein the central control module is provided with a preset first data transmission rate mutation value difference DeltaP 1 and a preset second data transmission rate mutation value difference DeltaP 2, deltaP 1< DeltaP2,
If delta P is less than or equal to delta P1, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value is within the allowable range and judges that the address corresponding to the transmission rate mutation value is not determined;
If delta P1 is less than or equal to delta P2, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value is in an allowable range and sends an address corresponding to the transmission rate mutation value to a server as a storage address;
If delta P > -delta P2, the central control module judges that the difference value between the actual data transmission rate mutation value and the preset data transmission rate mutation value exceeds the allowable range, determines the address corresponding to the mutation value as the intercepted address of the system, and sends the address to the server for storage.
5. The method for verifying the integrity of data based on a blockchain as in claim 4, wherein the central control module further determines the data transmission condition according to the actual data transmission rate detected by the data transmission rate detecting device when S1< S.ltoreq.S 2 is determined, the central control module is provided with a preset first transmission rate Q1 and a preset second transmission rate Q2, wherein Q1< Q2,
If Q is less than or equal to Q1, the central control module judges that the network environment is congested and sends out a poor transmission alarm;
If Q1 is less than or equal to Q2, the central control module judges that the data transmission is bad, detects the server load and judges whether to delay the task simultaneously carried out in the server load according to the load;
and if Q is more than Q2, the central control module judges that the data transmission rate is qualified and the data is intercepted.
6. The method of claim 5, wherein the central control module controls the load detection device to detect the load amount simultaneously transmitted by the server to determine whether to defer the simultaneous data transmission task when determining that Q1< Q2 is less than or equal to Q2, the central control module is provided with a preset first transmission load amount D1 and a preset second transmission load amount D2, wherein D1< D2,
If D is less than or equal to D1, the central control module judges that the actual transmission load is lower than the allowable range and increases the number of the transmitted data blocks;
if D1 is less than or equal to D2, the central control module judges that the actual transmission load is within the allowable range and does not delay the data transmission task which is transmitted simultaneously;
And if D > D2, the central control module judges that the actual transmission load exceeds the allowable range and defers the data transmission task transmitted simultaneously.
7. The method of claim 6, wherein the central control module determines the delay time according to the difference DeltaS between the actual integrity of the data received by the data integrity verification module and the preset integrity when S2< S3, and sets DeltaS=S3-S, the central control module is provided with a preset first preset integrity difference DeltaS 1 and a second preset integrity difference DeltaS 2, the first preset delay time t1 and the second preset delay time t2, deltaS 1< DeltaS2, t1< t2,
If 0< [ delta ] S is less than or equal to [ delta ] S1, the central control module judges that the data receiving delay t1 duration detection is performed by the verification module;
If delta S1 is less than or equal to delta S2, the central control module judges that the data receiving delay time t2 is long and then detects the data;
And if the data transmission rate is delta S > -delta S2, the central control module judges that the data transmission is bad and carries out secondary detection on the data transmission rate.
8. The method of claim 7, wherein after the delay t1, the central control module controls the data integrity detection program to re-detect the data integrity S',
If S' > S3, the central control module judges that the data is not intercepted and does not carry out inverse tracking on the data;
and if S' is less than or equal to S3, the central control module judges that the data is intercepted and carries out reverse tracking.
9. The method for verifying the data integrity based on the blockchain of claim 8, wherein after the delay t2 of the central control module, the central control module controls the data integrity detection program to re-detect the data integrity S 'and further determine whether the data is intercepted according to the difference between S' and S3,
If S' > S3, the central control module judges that the data has poor transmission and sends out a data transmission problem alarm;
if S '. Ltoreq.s3, calculating Δs', setting Δs '=s3-S';
if 0< [ delta ] S is less than or equal to [ delta ] S1, the central control module judges the time length of the re-delay t1 and detects the data transmission rate Q to judge whether the situation of poor data transmission exists;
If delta S1 is less than or equal to delta S2, the central control module judges that the data is intercepted and sends out a data intercepted alarm;
and if the data transmission is blocked, the central control module judges the data transmission is blocked and sends out a data transmission problem alarm.
10. A system of blockchain-based data integrity verification methods using the method of any of claims 1-9, comprising:
The user terminal is used for performing blocking operation and data encryption operation on the data and sending the data after the data blocking and encryption to the server;
The encryption module is connected with the user terminal and is used for encrypting the data block transmitted by the user terminal;
the server is connected with the encryption module and is used for receiving the data encryption information transmitted by the encryption module and decrypting the data encryption information, searching whether the data information which is the same as the data information transmitted by the user terminal exists in the blockchain according to the decrypted data after the decryption of the information is completed and transmitting the data information to the data integrity verification module;
And the data integrity verification module is connected with the server and is used for verifying the integrity of the data transmitted by the user terminal according to the data information received by the server.
CN202210635675.8A 2022-06-07 2022-06-07 Data integrity verification method and system based on blockchain Active CN115118460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210635675.8A CN115118460B (en) 2022-06-07 2022-06-07 Data integrity verification method and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210635675.8A CN115118460B (en) 2022-06-07 2022-06-07 Data integrity verification method and system based on blockchain

Publications (2)

Publication Number Publication Date
CN115118460A CN115118460A (en) 2022-09-27
CN115118460B true CN115118460B (en) 2024-12-13

Family

ID=83325892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210635675.8A Active CN115118460B (en) 2022-06-07 2022-06-07 Data integrity verification method and system based on blockchain

Country Status (1)

Country Link
CN (1) CN115118460B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116824824B (en) * 2023-01-28 2023-11-21 太原杰安易科技有限公司 Wireless signal acquisition and transmission system based on node controller for coal dressing
CN116760935B (en) * 2023-08-21 2023-10-17 湖南马栏山视频先进技术研究院有限公司 Data fence system based on image data transmission

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811450A (en) * 2015-04-22 2015-07-29 电子科技大学 Data storage method based on identity in cloud computing and integrity verification method based on identity in cloud computing
CN113553627A (en) * 2021-09-23 2021-10-26 四川大学 Blockchain-based data integrity verification method, system, device and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101586439B1 (en) * 2014-08-29 2016-01-18 고려대학교 산학협력단 User data integrity verification method and apparatus capable of guaranteeing privacy
KR102349450B1 (en) * 2014-12-08 2022-01-10 삼성전자주식회사 Method and Apparatus For Providing Integrity Authentication Data
KR102352527B1 (en) * 2016-09-13 2022-01-19 현대자동차주식회사 Method for communication based on automotive safety integrity level in automotive network and apparatus for the same
US11221644B2 (en) * 2018-05-21 2022-01-11 Samsung Electronics Co., Ltd. System for transceiving data based on clock transition time

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811450A (en) * 2015-04-22 2015-07-29 电子科技大学 Data storage method based on identity in cloud computing and integrity verification method based on identity in cloud computing
CN113553627A (en) * 2021-09-23 2021-10-26 四川大学 Blockchain-based data integrity verification method, system, device and medium

Also Published As

Publication number Publication date
CN115118460A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US8051292B2 (en) System for proximity determination
US8239676B2 (en) Secure proximity verification of a node on a network
US10824744B2 (en) Secure client-server communication
CN109687965B (en) Real-name authentication method for protecting user identity information in network
US11804961B1 (en) Secure video content transmission over a computer network
KR102559101B1 (en) Power metering apparatus, power metering server and, power metering method base on block chain
CN112968910B (en) Replay attack prevention method and device
CN115567312B (en) Alliance chain data authority management system and method capable of meeting various scenes
CN115118460A (en) Block chain-based data integrity verification method and system
CN113886781B (en) Multi-authentication encryption method, system, electronic equipment and medium based on block chain
US6986045B2 (en) Single algorithm cipher suite for messaging
CN116170228B (en) Authentication methods, devices, storage media and equipment for terminal identification devices
CN114826780B (en) Block chain based multi-level authority management system and method
FR3128040A1 (en) SECURITY APPLICATION FOR A COMPUTER DEVICE, SECURITY SYSTEM AND CORRESPONDING SECURITY ARCHITECTURE
CN112787990A (en) Power terminal trusted access authentication method and system
KR20120101236A (en) A secure document management device based on realtime packet analysis for monitoring transfer to portable storages and the method thereof
CN119293859B (en) A cross-chain data privacy supervision method based on random feature optimization selection
US20020069357A1 (en) Method and system for identification in a telecommunication system
CN116471081B (en) Indoor security anonymous authentication method based on Internet of things technology
CN113609467B (en) Identity authentication method, device, terminal equipment and storage medium
CN116707922A (en) Data processing method and system
CN122001671A (en) Cross-network data transmission method and system
CN119939673A (en) Data certificate transfer method and electronic device
WO2024258476A1 (en) Method and apparatus for authenticating iot devices
CN115277012A (en) Data verification method and device and electronic equipment

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

Effective date of registration: 20241112

Address after: 201700 floor 2, No. 158, Shuanglian Road, Qingpu District, Shanghai

Applicant after: Shanghai Xuanjie Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Room 011, Unit 3, Xiangrui Building, Renmin 4th Road, Danshui Town, Huiyang District, Huizhou City, Guangdong Province, 516000

Applicant before: Yu Lihua

Country or region before: China

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 610000 Sichuan Province Chengdu City Chengdu Chongzhou Economic Development Zone Chenxi Avenue No. 238

Patentee after: Sichuan Xuanjie Intelligent Technology Co., Ltd.

Country or region after: China

Address before: 2nd Floor, 158 Shuanglian Road, Qingpu District, Shanghai

Patentee before: Shanghai Xuanjie Intelligent Technology Co.,Ltd.

Country or region before: China