CN111444520A - Service data processing method based on block chain - Google Patents
Service data processing method based on block chain Download PDFInfo
- Publication number
- CN111444520A CN111444520A CN202010094614.6A CN202010094614A CN111444520A CN 111444520 A CN111444520 A CN 111444520A CN 202010094614 A CN202010094614 A CN 202010094614A CN 111444520 A CN111444520 A CN 111444520A
- Authority
- CN
- China
- Prior art keywords
- service data
- data
- service
- block chain
- block
- 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.)
- Withdrawn
Links
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
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides a service data processing method based on a block chain, which comprises the following steps: s1, receiving a service transaction request of a client person by the block chain node, wherein the service transaction request comprises personal authentication data and service transaction data; s2, determining the user identification corresponding to the personal authentication data by the blockchain network, and performing client personal authentication through an authentication mechanism; s3, judging whether the client passes personal authentication, if so, determining the attribute of the service data by the block link points, and encrypting the service data according to the attribute; and S4, performing consensus processing on the encrypted service data by using a formula algorithm, and performing uplink processing on the service data, wherein the method has the advantages that a matched block chain is selected according to service attribute information of the service data to be linked to complete the link entry, and a block chain data recording table is established to record each block chain corresponding to the service type, so that different types of service data are processed differently.
Description
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a service data processing method based on a block chain.
Background
With the development of computer technology, the block chain technology (also called distributed account book technology) is favored by its advantages of decentralization, transparency in disclosure, no tampering, trusty and the like, and is widely applied in many fields such as intelligent contracts, stock exchange, electronic commerce, internet of things, social communication, file storage, existence certification, identity verification, share rights and crowd funding and the like.
When a service system is implemented based on the blockchain technology, the service system (which may also be referred to as a blockchain system because the service system is implemented by using the blockchain technology) needs to write service data into the blockchain. After the block chain system receives the service data needing to be written into the block chain, the transactions are executed by adopting a first-in first-out queue according to the time sequence, and the operations of transaction verification, implementation, data link entering and the like are completed. There is also a need for a method for processing service data that can access a block chain system with multiple service types and meet the service processing requirements of different types of service data.
Disclosure of Invention
The invention aims to provide a service data processing method based on a block chain, which aims to solve the problem that the existing block chain technology is applicable to a service system and meets the requirements on adaptability of various service data.
The invention provides the following technical scheme:
a service data processing method based on a block chain comprises the following steps: s1, receiving a service transaction request of a client person by the block chain node, wherein the service transaction request comprises personal authentication data and service transaction data; s2, determining the user identification corresponding to the personal authentication data by the blockchain network, and performing client personal authentication through an authentication mechanism; s3, judging whether the client passes personal authentication, if so, determining the attribute of the service data by the block link points, and encrypting the service data according to the attribute; and S4, carrying out consensus processing on the encrypted service data by using a formula algorithm, and carrying out uplink processing on the service data.
Further, the consensus processing includes that a block chain node sends a pre-processing block including the service data to a consensus node, and the consensus node performs consensus verification on the pre-processing block; and if the preprocessing block passes the consensus verification, the block chain link point stores the preprocessing block into a block chain network.
Further, the attributes of the service data include a text type and an image type, and if the data attribute of the service data is the text type, the block link point encrypts the service data by using a preset private key of a public-private key pair corresponding to a user identifier included in the service data; and if the data attribute of the service data is the image type, the block chain node determines the abstract of the service data, and encrypts the abstract by using a preset private key of a public and private key pair corresponding to the user identifier contained in the service data.
Further, the user identifier includes a corresponding area, identity information, social information, and behavior habits of the user.
Further, the user identifier is a unique identifier corresponding to the authentication mechanism, and is used for identity authentication and preventing data from being tampered.
Further, the uplink processing of the service data includes storing the service data in a data field formed in the blockchain network, where the data field includes: version number, public key, signature, hash value of the block to which the block belongs, timestamp and service priority.
The invention has the beneficial effects that:
the invention relates to a service data processing method based on a block chain, which is based on the characteristics of non-tampering, decentralization, data encryption and trust transfer of a block chain technology, can select a matched block chain according to service attribute information of service data to be linked to complete the link entry, and establishes a block chain data recording table to record each block chain corresponding to a service type, so that different types of service data are processed differently, and the processing requirements of different types of service data in a block chain system can be met.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic flow diagram of the process of the present invention.
Detailed Description
As shown in fig. 1, a method for processing service data based on a block chain includes the following steps:
s1, receiving a service transaction request of a client person by the block chain node, wherein the service transaction request comprises personal authentication data and service transaction data;
s2, determining the user identification corresponding to the personal authentication data by the blockchain network, and performing client personal authentication through an authentication mechanism; the user identification comprises a region, identity information, social information and behavior habits corresponding to the user, and is the only identification corresponding to the authentication mechanism and used for identity authentication and preventing data from being tampered;
s3, judging whether the client passes personal authentication, if so, determining the attribute of the service data by the block link points, and encrypting the service data according to the attribute;
and S4, carrying out consensus processing on the encrypted service data by using a formula algorithm, and carrying out uplink processing on the service data.
Specifically, the consensus processing comprises that a block chain node sends a preprocessing block comprising service data to a consensus node, and the consensus node performs consensus verification on the preprocessing block; and if the preprocessing block passes the consensus verification, the block link point stores the preprocessing block into the block chain network.
Specifically, the attributes of the service data include a text type and an image type, and if the data attribute of the service data is the text type, the block link point encrypts the service data by using a preset private key of a public-private key pair corresponding to a user identifier included in the service data; and if the data attribute of the service data is the image type, determining the abstract of the service data by the block link point, and encrypting the abstract by using a preset private key of a public and private key pair corresponding to the user identifier contained in the service data.
Specifically, the uplink processing of the service data includes storing the service data in a block chain network to form a data field, where the data field includes: version number, public key, signature, hash value of the block to which the block belongs, timestamp and service priority.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (6)
1. A service data processing method based on a block chain is characterized by comprising the following steps:
s1, receiving a service transaction request of a client person by the block chain node, wherein the service transaction request comprises personal authentication data and service transaction data;
s2, determining the user identification corresponding to the personal authentication data by the blockchain network, and performing client personal authentication through an authentication mechanism;
s3, judging whether the client passes personal authentication, if so, determining the attribute of the service data by the block link points, and encrypting the service data according to the attribute;
and S4, carrying out consensus processing on the encrypted service data by using a formula algorithm, and carrying out uplink processing on the service data.
2. The method according to claim 1, wherein the consensus process comprises the blockchain node sending a pre-processing block including the service data to a consensus node, and the consensus node performs consensus verification on the pre-processing block; and if the preprocessing block passes the consensus verification, the block chain link point stores the preprocessing block into a block chain network.
3. The method according to claim 1, wherein the attributes of the service data include a text type and an image type, and if the data attribute of the service data is the text type, the block link point encrypts the service data by using a private key of a public-private key pair corresponding to a user identifier included in the service data, which is preset; and if the data attribute of the service data is the image type, the block chain node determines the abstract of the service data, and encrypts the abstract by using a preset private key of a public and private key pair corresponding to the user identifier contained in the service data.
4. The method according to claim 1, wherein the user identifier includes a location area, identity information, social information, and behavior habits corresponding to the user.
5. The method according to claim 1, wherein the user identifier is a unique identifier corresponding to a certification authority, and is used for identity certification and data tamper prevention.
6. The method of claim 1, wherein the uplink processing of the service data comprises storing the service data in a data field formed in the blockchain network, and the data field comprises: version number, public key, signature, hash value of the block to which the block belongs, timestamp and service priority.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010094614.6A CN111444520A (en) | 2020-02-13 | 2020-02-13 | Service data processing method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010094614.6A CN111444520A (en) | 2020-02-13 | 2020-02-13 | Service data processing method based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111444520A true CN111444520A (en) | 2020-07-24 |
Family
ID=71653932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010094614.6A Withdrawn CN111444520A (en) | 2020-02-13 | 2020-02-13 | Service data processing method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111444520A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112529402A (en) * | 2020-12-09 | 2021-03-19 | 杭州趣链科技有限公司 | Task delegation method, system, device, equipment and storage medium |
CN112905553A (en) * | 2021-02-07 | 2021-06-04 | 全链通有限公司 | Data sharing method, device and system based on block chain |
CN113420085A (en) * | 2021-06-07 | 2021-09-21 | 国网辽宁省电力有限公司信息通信分公司 | Block chain-based power network safety storage method and supervision and inspection method |
CN115865538A (en) * | 2023-02-24 | 2023-03-28 | 中国信息通信研究院 | Block chain data uplink method, device, electronic equipment and storage medium |
-
2020
- 2020-02-13 CN CN202010094614.6A patent/CN111444520A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112529402A (en) * | 2020-12-09 | 2021-03-19 | 杭州趣链科技有限公司 | Task delegation method, system, device, equipment and storage medium |
CN112905553A (en) * | 2021-02-07 | 2021-06-04 | 全链通有限公司 | Data sharing method, device and system based on block chain |
CN113420085A (en) * | 2021-06-07 | 2021-09-21 | 国网辽宁省电力有限公司信息通信分公司 | Block chain-based power network safety storage method and supervision and inspection method |
CN115865538A (en) * | 2023-02-24 | 2023-03-28 | 中国信息通信研究院 | Block chain data uplink method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11843584B2 (en) | Methods and systems for securing data in the public cloud | |
CN111444520A (en) | Service data processing method based on block chain | |
EP3701668B1 (en) | Methods for recording and sharing a digital identity of a user using distributed ledgers | |
WO2021175023A1 (en) | Electronic warehouse receipt source tracing method and apparatus, computer device, and storage medium | |
US9547769B2 (en) | Data protection hub | |
KR101613146B1 (en) | Method for encrypting database | |
CN113169866B (en) | Techniques for preventing collusion using simultaneous key distribution | |
US11195177B1 (en) | Distributed ledger systems for tracking recurring transaction authorizations | |
JP2002514799A (en) | Electronic transmission, storage and retrieval system and method for authenticated documents | |
CN106022155A (en) | Method and server for security management in database | |
US10909273B2 (en) | Selective data security within data storage layers | |
US20210365584A1 (en) | Portable reputation brokering using linked blockchains and shared events | |
CN113015991A (en) | Secure digital wallet processing system | |
CN112184444A (en) | Method, apparatus, device and medium for processing information based on information characteristics | |
KR20200097773A (en) | Blockchain-based identity system | |
US11729159B2 (en) | System security infrastructure facilitating protecting against fraudulent use of individual identity credentials | |
CN109741050B (en) | Method for extending the life of a financial IC card and related method and apparatus | |
CN110175318A (en) | A kind of settlement of insurance claim attachment generation method and device | |
US20240062190A1 (en) | Generating and maintaining digital tokens on a blockchain using physical device identifiers | |
EP2141667A1 (en) | Identifier calculation method for web services | |
JP2000306026A (en) | Electronic document processing method | |
CN118842634A (en) | Digital certificate distribution method, attribute certificate management terminal and certificate application terminal | |
CN118316718A (en) | Data processing method, device, storage medium and computer equipment | |
Baumann et al. | Privacy Preserving Data Collection | |
JP2006127311A (en) | Other company commodity important information management system |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200724 |
|
WW01 | Invention patent application withdrawn after publication |