CN117891882A - Data management system, method, equipment and storage medium based on blockchain - Google Patents

Data management system, method, equipment and storage medium based on blockchain Download PDF

Info

Publication number
CN117891882A
CN117891882A CN202410082946.0A CN202410082946A CN117891882A CN 117891882 A CN117891882 A CN 117891882A CN 202410082946 A CN202410082946 A CN 202410082946A CN 117891882 A CN117891882 A CN 117891882A
Authority
CN
China
Prior art keywords
data
user
blockchain
extraction module
state extraction
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
CN202410082946.0A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202410082946.0A priority Critical patent/CN117891882A/en
Publication of CN117891882A publication Critical patent/CN117891882A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data management system, method, equipment and storage medium based on a blockchain. Comprising the following steps: the service platform is connected with the data state extraction module; the service platform is used for acquiring user data, generating a database log according to the user data and sending the database log to the data state extraction module; and the data state extraction module is used for determining data storage information according to the received database log and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier. By establishing the client data flow block chain, the data can be jointly verified and shared by a plurality of nodes, the integrity and consistency of the data are ensured, the credibility and transparency of the data are enhanced, the real-time investigation of the personal data state by a user is realized, the traceability and non-falsification of the client data using process are achieved, the client's right of sense is greatly improved, and the data protection degree is improved.

Description

