CN113222344A - Block chain data processing method and device and storage medium - Google Patents

Block chain data processing method and device and storage medium Download PDF

Info

Publication number
CN113222344A
CN113222344A CN202110407815.1A CN202110407815A CN113222344A CN 113222344 A CN113222344 A CN 113222344A CN 202110407815 A CN202110407815 A CN 202110407815A CN 113222344 A CN113222344 A CN 113222344A
Authority
CN
China
Prior art keywords
data group
sub
information
data
block chain
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.)
Pending
Application number
CN202110407815.1A
Other languages
Chinese (zh)
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.)
Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Original Assignee
Zhuo Erzhi Lian Wuhan Research Institute 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 Zhuo Erzhi Lian Wuhan Research Institute Co Ltd filed Critical Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Priority to CN202110407815.1A priority Critical patent/CN113222344A/en
Publication of CN113222344A publication Critical patent/CN113222344A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction

Abstract

The application discloses a block chain data processing method, which comprises the following steps: storing at least one data group corresponding to each user main body to a block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information; the first information is used for determining the updating record of the corresponding data group; and/or, the user main body corresponding to the at least one sub data group is determined; according to the block chain processing method, the block chain processing device and the storage medium, the stored data in the block chain can be traced efficiently.

Description

Block chain data processing method and device and storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a block chain data processing method, apparatus, and storage medium.
Background
In the related art, the quality problem of engineering construction is always a major difficulty in engineering quality management. Because engineering construction is usually long in period, the amount of involved engineering is large, the number of participants is large, certain difficulty exists in controlling and tracing the engineering quality, and the quality problems are difficult to track and process in time, so that the technical problem to be solved is how to efficiently trace the engineering data stored in the block chain.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing block chain data and a storage medium, which can efficiently trace the source of engineering data stored in a block chain.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for processing blockchain data, including:
storing at least one data group corresponding to each user main body to a block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information;
the first information is used for determining the updating record of the corresponding data group; and/or, the user agent corresponding to the at least one sub data group is determined.
In the above scheme, any one of the sub data sets includes a first field; the first field is used for indicating at least one user main body corresponding to each sub data group.
In the above scheme, if the size of the sub data group is smaller than a first threshold, the first field includes content corresponding to the sub data group;
and if the size of the sub data group is larger than or equal to the first threshold, associating the content corresponding to the sub data group through the name corresponding to the first sub data group.
In the above scheme, a first data group to which a first sub data group belongs is determined based on the first sub data group to be updated;
determining a second sub data set which is stored in the first data set most recently;
and storing the first information corresponding to the second sub-data group and the updated first sub-data group to the block chain.
In the above scheme, based on the first information of the third sub-data group to be verified and the first information of the fourth sub-data group corresponding to the third sub-data group stored in the block chain, the update record of the data group corresponding to the third sub-data group is determined; and/or, determining a user main body corresponding to the at least one sub data group;
the fourth sub data group and the third sub data group belong to the same data group, and the update time of the fourth sub data group is adjacent to the update time of the third sub data group.
In the foregoing solution, if the first information of the third sub-data group to be checked is different from the first information of the third sub-data group stored in the block chain, each sub-data group included in the update record is checked;
and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
In the foregoing solution, if the first information of the third sub-data group to be verified is the same as the first information of the third sub-data group stored in the block chain, the initial sub-data groups corresponding to the third sub-data group and the fourth sub-data group are determined based on the first information corresponding to the third sub-data group or the first information corresponding to the fourth sub-data group;
verifying the data in the initial sub data group and each sub data group included in the updating record;
and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
In a second aspect, an embodiment of the present application provides an apparatus for processing blockchain data, where the apparatus includes:
the storage unit is used for storing at least one data group corresponding to each user main body into the block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information;
the first information is used for determining the updating record of the corresponding data group; and/or, the user agent corresponding to the at least one sub data group is determined.
In a third aspect, an embodiment of the present application provides a storage medium, which stores an executable program, and when the executable program is executed by a processor, the storage medium implements the blockchain data processing method executed by the blockchain data processing apparatus.
In a fourth aspect, an embodiment of the present application provides a blockchain data processing apparatus, where the blockchain data processing apparatus causes a processor to execute the above blockchain data processing method.
According to the block chain data processing method, the block chain data processing device and the storage medium, at least one data group corresponding to each user main body is stored in a block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information; the first information is used for determining the updating record of the corresponding data group; and/or, the user agent is used for determining the user main body corresponding to the at least one sub data group, so that the engineering data stored in the block chain can be traced efficiently.
Drawings
Fig. 1 is a schematic flowchart illustrating an alternative block chain data processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an alternative structure of a blockchain platform according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating another alternative flow chart of a block chain data processing method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an alternative structure of a blockchain data processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a hardware component structure of a blockchain data processing apparatus according to an embodiment of the present disclosure.
Detailed Description
The present application will be described in further detail below with reference to the accompanying drawings and examples. 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 quality problem of engineering construction is always a serious difficulty in engineering quality management. Because the engineering construction is usually long in period, the related engineering quantity is large, the number of the participants is large, certain difficulty exists in the control and the source tracing of the engineering quality, and the quality problems are difficult to track and process in time.
Based on the problems existing in the existing engineering data tracing method, the block chain data processing method is provided, and the technical problems and the defects which cannot be solved in the prior art can be solved.
Fig. 1 shows an alternative flowchart of the block chain data processing method according to the embodiment of the present application, which will be described according to various steps.
Step S101, storing at least one data group corresponding to each user main body to a block chain.
In some embodiments, the blockchain data processing apparatus (hereinafter referred to as an apparatus) stores at least one data group corresponding to each user agent into the blockchain. Each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information.
In specific implementation, the device may further classify data corresponding to each user agent to form the at least one data group.
In some optional embodiments, the first information is used to determine an update record of the corresponding data group; and/or, the user agent corresponding to the at least one sub data group is determined.
In some optional embodiments, any one of the each sub data group includes a first field; the first field is used for indicating at least one user main body corresponding to each sub data group.
In specific implementation, if the size of the sub data group is smaller than a first threshold, the first field includes content corresponding to the sub data group; or, if the size of the sub data group is greater than or equal to the first threshold, associating the content corresponding to the sub data group by the name corresponding to the first sub data group. Wherein, the first threshold value can be set according to actual needs.
In some optional embodiments, after the apparatus stores at least one data group corresponding to each user agent to the block chain, the method further includes step S102.
Step S102, updating the sub data group in the block chain.
In some embodiments, the apparatus may determine, based on a first sub data group to be updated, a first data group to which the first sub data group belongs; determining a second sub data set which is stored in the first data set most recently; and storing the first information corresponding to the second sub-data group and the updated first sub-data group to the block chain.
In some optional embodiments, after the apparatus stores at least one data group corresponding to each user agent to the block chain, the method further includes step S103. There is no necessary logical relationship between step S102 and step S103, and both steps can be executed independently.
Step S103, checking at least one subdata group.
In some embodiments, the apparatus determines an update record of a data group corresponding to a third sub data group to be verified based on first information of the third sub data group and first information of a fourth sub data group corresponding to the third sub data group stored in the block chain; and/or, determining a user main body corresponding to the at least one sub data group; the fourth sub data group and the third sub data group belong to the same data group, and the update time of the fourth sub data group is adjacent to the update time of the third sub data group.
In specific implementation, if the first information of the third sub-data group to be checked is different from the first information of the third sub-data group stored in the block chain, checking each sub-data group included in the update record; and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
Or, in specific implementation, if the first information of the third sub-data group to be verified is the same as the first information of the third sub-data group stored in the block chain, determining, based on the first information corresponding to the third sub-data group or the first information corresponding to the fourth sub-data group, initial sub-data groups corresponding to the third sub-data group and the fourth sub-data group; verifying the data in the initial sub data group and each sub data group included in the updating record; and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
Thus, according to the block chain data processing method provided by the embodiment of the application, at least one data group corresponding to each user main body is stored in the block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information; determining an update record of a data group corresponding to each sub data group based on first information included in each sub data group; and/or determining a user main body corresponding to the at least one sub data group based on the first information included in each sub data group; the data can be prevented from being tampered, the data can be traced efficiently, and the user main body corresponding to the sub data with problems can be determined.
Fig. 2 shows an alternative structural diagram of a blockchain platform provided in an embodiment of the present application, which will be described according to various steps.
In fig. 2, the blockchain platform 200 is sequentially from top to bottom: user layer 201, application layer 202, intelligent contract layer 203, blockchain data layer 204, and job layer 205.
The block chain platform is applied to an engineering quality system and explained from bottom to top.
The operation layer 205 is configured to obtain data related to engineering quality corresponding to at least one key link of collection, transportation, warehousing, transportation, installation, acceptance and the like in the engineering construction process.
The data related to the engineering quality may be at least one data group corresponding to each user agent involved in step S101.
The blockchain data layer 204 may be a set of blockchain underlying technologies, and the data related to the engineering quality acquired by the operation layer 205 is packaged by the apparatus and stored in a block corresponding to the blockchain data layer 204, so as to implement non-falsification of the data.
The intelligent contract layer 203 is located above the block chain data layer 204, and comprises engineering quality standards, responsibilities, and a tracing process when quality problems occur.
The application layer 202 is connected to the blockchain data layer 204, and is configured to implement functions such as data exchange and sharing, and providing data traceability based on engineering quality standards and responsibilities included in the intelligent contract layer 203 and traceability processes when quality problems occur.
The user layer 201 includes a user agent for project participation construction, and may be at least one of an owner, a constructor, a supplier and a manager.
When the project advances according to the process, each user agent transmits data into the blockchain data layer 204, and the blockchain data layer 204 stores the data into the database of the blockchain according to the set rules. Meanwhile, the blockchain data layer 204 is associated with the blockchain intelligent contract layer 203, and the operation logic of the process is set through the intelligent contract layer 203. When each user body of the user layer 201 initiates a request, the application layer 202 processes the request to complete operations such as data query, retrieval, source tracing and the like.
Fig. 3 is a schematic flow chart of another alternative block chain data processing method provided in the embodiment of the present application, which will be described according to various steps.
The description will be made in conjunction with the block chain shown in fig. 2 in conjunction with steps S101 to S103.
Step S301, initial information is uploaded through a block chain platform, and associated information is set.
In some embodiments, the blockchain data processing apparatus stores at least one data group corresponding to each user agent to the blockchain. Each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information. Wherein the first information may be a hash value.
In specific implementation, the device may further classify data corresponding to each user agent to form the at least one data group.
Optionally, the apparatus classifies data in the block chain according to a user principal (which may be at least one of an owner, a constructor, a supplier, and a manager), to form at least one data set, and stores an initial sub-data set in each data set to the block chain data layer 204.
For example, the participating entity of the project includes an owner, a constructor, a supplier, a supervisor, etc., and at least one data set corresponding to the owner can store the project requirement document, the payment contract of the owner, the payment time node, etc. document information respectively when grouping; at least one data group corresponding to the construction party can store construction drawings, progress data, delivery data and other file information respectively; at least one data set corresponding to the supplier can respectively store file information such as related material price, material specification, and stocking date; at least one data group corresponding to the proctor can respectively store the data of the sub data groups with the quality detection.
Meanwhile, a field (namely a first field) is added into each sub data group (which can exist in the form of a file) in each data group, and information of responsible parties and participating parties is recorded.
In some optional embodiments, any one of the each sub data group includes a first field; the first field is used for indicating at least one user main body corresponding to each sub data group.
In specific implementation, if the size of the sub data group is smaller than a first threshold, the first field includes content corresponding to the sub data group; or, if the size of the sub data group is greater than or equal to the first threshold, associating the content corresponding to the sub data group by the name corresponding to the first sub data group.
For example, on a computer program, an initial file (initial sub data group) represented as any one data group by DataRoot in a type field.
Optionally, Account001 in the Info id field is represented as a first-class financial file, Revenue:10 in the Info field represents specific sub-data group content, the smaller sub-data group directly writes the content into the field, and the larger sub-data group is associated with the name corresponding to the first sub-data group. The following is an indication that the sub-data group is larger and is associated by the name corresponding to the first sub-data group.
Figure BDA0003022998790000071
Figure BDA0003022998790000081
Step S302, update the data in the block chain.
In some embodiments, the apparatus may determine, based on a first sub data group to be updated, a first data group to which the first sub data group belongs; determining a second sub data set which is stored in the first data set most recently; and storing the first information corresponding to the second sub-data group and the updated first sub-data group to the block chain.
Specifically, on the basis of the classified initial sub-data set, when the data is changed (such as added or modified), the data is updated according to a specific rule.
Determining a data group corresponding to the content to be updated according to the content to be updated (a first sub data group), and finding a second sub data group stored most recently (the second sub data group may be a sub data group updated most recently, or an initial sub data group). Determining a hash value of the first sub-data group; and generating a sub data group according to the first sub data group, adding a field in the newly generated sub data group, storing the hash value of the latest first sub data group, and recording the content corresponding to the first sub data group.
According to the method, along with the project progress, the content of each data update can be divided into different data groups for storage, the content of each update is independently generated into sub data groups for storage in a block chain system, and the latest state value after each data change is stored in an update record; the most recently updated sub-data set can also be quickly found based on the hash in the fields of the sub-data set.
For example, UpdateData in type indicates an updated sub data group, the operations field records specific update content, and is corresponding file information content after updating, and the name field indicates an update operation mode. For example, the content of Account001 is updated to be Revenue:20, and the operation is added (new information is added to the original packet). The hash value of the latest update file (first sub data group) is recorded in Links.
Figure BDA0003022998790000082
Figure BDA0003022998790000091
Step S303, executing the related intelligent contracts of all parties according to the flow.
In some embodiments, intelligent contracts for monitoring, licensing, bidding, installation, authorization, and project operation are performed as the project progresses through the process; the intelligent contract is a preset logic, parameters and judgment conditions of the contract are set firstly, data are extracted from the block chain data layer 204 and then are compared, and the next step can be executed only after a certain condition is reached.
In some embodiments, when a safety accident occurs or traceability engineering-related data is required, the method may further include step S304 and step S305.
Step S304, the updating record is confirmed.
In some embodiments, the apparatus determines an update record of a data group corresponding to a third sub data group to be verified based on first information of the third sub data group and first information of a fourth sub data group corresponding to the third sub data group stored in the block chain; and/or, determining a user main body corresponding to the at least one sub data group; the fourth sub data group and the third sub data group belong to the same data group, and the update time of the fourth sub data group is adjacent to the update time of the third sub data group.
Wherein the third sub data group may be data which has quality problem or needs tracing.
If the first information of the third sub-data group to be verified is different from the first information of the third sub-data group stored in the block chain, verifying each sub-data group included in the update record; and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
Or, in specific implementation, if the first information of the third sub-data group to be verified is the same as the first information of the third sub-data group stored in the block chain, determining, based on the first information corresponding to the third sub-data group or the first information corresponding to the fourth sub-data group, initial sub-data groups corresponding to the third sub-data group and the fourth sub-data group; verifying the data in the initial sub data group and each sub data group included in the updating record; and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
For example, data corresponding to a material which has a quality problem or needs to be traced is determined based on a database in a block chain, a construction flow process of the material is retrieved, a third sub data group is determined, and whether the third sub data group in the block chain is tampered or not is determined based on a hash value of the third sub data group to be checked and a hash value of the third sub data group stored in the block chain.
If a problem occurs in a certain engineering process, the root cause and the subject of the quality responsibility can be traced through the information acquisition table. For example, if the quality of a material is not good, the same batch of material is searched to find all sites used by the batch of material, and then a responsible correction is performed while a person responsible for the quality is being followed. Because the data in the block chain is safe, reliable and non-falsifiable, the information based on the block chain technology has authenticity, and if the loss occurs due to quality problems, the information can be used as a basis for making a claim to a responsible party.
Specifically, the tracing process may include tracing to an initial file according to the packet location data and the hash of the updated file, and tracing to a previous node according to the update rule to obtain a series of files of each group. Namely, every updated record from the initial storage to the next time is compared with the responsible party and the participating party to trace the source.
In step S305, the user agent is determined.
In some embodiments, according to the tracing result in step S305, it can be quickly and clearly verified whether the step is not operated according to the quality safety standard, and according to the responsible party and the participating party recorded in the document, it is very convenient and accurate to determine which engineering engineer should be responsible for by which participating entity, thereby further ensuring the quality safety of the construction project, and facilitating the real-time supervision and afterward responsibility of the government regulatory department on the market participants.
Thus, according to the embodiment of the present application, in the blockchain system, the key data and materials in the engineering process are stored in a classified manner, the data updating status of each time is recorded, and the files (sub data sets) with specific formats are stored in the blockchain system. And meanwhile, storing the hash value of the last updated file in the sub-data group. When the quality problem occurs, the block is utilized, the sub data group is continuously searched and positioned at the upper stage according to the hash value, and then the data is restored according to the information of the sub data group. The method can ensure that the data in the engineering process can be accurately recorded and cannot be tampered, standardizes the data recording and tracing process, and can also quickly compare the data when quality problems occur to determine responsibility.
Fig. 4 is a schematic diagram illustrating an alternative structure of a block chain data processing apparatus according to an embodiment of the present application, which will be described according to various parts.
In some embodiments, the blockchain data processing apparatus 400 includes: a memory unit 401.
The storage unit 401 is configured to store at least one data group corresponding to each user agent into a block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information;
the first information is used for determining the updating record of the corresponding data group; and/or, the user agent corresponding to the at least one sub data group is determined.
Any one of the each sub data group comprises a first field; the first field is used for indicating at least one user main body corresponding to each sub data group.
If the size of the sub data group is smaller than a first threshold, the first field comprises the content corresponding to the sub data group;
and if the size of the sub data group is larger than or equal to the first threshold, associating the content corresponding to the sub data group through the name corresponding to the first sub data group.
In some embodiments, the blockchain data processing apparatus 400 may include: a determination unit 402.
The determining unit 402 is configured to determine, based on a first sub data group to be updated, a first data group to which the first sub data group belongs; determining a second sub data set which is stored in the first data set most recently;
the storage unit 401 is further configured to store the first information corresponding to the second sub data set and the updated first sub data set in the block chain.
The determining unit 402 is further configured to determine an update record of a data group corresponding to a third sub data group based on first information of the third sub data group to be verified and first information of a fourth sub data group corresponding to the third sub data group stored in the block chain; and/or, determining a user main body corresponding to the at least one sub data group;
the fourth sub data group and the third sub data group belong to the same data group, and the update time of the fourth sub data group is adjacent to the update time of the third sub data group.
In some embodiments, the blockchain data processing apparatus 400 may include: a verification unit 403.
The verification unit 403 is configured to verify each sub data set included in the update record if the first information of the third sub data set to be verified is different from the first information of the third sub data set stored in the block chain;
the determining unit 402 is further configured to determine, based on a result of the verification, a sub data group with a problem in the update record and a user main body corresponding to the sub data group with the problem.
The determining unit 402 is further configured to, if the first information of the third sub-data group to be verified is the same as the first information of the third sub-data group stored in the block chain, determine an initial sub-data group corresponding to the third sub-data group and an initial sub-data group corresponding to the fourth sub-data group based on the first information corresponding to the third sub-data group or the first information corresponding to the fourth sub-data group;
the verification unit 403 is further configured to verify data in the initial sub data set and each sub data set included in the update record; and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
Fig. 5 is a schematic diagram of a hardware structure of a blockchain data processing apparatus according to an embodiment of the present disclosure, where the blockchain data processing apparatus 700 includes: at least one processor 701, a memory 702, and at least one network interface 704. The various components in the blockchain data processing device 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 5 as the bus system 705.
It will be appreciated that the memory 702 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The non-volatile Memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), magnetic random access Memory (FRAM), Flash Memory (Flash Memory), magnetic surface Memory, optical Disc, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 702 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 702 in the embodiments of the present application is used to store various types of data to support the operation of the block chain data processing apparatus 700. Examples of such data include: any computer program for operating on the blockchain data processing device 700, such as application 722. A program implementing the method of an embodiment of the present application may be included in the application 722.
The method disclosed in the embodiment of the present application may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 701 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 702, and the processor 701 may read the information in the memory 702 and perform the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the blockchain data processing apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, MPUs, or other electronic components for performing the aforementioned methods.
The embodiment of the application also provides a storage medium for storing the computer program.
Optionally, the storage medium may be applied to the first client in the embodiment of the present application, and the computer program enables the computer to execute corresponding processes in each method in the embodiment of the present application, which is not described herein again for brevity.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable blockchain data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable blockchain data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable blockchain data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable block chain data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present application and should not be taken as limiting the scope of the present application, as any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (10)

