A social governance data security protection method based on blockchain

By building a virtual blockchain in taxi-hailing transactions and using contract programs to monitor data differences, the problem of data security and privacy protection in smart cities is solved, data transparency and non-tamperability are achieved, price fluctuations and privacy violations are prevented, and improved improve user and driver satisfaction.

CN118504010BActive Publication Date: 2024-10-11SICHUAN SANSIDE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410954722.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-11
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

In the digital governance of smart cities, data security and privacy protection have become important issues. Especially in taxi-hailing transactions, the privacy of users and drivers may be violated, and data inconsistency leads to price fluctuations, causing user dissatisfaction and regulatory problems.

Method used

By building a virtual blockchain, contract programs are used to calculate and monitor the order amount and revenue in taxi transactions, analyze data differences, determine whether there are data security issues, and ensure the non-tamperability and transparency of the data.

Benefits of technology

Effectively prevent data tampering and privacy infringement, ensure the data security of users and drivers, prevent the phenomenon of "big data killing", improve data transparency and credibility, reduce price fluctuations, and improve user and driver satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504010B_ABST
    Figure CN118504010B_ABST
Patent Text Reader

Abstract

The present invention discloses a social governance data security protection method based on blockchain, which relates to the field of application data security. The present invention includes: constructing a virtual blockchain for taxi-hailing transactions; in reality, when a user takes a taxi, a first contract in the virtual blockchain calculates the order amount according to the user's taxi-hailing rules; when the order is completed, the order amount is settled to the corresponding user in the blockchain at the corresponding time; the user's actual payment in reality is linked to the corresponding bill of the user account in the blockchain; when the link is generated, the second contract is executed to analyze and calculate the difference between the actual payment and the result of the first contract; the second contract results of different users are output to the server; the server processes the second contract results according to the user attributes and evaluates different taxi-hailing systems. The present invention applies blockchain technology to taxi-hailing transactions to determine whether historical data is used for profit, threaten data security, and prevent infringement of the personal privacy data of drivers and users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of application data security, and in particular to a social governance data security protection method based on blockchain. Background Art

[0002] Blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and a distributed ledger that is cryptographically guaranteed to be tamper-proof and unforgeable. Due to the characteristics of decentralization, information immutability, and autonomy, blockchain has also received more and more attention and application. Effective planning, management, service and supervision of all aspects of the city are the most important and the basis of digital governance. It is necessary to build a governance mechanism with multi-party participation, collaboration and win-win, stimulate the initiative and creativity of all parties such as government, enterprises, social organizations and citizens, and form a good atmosphere for jointly promoting urban development and innovation; however, with the growth of data scale and the expansion of application scope, data security and privacy protection have become issues that cannot be ignored in the digital governance of smart cities. On the one hand, data may be attacked, leaked or tampered with by hackers, bringing risks to urban operations; on the other hand, the collection, use and sharing of data may infringe on the privacy rights and interests of individuals or organizations, causing social dissatisfaction and resistance.

[0003] At present, big data is used to assist in profit-making. There are fluctuations in product prices for different users, which causes dissatisfaction among users. Especially in the taxi-hailing function that uses simple algorithms, multiple interactions are performed on the user side, the driver side, and the service side based on mileage, car model, waiting time, etc., resulting in different prices for different users, which makes users dissatisfied and feel that they are being taken advantage of by big data. In order to regulate the occurrence of this situation, the public and decentralized characteristics of blockchain are used to disseminate data by city, and at the same time used for supervision to prevent tampering.

[0004] Therefore, there is an urgent need for a social governance data security protection method based on blockchain. Summary of the invention

[0005] The present invention provides a social governance data security protection method based on blockchain, which solves the problems of the prior art.

[0006] First, a social governance data security protection method based on blockchain, including:

[0007] Build a virtual blockchain for taxi transactions;

[0008] In reality, when a user takes a taxi, the first contract in the virtual blockchain calculates the order amount based on the user's taxi rules;

[0009] When the order is completed, the order amount is settled to the corresponding user in the blockchain at the corresponding time;

[0010] Link the user's actual payment in reality to the corresponding bill of the user account in the blockchain;

[0011] When a link is generated, the second contract is executed, and the difference between the actual payment and the result of the first contract is analyzed and calculated;

[0012] Output the second contract results of different users to the server;