Data management system, method, equipment and storage medium based on blockchain
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain-based data management system, method, device, and storage medium.
Background
Commercial banks have recently developed on-line services, including self-owned services and three-party collaborative services, in which customers can register and log on palm silver APP, directly use financial products provided by commercial banks or link to financial services provided by off-line third party institutions, all of which require customers to provide personal sensitive information including name, identification card number, bank card number, face data, etc. to varying degrees.
In the data use process, because the standards of information systems of different institutions are different, the information systems are difficult to dock and monitor the use condition of sensitive data, offline management is limited by lack of supervision records of human and financial resources, and after the service is finished, customer data is not destroyed or fully desensitized, so that leakage events of the customer information often occur, a large reputation risk is caused, and loss is brought to the customer.
Disclosure of Invention
The invention provides a data management system, a method, equipment and a storage medium based on a blockchain, which realize real-time checking of personal data states by a user through designing a data state blockchain.
According to an aspect of the present invention, there is provided a blockchain-based data management system, the system including: the service platform is connected with the data state extraction module;
The service platform is used for acquiring user data, generating a database log according to the user data and sending the database log to the data state extraction module;
And the data state extraction module is used for determining data storage information according to the received database log and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
Optionally, the data state extraction module is further configured to determine a data transfer condition of the database log according to the first specified time interval, obtain transfer data according to the database log when the data transfer condition is that data transfer occurs, generate a first new block according to the transfer data, and upload the first new block to the blockchain.
Optionally, the data state extraction module is configured to pull the storage state, the timestamp and the user identifier from the database log as data storage information, generate a combined tag according to the data storage information, package the combined tag content to generate a block, and upload the block to the blockchain.
Optionally, the system further comprises: the data acquisition module is connected with the service platform; the data acquisition module is used for acquiring the newly-added data uploaded by the user, determining the user identifier corresponding to the user, generating user data according to the newly-added data and the user identifier, and sending the user data to the service platform.
Optionally, the system further comprises: the data destruction module is connected with the data state extraction module; the data destruction module is used for acquiring preset data use conditions based on the target data, generating a data destruction instruction according to the target data when the target data meets the data use conditions, and sending the data destruction instruction to the data state extraction module, wherein the data use conditions comprise use time or use purpose; the data state extraction module is further used for deleting target data according to the received data destruction instruction so as to generate deleted data, generating a second newly-added block according to the deleted data, and uploading the second newly-added block to the block chain.
Optionally, the system further comprises: the data merging module is connected with the data state extraction module; the data merging module is used for acquiring each piece of update data according to the second designated time interval, generating a data merging instruction according to each piece of update data, and sending the data merging instruction to the data state extraction module, wherein the update data comprises a user identifier; the data state extraction module is further used for determining historical data in the blockchain according to the user identification, combining the historical data and the updated data according to the received data combination instruction to generate combined data, generating a third newly-added block according to the combined data, and uploading the third newly-added block to the blockchain.
Optionally, the service platform is further configured to obtain a data query instruction and a permission configuration list input by a user, determine a target user identifier corresponding to the data query instruction, match the target user identifier according to the permission configuration list, obtain target access information corresponding to the target user identifier, extract target query data corresponding to a blockchain according to the target access information, and display the target query data to the user, where the permission configuration list includes access permission information corresponding to each user identifier.
According to another aspect of the present invention, there is provided a blockchain-based data management method, the method including:
User data is obtained through the service platform, a database log is generated according to the user data, and the database log is sent to the data state extraction module;
Determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a blockchain-based data management method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a blockchain-based data management method according to any of the embodiments of the present invention when executed.
According to the technical scheme, user data are acquired through a service platform, a database log is generated according to the user data, and the database log is sent to a data state extraction module; determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier. By establishing the client data flow block chain, the data can be jointly verified and shared by a plurality of nodes, the integrity and consistency of the data are ensured, the credibility and transparency of the data are enhanced, the real-time investigation of the personal data state by a user is realized, the traceability and non-falsification of the client data using process are achieved, the client's right of sense is greatly improved, and the data protection degree is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block chain based data management system according to a first embodiment of the present invention;
FIG. 2 is a block chain based data management system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another block chain based data management system according to a second embodiment of the present invention;
FIG. 4 is a flow chart of a method for blockchain-based data management in accordance with a third embodiment of the present invention;
Fig. 5 is a schematic structural diagram of an electronic device implementing a blockchain-based data management method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
FIG. 1 is a schematic diagram of a block chain based data management system according to an embodiment of the present invention, the system includes: the service platform is connected with the data state extraction module;
Optionally, the service platform is configured to obtain user data, generate a database log according to the user data, and send the database log to the data state extraction module; and the data state extraction module is used for determining data storage information according to the received database log and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
The service platform refers to a system for processing and managing user data. It collects and stores various data provided by the user by interacting with the user. Such as personal information, transaction records, behavioral preferences, and the like. When a user interacts with the service platform, the service platform records the operation of the user and related data to form a database log, wherein the database log comprises information such as operation time, operation type, related data items and the like of the user. The database log may track the user's behavior and activity for subsequent data analysis and auditing.
Specifically, the service platform may send the database log to the data state extraction module. The data state extraction module is a plug-in dedicated to processing database logs. The data state extraction module may extract information related to the data storage therein, including storage state, time stamp, and user identification, based on the received database log. The storage state represents the storage location and state of data in the database, such as stored, pending, and errors, etc. The time stamp records the time of storage of the data for tracking the lifecycle of the data. User identification refers to a client ID that is used to distinguish between different users and to associate a particular user with a related data record.
Further, the data state extraction module generates a blockchain based on the extracted data storage information. Blockchains are a decentralized distributed ledger technique that form a non-tamperable chain structure by concatenating data in blocks in sequence. Each block contains a series of transaction records that are verified and validated by a consensus mechanism, ensuring their authenticity and integrity. The generation process of the blockchain involves participation of a plurality of nodes, and each node stores a complete blockchain copy, so that data consensus and sharing are realized. By generating the blockchain from the data storage information, the data state extraction module ensures the security, reliability and traceability of the data. The characteristics of the blockchain enable the data to be unable to be tampered or deleted once recorded, and ensure the integrity and consistency of the data. Meanwhile, the distributed account book structure of the blockchain enables the data to be verified and shared by a plurality of nodes, so that the credibility and transparency of the data are enhanced.
Optionally, the data state extraction module is further configured to determine a data transfer condition of the database log according to the first specified time interval, obtain transfer data according to the database log when the data transfer condition is that data transfer occurs, generate a first new block according to the transfer data, and upload the first new block to the blockchain.
Specifically, the data state extraction module may also use the attribute change of the client data table as a circulation state change standard, and use the unique primary key of the data as a state change reference to record the data state. That is, the data state extraction module periodically reads the database log, and screens out the data stream records occurring in the time interval according to the first specified time interval. This time interval may be set according to actual needs, such as daily, weekly or monthly, etc. In this way, the data state extraction module can capture changes and circulation conditions of the data in the database. When the data state extraction module detects that data flow occurs within a first specified time interval, it may further obtain flow data based on information in the database log. The streaming data typically includes modified, deleted, or added data records. The data state extraction module extracts relevant information of the circulation data, such as identifiers of the data, values before and after modification, and the like.
Further, the data state extraction module generates a first new block based on the acquired stream data. The new block is a blockchain block containing the streaming data that records the data streaming that occurred during the first specified time interval. The generation process of the block chain block involves encrypting and hashing the circulation data and connecting the circulation data with the hash value of the previous block to form a non-tamperable chain structure. The data state extraction module uploads the generated first new block to the blockchain.
Illustratively, when customer data is transmitted from the bank to the partner, the database log changes, the data table storage state and storage time change, the system automatically detects the state change, the data state consisting of the position, the timestamp and the like can be used as the unique label of the data, and each time a label is generated, the label is uploaded to the blockchain as a new block. Note that the stream status is also divided into a single stream and a plurality of streams. When the multi-person information is transferred simultaneously, the multi-person data transfer state with the same item number as the data collection state is provided.
Optionally, the data state extraction module is configured to pull the storage state, the timestamp and the user identifier from the database log as data storage information, generate a combined tag according to the data storage information, package the combined tag content to generate a block, and upload the block to the blockchain.
Specifically, the data state extraction module may read the database log, and extract information related to data storage from the log, where the information includes a storage state, a timestamp, and a user identifier. The data state extraction module generates a composite tag based on the data storage information. A combination tag is an identifier for describing and categorizing data that incorporates information such as storage status, time stamps, and user identification to provide a more comprehensive and detailed description of the data. Finally, the data state extraction module packages the generated combined tag content to generate a block and uploads the block to the blockchain. The whole process realizes the extraction, processing and protection of the data storage information, and provides a reliable basis for the subsequent data analysis and application.
Optionally, the service platform is further configured to obtain a data query instruction and a permission configuration list input by a user, determine a target user identifier corresponding to the data query instruction, match the target user identifier according to the permission configuration list, obtain target access information corresponding to the target user identifier, extract target query data corresponding to a blockchain according to the target access information, and display the target query data to the user, where the permission configuration list includes access permission information corresponding to each user identifier.
Specifically, the user can also set the authority through the service platform, the access authority of the user can be limited through the authority design, and the user can only inquire the data state through the personal client ID, so that the safety is ensured. In practical application, the service platform will first receive the data query instruction input by the user. The data query instructions may include specific data items, time ranges, or other relevant information that the user wants to query. The platform parses and processes these instructions to determine the specific needs of the user. And the service platform can also acquire the authority configuration list. The authority configuration list contains access authority information corresponding to each user identifier. Such information may define the range of data, the type of operation, and other constraints that each user may access. The service platform can determine the target user mark corresponding to the data query instruction and then match the target user mark through the authority configuration list, and can acquire target access information related to the target user mark. The target access information refers to information to which the user has access permission. Based on the target access information, the service platform can extract corresponding target query data in the blockchain and display the target query data to the user. The user can view and acquire the data matched with the authority of the user through an interface or an interface provided by the platform. And the user can conveniently access and operate the data related to the user, the efficiency of data management and processing is improved, the safety management and access control of the user data are realized, and the privacy and the legality of the data are ensured.
FIG. 2 is a schematic block chain-based data management system according to an embodiment of the present invention, where the system in FIG. 2 further includes: and the data acquisition module is connected with the service platform.
Optionally, the system further comprises: the data acquisition module is connected with the service platform; the data acquisition module is used for acquiring the newly-added data uploaded by the user, determining the user identifier corresponding to the user, generating user data according to the newly-added data and the user identifier, and sending the user data to the service platform.
The data acquisition module is used for acquiring newly-added data uploaded by the users and determining user identifications corresponding to the users. The data acquisition module can generate user data by combining the newly added data with the user identification, and send the user data to the service platform for further processing and analysis.
For example, the data collection module may define the first data upload in the process of uploading information triggered by the action of the client operation, such as clicking a button and initializing an interface, as data collection, for example, the process of the user registering personal information for using a function, or uploading information to enjoy full-scale service.
Specifically, the data acquisition module may receive newly-added data uploaded by the user. The newly added data can be in various forms such as text, images, audio and video, and the like, and the data acquisition module can analyze and process the data to extract key information and characteristics. Meanwhile, the data acquisition module also determines the user identifier corresponding to each user. The user identification may be a user's username, email address, cell phone number, or other unique identifier. By combining the user identification with the newly-added data, the data acquisition module can generate user data, and the user data comprises the newly-added data uploaded by the user and the user identification information corresponding to the newly-added data. Finally, the data acquisition module sends the generated user data to the service platform.
According to the technical scheme, user data are acquired through a service platform, a database log is generated according to the user data, and the database log is sent to a data state extraction module; determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier. By establishing the client data flow block chain, the data can be jointly verified and shared by a plurality of nodes, the integrity and consistency of the data are ensured, the credibility and transparency of the data are enhanced, the real-time investigation of the personal data state by a user is realized, the traceability and non-falsification of the client data using process are achieved, the client's right of sense is greatly improved, and the data protection degree is improved.
Example two
Fig. 3 is a schematic structural diagram of a data management system based on a distributed lock according to a first embodiment of the present invention, and fig. 3 adds a data destruction module and a data merging module based on the first embodiment.
Optionally, the system further comprises: the data destruction module is connected with the data state extraction module; the data destruction module is used for acquiring preset data use conditions based on the target data, generating a data destruction instruction according to the target data when the target data meets the data use conditions, and sending the data destruction instruction to the data state extraction module, wherein the data use conditions comprise use time or use purpose; the data state extraction module is further used for deleting target data according to the received data destruction instruction so as to generate deleted data, generating a second newly-added block according to the deleted data, and uploading the second newly-added block to the block chain.
The data destruction module is used for managing and executing data destruction operation. When the target data meets the data use condition, the data destruction module can generate a data destruction instruction according to the target data and send the data destruction instruction to the data state extraction module.
Specifically, the data destruction module judges whether the target data can be destroyed according to preset data use conditions. The data usage conditions may include a usage time or a usage purpose. For example, the data may be automatically destroyed after a certain period of time, or destroyed when the purpose of use of the data has been achieved. When the target data meets the data use condition, the data destruction module generates a data destruction instruction according to the target data and sends the data destruction instruction to the data state extraction module. The data state extraction module deletes target data according to the data destruction instruction so as to generate deleted data. By deleting the target data, the data state extraction module may ensure that the data is no longer used or accessed. Further, the data state extraction module further determines a data state corresponding to the deleted data, and then generates a second newly added block according to the data state, and uploads the second newly added block to the blockchain.
Optionally, the system further comprises: the data merging module is connected with the data state extraction module; the data merging module is used for acquiring each piece of update data according to the second designated time interval, generating a data merging instruction according to each piece of update data, and sending the data merging instruction to the data state extraction module, wherein the update data comprises a user identifier; the data state extraction module is further used for determining historical data in the blockchain according to the user identification, combining the historical data and the updated data according to the received data combination instruction to generate combined data, generating a third newly-added block according to the combined data, and uploading the third newly-added block to the blockchain.
The data merging module is used for merging and processing the data, namely acquiring each updated data according to a second designated time interval, generating a data merging instruction according to each updated data, and sending the data merging instruction to the data state extraction module.
Specifically, the data merging module periodically acquires each updated data according to a preset second designated time interval. The update data contains key information such as user identification and the like. By acquiring the update data, the data merging module can know the data change condition of the user. The data merging module can generate a data merging instruction according to each updated data and send the data merging instruction to the data state extraction module. After receiving the data merging instruction, the data state extraction module determines historical data in the blockchain according to the user identification in the instruction. By interacting with the blockchain, the data state extraction module may obtain historical data related to the specified user identification.
Further, the data state extraction module combines the historical data and the updated data according to the received data combination instruction to generate combined data. This process involves the integration and processing of the data, ensuring the consistency and integrity of the data. And combining the historical data and the updated data, generating a third newly-added block according to the combined data, and uploading the third newly-added block to the blockchain.
In practical application, after the partial scenes need to combine multiple data from different sources, the data is transferred to a new position, and the data transfer degree is different, so that the latest state of the data on the blockchain can be directly extracted, and a new block is generated according to the latest state combination. For example, after the single data state is updated to generate a block and uploaded to the blockchain, the data state of a plurality of persons is changed due to the fact that the data states of the persons are different before each person, at this time, the single data state of the uploaded blockchain can be extracted and combined with other client data states to generate a block, and the number of the blocks is reduced.
According to the technical scheme, user data are acquired through a service platform, a database log is generated according to the user data, and the database log is sent to a data state extraction module; determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier. By establishing the client data flow block chain, the data can be jointly verified and shared by a plurality of nodes, the integrity and consistency of the data are ensured, the credibility and transparency of the data are enhanced, the real-time investigation of the personal data state by a user is realized, the traceability and non-falsification of the client data using process are achieved, the client's right of sense is greatly improved, and the data protection degree is improved.
Example III
Fig. 4 is a flowchart of a data management method based on a blockchain according to a third embodiment of the present invention, where the present embodiment is applicable to a scenario of data management of a service system. As shown in fig. 4, the method includes:
S310, user data is acquired through the service platform, a database log is generated according to the user data, and the database log is sent to the data state extraction module.
Specifically, the service platform may send the database log to the data state extraction module. The data state extraction module is a plug-in dedicated to processing database logs. The data state extraction module may extract information related to the data storage therein, including storage state, time stamp, and user identification, based on the received database log. The storage state represents the storage location and state of data in the database, such as stored, pending, and errors, etc. The time stamp records the time of storage of the data for tracking the lifecycle of the data. User identification refers to a client ID that is used to distinguish between different users and to associate a particular user with a related data record.
S320, determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
Specifically, the data state extraction module generates a blockchain based on the extracted data storage information. Blockchains are a decentralized distributed ledger technique that form a non-tamperable chain structure by concatenating data in blocks in sequence. Each block contains a series of transaction records that are verified and validated by a consensus mechanism, ensuring their authenticity and integrity. The generation process of the blockchain involves participation of a plurality of nodes, and each node stores a complete blockchain copy, so that data consensus and sharing are realized. By generating the blockchain from the data storage information, the data state extraction module ensures the security, reliability and traceability of the data. The characteristics of the blockchain enable the data to be unable to be tampered or deleted once recorded, and ensure the integrity and consistency of the data. Meanwhile, the distributed account book structure of the blockchain enables the data to be verified and shared by a plurality of nodes, so that the credibility and transparency of the data are enhanced.
According to the technical scheme, user data are acquired through a service platform, a database log is generated according to the user data, and the database log is sent to a data state extraction module; determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier. By establishing the client data flow block chain, the data can be jointly verified and shared by a plurality of nodes, the integrity and consistency of the data are ensured, the credibility and transparency of the data are enhanced, the real-time investigation of the personal data state by a user is realized, the traceability and non-falsification of the client data using process are achieved, the client's right of sense is greatly improved, and the data protection degree is improved.
The data management device based on the block chain provided by the embodiment of the invention can execute the data management method based on the block chain provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a blockchain-based data management method. Namely: user data is obtained through the service platform, a database log is generated according to the user data, and the database log is sent to the data state extraction module; determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
In some embodiments, a blockchain-based data management method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more of the steps of a blockchain-based data management method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform a blockchain-based data management method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A blockchain-based data management system, comprising: the service platform is connected with the data state extraction module;
The service platform is used for acquiring user data, generating a database log according to the user data and sending the database log to the data state extraction module;
The data state extraction module is used for determining data storage information according to the received database log and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
2. The system of claim 1, wherein the data state extraction module is further configured to determine a data transfer condition of the database log according to a first specified time interval, obtain transfer data according to the database log when the data transfer condition is that data transfer occurs, generate a first new block according to the transfer data, and upload the first new block to the blockchain.
3. The system of claim 1, wherein the data state extraction module is configured to pull a storage state, a timestamp, and a user identification from the database log as data storage information, and generate a combined tag based on the data storage information, package the combined tag content to generate a chunk, and upload the chunk to a blockchain.
4. The system of claim 1, wherein the system further comprises: the data acquisition module is connected with the service platform;
The data acquisition module is used for acquiring newly-increased data uploaded by a user, determining a user identifier corresponding to the user, generating user data according to the newly-increased data and the user identifier, and sending the user data to the service platform.
5. The system of claim 4, wherein the system further comprises: the data destruction module is connected with the data state extraction module;
the data destruction module is used for acquiring preset data use conditions based on target data, generating a data destruction instruction according to the target data when the target data meets the data use conditions, and sending the data destruction instruction to the data state extraction module, wherein the data use conditions comprise use time or use purpose;
The data state extraction module is further configured to delete target data according to a received data destruction instruction, so as to generate deleted data, generate a second newly-added block according to the deleted data, and upload the second newly-added block to the blockchain.
6. The system of claim 5, wherein the system further comprises: the data merging module is connected with the data state extraction module;
The data merging module is used for acquiring each piece of update data according to a second designated time interval, generating a data merging instruction according to each piece of update data, and sending the data merging instruction to the data state extraction module, wherein the update data comprises a user identifier;
The data state extraction module is further configured to determine historical data in a blockchain according to a user identifier, combine the historical data and the update data according to the received data combination instruction to generate combined data, generate a third newly-added block according to the combined data, and upload the third newly-added block to the blockchain.
7. The system of claim 1, wherein the service platform is further configured to obtain a data query instruction and a permission configuration list input by a user, determine a target user identifier corresponding to the data query instruction, match the target user identifier according to the permission configuration list to obtain target access information corresponding to the target user identifier, extract target query data corresponding to the blockchain according to the target access information, and display the target query data to the user, where the permission configuration list includes access permission information corresponding to each user identifier.
8. A method of blockchain-based data management, for use in a blockchain-based data management system as in any of claims 1-7, comprising:
user data is obtained through a service platform, a database log is generated according to the user data, and the database log is sent to the data state extraction module;
Determining data storage information according to the received database log through a data state extraction module, and generating a blockchain according to the data storage information, wherein the data storage information comprises a storage state, a time stamp and a user identifier.
9. An electronic device, the electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of claim 8.
10. A computer storage medium storing computer instructions for causing a processor to execute the method of claim 8.
CN202410082946.0A 2024-01-19 2024-01-19 Data management system, method, equipment and storage medium based on blockchain Pending CN117891882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410082946.0A CN117891882A (en) 2024-01-19 2024-01-19 Data management system, method, equipment and storage medium based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410082946.0A CN117891882A (en) 2024-01-19 2024-01-19 Data management system, method, equipment and storage medium based on blockchain