1. A method for processing blockchain data, the method comprising:
storing at least one data group corresponding to each user main body to a block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information;
the first information is used for determining the updating record of the corresponding data group; and/or, the user agent corresponding to the at least one sub data group is determined.
2. The method of claim 1,
any one of the each sub data group comprises a first field; the first field is used for indicating at least one user main body corresponding to each sub data group.
3. The method of claim 2,
if the size of the sub data group is smaller than a first threshold, the first field comprises the content corresponding to the sub data group;
and if the size of the sub data group is larger than or equal to the first threshold, associating the content corresponding to the sub data group through the name corresponding to the first sub data group.
4. The method of claim 1, further comprising:
determining a first data group to which the first sub-data group belongs based on the first sub-data group to be updated;
determining a second sub data set which is stored in the first data set most recently;
and storing the first information corresponding to the second sub-data group and the updated first sub-data group to the block chain.
5. The method of claim 1, further comprising:
determining an update record of a data group corresponding to a third sub data group based on first information of the third sub data group to be checked and first information of a fourth sub data group corresponding to the third sub data group and stored in the block chain; and/or, determining a user main body corresponding to the at least one sub data group;
the fourth sub data group and the third sub data group belong to the same data group, and the update time of the fourth sub data group is adjacent to the update time of the third sub data group.
6. The method of claim 5, further comprising:
if the first information of the third sub-data group to be verified is different from the first information of the third sub-data group stored in the block chain, verifying each sub-data group included in the update record;
and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
7. The method of claim 5, further comprising:
if the first information of the third sub-data group to be checked is the same as the first information of the third sub-data group stored in the block chain, confirming the initial sub-data groups corresponding to the third sub-data group and the fourth sub-data group based on the first information corresponding to the third sub-data group or the first information corresponding to the fourth sub-data group;
verifying the data in the initial sub data group and each sub data group included in the updating record;
and determining the sub data group with the problem in the updating record and the user main body corresponding to the sub data group with the problem based on the checking result.
8. An apparatus for block chain data processing, the apparatus comprising:
the storage unit is used for storing at least one data group corresponding to each user main body into the block chain; each data group in the at least one data group comprises at least one subdata group; each sub data group includes first information;
the first information is used for determining the updating record of the corresponding data group; and/or, the user agent corresponding to the at least one sub data group is determined.
9. A storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the block chain data processing method according to any one of claims 1 to 7.
10. A blockchain data processing apparatus comprising a memory, a processor and an executable program stored on the memory and executable by the processor, wherein the processor executes the executable program to perform the steps of the blockchain data processing method according to any one of claims 1 to 7.
CN202110407815.1A 2021-04-15 2021-04-15 Block chain data processing method and device and storage medium Pending CN113222344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110407815.1A CN113222344A (en) 2021-04-15 2021-04-15 Block chain data processing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110407815.1A CN113222344A (en) 2021-04-15 2021-04-15 Block chain data processing method and device and storage medium

