A big data analysis system and method based on permissioned blockchain
By adopting a big data analysis system based on licensed blockchain in the product evaluation system, the problems of authenticity and security of review data in the product evaluation system are solved, and the data is not tampered with and traceable, ensuring the reliability of evaluation data is ensured. and security.
Patent Information
- Application Number
- CN202111288054.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-02
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-11-02
AI Technical Summary
The existing product evaluation system is difficult to ensure the authenticity and security of review data, and is vulnerable to false comments and tampering, resulting in the infringement of interests of honest business operators and consumers.
Adopt a big data analysis system based on licensed blockchain, including data management, access control, smart contracts and blockchain storage modules, and realizes data immutability and traceability through blockchain technology, and supports ACL, RABC, and ABAC access control. Provide data analysis and visual presentation.
It realizes the immutability of evaluation data and operation logs, supports data traceability and accountability for violations, improves the authenticity and security of data analysis, and improves the availability and scalability of access control.
Smart Images

Figure CN114139214B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of blockchain technology, and specifically relates to a big data analysis system and method based on permissioned blockchain, which can be applied to product reputation evaluation. Background Art
[0002] At present, product evaluation systems are mostly concentrated on e-commerce platforms. E-commerce has absolute control over review data. Moreover, it is difficult to verify the authenticity of specific review data due to the scattered, large number and long time span of reviews. Therefore, it has become a very common phenomenon to hide store problems or conduct false propaganda by adding false reviews, secretly modifying old reviews, etc. This is a great infringement on the interests of honest business operators and consumers.
[0003] At present, blockchain technology is relatively mature in the business application of enterprises. Because it uses distributed technology, hash string associations between blocks, and consensus protocols, the data on the chain cannot be tampered with, and the chain structure can be used for traceability and query all historical transactions since the initial block. In view of the above characteristics of blockchain, blockchain technology can be used to realize a more reliable and secure product reputation evaluation system. Summary of the invention
[0004] In order to solve the above problems, the present invention provides a big data analysis system and method based on permissioned blockchain.
[0005] The technical solution adopted by the system of the present invention is: a big data analysis system based on a permissioned blockchain, including a data analyst, a data management system, an access control module, a smart contract and a blockchain storage module; the data management system includes a data addition submodule, a data tracing submodule and a data analysis submodule;
[0006] The data analyst is used to describe the data access and operation entity in the system, and refers to the person who obtains system data and data-related derivative products and performs the next step of analysis and processing;
[0007] The data management system is used to implement data classification, screening and processing, and complete the addition, modification and query operations on system data;
[0008] The access control module is used to implement access control that supports ACL, RABC, and ABAC at the same time;
[0009] The smart contract is used to implement the business logic of the blockchain system, including the verification and execution of transactions within the blockchain system;
[0010] The blockchain storage module is used to realize the tamper-proof and distributed storage of evaluation data;
[0011] The data addition and modification submodule is used to generate new data, upload it to the blockchain by calling smart contracts, and store the data and transaction logs on the blockchain storage module;
[0012] The data tracing submodule is used to query data content and use blockchain technology to trace and query all historical data and related operation logs;
[0013] The data analysis submodule will query and count the data using the blockchain query method through smart contracts, and then display it through data visualization to provide a reference for data analysts.
[0014] The technical solution adopted by the method of the present invention is: a big data analysis method based on a permissioned blockchain, in which a user stores new or modified data into a new block through a data addition submodule, and then stores it on the chain, and at the same time generates a corresponding transaction log through a smart contract and stores it on the chain;
[0015] Data analysts have the right to trace the source and can perform traceability queries through the unique ID of the data. The traceability query is implemented by calling the smart contract by issuing a traceability request containing the keyword of the ID, which will return the historical block information of the corresponding data including historical data, timestamp and signature;
[0016] When data analysis is needed, the smart contract is called to query the data, and then statistics are collected, and the data is analyzed and displayed through big data visualization methods.
[0017] The present invention can be applied to commodity reputation evaluation and has the following beneficial effects:
[0018] (1) Evaluation data and operation logs are stored using blockchain, which is tamper-proof and more secure.
[0019] (2) It is possible to perform traceability operations on the blockchain, query block history information, related operators, and evaluate the entire life cycle of data, making it easier to hold violators accountable and deter those who seek profit through false reviews.
[0020] (3) The system can directly read and count data from the blockchain to ensure that the data analysis results are more authentic.
[0021] (4) Through the improved access control module, high availability and high scalability of permissioned blockchain access control are achieved, and RBAC and ABAC access control policy customization is supported. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 : System architecture diagram of an embodiment of the present invention;
[0023] Figure 2 : Evaluation adding flow chart in the method of the embodiment of the present invention;
[0024] Figure 3 : Data tracing flow chart in the method of an embodiment of the present invention;
[0025] Figure 4 : Data analysis flow chart of the method in the embodiment of the present invention;
[0026] Figure 5 : An example diagram of access control in the method of an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to facilitate ordinary technicians in the field to understand and implement the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0028] This embodiment will further illustrate the present invention through a commodity reputation evaluation scenario.
[0029] See also Figure 1 , a commodity reputation evaluation system based on a permissioned blockchain provided by the present invention includes a data analyst, an evaluation management system, an access control module, a smart contract and a blockchain storage module; the evaluation management system includes an evaluation adding submodule, an evaluation tracing submodule and an evaluation analysis submodule;
[0030] The data analyst in this embodiment is used to describe the data access and operation entity in the system, which refers to the person who obtains system data and data-related derivative products and performs the next step of analysis and processing.
[0031] The data management system of this embodiment is used to implement data classification, screening and other processing functions, and complete the addition, modification and query operations on system data.
[0032] The access control module of this embodiment is used to implement an access control module that supports ACL, RABC, and ABAC at the same time, and has the characteristics of high availability and scalability.
[0033] The smart contract of this embodiment is used to implement the business logic of the blockchain system, including the verification and execution of transactions within the blockchain system.
[0034] The blockchain storage module of this embodiment is used to achieve tamper-proof and distributed storage of evaluation data;
[0035] Before entering the system, users need to undergo identity authentication first. Only after passing the authentication can they enter the system network to perform evaluation operations. The system will then assign users access rights to various system modules based on their identities.
[0036] The evaluation adding submodule is used to generate new evaluations, which are uploaded to the chain by calling smart contracts, and the data and transaction logs are stored on the blockchain.
[0037] See also Figure 2 It should be noted that the evaluation adding submodule can also be used to modify evaluations. Modifying evaluation behavior will perform data operations in the form of adding evaluations and associating historical evaluations at the same time.
[0038] The evaluation traceability submodule is used to query the evaluation content and use blockchain technology to trace and query all historical evaluations and related operation logs.
[0039] The key to traceability query is to query through the unique ID of a specific review. The ID is generated by the system when the comment is first added. The ID generated when adding a new review must be different. When modifying a review, the system will link to the corresponding ID of the old review. Review data with the same ID is attributed to the current review and historical review data of the same review.
[0040] The evaluation analysis submodule will use blockchain query methods through smart contracts to query and count the evaluation data, and then display it through data visualization to provide users with selection references.
[0041] The present invention also provides a commodity reputation evaluation method based on a permissioned blockchain, which is specifically:
[0042] The evaluator stores the new or modified evaluation into a new block through the evaluation adding module, and then stores it on the chain. At the same time, the corresponding transaction log is generated through the smart contract and stored on the chain.
[0043] Those with traceability authority can conduct traceability query through the unique ID of the evaluation transaction. The traceability query is implemented by calling the smart contract by issuing a traceability request containing the keyword of the ID, which will return the historical block information of the corresponding evaluation including the historical evaluation data, timestamp and signature.
[0044] See also Figure 3 The specific method of traceability query in this embodiment is that the user inputs the evaluation unique ID and calls the evaluation query function QueryTrace(ID). Then the function calls the smart contract function FindComByID() of the blockchain through the API interface. The function will query all blocks on the block that match the ID item. These block data will be arranged in chronological order. The latest one is the current evaluation data, and the others are historical data. The identity of the evaluator of each historical evaluation can be confirmed through the signature and evaluator name in the block data. The specific signature algorithm can be changed according to needs. The elliptic curve digital signature algorithm (ECDSA) is used in the embodiment.
[0045] When evaluation analysis is required, the smart contract is called to query the evaluation through the scores and content keywords in the evaluation, and then statistics are collected. The data is analyzed and displayed through big data visualization methods. This method is used as a reference for measuring store quality.
[0046] See also Figure 4 The specific analysis method of this embodiment is to submit a query request to the smart contract through data item query, such as store name and time. The smart contract returns the queried block set. If the ID is the same, only the latest block data is returned. After receiving the block information, the system will read the score information and evaluation content, analyze the score value to get the store's score, and then display it in a chart. The evaluation content will first be quantified with high-frequency words in the sample. For example, in the embodiment, the words "delicious", "unpalatable", "cost-effective", "comfortable environment" and so on are extracted for restaurant evaluation, and classified into positive and negative parts of speech, and the frequency of these words in restaurant reviews is counted, and then these quantified data are analyzed and visualized.
[0047] See also Figure 5 The specific implementation method of the access control module of this embodiment is to define access control using a rule list and a policy list. The rule list is an abstraction of the subject and object entities, role relationships, and rules of access control. The table defines four columns of data items. The first represents the entity that accepts access, which can generally refer to users, applications, and requests, followed by a variable number of items representing its attributes; the second represents the resource object of access control, followed by a variable number of items representing its attributes; the third is the organization rule definition, representing the relationship between different roles; the fourth is the access rule, which is defined as the logical operation of several of the aforementioned one, two, and three data items; the fifth is a bool value used to indicate whether the rule is allowed or denied, true for allowed, false for denied, and the priority of denied is higher than that of allowed. There is also a specific policy table for specifically describing the access policy, role or attribute definition.
[0048] The specific implementation examples are as follows:
[0049] Set the rule list:
[0050] (R abcd; O abcd; G=*,*; L 1.g(Ra,Oa)&&R.b==Ob&&R.c==,Oc,2.Rd=Od; B 1.true,2.false;)
[0051] Set the strategy list:
[0052] (O admin data1 read beijing; O admin data1 write shanghai; O user data2read; G alice admin; G bob user;)
[0053] Assume that there are several access requests at this time, the access control module will perform access control according to the rule list and policy list. For example, the request is for Alice with the wuhan attribute to read and write data1, because Alice belongs to the admin role, it can be passed. If Alice has the beijing attribute, because this attribute is a prohibited attribute, Alice can only write to data1 but not read it. Similarly, bob belongs to the user role, he can only read data2 but not read or write data1.
[0054] The product reputation evaluation method and system based on the permission blockchain of the present invention provide a tamper-proof security solution based on the permission blockchain for the evaluation data, while realizing the traceability requirements for the on-chain data and the identity tracing of the evaluation operator, and providing specific query and analysis solutions for the data analysis, thereby improving the access control function of the permission blockchain, ensuring the reliability of the product reputation evaluation, and providing a more secure environment for the evaluation data management while also being suitable for actual business scenarios.
[0055] It should be understood that parts not elaborated in detail in this specification belong to the prior art.
[0056] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.
Claims
1. A big data analysis system based on permissioned blockchain, Features: It includes a data analyst, a data management system, an access control module, a smart contract and a blockchain storage module; the data management system includes a data addition submodule, a data tracing submodule and a data analysis submodule; The data analyst is used to describe the data access and operation entity in the system, and refers to the person who obtains system data and data-related derivative products and performs the next step of analysis and processing; The data management system is used to implement data classification, screening and processing, and complete the addition, modification and query operations on system data; The access control module is used to implement access control that supports ACL, RABC, and ABAC at the same time; The smart contract is used to implement the business logic of the blockchain system, including the verification and execution of transactions within the blockchain system; The blockchain storage module is used to realize the tamper-proof and distributed storage of evaluation data; The data adding submodule is used to generate new data, upload it to the blockchain by calling smart contracts, and store the data and transaction logs on the blockchain storage module; the data adding submodule can also modify data, which will generate new data blocks instead of modifying old blocks. The new blocks are associated with the old blocks through the data unique ID and historical data, providing a basis for tracing; The data tracing submodule is used to query the data content and use blockchain technology to trace and query all historical data and related operation logs; the data tracing submodule uses the data unique ID to query the historical data on the chain and determines the data adder or modifier through the signature information in the block; The data analysis submodule will query and count the data using the blockchain query method through smart contracts, and then display it through data visualization to provide a reference for data analysts; The data management system also includes an access control submodule, which controls the access nodes of the system through blockchain access permission control and controls the reading and writing of data through account authority allocation.
2. The big data analysis system based on permissioned blockchain according to claim 1, Features: The access control module defines access control through a rule list and a policy list; The rule list is an abstraction of the subject and guest entities, role relationships, and rules of access control. The table defines four columns of data items, one of which represents the entity to be accessed, which can generally refer to users, applications, and requests, and the following variable number of items represent its attributes; The second one represents the resource object of access control, and the variable number of items after it represent its attributes; the third one is the definition of organizational rules, which represents the relationship between different roles; the fourth one is the access rule, which is defined as the logical operation of several of the above one, two and three data items; the fifth one is a bool value, which is used to indicate whether the rule is allowed or denied, true for allowed, false for denied, and the priority of denied is higher than that of allowed; The policy list is used to specifically describe access policies, roles or attribute definitions.
3. The big data analysis system based on permissioned blockchain according to claim 1, Features: The data analysis submodule classifies the data and analyzes the categories using a big data analysis method; the big data analysis method includes using a histogram, a pie chart, or a line chart to visualize the data, analyzing through keywords in the statistical data content, and analyzing influencing factors.
4. A big data analysis method based on a permissioned blockchain, applied to the system according to any one of claims 1 to 3; Features: The user stores new or modified data into a new block through the data addition submodule, and then stores it on the chain. At the same time, the corresponding transaction log is generated through the smart contract and stored on the chain; Data analysts have the right to trace the source and conduct traceability queries through the unique ID of the data. The traceability query is implemented by calling the smart contract by issuing a traceability request containing the keyword of the ID, which will return the historical block information of the corresponding data including historical data, timestamp and signature; When data analysis is needed, the smart contract is called to query the data, and then statistics are collected, and the data is analyzed and displayed through big data visualization methods.
Citation Information
Patent Citations
Dynamic credit evaluation method and system based on multi-dimensional factors of block chain
CN112561624A
Smart home data chaining method and system of Internet of Things on block chain
CN113076315A