[0013] The server processes the second contract result based on the user attributes and evaluates different taxi-hailing systems;

[0014] Among them, the first contract and the second contract are two executable programs respectively.

[0015] Furthermore, the construction of a virtual blockchain for taxi-hailing transactions includes:

[0016] The blockchain environment is installed on the virtual machine and used for taxi transactions;

[0017] When a user places a taxi order, in the blockchain environment, a new user node is mapped to the blockchain;

[0018] Map user data to the virtual blockchain, and in the blockchain, automatically monitor the execution conditions and continuously execute the contracts based on the first contract and the second contract written into it;

[0019] Record the bills and transactions on all user nodes to the server.

[0020] Furthermore, the server analyzes whether the taxi-hailing system is within the fluctuation range of the order amount obtained according to the rules of the first contract based on the second contract results generated by the same user over time and the corresponding transaction records and bill content.

[0021] Furthermore, based on the second contract results generated by different users over time and the corresponding transaction records and bill content, the server determines whether the taxi system produces differences in order amount fluctuations that exceed the range of order amount fluctuations obtained according to the rules due to differences in different user attributes.

[0022] Furthermore, the user's taxi-hailing rules are a mathematical calculation method for the taxi order amount including mileage, vehicle type, traffic environment, driving environment, estimated waiting time, and user attributes including user level.

[0023] Furthermore, the user's taxi-hailing rules are obtained by training multiple groups of collected samples to obtain a mathematical model for calculating the order amount.

[0024] Furthermore, the user taxi-hailing rules are implemented by directly calling and loading the calculation method of the order amount disclosed by the taxi-hailing system.

[0025] Further, the following process is included:

[0026] Calculate the difference between each order amount and the actual payment amount;

[0027] Obtain each difference value of corresponding orders of multiple different users, and classify the orders with difference values;

[0028] Obtain multiple sets of difference value data based on different user order amounts, and calculate the variance of different users;

[0029] Obtain the difference value data based on the order amount of each user and calculate the variance of the same user;

[0030] The variances of all the same users under different monetary bases and the variances of all difference value data groups under different monetary bases with respect to different users are sorted, and the mathematical relationship between the sequence and the monetary base is analyzed and determined. If there is no correlation, it is determined that there is a data security issue.

[0031] In the second aspect, the present invention has the same supervision mechanism on the driver side. Through the supervision mechanism of the present invention, it is used to monitor whether there are data security issues under the blockchain social governance. A social governance data security protection method based on blockchain includes:

[0032] Build a virtual blockchain for taxi transactions;

[0033] In reality, when a driver accepts an order, a third contract in the virtual blockchain calculates the order revenue based on the driver’s order acceptance rules;

[0034] When the order is completed, the order revenue is settled to the corresponding driver in the blockchain at the corresponding time;

[0035] Link the driver’s actual payment in the real world to the corresponding bill of the driver’s account in the blockchain;

[0036] When a link is generated, the fourth contract is executed to analyze and calculate the difference between the actual payment received and the result of the third contract;

[0037] Output the fourth contract results of different drivers to the server;

[0038] The server processes the fourth contract results based on the driver's attributes and evaluates different taxi-hailing systems;

[0039] Among them, the third contract and the fourth contract are two executable programs.

[0040] Furthermore, the construction of a virtual blockchain for taxi-hailing transactions includes:

[0041] The blockchain environment is installed on the virtual machine and used for taxi transactions;

[0042] When a driver accepts a taxi order, in the blockchain environment, a new driver node is mapped to the blockchain;

[0043] Map the driver data to the virtual blockchain, and in the blockchain, automatically monitor the execution conditions and continuously execute the contracts based on the third and fourth contracts written into them;

[0044] Record all the bills and transactions on the driver nodes to the server.

[0045] Furthermore, based on the fourth contract results generated over time by the same driver and the corresponding transaction records and bill content, the server analyzes whether the taxi system is within the fluctuation range of the order revenue obtained according to the driver's order acceptance rules of the third contract.

[0046] Furthermore, based on the fourth contract results generated by different drivers over time and the corresponding transaction records and bill contents, the server determines whether the taxi-hailing system generates differences in order revenue fluctuations beyond the range obtained based on the driver order acceptance rules due to differences in the attributes of different drivers;

[0047] Furthermore, the driver's order acceptance rules are a mathematical calculation method for taxi order revenue including mileage, vehicle type, traffic environment, driving environment, estimated waiting time, and driver attributes including driver authority, level, etc.

[0048] Calculate the difference between the revenue of each order and the actual amount received;

[0049] Get each difference value of the corresponding orders of multiple different drivers, and classify the orders with difference values;

[0050] Obtain multiple sets of difference value data of different drivers under the order revenue benchmark, and calculate the variance of different drivers;

[0051] Obtain the difference value data of each driver under the order revenue benchmark and calculate the variance of the same driver;

[0052] The variances of all the same driver under different monetary bases and the variances of all difference value data groups under different monetary bases about different drivers are sorted, and the mathematical relationship between the sequence and the monetary base is analyzed and determined. If there is no correlation, it is determined that there is a data security problem.

[0053] The present invention provides a social governance data security protection method based on blockchain, which uses the public anti-tampering characteristics of blockchain to map data to blockchain, and determines whether there is a data security problem by calculating and analyzing the differences in data under the same rules in different taxi / order systems, different users, different drivers, and different timelines;

[0054] The present invention applies blockchain technology to taxi transactions to determine whether historical data is used for profit, threatening data security and preventing infringement of the personal privacy data of drivers and users. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of the present invention, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0056] Figure 1 A flowchart of a user-side method for protecting social governance data security based on blockchain provided as an exemplary embodiment of the present invention.

[0057] Figure 2 A flowchart of a driver-side method for protecting social governance data security based on blockchain is provided as an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0058] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0059] The specific application scenario of the present invention is data security monitoring of users taking taxis.

[0060] The technical concept of the present invention is to build a virtual local area based on the blockchain, map the transaction data generated in reality to the local area, and settle the relevant data generated in reality according to the contract in the local area, and propagate it in the blockchain and record it in multiple nodes. Then, the data results generated by the second contract calculation of the node chain that generates the transaction results are collected through the server, and calculated based on public, non-confidential data;

[0061] The present invention places the process of calculating the amount according to the rules, collecting the orders and users into the blockchain in an open virtual blockchain based on the contract program, and then verifies the actual transaction results on both the driver and the user side with the data in the blockchain, and applies the tamper-proof feature of the data in the blockchain to evaluate whether each taxi-hailing system generates data tampering and illegal use of private data when the transaction changes with different users, different drivers or with the same user or driver over time, so as to judge whether the users and drivers are being exploited by big data.

[0062] The present invention provides a blockchain-based social governance data security protection method, which aims to solve the above technical problems of the prior art.

[0063] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0064] Embodiment 1: At the user end, such as Figure 1 As shown:

[0065] A social governance data security protection method based on blockchain, comprising:

[0066] s1. Build a virtual blockchain for taxi transactions;

[0067] The blockchain environment is installed on the virtual machine and used for taxi transactions;

[0068] When a user places a taxi order, in the blockchain environment, a new user node is mapped to the blockchain;

[0069] Map user data to the virtual blockchain, and in the blockchain, automatically monitor the execution conditions and continuously execute the contracts based on the first contract and the second contract written into it;

[0070] Record the bills and transactions on all user nodes to the server.

[0071] s2. In reality, when a user takes a taxi, the first contract in the virtual blockchain calculates the order amount based on the user's taxi rules;

[0072] The user taxi rule is a mathematical calculation method for the taxi order amount including mileage, vehicle type, traffic environment, driving environment, estimated waiting time and user attributes including user level. The user taxi rule obtains a mathematical model for calculating the order amount by training multiple groups of collected samples. The user taxi rule directly calls and loads the calculation method of the order amount disclosed by the taxi system.

[0073] s3. When the order is completed, the order amount is settled to the corresponding user in the blockchain at the corresponding time;

[0074] s4. Link the user's actual payment in reality to the corresponding bill of the user account in the blockchain;

[0075] s5. When a link is generated, the second contract is executed, and the difference between the actual payment and the result of the first contract is analyzed and calculated;

[0076] s6. Output the second contract results of different users to the server;

[0077] s7. The server processes the second contract result according to the user attributes and evaluates different taxi-hailing systems;

[0078] The process includes the following:

[0079] Calculate the difference between each order amount and the actual payment amount;