Publications (1)

Publication Number Publication Date
CN113222344A true CN113222344A (en) 2021-08-06

Family

ID=77087742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110407815.1A Pending CN113222344A (en) 2021-04-15 2021-04-15 Block chain data processing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN113222344A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083596A (en) * 2018-05-16 2019-08-02 陈刚 A kind of method of data history tracking and the tracking of data change histories
CN110188112A (en) * 2019-05-31 2019-08-30 深圳前海微众银行股份有限公司 A kind of retroactive method and device of the change record of block chain intelligence contract
CN110222920A (en) * 2019-04-19 2019-09-10 平安科技(深圳)有限公司 Performance data storage method, device, equipment and readable storage medium storing program for executing
US20190280855A1 (en) * 2016-11-24 2019-09-12 Alibaba Group Holding Limited Method, system and apparatus for data storage and data access
CN110321730A (en) * 2019-03-28 2019-10-11 平安科技(深圳)有限公司 A kind of method, block chain node and the storage medium of operation data processing
CN110505239A (en) * 2019-09-09 2019-11-26 腾讯云计算(北京)有限责任公司 A kind of information processing method based on block chain network, device and electronic equipment
US20200050613A1 (en) * 2018-03-13 2020-02-13 Blockpoint Systems Inc. Relational Blockchain Database
CN111367923A (en) * 2020-02-26 2020-07-03 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN111369150A (en) * 2020-03-06 2020-07-03 四川中宇建设工程有限公司 Intelligent management system for engineering construction projects
CN111488372A (en) * 2020-04-09 2020-08-04 腾讯科技(深圳)有限公司 Data processing method, device and storage medium
CN111552676A (en) * 2020-04-26 2020-08-18 北京众享比特科技有限公司 Block chain based evidence storing method, device, equipment and medium
CN111737716A (en) * 2017-11-17 2020-10-02 阿里巴巴集团控股有限公司 Traceable multi-party data processing method, device and equipment
CN112001663A (en) * 2020-10-30 2020-11-27 腾讯科技(深圳)有限公司 Material donation data processing method based on block chain and related equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190280855A1 (en) * 2016-11-24 2019-09-12 Alibaba Group Holding Limited Method, system and apparatus for data storage and data access
CN111737716A (en) * 2017-11-17 2020-10-02 阿里巴巴集团控股有限公司 Traceable multi-party data processing method, device and equipment
US20200050613A1 (en) * 2018-03-13 2020-02-13 Blockpoint Systems Inc. Relational Blockchain Database
CN110083596A (en) * 2018-05-16 2019-08-02 陈刚 A kind of method of data history tracking and the tracking of data change histories
CN110321730A (en) * 2019-03-28 2019-10-11 平安科技(深圳)有限公司 A kind of method, block chain node and the storage medium of operation data processing
CN110222920A (en) * 2019-04-19 2019-09-10 平安科技(深圳)有限公司 Performance data storage method, device, equipment and readable storage medium storing program for executing
CN110188112A (en) * 2019-05-31 2019-08-30 深圳前海微众银行股份有限公司 A kind of retroactive method and device of the change record of block chain intelligence contract
CN110505239A (en) * 2019-09-09 2019-11-26 腾讯云计算(北京)有限责任公司 A kind of information processing method based on block chain network, device and electronic equipment
CN111367923A (en) * 2020-02-26 2020-07-03 腾讯科技(深圳)有限公司 Data processing method, data processing device, node equipment and storage medium
CN111369150A (en) * 2020-03-06 2020-07-03 四川中宇建设工程有限公司 Intelligent management system for engineering construction projects
CN111488372A (en) * 2020-04-09 2020-08-04 腾讯科技(深圳)有限公司 Data processing method, device and storage medium
CN111552676A (en) * 2020-04-26 2020-08-18 北京众享比特科技有限公司 Block chain based evidence storing method, device, equipment and medium
CN112001663A (en) * 2020-10-30 2020-11-27 腾讯科技(深圳)有限公司 Material donation data processing method based on block chain and related equipment

