CN112487462A - Data authorization method and equipment based on block chain vehicle tax purchasing system - Google Patents
Data authorization method and equipment based on block chain vehicle tax purchasing system Download PDFInfo
- Publication number
- CN112487462A CN112487462A CN202011463222.9A CN202011463222A CN112487462A CN 112487462 A CN112487462 A CN 112487462A CN 202011463222 A CN202011463222 A CN 202011463222A CN 112487462 A CN112487462 A CN 112487462A
- Authority
- CN
- China
- Prior art keywords
- vehicle purchase
- purchase tax
- node
- service
- authorization data
- 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.)
- Granted
Links
- 238000013475 authorization Methods 0.000 title claims abstract description 186
- 238000000034 method Methods 0.000 title claims abstract description 38
- 239000003999 initiator Substances 0.000 claims abstract description 36
- 238000012217 deletion Methods 0.000 claims description 17
- 230000037430 deletion Effects 0.000 claims description 17
- 230000006870 function Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 11
- 230000003287 optical effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000011835 investigation Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/123—Tax preparation or submission
Abstract
The disclosure provides a data authorization method and equipment based on a block chain vehicle tax purchasing system. The method comprises the following steps: receiving vehicle purchase tax service application information sent by a service initiator node in a block chain, and determining vehicle purchase tax authorization data corresponding to the node information from the stored vehicle purchase tax authorization data according to the node information of the service initiator node in the vehicle purchase tax service application information; determining the identification of the private data set corresponding to the vehicle purchase tax service in the vehicle purchase tax service application information; determining a private data set of the vehicle purchase tax service corresponding to the identifier from the private data sets corresponding to the plurality of preset services; determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service; and storing the vehicle purchase tax authorization data into a database of the appointed service party node so that the appointed service party node can acquire the vehicle purchase tax authorization data conveniently. Therefore, only the designated service side node can obtain the vehicle purchase tax authorization data, and the safety of the user data is ensured.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a data authorization method and equipment based on a block chain vehicle tax purchasing system.
Background
When an entity, person or vehicle dealer needing to purchase a vehicle needs to make a loan to a bank or needs to purchase vehicle insurance from an insurance company, the bank or the insurance company needs to obtain authorization information such as credit of the purchaser.
In the prior art, because account book data on one block chain is public, each node can acquire the data on the block chain, so that the security of user privacy data (authorization information such as credit investigation) cannot be ensured.
Disclosure of Invention
The exemplary embodiments of the present disclosure provide a data authorization method and device based on a block chain vehicle tax purchasing system, so as to improve the security of user private data.
A first aspect of the present disclosure provides a data authorization method for a block chain car tax purchase system, which is applied to a car tax purchase service authorizer node in a block chain, and the method includes:
receiving vehicle tax service application information sent by a service initiator node in a block chain, wherein the vehicle tax service application information comprises vehicle tax service and node information of the service initiator node;
determining vehicle purchase tax authorization data corresponding to the node information from stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service;
determining a private data set of the vehicle purchase tax service corresponding to the identifier from a private data set corresponding to a plurality of preset services;
determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
and storing the vehicle purchase tax authorization data into a database corresponding to the specified business side node so that the specified business side node can obtain the vehicle purchase tax authorization data.
In this embodiment, the service authorizer node in the block chain stores the vehicle purchase tax authorization data stored therein to the database of the designated service authorizer node, so that only the designated service authorizer node can obtain the vehicle purchase tax authorization data from the database thereof, and other nodes cannot obtain the vehicle purchase tax authorization data, thereby ensuring the security of the user privacy data.
In one embodiment, after determining the designated service party node corresponding to the vehicle purchase tax authorization data, the method further includes:
encrypting the vehicle purchase tax authorization data to obtain encrypted vehicle purchase tax authorization data;
and storing the encrypted vehicle purchase tax authorization data into a public account book of the block chain, so that other nodes except the designated service party in the block chain can acquire the encrypted vehicle purchase tax authorization data.
In this embodiment, the encrypted vehicle purchase tax authorization data is stored in the public ledger of the block chain, so that other nodes can synchronize the transaction, and the security of the vehicle purchase tax authorization data is further ensured.
In one embodiment, the encrypting the vehicle purchase tax authorization data to obtain the encrypted vehicle purchase tax authorization data includes:
and processing the vehicle purchase tax authorization data by utilizing a hash function to obtain the encrypted vehicle purchase tax authorization data.
In this embodiment, the car purchase tax authorization data may be processed through a hash function, so as to obtain the encrypted car purchase tax authorization data.
In one embodiment, the storing the vehicle purchase tax authorization data in a database corresponding to the designated business party node includes:
and if the vehicle purchase tax authorization data is not the designated service party node, storing the vehicle purchase tax authorization data into a database corresponding to the designated service party node.
In this embodiment, whether the self is the designated service node is determined, so as to store the self in the corresponding database.
In one embodiment, after the storing the vehicle purchase tax authorization data in the database corresponding to the designated business node, the method further comprises:
receiving a data deletion request from a service initiator node in a block chain, wherein the data deletion request comprises a target vehicle purchase tax authorization data identifier and a private data set identifier;
determining a private data set corresponding to the private data set identification from a plurality of preset private data sets;
and deleting the target vehicle purchase tax authorization data from the determined private data set based on the target vehicle purchase tax authorization data identifier.
The embodiment further ensures the safety of the data and saves the storage space by deleting the vehicle purchase tax authorization data in time.
A second aspect of the present disclosure provides a data authorization apparatus based on a block chain vehicle tax purchase system, the apparatus being located in a block chain, the apparatus including:
the application information receiving module is used for receiving vehicle tax service application information sent by a service initiator node in a block chain, wherein the vehicle tax service application information comprises vehicle tax service and node information of the service initiator node;
the data and identification determining module is used for determining vehicle purchase tax authorization data corresponding to the node information from the stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service;
the first private data set determining module is used for determining a private data set of the vehicle purchase tax service corresponding to the identifier from the private data sets corresponding to a plurality of preset services;
the designated service party node determining module is used for determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
and the first storage module is used for storing the vehicle purchase tax authorization data into a database corresponding to the specified business side node so that the specified business side node can acquire the vehicle purchase tax authorization data conveniently.
In one embodiment, the apparatus further comprises:
the encryption module is used for encrypting the vehicle purchase tax authorization data after the vehicle purchase tax authorization data is stored in a database corresponding to the appointed business side node, so as to obtain the encrypted vehicle purchase tax authorization data;
and the second storage module is used for storing the encrypted vehicle purchase tax authorization data into a public ledger of the block chain, so that other nodes except the designated service party in the block chain can acquire the encrypted vehicle purchase tax authorization data.
In one embodiment, the encryption module is specifically configured to:
and processing the vehicle purchase tax authorization data by utilizing a hash function to obtain the encrypted vehicle purchase tax authorization data.
In one embodiment, the first saving module is specifically configured to:
and if the vehicle purchase tax authorization data is not the designated service party node, storing the vehicle purchase tax authorization data into a database corresponding to the designated service party node.
In one embodiment, the apparatus further comprises:
a data deletion request receiving module, configured to receive a data deletion request from a service initiator node in a block chain after storing the vehicle purchase tax authorization data in a database corresponding to the designated service initiator node, where the data deletion request includes a target data identifier and a private data set identifier;
the second private data set determining module is used for determining a private data set corresponding to the private data set identifier from a plurality of preset private data sets;
and the deleting module is used for deleting the target vehicle purchase tax authorization data from the determined private data set based on the target vehicle purchase tax authorization data identifier.
In a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions for execution by the at least one processor; the instructions are executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
A fourth aspect provided by the embodiments of the present disclosure provides a computer storage medium storing a computer program for executing the method according to the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a suitable scenario in accordance with an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a data authorization method based on a blockchain vehicle tax purchase system according to an embodiment of the disclosure;
fig. 3 is a second flowchart illustrating a data authorization method based on a block chain car tax purchase system according to an embodiment of the disclosure;
FIG. 4 is a probabilistic triggering mechanism for a random event according to one embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The term "and/or" in the embodiments of the present disclosure describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The application scenario described in the embodiment of the present disclosure is for more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not form a limitation on the technical solution provided in the embodiment of the present disclosure, and as a person having ordinary skill in the art knows, with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present disclosure is also applicable to similar technical problems. In the description of the present disclosure, the term "plurality" means two or more unless otherwise specified.
In the prior art, because account book data on one block chain is public, each node can acquire the data on the block chain, and the security of user privacy data cannot be guaranteed.
Therefore, the data authorization method and equipment based on the block chain car tax purchase system are provided, and the stored car tax purchase authorization data is stored to the database of the designated business side node through the business authorization side node in the block chain, so that the car tax purchase authorization data can be acquired from the database only by the designated business side node, and other nodes cannot acquire the car tax purchase authorization data, and therefore, the safety of the user privacy data is ensured. The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, an application scenario of a data authorization method based on a blockchain car tax purchase system includes a terminal device 110, a terminal device 120, a terminal device 130, and a terminal device 140, where the terminal device 110, the terminal device 120, the terminal device 130, and the terminal device 140 are nodes in a blockchain respectively. The number of the terminal devices 140 is taken as an example for explanation in the present disclosure, and the number of the terminal devices 140 is not limited in the present disclosure. The following description will take terminal device 110 as a node of an authorized party of the car tax service, terminal device 120 as a node of a designated service party, terminal device 130 as a node of a service initiator, and terminal device 140 as another node in a block chain as an example.
In a possible application scenario, the terminal device 130 sends vehicle tax service application information to the terminal device 110, where the vehicle tax service application information includes a vehicle tax service and node information of the service initiator node; after receiving the vehicle purchase tax service application information, the terminal device 110 determines vehicle purchase tax authorization data corresponding to the node information from the stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service; then the terminal device 110 determines a private data set of the vehicle purchase tax service corresponding to the identifier from the private data sets corresponding to the preset multiple services; determining a designated service party node (terminal device 120) corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service; then, the terminal device 110 stores the vehicle purchase tax authorization data in a database corresponding to the terminal device 120, so that the terminal device 120 can obtain the vehicle purchase tax authorization data. Then the terminal device 110 encrypts the vehicle purchase tax authorization data to obtain encrypted vehicle purchase tax authorization data; and the encrypted vehicle purchase tax authorization data is stored in a database of the terminal device 140, so that the terminal device 140 can obtain the encrypted vehicle purchase tax authorization data. Therefore, the safety of the user privacy data is ensured.
Fig. 2 is a schematic flow chart of a data authorization method of the block chain car-purchasing system of the present disclosure, which is applied to a car-purchasing tax service authorizer node in a block, and may include the following steps:
step 201: receiving vehicle tax service application information sent by a service initiator node in a block chain, wherein the vehicle tax service application information comprises vehicle tax service and node information of the service initiator node;
the vehicle purchase tax authorization data is authorization data such as credit investigation of a user.
Step 202: determining vehicle purchase tax authorization data corresponding to the node information from stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service;
step 203: determining a private data set of the vehicle purchase tax service corresponding to the identifier from a private data set corresponding to a plurality of preset services;
step 204: determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
step 205: and storing the vehicle purchase tax authorization data into a database corresponding to the specified business side node so that the specified business side node can obtain the vehicle purchase tax authorization data.
Therefore, the vehicle purchase tax authorization data stored by the service authorizer node in the block chain is stored in the database of the appointed service node, so that the vehicle purchase tax authorization data can be acquired from the database only by the appointed service node, and other nodes cannot acquire the vehicle purchase tax authorization data, thereby ensuring the safety of the user privacy data.
After step 205 is executed, in an embodiment, the vehicle purchase tax authorization data is encrypted to obtain encrypted vehicle purchase tax authorization data; and storing the encrypted vehicle purchase tax authorization data into a public account book of the block chain, so that other nodes except the designated service party in the block chain can acquire the encrypted vehicle purchase tax authorization data.
And processing the vehicle purchase tax authorization data by utilizing a hash function to obtain the encrypted vehicle purchase tax authorization data.
Therefore, the encrypted vehicle purchase tax authorization data is stored in the public ledger of the block chain, so that other nodes can synchronize the transaction, and the security of the vehicle purchase tax authorization data is further ensured.
In one embodiment, step 205 may be implemented as: and if the vehicle purchase tax authorization data is not the designated service party node, storing the vehicle purchase tax authorization data into a database corresponding to the designated service party node.
For example, if the node 1 determines that the node itself is the designated service party node, the car purchase tax authorization data is stored in the database of the node itself, and if the node 1 determines that the node itself is not the designated service party node, the car purchase tax authorization data is stored in the database corresponding to the designated service party node. Thereby enabling the vehicle purchase tax authorization data to be stored in the corresponding database.
In order to save storage space, in one embodiment, a data deletion request from a service initiator node in a blockchain is received, wherein the data deletion request comprises a target vehicle purchase tax authorization data identifier and a private data set identifier; determining a private data set corresponding to the private data set identification from a plurality of preset private data sets; and deleting the target vehicle purchase tax authorization data from the determined private data set based on the target vehicle purchase tax authorization data identifier.
For example, the private data set 1 is determined according to the private data set identifier in the data deletion request. The private data set 1 includes car purchase tax authorization data 1, car purchase tax authorization data 2, car purchase tax authorization data 3, and car purchase tax authorization data 4. And if the data to be deleted is determined to be the vehicle purchase tax authorization data 3 according to the target data identification of the data deletion request, deleting the vehicle purchase tax authorization data 3 from the private data set 1. Therefore, the storage space is saved, and the security of the private data is further ensured.
For further understanding of the technical solution of the present disclosure, the following detailed description with reference to fig. 3 may include the following steps:
step 301: receiving vehicle tax service application information sent by a service initiator node in a block chain, wherein the vehicle tax service application information comprises vehicle tax service and node information of the service initiator node;
step 302: determining vehicle purchase tax authorization data corresponding to the node information from stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service;
step 303: determining a private data set of the vehicle purchase tax service corresponding to the identifier from a private data set corresponding to a plurality of preset services;
step 304: determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
step 305: storing the vehicle purchase tax authorization data into a database corresponding to the designated business side node so that the designated business side node can obtain the vehicle purchase tax authorization data conveniently;
step 306: encrypting the vehicle purchase tax authorization data to obtain encrypted vehicle purchase tax authorization data;
step 307: and storing the encrypted vehicle purchase tax authorization data into a public account book of the block chain, so that other nodes except the designated service party in the block chain can acquire the encrypted vehicle purchase tax authorization data.
In the following, the present disclosure is described in detail with an application scenario as a vehicle purchase tax scenario:
firstly, after a car tax service authorizing party node (tax bureau, public security bureau, etc.) receives car tax service request information of a service initiating party node (individual, company, etc.) in a block chain, the car tax service application information comprises a car tax service (e.g., car loan purchase request) and node information (individual information, company information, etc.) of the service initiating party node; the node of the vehicle purchase tax service authorizer determines vehicle purchase tax authorizing data (information such as personal credit collection and company credit collection) corresponding to the node information from the stored vehicle purchase tax authorizing data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service; determining a private data set of the vehicle purchase tax service corresponding to the identifier from a private data set corresponding to a plurality of preset services; determining a designated service party node (bank and the like) corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service; and storing the vehicle purchase tax authorization data into a database corresponding to the designated business side node so that the designated business side node can acquire the vehicle purchase tax authorization data conveniently.
Based on the same disclosure concept, the data authorization method based on the blockchain car tax purchasing system can also be realized by a data authorization device based on the blockchain car tax purchasing system. The effect of the data authorization device based on the blockchain vehicle tax purchase system is similar to that of the method, and the detailed description is omitted here.
Fig. 4 is a schematic structural diagram of a data authorization device of a block chain vehicle tax purchase system according to an embodiment of the present disclosure, where the device is located in a block chain.
As shown in fig. 4, the data authorizing apparatus 400 of the block chain vehicle tax purchase system based on the present disclosure may include an application information receiving module 410, a data and identity determining module 420, a first private data set determining module 430, a designated business node determining module 440, and a first saving module 450.
An application information receiving module 410, configured to receive vehicle tax service application information sent by a service initiator node in a block chain, where the vehicle tax service application information includes a vehicle tax service and node information of the service initiator node;
a data and identifier determining module 420, configured to determine, according to the node information of the service initiator node, vehicle purchase tax authorization data corresponding to the node information from stored vehicle purchase tax authorization data; determining the identification of the private data set corresponding to the vehicle purchase tax service;
a first private data set determining module 430, configured to determine, from private data sets corresponding to a plurality of preset services, a private data set of a vehicle purchase tax service corresponding to the identifier;
the designated service party node determining module 440 is configured to determine a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
the first storing module 450 is configured to store the car purchase tax authorization data in a database corresponding to the designated business side node, so that the designated business side node obtains the car purchase tax authorization data.
In one embodiment, the apparatus further comprises:
the encryption module 460 is configured to encrypt the vehicle purchase tax authorization data after storing the vehicle purchase tax authorization data in the database corresponding to the designated business side node, so as to obtain encrypted vehicle purchase tax authorization data;
a second storing module 470, configured to store the encrypted vehicle purchase tax authorization data into a public ledger of the block chain, so that other nodes in the block chain except the designated service party can obtain the encrypted vehicle purchase tax authorization data.
In an embodiment, the encryption module 460 is specifically configured to:
and processing the vehicle purchase tax authorization data by utilizing a hash function to obtain the encrypted vehicle purchase tax authorization data.
In an embodiment, the first saving module 450 is specifically configured to:
and if the node is determined not to be the designated service party node, the vehicle purchase tax authorization data is stored in a database corresponding to the designated service party node.
In one embodiment, the apparatus further comprises:
a data deletion request receiving module 480, configured to receive a data deletion request from a service initiator node in a block chain after the vehicle purchase tax authorization data is stored in a database corresponding to the designated service initiator node, where the data deletion request includes a target data identifier and a private data set identifier;
a second private data set determining module 490, configured to determine, from a preset plurality of private data sets, a private data set corresponding to the private data set identifier;
a deleting module 491 configured to delete the target vehicle purchase tax authorization data from the determined private data set based on the target vehicle purchase tax authorization data identifier.
Having described a data authorization method and apparatus based on a blockchain vehicle purchase tax system according to an exemplary embodiment of the present disclosure, an electronic apparatus according to another exemplary embodiment of the present disclosure will be described.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device in accordance with the present disclosure may include at least one processor, and at least one computer storage medium. The computer storage medium stores program code, which, when executed by a processor, causes the processor to perform the steps of the data authorization method based on a blockchain vehicle tax purchase system according to various exemplary embodiments of the present disclosure described above in this specification. For example, the processor may perform step 201 and 205 as shown in FIG. 2.
An electronic device 500 according to this embodiment of the disclosure is described below with reference to fig. 5. The electronic device 500 shown in fig. 5 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device 500 is represented in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to: the at least one processor 501, the at least one computer storage medium 502, and the bus 503 connecting the various system components (including the computer storage medium 502 and the processor 501).
The computer storage media 502 may include readable media in the form of volatile computer storage media, such as random access computer storage media (RAM)521 and/or cache storage media 522, and may further include read-only computer storage media (ROM) 523.
The electronic device 500 may also communicate with one or more external devices 504 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other electronic devices. Such communication may be through input/output (I/O) interfaces 505. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 506. As shown, the network adapter 506 communicates with other modules for the electronic device 500 over the bus 503. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of a data authorization method based on a blockchain car tax purchase system provided by the present disclosure may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of the data authorization method based on a blockchain car tax purchase system according to various exemplary embodiments of the present disclosure described above in this specification when the program product is run on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a random access computer storage media (RAM), a read-only computer storage media (ROM), an erasable programmable read-only computer storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only computer storage media (CD-ROM), an optical computer storage media piece, a magnetic computer storage media piece, or any suitable combination of the foregoing.
The program product for data authorization based on a blockchain vehicle tax purchase system of embodiments of the present disclosure may employ a portable compact disk read-only computer storage medium (CD-ROM) and include program code, and may be executable on an electronic device. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
It should be noted that although several modules of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module, in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk computer storage media, CD-ROMs, optical computer storage media, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable computer storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable computer storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, if such modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include such modifications and variations as well.
Claims (12)
1. A data authorization method based on a block chain vehicle purchase tax system is characterized in that a vehicle purchase tax service authorizer node in a block chain is located, and the method comprises the following steps:
receiving vehicle tax service application information sent by a service initiator node in a block chain, wherein the vehicle tax service application information comprises vehicle tax service and node information of the service initiator node;
determining vehicle purchase tax authorization data corresponding to the node information from stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service;
determining a private data set of the vehicle purchase tax service corresponding to the identifier from a private data set corresponding to a plurality of preset services;
determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
and storing the vehicle purchase tax authorization data into a database corresponding to the specified business side node so that the specified business side node can obtain the vehicle purchase tax authorization data.
2. The method of claim 1, wherein after storing the purchase tax authorization data in a database corresponding to the designated business node, the method further comprises:
encrypting the vehicle purchase tax authorization data to obtain encrypted vehicle purchase tax authorization data;
and storing the encrypted vehicle purchase tax authorization data into a public account book of the block chain, so that other nodes except the designated service party in the block chain can acquire the encrypted vehicle purchase tax authorization data.
3. The method of claim 2, wherein the encrypting the vehicle purchase tax authorization data to obtain the encrypted vehicle purchase tax authorization data comprises:
and processing the vehicle purchase tax authorization data by utilizing a hash function to obtain the encrypted vehicle purchase tax authorization data.
4. The method of claim 1, wherein storing the vehicle purchase tax authorization data in a database corresponding to the designated business node comprises:
and if the node is determined not to be the designated service party node, the vehicle purchase tax authorization data is stored in a database corresponding to the designated service party node.
5. The method according to any one of claims 1 to 4, wherein after storing the vehicle purchase tax authorization data in the database corresponding to the designated business node, the method further comprises:
receiving a data deletion request from a service initiator node in a block chain, wherein the data deletion request comprises a target vehicle purchase tax authorization data identifier and a private data set identifier;
determining a private data set corresponding to the private data set identification from a plurality of preset private data sets;
and deleting the target vehicle purchase tax authorization data from the determined private data set based on the target vehicle purchase tax authorization data identifier.
6. A data authorization device based on a block chain car tax purchase system, wherein the device is located in a block chain, comprising:
the application information receiving module is used for receiving vehicle tax service application information sent by a service initiator node in a block chain, wherein the vehicle tax service application information comprises vehicle tax service and node information of the service initiator node;
the data and identification determining module is used for determining vehicle purchase tax authorization data corresponding to the node information from the stored vehicle purchase tax authorization data according to the node information of the service initiator node; determining the identification of the private data set corresponding to the vehicle purchase tax service;
the first private data set determining module is used for determining a private data set of the vehicle purchase tax service corresponding to the identifier from the private data sets corresponding to a plurality of preset services;
the designated service party node determining module is used for determining a designated service party node corresponding to the vehicle purchase tax authorization data based on the determined private data set of the vehicle purchase tax service;
and the first storage module is used for storing the vehicle purchase tax authorization data into a database corresponding to the specified business side node so that the specified business side node can acquire the vehicle purchase tax authorization data conveniently.
7. The apparatus of claim 6, further comprising:
the encryption module is used for encrypting the vehicle purchase tax authorization data after the vehicle purchase tax authorization data is stored in a database corresponding to the appointed business side node, so as to obtain the encrypted vehicle purchase tax authorization data;
and the second storage module is used for storing the encrypted vehicle purchase tax authorization data into a public ledger of the block chain, so that other nodes except the designated service party in the block chain can acquire the encrypted vehicle purchase tax authorization data.
8. The device according to claim 7, wherein the encryption module is specifically configured to:
and processing the vehicle purchase tax authorization data by utilizing a hash function to obtain the encrypted vehicle purchase tax authorization data.
9. The device according to claim 6, wherein the first saving module is specifically configured to:
and if the node is determined not to be the designated service party node, the vehicle purchase tax authorization data is stored in a database corresponding to the designated service party node.
10. The apparatus of any one of claims 6 to 9, further comprising:
a data deletion request receiving module, configured to receive a data deletion request from a service initiator node in a block chain after storing the vehicle purchase tax authorization data in a database corresponding to the designated service initiator node, where the data deletion request includes a target data identifier and a private data set identifier;
the second private data set determining module is used for determining a private data set corresponding to the private data set identifier from a plurality of preset private data sets;
and the deleting module is used for deleting the target vehicle purchase tax authorization data from the determined private data set based on the target vehicle purchase tax authorization data identifier.
11. An electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions for execution by the at least one processor; the instructions are executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A computer storage medium, characterized in that the computer storage medium stores a computer program for performing the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011463222.9A CN112487462B (en) | 2020-12-11 | 2020-12-11 | Data authorization method and device based on block chain vehicle tax purchasing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011463222.9A CN112487462B (en) | 2020-12-11 | 2020-12-11 | Data authorization method and device based on block chain vehicle tax purchasing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112487462A true CN112487462A (en) | 2021-03-12 |
CN112487462B CN112487462B (en) | 2023-10-31 |
Family
ID=74916842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011463222.9A Active CN112487462B (en) | 2020-12-11 | 2020-12-11 | Data authorization method and device based on block chain vehicle tax purchasing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112487462B (en) |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123796A (en) * | 2014-07-28 | 2014-10-29 | 浪潮软件集团有限公司 | Tax handling method for Internet vehicle purchase tax self-service terminal |
CN105630799A (en) * | 2014-10-29 | 2016-06-01 | 航天信息股份有限公司 | Identity information storage and verification system and method applied in car purchase tax self-help tax handling terminal |
CN108712251A (en) * | 2018-05-28 | 2018-10-26 | 江苏众享金联科技有限公司 | It is a kind of difference trust domain under to block chain be written user privacy information method |
CN109242666A (en) * | 2018-06-28 | 2019-01-18 | 平安科技(深圳)有限公司 | Personal reference method, apparatus and computer equipment are obtained based on block chain |
CN109327314A (en) * | 2018-11-08 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Access method, device, electronic equipment and the system of business datum |
CN109359988A (en) * | 2018-09-21 | 2019-02-19 | 重庆小雨点小额贷款有限公司 | Resource allocation methods, system, server and storage medium based on block chain |
CN109544156A (en) * | 2018-10-25 | 2019-03-29 | 平安科技(深圳)有限公司 | Data processing method, device, equipment and storage medium based on block chain |
CN109583215A (en) * | 2018-09-28 | 2019-04-05 | 阿里巴巴集团控股有限公司 | It is a kind of to handle the method and device of collage-credit data, block chain data-sharing systems |
CN109688163A (en) * | 2019-02-20 | 2019-04-26 | 中国联合网络通信集团有限公司 | Data processing method, device, equipment and storage medium based on alliance's chain |
CN109785120A (en) * | 2018-12-28 | 2019-05-21 | 贵州蓝石科技有限公司 | A kind of personal credit system based on block chain technology |
CN110489980A (en) * | 2019-07-22 | 2019-11-22 | 杭州凯腾互联网技术有限公司 | A kind of credit asset processing system based on block chain |
CN110598454A (en) * | 2019-09-20 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method and device in block chain, storage medium and computer equipment |
WO2020056975A1 (en) * | 2018-09-19 | 2020-03-26 | 平安科技(深圳)有限公司 | Loan operation method and system based on blockchain, server and storage medium |
CN111080084A (en) * | 2019-11-27 | 2020-04-28 | 山东爱城市网信息技术有限公司 | Credit investigation management method, device and storage medium based on block chain |
CN111369338A (en) * | 2020-02-28 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain |
CN111506909A (en) * | 2020-04-13 | 2020-08-07 | 深圳微众信用科技股份有限公司 | Silver tax data interaction method and system |
CN111639346A (en) * | 2020-04-16 | 2020-09-08 | 山东浪潮质量链科技有限公司 | Method and equipment for realizing traceless credit investigation query based on block chain |
CN111651790A (en) * | 2020-06-11 | 2020-09-11 | 上海分布信息科技有限公司 | Method and system for protecting privacy information in open block chain |
CN111681091A (en) * | 2020-08-12 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Financial risk prediction method and device based on time domain information and storage medium |
CN111694885A (en) * | 2020-06-16 | 2020-09-22 | 中国银行股份有限公司 | Personal credit investigation information query method and related device |
WO2020233422A1 (en) * | 2019-05-20 | 2020-11-26 | 创新先进技术有限公司 | Receipt storage method and node based on user type |
-
2020
- 2020-12-11 CN CN202011463222.9A patent/CN112487462B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123796A (en) * | 2014-07-28 | 2014-10-29 | 浪潮软件集团有限公司 | Tax handling method for Internet vehicle purchase tax self-service terminal |
CN105630799A (en) * | 2014-10-29 | 2016-06-01 | 航天信息股份有限公司 | Identity information storage and verification system and method applied in car purchase tax self-help tax handling terminal |
CN108712251A (en) * | 2018-05-28 | 2018-10-26 | 江苏众享金联科技有限公司 | It is a kind of difference trust domain under to block chain be written user privacy information method |
CN109242666A (en) * | 2018-06-28 | 2019-01-18 | 平安科技(深圳)有限公司 | Personal reference method, apparatus and computer equipment are obtained based on block chain |
WO2020056975A1 (en) * | 2018-09-19 | 2020-03-26 | 平安科技(深圳)有限公司 | Loan operation method and system based on blockchain, server and storage medium |
CN109359988A (en) * | 2018-09-21 | 2019-02-19 | 重庆小雨点小额贷款有限公司 | Resource allocation methods, system, server and storage medium based on block chain |
CN109583215A (en) * | 2018-09-28 | 2019-04-05 | 阿里巴巴集团控股有限公司 | It is a kind of to handle the method and device of collage-credit data, block chain data-sharing systems |
CN109544156A (en) * | 2018-10-25 | 2019-03-29 | 平安科技(深圳)有限公司 | Data processing method, device, equipment and storage medium based on block chain |
CN109327314A (en) * | 2018-11-08 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Access method, device, electronic equipment and the system of business datum |
CN109785120A (en) * | 2018-12-28 | 2019-05-21 | 贵州蓝石科技有限公司 | A kind of personal credit system based on block chain technology |
CN109688163A (en) * | 2019-02-20 | 2019-04-26 | 中国联合网络通信集团有限公司 | Data processing method, device, equipment and storage medium based on alliance's chain |
WO2020233422A1 (en) * | 2019-05-20 | 2020-11-26 | 创新先进技术有限公司 | Receipt storage method and node based on user type |
CN110489980A (en) * | 2019-07-22 | 2019-11-22 | 杭州凯腾互联网技术有限公司 | A kind of credit asset processing system based on block chain |
CN110598454A (en) * | 2019-09-20 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method and device in block chain, storage medium and computer equipment |
CN111080084A (en) * | 2019-11-27 | 2020-04-28 | 山东爱城市网信息技术有限公司 | Credit investigation management method, device and storage medium based on block chain |
CN111369338A (en) * | 2020-02-28 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain |
CN111506909A (en) * | 2020-04-13 | 2020-08-07 | 深圳微众信用科技股份有限公司 | Silver tax data interaction method and system |
CN111639346A (en) * | 2020-04-16 | 2020-09-08 | 山东浪潮质量链科技有限公司 | Method and equipment for realizing traceless credit investigation query based on block chain |
CN111651790A (en) * | 2020-06-11 | 2020-09-11 | 上海分布信息科技有限公司 | Method and system for protecting privacy information in open block chain |
CN111694885A (en) * | 2020-06-16 | 2020-09-22 | 中国银行股份有限公司 | Personal credit investigation information query method and related device |
CN111681091A (en) * | 2020-08-12 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Financial risk prediction method and device based on time domain information and storage medium |
Non-Patent Citations (2)
Title |
---|
艾有为;石文娟;: "区块链技术在信贷资金监控领域的方案研究", 中国金融电脑, no. 05 * |
陈丽燕: "基于区块链智能合约的个人征信隐私保护方案", 计算机工程, pages 30 - 35 * |
Also Published As
Publication number | Publication date |
---|---|
CN112487462B (en) | 2023-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10942918B2 (en) | Self-cleaning token vault | |
CN110866837A (en) | Block chain-based vehicle insurance underwriting claim method, equipment and system | |
CN109657492B (en) | Database management method, medium, and electronic device | |
US10382209B2 (en) | Privacy control using unique identifiers associated with sensitive data elements of a group | |
CN109995523B (en) | Activation code management method and device and activation code generation method and device | |
US20210217004A1 (en) | Data processing method, apparatus, device, and medium in blockchain fund settlement system | |
US11940987B2 (en) | Preventing a transmission of an incorrect copy of a record of data to a distributed ledger system | |
CN111200593A (en) | Application login method and device and electronic equipment | |
CN109325360B (en) | Information management method and device | |
CN111311259A (en) | Bill processing method, device, terminal and computer readable storage medium | |
CN114143312A (en) | Block chain-based edge computing terminal authentication method, system and equipment | |
CN114219480A (en) | Multi-channel fee-control quick payment method and system | |
CN110830428A (en) | Block chain financial big data processing method and system | |
US20200252408A1 (en) | Graduated accounts using assertions | |
CN112487462B (en) | Data authorization method and device based on block chain vehicle tax purchasing system | |
CN114362961B (en) | Block chain-based account recovery method, device, equipment and storage medium | |
CN109816525A (en) | A kind of data processing method and its device, medium, terminal | |
KR102500419B1 (en) | Method for managing data, computing device for executing the method | |
CN116362726A (en) | Transaction order processing system, method, device, equipment and medium | |
CN114037446A (en) | Transaction method, transaction management method, device and system for digital currency | |
CN109191116B (en) | Resource management method and system and payment management method and system | |
CN114186994A (en) | Method, terminal and system for using digital currency wallet application | |
US11636473B2 (en) | Altering account numbers into invalid account numbers for secure transmission and storage | |
CN111461721A (en) | Block chain-based method and device for protecting account and verifying transaction | |
CN113609156B (en) | Data query and write method and device, electronic equipment and readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |