Data collection supervision method, system and device based on governance chain
By deploying data supervision smart contracts on the governance chain and setting effective thresholds for real-time supervision, the problems of data fraud and security threats in the existing technology are solved, the authenticity and security of data are realized, and the credibility and analytics of data are improved.
Patent Information
- Application Number
- CN202210833231.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2042-07-15
AI Technical Summary
It is difficult for the prior art to effectively regulate and protect the authenticity and security of data, especially in the process of data collection, storage and transmission of data, and there are problems of data fraud and security threats.
Adopt the data collection and supervision method based on the governance chain, and deploy data supervision smart contracts on the governance chain and set effective thresholds for real-time supervision to ensure the authenticity and security of the data. This method includes data collection, verification, packaging, storage and supervision, and realizes data immutability and traceability through blockchain technology.
It realizes transparency and security in the data collection process, ensures the authenticity and non-forgery of data, solves problems such as data falsification and leakage, and improves the credibility and analytics of data.
Smart Images

Figure CN115277137B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of blockchain technology, and specifically relates to a data collection and supervision method, system and device based on a governance chain. Background Art
[0002] As the Internet develops rapidly and the digital process accelerates, there are at least two problems: first, while information technology brings convenience to financial application services, it is also used in the field of fraud, causing huge challenges such as data falsification and the inability to identify the authenticity of data. The second is the issue of data security protection. There are security threats in every link of the data life cycle, from data collection and generation to storage, use, transmission, and sharing, all of which need to be secure.
[0003] Blockchain technology has the characteristics of decentralization, openness, independence, security, anonymity, etc. The data or information stored in it is unforgeable, traceable, traceable, open and transparent, and collectively maintained. The use of governance technology and solutions to supervise blockchain is called a governance chain.
[0004] In response to the current data supervision needs, technical transformation can be carried out from the perspective of combining blockchain network governance and data collection supervision. Adopting the "chain-based governance" approach, by building a governance chain to perform real-time supervision, the transparency and security of data collection can be improved. Summary of the invention
[0005] Based on the above background and prior art, the present invention intends to design a data collection and supervision method, system and device based on the governance chain to realize the collection, verification and storage of data, track the entire life cycle of the collected data, and solve the problems of data falsification, leakage, analysis, etc. Another purpose of the present invention is to improve the security of data by implementing the data collection and supervision method of the present invention through a data collection and supervision system based on the governance chain, so that all data cannot be falsified and the data can be checked.
[0006] In order to achieve these objectives and other advantages of the present invention, a data collection and supervision method based on a governance chain is provided, comprising the following steps:
[0007] According to the data collection modules with different data collection models corresponding to different data collection terminal types, the member nodes deployed in the governance chain are triggered based on the data collection modules to deploy data supervision smart contracts on the governance chain to supervise the collected data; the governance chain is the governance blockchain for deploying member nodes;
[0008] The data collection end collects data according to different data collection models and uploads it to the data collection module of the governance chain. Based on the deployment of data collection smart contracts on the governance chain, the collected data is uploaded to the chain and the complete life cycle events of the data are recorded;
[0009] Data supervision is performed according to the effective threshold set in the data collection supervision smart contract, and the governance chain obtains real and tamper-free collection data in real time to perform external data analysis of the smart contract.
[0010] The governance chain includes building member nodes to handle data collection events, data packaging events, data storage events, and data supervision events, etc.:
[0011] Through global data collection events, data from different data collection terminals is acquired, and the format of the collected data is verified to complete the first round of data verification before the data is uploaded to the chain; different verification results are processed differently, and the collected data that fails the verification is backed up and deleted;
[0012] The verified collected data is handed over to the data encapsulation event for global encapsulation of the collected data, and the data is encrypted, including generating a data record table, which is a record description of the collected data;
[0013] After the verified collected data passes through the data encapsulation event, the collected data is globally stored on the chain through the data storage event. The buffer storage technology is used to call the data collection smart contract interface to store the data on the governance chain. The collected data is saved by the member nodes of the governance chain.
[0014] While processing data storage events, the collected data is subsequently supervised globally through data supervision events. The interface provided by the data supervision smart contract is called to supervise the subsequent status of the collected data, and external query and analysis are performed on the collected data.
[0015] Furthermore, the data supervision smart contract deployed on the governance chain performs processing including data import, data verification, data monitoring, data query, and data operation authority verification:
[0016] The governance chain obtains the encapsulated collected data, imports the data into the governance chain for storage through the data supervision smart contract, and performs data verification and data supervision at the same time to verify the correctness and security of the data; obtains the data stored on the governance chain through data query; users who have passed the data operation permission verification have the right to perform relevant operations on the data.
[0017] Preferably, the data collection model includes software development interface collection and application programming interface collection, and integrates data collection methods to collect data in a scripting manner;
[0018] The software development interface acquisition provides software client acquisition operations, obtains data by installing the software development call interface, and collects data from the data interface provided by the application client data, website data, and applet data;
[0019] The application programming interface collection collects data from third-party data, data warehouse data, and database data through an application programming interface or an import tool.
[0020] Furthermore, data supervision smart contracts include internal contract data supervision and external contract data analysis, including:
[0021] When data is collected and uploaded to the chain, the internal data supervision of the contract supervises the data according to the preset threshold by calling the data supervision smart contract, and performs real-time threshold supervision.
[0022] The contract external data analysis calls the data supervision smart contract to obtain data through data query, and conducts complex data analysis including setting up basic retention analysis, terminal analysis, web-specific analysis, and mobile-specific analysis, and performs different analysis and processing according to different data collection sources.
[0023] Preferably, events in the complete life cycle of data include:
[0024] Determine the data collection end, select the data collection model, set the corresponding parameters to collect data, and perform data verification according to the set verification procedure;
[0025] After obtaining the verified data, the client encapsulates the data, obtains the encrypted value of the data, and then calls the smart contract to store the encapsulated data on the blockchain;
[0026] When data is stored in the governance chain through smart contracts, the smart contracts are called to perform corresponding data supervision. If the data exceeds or falls below the set threshold, a prompt will be issued.
[0027] On the other hand, the present invention proposes a data collection and supervision system based on a governance chain, which comprises:
[0028] Data collection end: Data collection modules with different data collection models are set according to the corresponding data collection end types. Member nodes deployed on the governance chain are triggered based on the data collection modules to deploy data supervision smart contracts on the governance chain to supervise the collected data;
[0029] Data collection module: The data collection end collects data according to different data collection models and uploads it to the data collection module of the governance chain, and performs data supervision according to the effective threshold set in the smart contract;
[0030] Data supervision smart contract: supervise the collected data; supervise the data according to the effective threshold set in the data collection supervision smart contract;
[0031] Data collection smart contract: put the collected data on the chain;
[0032] Governance chain: based on the data collection module, the member nodes deployed in the governance chain are triggered to deploy data supervision smart contracts on the governance chain; the governance chain is the governance blockchain for deploying member nodes; data collection smart contracts are deployed on the governance chain; complete data life cycle events are recorded, and real, tamper-free collection data is obtained in real time for external data analysis of smart contracts.
[0033] The present invention includes at least the following beneficial effects: the present invention utilizes the governance blockchain technology to supervise and measure the collected data to ensure that the data is secure and reliable. According to the data collection modules with different data collection models corresponding to different data collection terminal types, the member nodes deployed by the governance chain are triggered based on the data collection module to deploy the data supervision smart contract to the governance chain to supervise the collected data. The data collection terminal collects data according to different data collection models and uploads it to the data collection module of the governance chain. The data collection smart contract deployed on the governance chain records the collected data on the chain, and records the complete life cycle events of the data. The operation events of the data are recorded, and the detailed operation records of the data life cycle can be queried to solve the problems of data falsification, leakage, and analysis. According to the effective threshold set in the data collection supervision smart contract, data supervision is performed, and the governance chain obtains the real and tamper-free collected data in real time for external data analysis of the smart contract, and records the entire life cycle events of the data on the chain, so as to realize the collection, verification and storage of data, making it difficult to tamper with and falsify the data, and realizing the analyzability of the data. The implementation of the present invention provides a more authentic data source and more convenient data analysis for the regulatory agency.
[0034] Other advantages, objectives and features of the present invention will be embodied in part through the following description, and in part will be understood by those skilled in the art through study and practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. The drawings of the present invention are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The contents of the drawings of the present invention, as technical embodiments of the present invention, fall within the protection scope of the present invention.
[0036] Figure 1 This is a flow chart of the data collection and supervision method based on the governance chain of the present invention;
[0037] Figure 2 This is a schematic diagram of the data collection and supervision system architecture based on the governance chain of the present invention. DETAILED DESCRIPTION
[0038] In order to clearly explain the present invention and make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the following is combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solution in the embodiments of the present invention, so that those skilled in the art can implement it according to the description. The following is a detailed description of the technology of the present invention in combination with the drawings and specific embodiments.
[0039] The present invention uses blockchain technology as the underlying technology and, based on the technology of the governance chain, realizes the collection, verification and storage of data and tracks the data life cycle process, which is conducive to solving the problems of data falsification, data leakage and data analysis in the era of information digitalization.
[0040] 1. Figure 1 The flowchart of the data collection and supervision method based on the governance chain of the present invention is shown, and the specific process steps include:
[0041] S1: Data collection terminal setting and governance chain deployment: Data collection modules with different data collection models are set according to the corresponding data collection terminal types. Member nodes deployed on the governance chain are triggered based on the data collection module to deploy data supervision smart contracts on the governance chain to supervise the collected data; the governance chain is a governance blockchain for deploying member nodes;
[0042] In one embodiment of the present invention, the data collection model includes software development interface collection and application programming interface, such as using SDK (Software Development Kit, i.e., software development kit, a collection of development tools for building application software such as specific software packages, software frameworks, hardware platforms, operating systems, etc.) collection and API (Application Programming Interface, i.e., application programming interface, which is actually a calling interface left by the operating system for the application program, and the application program makes the operating system execute the command / action of the application program by calling the operating system API) collection, integrating data collection methods, and collecting data in a scripting manner;
[0043] The SDK collection provides software client collection operations, and obtains data by installing the SDK call interface, such as JS SDK, Android SDK, iOS SDK, and mini program SDK, and collects data from the data interface provided by the application app client data, website data, and mini program data;
[0044] The API collection collects data from third-party data, data warehouse data, and database data through API or import tools.
[0045] In another embodiment of the present invention, the governance chain includes building member nodes to handle five basic events including data collection events, data encapsulation events, data storage events and data supervision events:
[0046] Through global data collection events, data from different data collection terminals is acquired, and the format of the collected data is verified to complete the first round of data verification before the data is uploaded to the chain; different verification results are processed differently, and the collected data that fails the verification is backed up and deleted;
[0047] The verified collected data is handed over to the data encapsulation event for global encapsulation of the collected data, and the data is encrypted, including generating a data record table, which is a record description of the collected data;
[0048] After the verified collected data passes through the data encapsulation event, the collected data is globally stored on the chain through the data storage event. The buffer storage technology is used to call the data collection smart contract interface to store the data on the governance chain. The collected data is saved by the member nodes of the governance chain.
[0049] While processing data storage events, the collected data is subsequently supervised globally through data supervision events. The interface provided by the data supervision smart contract is called to supervise the subsequent status of the collected data, and external query and analysis are performed on the collected data.
[0050] S2: The data collection end collects data according to different data collection models and uploads it to the data collection module of the governance chain. The data collection smart contract deployed on the governance chain will upload the collected data to the chain and record the complete life cycle events of the data;
[0051] In another embodiment of the present invention, the data supervision smart contract deployed on the governance chain performs data import, data verification, data monitoring, data query, and data operation authority verification:
[0052] The governance chain obtains the encapsulated collected data, imports the data into the governance chain for storage through the data supervision smart contract, and performs data verification and data supervision at the same time to verify the correctness and security of the data; obtains the data stored on the governance chain through data query; users who have passed the data operation permission verification have the right to perform relevant operations on the data.
[0053] In one embodiment of the present invention, events in the complete life cycle of data include:
[0054] Determine the data collection end, select the data collection model, set the corresponding parameters to collect data, and perform data verification according to the set verification procedure;
[0055] After obtaining the verified data, the client will encapsulate the data, obtain the encrypted value of the data, and then call the smart contract to store the encapsulated data on the blockchain.
[0056] S3: Data supervision is performed according to the effective threshold set in the data collection supervision smart contract. The governance chain obtains real, tamper-free collection data in real time to perform external data analysis of the smart contract;
[0057] When data is stored in the governance chain through smart contracts, the smart contracts are called to perform corresponding data supervision. If the data exceeds or falls below the set threshold, a prompt will be issued.
[0058] In another embodiment of the present invention, the data supervision smart contract includes contract internal data supervision and contract external data analysis, including:
[0059] When data is collected and uploaded to the chain, the internal data supervision of the contract supervises the data according to the preset threshold by calling the data supervision smart contract, and performs real-time threshold supervision;
[0060] The contract external data analysis calls the data supervision smart contract to obtain data through data query, and conducts complex data analysis including setting up basic retention analysis, terminal analysis, web-specific analysis, and mobile-specific analysis, and performs different analysis and processing according to different data collection sources.
[0061] 2. Figure 2 The schematic diagram of the data collection and supervision system architecture based on the governance chain of the present invention is shown. The collection end can directly serve as an access member node of a governance chain. At the same time, the governance chain node and the data collection end can also be split. The collection end is responsible for the operation of data collection, and the member node is responsible for uploading and analyzing data. The system composition of the present invention is as follows:
[0062] Data collection end: Data collection modules with different data collection models are set according to the corresponding data collection end types. Member nodes deployed on the governance chain are triggered based on the data collection modules to deploy data supervision smart contracts on the governance chain to supervise the collected data;
[0063] Data collection module: The data collection end collects data according to different data collection models and uploads it to the data collection module of the governance chain, and performs data supervision according to the effective threshold set in the smart contract;
[0064] Data supervision smart contract: supervise the collected data; supervise the data according to the effective threshold set in the data collection supervision smart contract;
[0065] Data collection smart contract: put the collected data on the chain;
[0066] Governance chain: based on the data collection module, the member nodes deployed in the governance chain are triggered to deploy data supervision smart contracts on the governance chain; the governance chain is the governance blockchain for deploying member nodes; data collection smart contracts are deployed on the governance chain; complete data life cycle events are recorded, and real, tamper-free collection data is obtained in real time for external data analysis of smart contracts.
[0067] The number of modules and processing scales described here are used to simplify the description of the present invention. Applications, modifications and variations of the system of the present invention will be apparent to those skilled in the art.
[0068] 3. This embodiment proposes a data collection and supervision device based on the governance chain, which can be a server or a mobile terminal. The device is also a computer device, including a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database is used to store all data of the computer device. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a data collection and supervision method based on the governance chain technology.
[0069] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0070] The above description of the embodiments is to facilitate the understanding and application of the present invention by those skilled in the art. It is obvious that those skilled in the art can easily make various modifications to the above embodiments and apply the general principles described herein to other embodiments without creative work. Therefore, the present invention is not limited to the above embodiments, and improvements and modifications made to the present invention by those skilled in the art based on the disclosure of the present invention should be within the scope of protection of the present invention.
Claims
1. A data collection and supervision method based on a governance chain, characterized in that: The following steps are involved: According to the data collection modules with different data collection models corresponding to different data collection terminal types, the member nodes deployed in the governance chain are triggered based on the data collection modules to deploy data supervision smart contracts on the governance chain to supervise the collected data; the governance chain is a governance blockchain for deploying member nodes; the governance chain construction includes member nodes, and the construction of member nodes includes one or more events including data collection events, data encapsulation events, data storage events and data supervision events: Through global data collection events, data from different data collection terminals is acquired, and the format of the collected data is verified to complete the first round of data verification before the data is uploaded to the chain; the collected data that fails the verification is backed up and deleted; The verified collected data is submitted to the data encapsulation event for global data encapsulation, the data is encrypted and a data record table is generated, the data record table is a record description of the collected data; After verification, the collected data is globally encapsulated and stored on the chain through the data storage event. The buffer storage technology is used and the data collection smart contract interface is called to store the data on the governance chain. The collected data is saved by the member nodes of the governance chain. While data storage events are being processed, subsequent global supervision of collected data is performed through data supervision events. The interface provided by the data supervision smart contract is called to supervise the subsequent status of collected data, and external query and analysis of collected data is performed at the same time. The data collection end collects data according to different data collection models and uploads it to the data collection module of the governance chain. Based on the deployment of data collection smart contracts on the governance chain, the collected data is uploaded to the chain and the complete life cycle events of the data are recorded; Data supervision is performed according to the effective threshold set in the data collection supervision smart contract. The governance chain obtains real, tamper-free collection data in real time to perform external data analysis on the smart contract. Among them, the data supervision smart contract includes the internal data supervision of the contract, specifically: When data is collected and uploaded to the chain, the internal data supervision of the contract supervises the data according to the preset threshold by calling the data supervision smart contract, and performs real-time threshold supervision; Data supervision smart contracts also include external data analysis of the contract, specifically: The contract external data analysis calls the data supervision smart contract to obtain data through data query and conducts complex data analysis, including setting one or more of basic retention analysis, terminal analysis, web-side proprietary analysis, and mobile-side proprietary analysis, and performs different analysis and processing according to different data collection sources; The complete life cycle of the data includes the following steps: Determine the data collection end, select the corresponding collection method in the data collection model, set the corresponding parameters to collect data, and perform data verification according to the set verification program; Obtain the verified data, which is globally packaged by the client, obtain the encrypted value of the data, and then call the smart contract to store the packaged data on the blockchain; The data collection model can be implemented in the following ways: software development interface collection, application programming interface collection, integrated data collection and data collection in script mode; The software development interface acquisition provides software client acquisition operations, obtains data by installing the software development call interface, and collects data from the data interface provided by the application client data, website data, and applet data; The application programming interface collection collects data from third-party data, data warehouse data, and database data through an application programming interface or an import tool.
2. The data collection and supervision method based on the governance chain according to claim 1 is characterized in that: The data supervision smart contract deployed on the governance chain performs one or more of the following: data import, data verification, data monitoring, data query, and data operation authority verification; The governance chain obtains the globally encapsulated collected data, imports the data into the governance chain for storage through the data supervision smart contract, and performs data verification and data supervision to verify the correctness and security of the data; obtains the data stored on the governance chain through data query; users who have passed the data operation permission verification have the right to perform relevant operations on the data.
3. The data collection and supervision method based on the governance chain according to claim 1 is characterized in that: The following steps are also included: When data is stored in the governance chain through smart contracts, the smart contracts are called to perform corresponding data supervision, and prompts are issued when the data exceeds or falls below the set threshold.
4. A data collection and supervision system based on a governance chain implemented by the data collection and supervision method based on a governance chain as described in any one of claims 1 to 3, characterized in that: include: Data collection end: Data collection modules with different data collection models are set according to the corresponding data collection end types. The member nodes deployed on the governance chain are triggered based on the data collection module to deploy data supervision smart contracts on the governance chain to supervise the collected data. When the data is collected and uploaded to the chain, the internal data supervision of the contract supervises the data according to the preset threshold by calling the data supervision smart contract, and performs real-time threshold supervision. Data collection module: The data collection end collects data according to different data collection models and uploads it to the data collection module of the governance chain, and performs data supervision according to the effective threshold set in the smart contract; Data supervision smart contract: supervise the collected data; supervise the data according to the effective threshold set in the data collection supervision smart contract; Data collection smart contract: put the collected data on the chain; Governance chain: based on the data collection module, the member nodes deployed in the governance chain are triggered to deploy data supervision smart contracts on the governance chain; the governance chain is the governance blockchain for deploying member nodes; data collection smart contracts are deployed on the governance chain; complete data life cycle events are recorded, and real, tamper-free collection data is obtained in real time for external data analysis of smart contracts.
5. A data collection and supervision device based on a governance chain, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Data processing method and device
CN113609217A
End-side cloud collaborative trusted edge Internet of Things system for deploying block chain
CN113656495A
Block chain cross-chain interaction method and system based on on-demand domain building
CN114553884A