Similar Documents

Publication Publication Date Title
US20210049715A1 (en) Blockchain-based data procesing method, apparatus, and electronic device
US11669439B2 (en) Computing hardware and software design testing auditability, including for critical control systems, functional safety, and autonomous vehicle component certification
CN107016047A (en) Document query, document storing method and device
CN110866289B (en) Block chain-based data processing method, device, server and storage medium
CN111124917B (en) Method, device, equipment and storage medium for managing and controlling public test cases
WO2020244445A1 (en) Coverage information obtaining method and device
CN112800483A (en) Block chain-based data source integrity detection method, system, device and medium
CN114860745A (en) Database expansion method based on artificial intelligence and related equipment
US20200134215A1 (en) Object storage for guaranteed content for backup and retention
CN107729541A (en) A kind of data processing method, device and computer-readable recording medium
CN116628757B (en) Spacecraft supply chain management method, equipment and storage medium based on block chain
CN110334327B (en) Automatic generation method and device of area information and storage device
KR102365292B1 (en) A method for managing the lifecycle of a complex engineering object and a system for its implementation
CN113222344A (en) Block chain data processing method and device and storage medium
CN112632947A (en) Online document processing method, online document processing device and electronic equipment
CN107885781A (en) A kind of method for edition management and system
CN111124591B (en) Mirror image transmission method and device, electronic equipment and storage medium
CN113706056A (en) Bidding unit performance identification early warning method, device, equipment and storage medium
CN113919006A (en) Method, equipment and computer storage medium for protecting data integrity
CN107257281A (en) NOR FLASH store method, device and the computer-readable recording medium of key data record
CN112597023A (en) Case management method and device based on guide picture, computer equipment and storage medium
CN110765193A (en) Method and device for exporting block chain data
CN111222928A (en) Method and system for monitoring enterprise standard invoicing
CN111680004B (en) Method and device for checking migration accuracy of unstructured image file
CN114816832B (en) Data management method, device and system of single chip microcomputer

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240126