[0080] Obtain each difference value of corresponding orders of multiple different users, and classify the orders with difference values;

[0081] Obtain multiple sets of difference value data of different users based on order amount, and calculate the variance of different users;

[0082] Obtain the difference value data of each user based on the order amount, and calculate the variance of the same user;

[0083] The variances of all the same users under different monetary bases and the variances of all difference value data groups under different monetary bases with respect to different users are sorted, and the mathematical relationship between the sequence and the monetary base is analyzed and determined. If there is no correlation, it is determined that there is a data security issue.

[0084] Among them, the first contract and the second contract are two executable programs respectively.

[0085] Furthermore, the server analyzes whether the taxi system is within the fluctuation range of the order amount obtained according to the rules of the first contract based on the second contract results generated over time by the same user and the corresponding transaction records and bill contents. The server analyzes whether the taxi system produces differences in the order amount fluctuation range that exceed the fluctuation range of the order amount obtained according to the rules due to the differences in different user attributes based on the second contract results generated over time by different users and the corresponding transaction records and bill contents. The driver's order acceptance rules are a mathematical calculation method for taxi order revenue including mileage, vehicle type, traffic environment, driving environment, estimated waiting time, and driver attributes including driver authority, level, etc.

[0086] Embodiment 2: In the present invention, whether there is a data security problem on the driver side is realized through the following embodiment, a social governance data security protection method based on blockchain, such as Figure 2 As shown, including:

[0087] a1. Build a virtual blockchain for taxi transactions;

[0088] include:

[0089] The blockchain environment is installed on the virtual machine and used for taxi transactions;

[0090] When a driver accepts a taxi order, in the blockchain environment, a new driver node is mapped to the blockchain;

[0091] Map the driver data to the virtual blockchain, and in the blockchain, automatically monitor the execution conditions and continuously execute the contracts based on the third and fourth contracts written into them;

[0092] Record all the bills and transactions on the driver nodes to the server.

[0093] a2. In reality, when a driver accepts an order, a third contract in the virtual blockchain calculates the order revenue based on the driver's order acceptance rules;

[0094] a3. When the order is completed, the order revenue is settled to the corresponding driver in the blockchain at the corresponding time;

[0095] a4. Link the driver’s actual payment in reality to the corresponding bill of the driver’s account in the blockchain;

[0096] a5. When a link is generated, the fourth contract is executed to analyze and calculate the difference between the actual payment received and the result of the third contract;

[0097] a6. Output the fourth contract results of different drivers to the server;

[0098] a7. The server processes the fourth contract result based on the driver's attributes and evaluates different taxi-hailing systems;

[0099] Calculate the difference between the revenue of each order and the actual amount received;

[0100] Get each difference value of the corresponding orders of multiple different drivers, and classify the orders with difference values;

[0101] Obtain multiple sets of difference value data of different drivers under the order revenue benchmark, and calculate the variance of different drivers;

[0102] Obtain the difference value data of each driver under the order revenue benchmark and calculate the variance of the same driver;

[0103] The variances of all the same driver under different monetary bases and the variances of all difference value data groups under different monetary bases about different drivers are sorted, and the mathematical relationship between the sequence and the monetary base is analyzed and determined. If there is no correlation, it is determined that there is a data security problem.

[0104] Among them, the third contract and the fourth contract are two executable programs.

[0105] Based on the fourth contract results generated over time by the same driver and the corresponding transaction records and bill content, the server analyzes whether the taxi system is within the fluctuation range of the order revenue obtained according to the driver's order acceptance rules under the third contract.

[0106] Based on the fourth contract results generated by different drivers over time and the corresponding transaction records and bill content, the server determines whether the taxi system generates differences in order revenue fluctuations beyond the range obtained based on the driver order acceptance rules due to differences in driver attributes;

[0107] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0108] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0109] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

[0110] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods or devices. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects.

[0111] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0112] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

[0113] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention is indicated by the claims above.