Publications (1)

Publication Number Publication Date
CN117891882A true CN117891882A (en) 2024-04-16

Family

ID=90642580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410082946.0A Pending CN117891882A (en) 2024-01-19 2024-01-19 Data management system, method, equipment and storage medium based on blockchain

Country Status (1)

Country Link
CN (1) CN117891882A (en)

Similar Documents

Publication Publication Date Title
US9773052B2 (en) Document reconstruction from events stored in a unified context-aware content archive
CN113254466B (en) Data processing method and device, electronic equipment and storage medium
TW202002587A (en) Block chain-based data processing method and device
JP2022529967A (en) Extracting data from the blockchain network
CN109034993A (en) Account checking method, equipment, system and computer readable storage medium
US20180121420A1 (en) Result set manipulation
Lin et al. Evolution of ethereum transaction relationships: Toward understanding global driving factors from microscopic patterns
CN108769255A (en) The acquisition of business data and administering method
US20230327879A1 (en) System and method for maintaining usage records in a shared computing environment
CN112182004B (en) Method, device, computer equipment and storage medium for checking data in real time
US11829411B2 (en) Data recovery method and apparatus, electronic device, and storage medium
CN113254320A (en) Method and device for recording user webpage operation behaviors
CN111666298A (en) Method and device for detecting user service class based on flink, and computer equipment
CN116611411A (en) Business system report generation method, device, equipment and storage medium
CN110362626A (en) One kind being based on the convenience-for-people inquiry system of block chain network and application method
US11811894B2 (en) Reduction of data transmissions based on end-user context
CN110781232A (en) Data processing method, data processing device, computer equipment and storage medium
CN117891882A (en) Data management system, method, equipment and storage medium based on blockchain
Racka Apache Nifi As A Tool For Stream Processing Of Measurement Data
CN114650252B (en) Routing method and device based on enterprise service bus and computer equipment
Cumberland et al. A prescriptive approach for structured information extraction from web forums and social media
CN106547626A (en) For the method and server of peer-to-peer architecture equalization server
CN117078261A (en) Data processing method, device, equipment and storage medium
CN116303468A (en) Stream batch integrated data integration method and system
CN116992462A (en) Plaintext information offline method based on big data transmission scene and related equipment thereof

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