[0114] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A social governance data security protection method based on blockchain, characterized in that: include: Build a virtual blockchain for taxi-hailing transactions; install a blockchain environment on a virtual machine and validate the environment for taxi-hailing transactions; When a user places a taxi order, in the blockchain environment, a new user node is mapped to the blockchain; user data is mapped to the virtual blockchain, and in the blockchain, according to the first contract and the second contract written, the execution conditions are automatically monitored and the contracts are continuously executed; the bills and transactions on all user nodes are recorded to the server; In reality, when a user takes a taxi, the first contract in the virtual blockchain calculates the order amount based on the user's taxi rules; When the order is completed, the order amount is settled to the corresponding user in the blockchain at the corresponding time; Link the user's actual payment in reality to the corresponding bill of the user account in the blockchain; When a link is generated, the second contract is executed, and the difference between the actual payment and the result of the first contract is analyzed and calculated; Output the second contract results of different users to the server; The server processes the second contract result based on the user attributes and evaluates different taxi-hailing systems; The server analyzes whether the taxi-hailing system is within the fluctuation range of the order amount obtained according to the user's taxi-hailing rules of the first contract based on the second contract results generated by the same user over time and the corresponding transaction records and bill content related information; Based on the second contract results generated by different users over time and the corresponding transaction records and bill content, the server determines whether the taxi-hailing system generates differences in order amounts beyond the fluctuation range obtained based on the user taxi-hailing rules due to differences in different user attributes; Among them, the first contract and the second contract are two executable programs.

2. According to a blockchain-based social governance data security protection method according to claim 1, it is characterized in that: The rules are a mathematical calculation method for the taxi order amount including mileage, vehicle type, traffic environment, driving environment, estimated waiting time, and user attributes including user level.

3. According to a blockchain-based social governance data security protection method according to claim 2, it is characterized in that: The rule obtains a mathematical model for calculating the order amount by training multiple groups of collected samples.

4. According to a blockchain-based social governance data security protection method according to claim 2, it is characterized in that: The rules are implemented by directly calling and loading the calculation method of the order amount disclosed by the taxi-hailing system.

5. According to a blockchain-based social governance data security protection method according to claim 4, it is characterized in that: The process includes the following: Calculate the difference between each order amount and the actual payment amount; Get the difference values ​​of each corresponding order of multiple different users and classify the similar orders; Obtain multiple sets of difference value data based on similar order amounts of different users, and calculate the variance of different users; Obtain the difference value data of each user under the similar order amount benchmark, and calculate the variance of the same user; The variances of all the same users under different monetary bases and the variances of all difference value data groups under different monetary bases with respect to different users are sorted, and the mathematical relationship between the sequence and the monetary base is analyzed and determined. If there is no correlation, it is determined that there is a data security issue.

6. A social governance data security protection method based on blockchain, characterized in that: include: Build a virtual blockchain for taxi transactions; In reality, when a driver accepts an order, a third contract in the virtual blockchain calculates the order revenue based on the driver’s order acceptance rules; When the order is completed, the order revenue is settled to the corresponding driver in the blockchain at the corresponding time; Link the driver’s actual payment in the real world to the corresponding bill of the driver’s account in the blockchain; When a link is generated, the fourth contract is executed to analyze and calculate the difference between the actual payment received and the result of the third contract; Output the fourth contract results of different drivers to the server; The server processes the fourth contract results based on the driver's attributes and evaluates different taxi-hailing systems; The blockchain environment is installed on the virtual machine and used for taxi transactions; When a driver accepts a taxi order, in the blockchain environment, a new driver node is mapped to the blockchain; Map the driver data to the virtual blockchain, and in the blockchain, automatically monitor the execution conditions and continuously execute the contracts based on the third and fourth contracts written into them; Record all the bills and transactions on the driver nodes to the server; Based on the fourth contract results generated by different drivers over time and the corresponding transaction records and bill content, the server determines whether the taxi system generates differences beyond the order revenue fluctuation range obtained according to the rules due to the differences in the attributes of different drivers; Calculate the difference between the revenue of each order and the actual amount received; Get the difference values ​​of each corresponding order of multiple different drivers and classify the similar orders; Obtain multiple sets of difference value data under similar order revenue benchmarks of different drivers, and calculate the variance of different drivers; Obtain the difference value data of each driver under the similar order revenue benchmark and calculate the variance of the same driver; Sorting the variance of all the same driver under different monetary bases and the variance of all the difference value data groups under different monetary bases with respect to different drivers, analyzing and judging the mathematical relationship between the sequence and the monetary base. If there is no relationship, it is determined that there is a data security problem. Among them, the third contract and the fourth contract are two executable programs.