WO2019233345A1 - 数据处理方法、系统、区块链平台以及可读存储介质 - Google Patents

数据处理方法、系统、区块链平台以及可读存储介质 Download PDF

Info

Publication number
WO2019233345A1
WO2019233345A1 PCT/CN2019/089438 CN2019089438W WO2019233345A1 WO 2019233345 A1 WO2019233345 A1 WO 2019233345A1 CN 2019089438 W CN2019089438 W CN 2019089438W WO 2019233345 A1 WO2019233345 A1 WO 2019233345A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
business
information
write
query
Prior art date
Application number
PCT/CN2019/089438
Other languages
English (en)
French (fr)
Inventor
王观飞
郁昌存
Original Assignee
京东数字科技控股有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 京东数字科技控股有限公司 filed Critical 京东数字科技控股有限公司
Publication of WO2019233345A1 publication Critical patent/WO2019233345A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to a data processing method, system, blockchain platform, and readable storage medium.
  • business systems mainly use a centralized architecture to store business data, and users can only obtain related business data information through a single channel, the business system.
  • the inventors have found that the current centralized business system cannot fully transparentize the information interaction in each link, especially the business interaction (for example, transaction fee settlement), the user's trust is weak, and the experience is poor.
  • the business interaction for example, transaction fee settlement
  • the user's trust is weak, and the experience is poor.
  • centralized data storage is subjected to a network attack, it is easy to cause system data to be tampered and lost, and the security is poor.
  • One technical problem to be solved by the present disclosure is: how to improve the security and transparency of business system interaction data.
  • the method further includes: receiving a write credential acquisition request sent by the business system through the credential acquisition interface, and the write credential acquisition request includes account information registered by the business system; verifying the account information of the business system, and verifying In the case of passing, the writing credential is returned to the business system, and the writing credential is valid for the first preset time.
  • the method further includes: receiving an information query request sent by a user through a query interface, the information query request includes: an interactive identifier of the business interaction information to be queried; and calling the interface of the blockchain system to initiate to the blockchain system Query the request, and receive the business interaction information returned by the blockchain system, and display the returned business interaction information to the user.
  • the returned business interaction information is obtained by the blockchain system according to the interaction identification query.
  • the information query request further includes a user's query credential; calling the interface of the blockchain system to initiate a query request to the blockchain system includes: verifying the user's query credential, and if the verification passes, calling the block The interface of the chain system initiates a query request to the blockchain system.
  • the method further includes: receiving a query credential acquisition request sent by a user through a credential acquisition interface, the query credential acquisition request includes account information registered by the user; verifying the user's account information, and if the verification is successful, The query credentials are returned to the user, and the query credentials are valid for a second preset time.
  • the business interaction information includes: the public field and the time stamp of the business interaction;
  • the storage success message returned by the blockchain system includes: the interaction identifier, the public field and the time stamp;
  • Publicizing information includes publicizing the interaction identifier, publicity field, and time stamp of the business interaction in chronological order.
  • the business interaction write request and storage request further include: the blockchain account information of the business system; the blockchain account information of the business system is used for the blockchain system to perform the write permission of the business system Consensus verification. In the case of verification, business interaction information is recorded in the blockchain.
  • a blockchain platform including: a write request receiving module for receiving a write request sent by a business system through a write interface, and the write request includes: business interaction information;
  • the information writing module is used to call the interface of the blockchain system to initiate a storage request to the blockchain system so that the blockchain system records business interaction information in the blockchain.
  • the storage request includes business interaction information; the information publicity module, It is used to receive the storage success message returned by the blockchain system, and publicize the public information corresponding to the business interaction information according to the storage success message.
  • the write request further includes write credentials of the business system;
  • the blockchain platform further includes: a first verification module for verifying the write credentials of the business system, and sends the verification result to the information write Module; the information writing module is used to verify the situation, call the blockchain system interface to initiate a storage request to the blockchain system.
  • the blockchain platform further includes: a write credential issuing module for receiving a write credential acquisition request sent by a business system through a credential acquisition interface, and the write credential acquisition request includes account information registered by the business system; The account information of the business system is verified, and if the verification is passed, the voucher is written to the return of the business system; wherein the write voucher is valid for the first preset time.
  • a write credential issuing module for receiving a write credential acquisition request sent by a business system through a credential acquisition interface, and the write credential acquisition request includes account information registered by the business system; The account information of the business system is verified, and if the verification is passed, the voucher is written to the return of the business system; wherein the write voucher is valid for the first preset time.
  • the blockchain platform further includes: a query request receiving module for receiving an information query request sent by a user through a query interface, the information query request includes: an interaction identifier of a business interaction information to be queried; the query module, which uses The interface for calling the blockchain system initiates a query request to the blockchain system, receives the business interaction information returned by the blockchain system, and displays the returned business interaction information to the user.
  • the returned business interaction information is based on the blockchain system's Get the interactive ID query.
  • the information query request further includes a user's query credentials
  • the blockchain platform further includes: a second verification module for verifying the user's query credentials, and sends the verification result to the query module;
  • the interface of the blockchain system is called to initiate a query request to the blockchain system.
  • the blockchain platform further includes: a query credential issuing module for receiving a query credential acquisition request sent by a user through a credential acquisition interface, and the query credential acquisition request includes account information registered by the user; Verification, if the verification is passed, the query credential is returned to the user; wherein the query credential is valid for the second preset time.
  • the business interaction write request and storage request further include: the blockchain account information of the business system; the blockchain account information of the business system is used for the blockchain system to perform the write permission of the business system Consensus verification. In the case of verification, business interaction information is recorded in the blockchain.
  • a blockchain platform including: a memory; and a processor coupled to the memory, the processor being configured to execute any implementation as described above based on instructions stored in the memory device.
  • Example data processing method Example data processing method.
  • a computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the data processing method of any of the foregoing embodiments.
  • a data processing system including: the blockchain platform of any of the foregoing embodiments; and a business system for sending a write request to the blockchain platform through a write interface, and Receive the write success message returned by the blockchain platform; the blockchain system is used to receive the storage request sent by the blockchain platform, record the business interaction information in the blockchain, and return the storage success message to the blockchain platform .
  • the present disclosure enables the business system to write business interaction information. Further call the blockchain system interface, write business interaction information into the blockchain, and publicize the relevant public information of the recorded data in the blockchain.
  • the solution disclosed in this disclosure opens up the business system and the blockchain system. Even if the business system is attacked and the data has been tampered with, all historical data can still be traced through the independent blockchain, thereby ensuring the security and accuracy of business interaction data. Sex. Further, an indiscriminate recording of interaction records by all participants can be achieved, thereby ensuring the openness and transparency of information content. At the same time, it satisfies users' right to know and supervise related information.
  • FIG. 2 is a schematic flowchart of a data processing method according to another embodiment of the present disclosure.
  • FIG. 4 shows a schematic structural diagram of a blockchain platform in some embodiments of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a blockchain platform according to still other embodiments of the present disclosure.
  • the present disclosure provides a data processing method, which enables business interaction information to be written into a blockchain for storage and publicity, and aims to improve the security and transparency of business interaction information.
  • a blockchain platform can be set between the business system and the blockchain system to connect the business system and the blockchain system.
  • the blockchain platform can be integrated into the business system or the blockchain system, or it can be independent Settings.
  • the blockchain platform provides various interfaces to the business system.
  • the business system can write interactive information, query interactive information, and so on through different interfaces. Other users can also query various interactive information in the blockchain system through the interface of the blockchain platform, improving the openness and transparency of the interactive information.
  • FIG. 1 is a flowchart of some embodiments of a data processing method of the present disclosure. As shown in FIG. 1, the method in this embodiment includes steps S102 to S106.
  • step S102 a write request sent by a service system through a write interface is received.
  • the write request includes, for example, business interaction information.
  • the business interaction information includes, for example, business interaction details, business system identification, and the like.
  • the business interaction details are used to specifically describe the interaction content, such as the two parties, time, payment fees, specific services, and so on. It may further include: an interactive time stamp and a self-defined publicity field of the business system, and the publicity field may be used in subsequent publicity steps. If different services or products are distinguished, the service identification or product identification may also include: remark information.
  • the information related to the business interaction to be written can be selected according to actual needs, and is not limited to the examples given.
  • the business interaction information may be business transaction information, such as information about the two parties purchasing goods, or the business interaction information may be information such as inquiries and visits by the two parties to the business.
  • the business system can send write requests through the write interface provided by the blockchain platform.
  • the request format is, for example, HTTP POST.
  • step S104 the interface of the blockchain system is called to initiate a storage request to the blockchain system, so that the blockchain system records business interaction information in the blockchain.
  • the storage request includes business interaction information.
  • the blockchain system includes several nodes, which can be understood as the entity system that carries the blockchain.
  • the blockchain system can provide API (Application Programming Interface) or SDK (Software Development Kit, Software Development Kit).
  • a blockchain platform can be an intermediate platform for blockchain systems and business systems.
  • the blockchain platform can call the interface of the blockchain system to write business interaction information into the blockchain.
  • the blockchain platform can submit business interaction information to any node.
  • the business interaction information can then be broadcast to all or part of the nodes in the blockchain system.
  • the nodes that receive the broadcast information perform consensus verification. After the verification passes, the business interaction Information is generated into blocks, and each node adds the block to the blockchain, that is, each node stores business interaction information.
  • the blockchain account can correspond to the public and private key pair, and the public key is known to the entire network node.
  • the business system can use the private key to sign the business interaction information.
  • the node uses the corresponding public key to verify the signature, so as to determine that the business interaction information is sent by a business system with write permission.
  • step S106 the storage success message returned by the blockchain system is received, and the public information corresponding to the business interaction information is publicized according to the storage success message.
  • the blockchain system can be set to return a storage success message to the blockchain platform in real time.
  • the storage success message includes, for example, an interaction identifier corresponding to business interaction information, a public field, time information, and a business system identifier.
  • the interaction identification is generated by the blockchain system after the business interaction information is written into the blockchain, based on the business interaction information.
  • the publicity field may be the publicity field included in the business interaction information submitted by the business system before, for example, including both parties to the interaction, payment of fees, and specific services.
  • the publicity field is, for example, A paying 100 yuan for the cost of item C to B.
  • the time information is the business interaction time stamp.
  • the publicity information corresponding to the business interaction information includes, for example, an interaction identifier, a publicity field, and time information.
  • the blockchain platform can publicize the interaction identification, publicity fields, and time stamps of business interactions in chronological order. Further, the public information may also include a service system identification and the like.
  • the blockchain platform in this disclosure can provide interfaces for business systems and other users. In order to ensure the security of information interaction, the process of calling interfaces by users can be verified, which will be described below with reference to FIG. 2.
  • Step S202 The blockchain platform receives a write credential acquisition request sent by a business system through a credential acquisition interface.
  • step S204 the blockchain platform verifies the account information of the business system, and if the verification is passed, writes credentials to the business system's return.
  • Step S206 The blockchain platform receives a write request sent by the business system through a write interface.
  • the write request includes: business interaction information, write credentials, and blockchain account information of the business system.
  • step S208 the blockchain platform verifies the write credentials of the business system. If the verification is passed, step S210 is performed, otherwise step S209 is performed.
  • step S209 the blockchain platform returns a credential verification failure message to the business system.
  • Step S210 The blockchain platform invokes the interface of the blockchain system to initiate a storage request to the blockchain system.
  • Step S213 The blockchain system returns a storage failure message to the business system through the blockchain platform.
  • Step S214 The blockchain platform receives the storage success message returned by the blockchain system, and publicizes the public information corresponding to the business interaction information according to the storage success message.
  • the method of the above embodiment ensures the security of information interaction and interface invocation through multiple authentications to the business system, reduces the possibility of illegal users stealing the identity of legitimate users to provide false interaction information, and further improves the business system interaction information. Security and transparency.
  • the blockchain platform publicizes the public information corresponding to the business interaction information of the business system. Other users can query the public information on the blockchain platform. Further, in order to ensure the accuracy of the query information, this disclosure proposes some methods for querying business interaction information. The embodiment is described below with reference to FIG. 3.
  • FIG. 3 is a flowchart of another embodiment of a data processing method of the present disclosure. As shown in FIG. 3, the method in this embodiment includes steps S302 to S316.
  • Step S302 The blockchain platform receives a query credential acquisition request sent by a user through a credential acquisition interface.
  • the query credential acquisition request includes account information registered by the user. Users can be business systems or other users registered on the blockchain platform.
  • step S304 the blockchain platform verifies the user's account information. If the verification succeeds, step S306 is performed; otherwise, step S305 is performed.
  • step S306 the blockchain platform returns query credentials to the user.
  • step S310 the blockchain platform verifies the query credentials of the business system. If the verification is passed, step S312 is performed, otherwise step S311 is performed.
  • Step S311 The blockchain platform returns a credential verification failure message to the business system.
  • step S312 the blockchain platform invokes the interface of the blockchain system to initiate a query request to the blockchain system.
  • the query request may include: an interaction identifier of the business interaction information to be queried.
  • Step S314 The blockchain system queries the corresponding business interaction information according to the interaction identifier.
  • Step S316 The blockchain system returns the business interaction information obtained by the query to the user through the blockchain platform.
  • the user can also query the interactive information list of other users, the interactive information of a specific time period, and the interactive information of related products, services, or projects.
  • the interactive information list of other users the interactive information of a specific time period
  • the interactive information of related products, services, or projects the interactive information of related products, services, or projects.
  • the blockchain platform can also provide users with a blockchain account registration interface.
  • the user calls this interface to register an account in the blockchain system through the blockchain platform.
  • the user can refer to the calling method of the write interface or query interface to obtain the interface call credentials.
  • the user can also call the blockchain account query interface of the blockchain platform to query whether the blockchain account registered by him is successful. For example, the user invokes the blockchain account query interface of the blockchain platform to enter his own blockchain account information.
  • the blockchain platform sends the user's blockchain account information to the blockchain system and receives the blockchain system return. Information about the existence of the account is returned to the user.
  • the user Before calling the blockchain account query interface of the blockchain platform, the user can first obtain the corresponding interface call credentials.
  • the solution of this disclosure is applicable to any user's secure and transparent storage of information, not just business systems. Any user can register on the blockchain platform, so as to realize the safe and transparent storage of information in the blockchain and guarantee the traceability of the information.
  • the present disclosure also provides a blockchain platform, which is described below with reference to FIG. 4.
  • FIG. 4 is a structural diagram of some embodiments of a blockchain platform of the present disclosure.
  • the blockchain platform 40 of this embodiment includes a write request receiving module 402, an information writing module 404, and an information publicity module 406.
  • the write request receiving module 402 is configured to receive a write request sent by a service system through a write interface, and the write request includes service interaction information.
  • the write request and the storage request further include: the blockchain account information of the business system; the blockchain account information of the business system is used by the blockchain system for consensus verification of the write permission of the business system In the case of verification, business interaction information is recorded in the blockchain.
  • consensus verification reference may be made to the foregoing embodiments.
  • the information publicity module 406 is configured to receive the storage success message returned by the blockchain system, and publicize the public information corresponding to the business interaction information according to the storage success message.
  • the business interaction information includes: a public field and a time stamp of the business interaction;
  • the storage success message returned by the blockchain system includes: an interaction identifier, a public field, and a time stamp.
  • the information publicity module is used to publicize the interaction identifier, publicity field, and time stamp of the business interaction in chronological order.
  • FIG. 5 is a structural diagram of another embodiment of a blockchain platform of the present disclosure.
  • the blockchain platform 50 of this embodiment includes: a write request receiving module 502, an information write module 504, and an information publicity module 506, respectively, with the write request receiving module 402 and the information write module 404, The information publicity module 406 is similar.
  • the write request further includes write credentials of the business system.
  • the blockchain platform 50 further includes: a first verification module 508, configured to verify write credentials of the business system, and send the verification result to the information write module 504.
  • the information writing module 504 is configured to call the interface of the blockchain system to initiate a storage request to the blockchain system if the verification is passed.
  • the blockchain platform 50 further includes: a write credential issuing module 510, configured to receive a write credential acquisition request sent by a business system through a credential acquisition interface, and the write credential acquisition request includes a registered business system Account information; verify the account information of the business system, and if the verification is passed, write credentials to the return of the business system.
  • the written credential is valid for the first preset time.
  • the blockchain platform 50 further includes: a query request receiving module 512, configured to receive an information query request sent by a user through a query interface, where the information query request includes: an interaction identifier of the business interaction information to be queried.
  • a query request receiving module 512 configured to receive an information query request sent by a user through a query interface, where the information query request includes: an interaction identifier of the business interaction information to be queried.
  • the blockchain platform 50 also includes a query module 514, which is used to call the interface of the blockchain system to initiate a query request to the blockchain system, and receive the business interaction information returned by the blockchain system, and display the returned business interaction information to Users, the business interaction information returned is obtained by the blockchain system based on the interaction identification query.
  • a query module 514 which is used to call the interface of the blockchain system to initiate a query request to the blockchain system, and receive the business interaction information returned by the blockchain system, and display the returned business interaction information to Users, the business interaction information returned is obtained by the blockchain system based on the interaction identification query.
  • the information query request further includes the query credentials of the user.
  • the blockchain platform 50 further includes a second verification module 516 for verifying the user's query credentials, and sending the verification results to the query module.
  • the query module 514 is configured to call the interface of the blockchain system to initiate a query request to the blockchain system if the verification is passed.
  • the blockchain platform 50 further includes: a query credential issuing module 518, configured to receive a query credential acquisition request sent by a user through a credential acquisition interface, where the query credential acquisition request includes account information registered by the user; verifying the user's account information, If the verification is passed, the query credential is returned to the user; the query credential is valid for a second preset time.
  • a query credential issuing module 518 configured to receive a query credential acquisition request sent by a user through a credential acquisition interface, where the query credential acquisition request includes account information registered by the user; verifying the user's account information, If the verification is passed, the query credential is returned to the user; the query credential is valid for a second preset time.
  • FIG. 6 is a structural diagram of some embodiments of a blockchain platform of the present disclosure.
  • the blockchain platform 60 of this embodiment includes a memory 610 and a processor 620 coupled to the memory 610.
  • the processor 620 is configured to execute the present disclosure based on instructions stored in the memory 610.
  • a data processing method in any of the embodiments.
  • the memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, and the like.
  • the system memory stores, for example, an operating system, an application program, a boot loader, a database, and other programs.
  • FIG. 7 is a structural diagram of another embodiment of a blockchain platform of the present disclosure.
  • the blockchain platform 70 of this embodiment includes a memory 710 and a processor 720, which are similar to the memory 610 and the processor 620, respectively. It may also include an input-output interface 730, a network interface 740, a storage interface 750, and the like. These interfaces 730, 740, 750, and the memory 710 and the processor 720 may be connected through a bus 760, for example.
  • the input / output interface 730 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen.
  • the network interface 740 provides a connection interface for various networked devices, for example, it can be connected to a database server or a cloud storage server.
  • the storage interface 750 provides a connection interface for external storage devices such as an SD card and a U disk.
  • the present disclosure also provides a data processing system, which is described below with reference to FIG. 8.
  • FIG. 8 is a structural diagram of some embodiments of a data processing system of the present disclosure.
  • the data processing system 8 of this embodiment includes: the blockchain platform 40/50/60/70 in any of the foregoing embodiments; and a business system 82 and a blockchain system 84.
  • Business system 82 for sending a write request to the blockchain platform 40/50/60/70 through a write interface, and receiving a write success message returned by the blockchain platform 40/50/60/70;
  • the blockchain system 84 is used to receive the accounting request sent by the blockchain platform 40/50/60/70, record the business interaction information in the blockchain, and report to the blockchain platform 40/50/60/70 Returns a storage success message.
  • the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Therefore, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code therein. .
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a specific manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, and the The instructions provide steps configured to implement the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本公开涉及一种数据处理方法、系统、区块链平台以及可读存储介质,涉及计算机技术领域。本公开的方法包括:接收业务系统通过写入接口发送的写入请求,写入请求包括:业务交互信息;调用区块链系统的接口向区块链系统发起存储请求,以便区块链系统将业务交互信息记录于区块链中,存储请求包括业务交互信息;接收区块链系统返回的存储成功消息,根据存储成功消息对业务交互信息对应的公示信息进行公示。

Description

数据处理方法、系统、区块链平台以及可读存储介质
相关申请的交叉引用
本申请是以CN申请号为201810582161.4,申请日为2018年6月6日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及计算机技术领域,特别涉及一种数据处理方法、系统、区块链平台以及可读存储介质。
背景技术
企业中的业务系统,一般用来开展对外业务,记录与客户之间的业务往来信息。例如,广告营销方面的业务系统,可以管理投放广告位,管理投放广告内容,记录广告主与企业的业务往来的相关信息等等。
目前,业务系统主要采用集中式的架构来存储业务数据,并且用户只能通过业务系统这种单一渠道获取相关业务数据信息。
发明内容
发明人发现,目前集中式的业务系统,在各个环节的信息交互,尤其是业务交互(例如,交易费用结算)方面不能做到完全透明化,用户信任感薄弱,体验较差。并且集中式的数据存储在遭受网络攻击时,容易导致系统数据被篡改、丢失,安全性较差。
本公开所要解决的一个技术问题是:如何提高业务系统交互数据的安全性和透明性。
根据本公开的一些实施例,提供的一种数据处理方法,包括:接收业务系统通过写入接口发送的写入请求,写入请求包括:业务交互信息;调用区块链系统的接口向区块链系统发起存储请求,以便区块链系统将业务交互信息记录于区块链中,存储请求包括业务交互信息;接收区块链系统返回的存储成功消息,根据存储成功消息对业务交互信息对应的公示信息进行公示。
在一些实施例中,写入请求还包括业务系统的写入凭证;调用区块链系统的接口 向区块链系统发起存储请求包括:对业务系统的写入凭证进行验证,验证通过的情况下,调用区块链系统的接口向区块链系统发起存储请求。
在一些实施例中,该方法还包括:接收业务系统通过凭证获取接口发送的写入凭证获取请求,写入凭证获取请求包括业务系统注册的账户信息;对业务系统的账户信息进行验证,在验证通过的情况下,向业务系统的返回写入凭证,写入凭证在第一预设时间内有效。
在一些实施例中,该方法还包括:接收用户通过查询接口发送的信息查询请求,信息查询请求包括:欲查询的业务交互信息的交互标识;调用区块链系统的接口向区块链系统发起查询请求,并接收区块链系统返回的业务交互信息,将返回的业务交互信息显示给用户,返回的业务交互信息是区块链系统根据交互标识查询得到。
在一些实施例中,信息查询请求还包括用户的查询凭证;调用区块链系统的接口向区块链系统发起查询请求包括:对用户的查询凭证进行验证,验证通过的情况下,调用区块链系统的接口向区块链系统发起查询请求。
在一些实施例中,该方法还包括:接收用户通过凭证获取接口发送的查询凭证获取请求,查询凭证获取请求包括用户注册的账户信息;对用户的账户信息进行验证,在验证通过的情况下,向用户的返回查询凭证,查询凭证在第二预设时间内有效。
在一些实施例中,业务交互信息包括:公示字段和业务交互的时间戳;区块链系统返回的存储成功消息包括:交互标识、公示字段和时间戳;根据存储成功消息对业务交互信息对应的公示信息进行公示包括:按照时间顺序将交互标识、公示字段和业务交互的时间戳进行公示。
在一些实施例中,业务交互写入请求和存储请求中还包括:业务系统的区块链账户信息;业务系统的区块链账户信息用于区块链系统对业务系统的写入权限的进行共识验证,在验证通过的情况下,业务交互信息被记录于区块链中。
根据本公开的另一些实施例,提供的一种区块链平台,包括:写入请求接收模块,用于接收业务系统通过写入接口发送的写入请求,写入请求包括:业务交互信息;信息写入模块,用于调用区块链系统的接口向区块链系统发起存储请求,以便区块链系统将业务交互信息记录于区块链中,存储请求包括业务交互信息;信息公示模块,用于接收区块链系统返回的存储成功消息,根据存储成功消息对业务交互信息对应的公示信息进行公示。
在一些实施例中,写入请求还包括业务系统的写入凭证;区块链平台还包括:第 一验证模块,用于对业务系统的写入凭证进行验证,将验证结果发送至信息写入模块;信息写入模块用于验证通过的情况下,调用区块链系统的接口向区块链系统发起存储请求。
在一些实施例中,区块链平台还包括:写入凭证发放模块,用于接收业务系统通过凭证获取接口发送的写入凭证获取请求,写入凭证获取请求包括业务系统注册的账户信息;对业务系统的账户信息进行验证,在验证通过的情况下,向业务系统的返回写入凭证;其中,写入凭证在第一预设时间内有效。
在一些实施例中,区块链平台还包括:查询请求接收模块,用于接收用户通过查询接口发送的信息查询请求,信息查询请求包括:欲查询的业务交互信息的交互标识;查询模块,用于调用区块链系统的接口向区块链系统发起查询请求,并接收区块链系统返回的业务交互信息,将返回的业务交互信息显示给用户,返回的业务交互信息是区块链系统根据交互标识查询得到。
在一些实施例中,信息查询请求还包括用户的查询凭证;区块链平台还包括:第二验证模块,用于对用户的查询凭证进行验证,将验证结果发送至查询模块;查询模块用于验证通过的情况下,调用区块链系统的接口向区块链系统发起查询请求。
在一些实施例中,区块链平台还包括:查询凭证发放模块,用于接收用户通过凭证获取接口发送的查询凭证获取请求,查询凭证获取请求包括用户注册的账户信息;对用户的账户信息进行验证,在验证通过的情况下,向用户的返回查询凭证;其中,查询凭证在第二预设时间内有效。
在一些实施例中,业务交互信息包括:公示字段和业务交互的时间戳;区块链系统返回的存储成功消息包括:交互标识、公示字段和时间戳;信息公示模块用于按照时间顺序将交互标识、公示字段和业务交互的时间戳进行公示。
在一些实施例中,业务交互写入请求和存储请求中还包括:业务系统的区块链账户信息;业务系统的区块链账户信息用于区块链系统对业务系统的写入权限的进行共识验证,在验证通过的情况下,业务交互信息被记录于区块链中。
根据本公开的又一些实施例,提供的一种区块链平台,包括:存储器;以及耦接至存储器的处理器,处理器被配置为基于存储在存储器设备中的指令,执行如前述任意实施例的数据处理方法。
根据本公开的再一些实施例,提供的一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现前述任意实施例的数据处理方法。
根据本公开的又一些实施例,提供的一种数据处理系统,包括:前述任意实施例的区块链平台;以及业务系统,用于向区块链平台通过写入接口发送写入请求,并接收区块链平台返回的写入成功消息;区块链系统,用于接收区块链平台发送的存储请求,将业务交互信息记录于区块链中,并向区块链平台返回存储成功消息。
本公开中通过对业务系统提供接口,使业务系统能够将业务交互信息写入。进一步调用区块链系统接口,将业务交互信息写入区块链中并对区块链中的记录的数据的相关公示信息进行公示。本公开的方案打通业务系统与区块链系统,即使业务系统受到了攻击,数据遭到了篡改,所有历史数据仍然可通过独立的区块链进行追溯,从而保障了业务交互数据的安全性和准确性。进一步,可以实现所有参与人对交互记录的无差别记录,因而保证了信息内容的公开透明。同时满足用户对于相关信息的知情权、监督权。
通过以下参照附图对本公开的示例性实施例的详细描述,本公开的其它特征及其优点将会变得清楚。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明被配置为解释本公开,并不构成对本公开的不当限定。在附图中:
图1示出本公开的一些实施例的数据处理方法的流程示意图。
图2示出本公开的另一些实施例的数据处理方法的流程示意图。
图3示出本公开的又一些实施例的数据处理方法的流程示意图。
图4示出本公开的一些实施例的区块链平台的结构示意图。
图5示出本公开的另一些实施例的区块链平台的结构示意图。
图6示出本公开的又一些实施例的区块链平台的结构示意图。
图7示出本公开的再一些实施例的区块链平台的结构示意图。
图8示出本公开的一些实施例的数据处理系统的结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。 以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开提供一种数据处理方法,实现业务交互信息写入区块链进行存储并公示,旨在提高业务交互信息的安全性和透明性。本公开中可以在业务系统与区块链系统之间设置区块链平台,用于连通业务系统与区块链系统,区块链平台可以集成于业务系统或区块链系统中,也可以独立设置。区块链平台对业务系统提供各种接口,业务系统可以通过不同的接口写入交互信息、查询交互信息等等。其他用户也可以通过区块链平台的接口查询区块链系统中的各种交互信息,提高交互信息的公开性和透明性。下面结合图1描述本公开的数据处理方法的一些实施例。
图1为本公开数据处理方法一些实施例的流程图。如图1所示,该实施例的方法包括:步骤S102~S106。
在步骤S102中,接收业务系统通过写入接口发送的写入请求。
写入请求例如包括:业务交互信息。业务交互信息例如包括:业务交互详情、业务系统标识等,业务交互详情用于具体描述交互内容,例如交互双方、时间、支付费用、具体业务等等。进一步还可以包括:交互时间戳和业务系统自定义的公示字段,公示字段可以用于后续的公示步骤。如果区分不同的业务或产品还可以包括:业务标识或产品标识等,还可以包括:备注信息。可以根据实际需求选择欲写入的与业务交互相关的信息,不限于所举示例。业务交互信息可以为业务交易信息,例如交易双方购买商品等信息,或者,业务交互信息可以是交互双方对业务的查询、访问等信息。
业务系统可以通过区块链平台提供的写入接口发送写入请求。请求格式例如为HTTP POST。
在步骤S104中,调用区块链系统的接口向区块链系统发起存储请求,以便区块链系统将业务交互信息记录于区块链中。
存储请求包括业务交互信息。区块链系统中包括若干节点,可以理解为承载区块链的实体系统。区块链系统可以对外提供API(Application Programming Interface,应用程序编程接口)或SDK(Software Development Kit,软件开发工具包)。区块链平台可以是区块链系统和业务系统的中间平台。区块链平台可以调用区块链系统的接口将业务交互信息写入区块链。区块链平台可以将业务交互信息提交至任意节点,业务交互信息之后可以被广播到区块链系统中的全部节点或部分节点,由接收到广播 信息的节点进行共识验证,验证通过后业务交互信息会被生成区块,各个节点将区块加入区块链中,即各个节点对业务交互信息进行存储。
上述区块链系统中的节点对业务交互信息进行共识验证的过程例如包括:区块链系统中的节点验证业务系统的写入权限,以及验证交互信息的提交者为该业务系统。区块链系统中的节点对业务交互信息的提交者(即业务系统)的写入权限进行验证,即验证业务系统是否有在区块链系统中写入的权限。业务系统可以预先注册区块链账户作为写入的身份标识,成为区块链系统中的节点,区块链系统中的其他节点可以对业务系统的账户信息进行验证,确定其是否有写入权限。进一步,针对证交互信息的提交者为该业务系统的过程,区块链账户可以对应公私密钥对,公钥为全网节点公知的,业务系统可以利用私钥对业务交互信息进行签名,其他节点利用对应的公钥验签,从而确定该业务交互信息是由具有写入权限的业务系统发送的。
可以采用拜占庭容错算法(PBFT)实现区块链中节点对于存储请求进行验证,验证方法可以通过智能合约进行约定,不限于所举示例。业务交互信息在区块链中存储时,可以存储根据业务交互信息生成的哈希值,业务交互详情可以在区块中的描述字段进行存储,具体存储方式可以根据需求进行设置。
在步骤S106中,接收区块链系统返回的存储成功消息,根据存储成功消息对业务交互信息对应的公示信息进行公示。
可以设置区块链系统实时向区块链平台返回存储成功消息。存储成功消息中例如包括:业务交互信息对应的交互标识,公示字段,时间信息,以及业务系统标识等。交互标识是由区块链系统将业务交互信息写入区块链后,根据业务交互信息生成的。公示字段可以是业务系统之前提交业务交互信息中包含的公示字段,例如包括:交互双方、支付费用、具体业务。公示字段例如为A向B支付项目C的费用100元。时间信息为业务交互时间戳。业务交互信息对应的公示信息例如包括:交互标识、公示字段和时间信息。
如果业务系统没有提交公示字段,业务交互信息对应的公示信息也可以是区块链中存储的业务交互信息。或者,区块链平台可以自动对业务交互信息提取公示字段。例如,区块链平台可以基于自然语言处理算法,从业务交互信息中提取出交互双方信息、费用信息、业务信息等,从而生成公示字段。公示字段中为保证用户隐私性可以将交互双方信息利用交互双方在区块链平台中分配的唯一标识代替,而不显示真实名称。
区块链平台可以按照时间顺序将交互标识、公示字段和业务交互的时间戳进行公示。进一步,公示信息还可以包括业务系统标识等。
上述实施例的方法中区块链平台对外向业务系统提供接口,使业务系统能够将业务交互信息写入。进一步区块链平台调用区块链系统接口,将业务交互信息写入区块链中并对区块链中的记录的数据的相关公示信息进行公示。上述实施例的方案打通业务系统与区块链系统,即使业务系统受到了攻击,数据遭到了篡改,所有历史数据仍然可通过独立的区块链进行追溯,从而保障了业务交互数据的安全性和准确性。进一步,可以实现所有参与人对交互记录的无差别记录,因而保证了信息内容的公开透明,满足用户对于相关信息的知情权、监督权。在业务交互信息包括业务交易信息的情况下,可以降低业务结算的沟通成本,增强业务费用的客观性与可信度,提升用户体验。
本公开中的区块链平台可以为业务系统提供接口,也可以为其他用户提供接口,为保证信息交互的安全性,可以对用户调用接口的过程进行验证,下面结合图2进行描述。
图2为本公开数据处理方法另一些实施例的流程图。如图2所示,该实施例的方法包括:步骤S202~S214。
步骤S202,区块链平台接收业务系统通过凭证获取接口发送的写入凭证获取请求。
业务系统或其他用户在调用区块链平台的接口之前,需要获取相应的接口调用凭证,持有该接口调用凭证的用户才能够调用接口。写入凭证请求包括业务系统注册的账户信息。业务系统注册的账户信息例如包括业务系统在区块链平台注册的账户名(唯一标识)、密钥等。
步骤S204,区块链平台对业务系统的账户信息进行验证,在验证通过的情况下,向业务系统的返回写入凭证。
业务系统的账户信息例如对业务系统在区块链平台注册的账户名、密钥进行验证,验证通过的情况下,向业务系统返回写入凭证。如果验证不通过,则向业务系统返回验证失败的消息。也可以采用业务系统进行签名、区块链平台进行验签的方式对业务系统进行验证,可以根据实际选取验证方式,只要能够验证业务系统的唯一身份,避免非法用户盗用业务系统身份即可,不限于所举示例。用户在区块链平台注册账户时,可以对用户的身份进行审核,进一步确保信息的安全性。
为进一步确保接口调用的安全性,可以设置写入凭证在第一预设时间内有效。即业务系统只能在预设时间内凭借写入凭证调用写入接口,超过期限则无法调用。写入 凭证例如为区块链平台根据预设规则生成的密码。在对用户账户信息进行审核通过后,为用户分配对应的权限,例如包括交互信息查询、交互信息写入等权限。
步骤S206,区块链平台接收业务系统通过写入接口发送的写入请求。
写入请求包括:业务交互信息,写入凭证,业务系统的区块链账户信息。
步骤S208,区块链平台对业务系统的写入凭证进行验证,如果验证通过,则执行步骤S210,否则执行步骤S209。
步骤S209,区块链平台向业务系统返回凭证验证失败消息。
步骤S210,区块链平台调用区块链系统的接口向区块链系统发起存储请求。
存储请求包括:业务交互信息,业务系统的区块链账户信息等。区块链平台可以是对一个或多个节点发布存储请求,也可以对全部节点发布存储请求,并在存储请求中业务交互信息被验证通过后,由各个节点将业务交互信息写入区块链中。
步骤S212,区块链系统对存储请求中的信息进行共识验证,如果验证通过,则执行步骤S214,否则,执行步骤S213。
共识验证可参考前述实施例中的方法。
步骤S213,区块链系统通过区块链平台向业务系统返回存储失败的消息。
步骤S214,区块链平台接收区块链系统返回的存储成功消息,根据存储成功消息对业务交互信息对应的公示信息进行公示。
上述实施例的方法,通过多次对业务系统的身份验证,确保了信息交互和接口调用的安全性,降低了非法用户盗用合法用户身份提供虚假交互信息的可能性,进一步提高了业务系统交互信息的存储的安全性和透明性。
区块链平台对业务系统的业务交互信息对应的公示信息进行公示,其他用户可以在区块链平台查询公示信息,进一步,为确保查询的信息的准确性,本公开提出一些查询业务交互信息的实施例,下面结合图3进行描述。
图3为本公开数据处理方法另一些实施例的流程图。如图3所示,该实施例的方法包括:步骤S302~S316。
步骤S302,区块链平台接收用户通过凭证获取接口发送的查询凭证获取请求。
查询凭证获取请求包括用户注册的账户信息。用户可以是业务系统也可以是其他在区块链平台注册的用户。
步骤S304,区块链平台对用户的账户信息进行验证,如果验证通过,则执行步骤S306,否则,执行步骤S305。
步骤S305,区块链平台向用户发送凭证获取失败消息。
步骤S306,区块链平台向用户的返回查询凭证。
可以设置查询凭证在第二预设时间内有效。
步骤S308,区块链平台接收用户通过查询接口发送的信息查询请求。
信息查询请求可以包括:欲查询的业务交互信息的交互标识。
步骤S310,区块链平台对业务系统的查询凭证进行验证,如果验证通过,则执行步骤S312,否则执行步骤S311。
步骤S311,区块链平台向业务系统返回凭证验证失败消息。
步骤S312,区块链平台调用区块链系统的接口向区块链系统发起查询请求。
查询请求可以包括:欲查询的业务交互信息的交互标识。
步骤S314,区块链系统根据交互标识查询相应的业务交互信息。
区块链系统在查询之前可以对用户的区块链账户信息进行验证,确认用户具有查询权限。
步骤S316,区块链系统通过区块链平台向用户返回查询得到的业务交互信息。
用户除了根据交互标识查询交互信息的方式外,还可以查询其他用户的交互信息列表,特定时间段的交互信息,相关产品、业务或项目的交互信息等。具体查询方法可以参考上述实施例,在此不再赘述。
上述实施例的方法中区块链平台对合法用户提供查询接口,通过向区块链查询交互信息,保证了用户查询的信息的准确性和透明性。通过对用户身份的多次验证,提高了信息交互的安全性。
区块链平台还可以向用户提供区块链账户注册接口,用户调用该接口通过区块链平台在区块链系统中注册账户。在调用区块链账户注册接口之前,用户可以参考写入接口或查询接口的调用方法,先获取接口调用凭证。进一步,用户还可以调用区块链平台的区块链账户查询接口,查询自己注册的区块链账户是否成功。例如,用户调用区块链平台的区块链账户查询接口输入自己的区块链账户信息,区块链平台将用户的区块链账户信息发送至区块链系统,并接收区块链系统返回的账户是否存在的信息,返回至用户。在调用区块链平台的区块链账户查询接口,用户可以先获取相应的接口调用凭证。
本公开的方案适用于任何用户对信息安全、透明的存储,不仅仅是业务系统。任何用户均可以在区块链平台进行注册,从而实现信息在区块链中安全、透明的存储以 及保证信息的可追溯性。
本公开还提供一种区块链平台,下面结合图4进行描述。
图4为本公开区块链平台的一些实施例的结构图。如图4所示,该实施例的区块链平台40包括:写入请求接收模块402,信息写入模块404,信息公示模块406。
写入请求接收模块402,用于接收业务系统通过写入接口发送的写入请求,写入请求包括:业务交互信息。
信息写入模块404,用于调用区块链系统的接口向区块链系统发起存储请求,以便区块链系统将业务交互信息记录于区块链中,存储请求包括业务交互信息。
在一些实施例中,写入请求和存储请求中还包括:业务系统的区块链账户信息;业务系统的区块链账户信息用于区块链系统对业务系统的写入权限的进行共识验证,在验证通过的情况下,业务交互信息被记录于区块链中。共识验证可以参考前述实施例。
信息公示模块406,用于接收区块链系统返回的存储成功消息,根据存储成功消息对业务交互信息对应的公示信息进行公示。
在一些实施例中,业务交互信息包括:公示字段和业务交互的时间戳;区块链系统返回的存储成功消息包括:交互标识、公示字段和时间戳。信息公示模块用于按照时间顺序将交互标识、公示字段和业务交互的时间戳进行公示。
图5为本公开区块链平台的另一些实施例的结构图。如图5所示,该实施例的区块链平台50包括:写入请求接收模块502,信息写入模块504,信息公示模块506,分别与写入请求接收模块402,信息写入模块404,信息公示模块406类似。
在一些实施例中,写入请求还包括业务系统的写入凭证。区块链平台50还包括:第一验证模块508,用于对业务系统的写入凭证进行验证,将验证结果发送至信息写入模块504。信息写入模块504用于验证通过的情况下,调用区块链系统的接口向区块链系统发起存储请求。
在一些实施例中,区块链平台50还包括:写入凭证发放模块510,用于用于接收业务系统通过凭证获取接口发送的写入凭证获取请求,写入凭证获取请求包括业务系统注册的账户信息;对业务系统的账户信息进行验证,在验证通过的情况下,向业务系统的返回写入凭证。其中,写入凭证在第一预设时间内有效。
在一些实施例中,区块链平台50还包括:查询请求接收模块512,用于接收用户通过查询接口发送的信息查询请求,信息查询请求包括:欲查询的业务交互信息的交 互标识。
区块链平台50还包括:查询模块514,用于调用区块链系统的接口向区块链系统发起查询请求,并接收区块链系统返回的业务交互信息,将返回的业务交互信息显示给用户,返回的业务交互信息是区块链系统根据交互标识查询得到。
在一些实施例中,信息查询请求还包括用户的查询凭证。区块链平台50还包括:第二验证模块516,用于对用户的查询凭证进行验证,将验证结果发送至查询模块。查询模块514用于验证通过的情况下,调用区块链系统的接口向区块链系统发起查询请求。
进一步,区块链平台50还包括:查询凭证发放模块518,用于接收用户通过凭证获取接口发送的查询凭证获取请求,查询凭证获取请求包括用户注册的账户信息;对用户的账户信息进行验证,在验证通过的情况下,向用户的返回查询凭证;其中,查询凭证在第二预设时间内有效。
本公开的实施例中的区块链平台可各由各种计算设备或计算机系统来实现,下面结合图6以及图7进行描述。
图6为本公开区块链平台的一些实施例的结构图。如图6所示,该实施例的区块链平台60包括:存储器610以及耦接至该存储器610的处理器620,处理器620被配置为基于存储在存储器610中的指令,执行本公开中任意一些实施例中的数据处理方法。
其中,存储器610例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)、数据库以及其他程序等。
图7为本公开区块链平台的另一些实施例的结构图。如图7所示,该实施例的区块链平台70包括:存储器710以及处理器720,分别与存储器610以及处理器620类似。还可以包括输入输出接口730、网络接口740、存储接口750等。这些接口730,740,750以及存储器710和处理器720之间例如可以通过总线760连接。其中,输入输出接口730为显示器、鼠标、键盘、触摸屏等输入输出设备提供连接接口。网络接口740为各种联网设备提供连接接口,例如可以连接到数据库服务器或者云端存储服务器等。存储接口750为SD卡、U盘等外置存储设备提供连接接口。
本公开还提供一种数据处理系统,下面结合图8进行描述。
图8为本公开数据处理系统的一些实施例的结构图。如图8所示,该实施例的数 据处理系统8包括:前述任意实施例中的区块链平台40/50/60/70;以及业务系统82,区块链系统84。
业务系统82,用于向区块链平台40/50/60/70通过写入接口发送写入请求,并接收区块链平台40/50/60/70返回的写入成功消息;
区块链系统84,用于接收区块链平台40/50/60/70发送的记账请求,将业务交互信息记录于区块链中,并向区块链平台40/50/60/70返回存储成功消息。
本领域内的技术人员应当明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解为可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生被配置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供被配置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述仅为本公开的较佳实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (19)

  1. 一种数据处理方法,包括:
    接收业务系统通过写入接口发送的写入请求,所述写入请求包括:业务交互信息;
    调用区块链系统的接口向所述区块链系统发起存储请求,以便所述区块链系统将所述业务交互信息记录于区块链中,所述存储请求包括所述业务交互信息;
    接收所述区块链系统返回的存储成功消息,根据所述存储成功消息对所述业务交互信息对应的公示信息进行公示。
  2. 根据权利要求1所述的数据处理方法,其中,
    所述写入请求还包括所述业务系统的写入凭证;
    所述调用区块链系统的接口向所述区块链系统发起存储请求包括:
    对所述业务系统的写入凭证进行验证,验证通过的情况下,调用区块链系统的接口向所述区块链系统发起存储请求。
  3. 根据权利要求2所述的数据处理方法,还包括:
    接收所述业务系统通过凭证获取接口发送的写入凭证获取请求,所述写入凭证获取请求包括所述业务系统注册的账户信息;
    对所述业务系统的账户信息进行验证,在验证通过的情况下,向所述业务系统的返回所述写入凭证,所述写入凭证在第一预设时间内有效。
  4. 根据权利要求1所述的数据处理方法,还包括:
    接收用户通过查询接口发送的信息查询请求,所述信息查询请求包括:欲查询的业务交互信息的交互标识;
    调用所述区块链系统的接口向所述区块链系统发起查询请求,并接收所述区块链系统返回的业务交互信息,将所述返回的业务交互信息显示给所述用户,所述返回的业务交互信息是所述区块链系统根据所述交互标识查询得到。
  5. 根据权利要求4所述的数据处理方法,其中,
    所述信息查询请求还包括所述用户的查询凭证;
    所述调用所述区块链系统的接口向所述区块链系统发起查询请求包括:
    对所述用户的查询凭证进行验证,验证通过的情况下,调用所述区块链系统的接口向所述区块链系统发起查询请求。
  6. 根据权利要求5所述的数据处理方法,还包括:
    接收所述用户通过凭证获取接口发送的查询凭证获取请求,所述查询凭证获取请求包括所述用户注册的账户信息;
    对所述用户的账户信息进行验证,在验证通过的情况下,向所述用户的返回查询凭证,所述查询凭证在第二预设时间内有效。
  7. 根据权利要求1所述的数据处理方法,其中,
    所述业务交互信息包括:公示字段和业务交互的时间戳;
    所述区块链系统返回的存储成功消息包括:交互标识、所述公示字段和时间戳;
    所述根据所述存储成功消息对所述业务交互信息对应的公示信息进行公示包括:
    按照时间顺序将所述交互标识、所述公示字段和所述业务交互的时间戳进行公示。
  8. 根据权利要求1-7任一项所述的数据处理方法,其中,
    所述业务交互写入请求和所述存储请求中还包括:所述业务系统的区块链账户信息;
    所述业务系统的区块链账户信息用于所述区块链系统对所述业务系统的写入权限的进行共识验证,在验证通过的情况下,所述业务交互信息被记录于区块链中。
  9. 一种区块链平台,包括:
    写入请求接收模块,用于接收业务系统通过写入接口发送的写入请求,所述写入请求包括:业务交互信息;
    信息写入模块,用于调用区块链系统的接口向所述区块链系统发起存储请求,以便所述区块链系统将所述业务交互信息记录于区块链中,所述存储请求包括所述业务交互信息;
    信息公示模块,用于接收所述区块链系统返回的存储成功消息,根据所述存储成功消息对所述业务交互信息对应的公示信息进行公示。
  10. 根据权利要求9所述的区块链平台,其中,
    所述写入请求还包括所述业务系统的写入凭证;
    所述区块链平台还包括:
    第一验证模块,用于对所述业务系统的写入凭证进行验证,将所述验证结果发送至所述信息写入模块;
    所述信息写入模块用于验证通过的情况下,调用区块链系统的接口向所述区块链系统发起存储请求。
  11. 根据权利要求10所述的区块链平台,还包括:
    写入凭证发放模块,用于接收所述业务系统通过凭证获取接口发送的写入凭证获取请求,所述写入凭证获取请求包括所述业务系统注册的账户信息;对所述业务系统的账户信息进行验证,在验证通过的情况下,向所述业务系统的返回所述写入凭证;
    其中,所述写入凭证在第一预设时间内有效。
  12. 根据权利要求9所述的区块链平台,还包括:
    查询请求接收模块,用于接收用户通过查询接口发送的信息查询请求,所述信息查询请求包括:欲查询的业务交互信息的交互标识;
    查询模块,用于调用所述区块链系统的接口向所述区块链系统发起查询请求,并接收所述区块链系统返回的业务交互信息,将所述返回的业务交互信息显示给所述用户,所述返回的业务交互信息是所述区块链系统根据所述交互标识查询得到。
  13. 根据权利要求12所述的区块链平台,其中,
    所述信息查询请求还包括所述用户的查询凭证;
    所述区块链平台还包括:
    第二验证模块,用于对所述用户的查询凭证进行验证,将所述验证结果发送至所述查询模块;
    所述查询模块用于验证通过的情况下,调用所述区块链系统的接口向所述区块链系统发起查询请求。
  14. 根据权利要求13所述的区块链平台,还包括:
    查询凭证发放模块,用于接收所述用户通过凭证获取接口发送的查询凭证获取请求,所述查询凭证获取请求包括所述用户注册的账户信息;对所述用户的账户信息进行验证,在验证通过的情况下,向所述用户的返回查询凭证;
    其中,所述查询凭证在第二预设时间内有效。
  15. 根据权利要求9所述的区块链平台,其中,
    所述业务交互信息包括:公示字段和业务交互的时间戳;
    所述区块链系统返回的存储成功消息包括:交互标识、所述公示字段和时间戳;
    所述信息公示模块用于按照时间顺序将所述交互标识、所述公示字段和所述业务交互的时间戳进行公示。
  16. 根据权利要求9-15任一项所述的区块链平台,其中,
    所述业务交互写入请求和所述存储请求中还包括:所述业务系统的区块链账户信息;
    所述业务系统的区块链账户信息用于所述区块链系统对所述业务系统的写入权限的进行共识验证,在验证通过的情况下,所述业务交互信息被记录于区块链中。
  17. 一种区块链平台,包括:
    存储器;以及
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器设备中的指令,执行如权利要求1-8任一项所述的数据处理方法。
  18. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现权利要求1-8任一项所述方法的步骤。
  19. 一种数据处理系统,包括:权利要求9-17任一项所述的区块链平台;以及
    业务系统,用于向所述区块链平台通过写入接口发送写入请求,并接收区块链平台返回的写入成功消息;
    区块链系统,用于接收所述区块链平台发送的存储请求,将业务交互信息记录于区块链中,并向所述区块链平台返回存储成功消息
PCT/CN2019/089438 2018-06-06 2019-05-31 数据处理方法、系统、区块链平台以及可读存储介质 WO2019233345A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810582161.4A CN108846752A (zh) 2018-06-06 2018-06-06 数据处理方法、系统、区块链平台以及可读存储介质
CN201810582161.4 2018-06-06

Publications (1)

Publication Number Publication Date
WO2019233345A1 true WO2019233345A1 (zh) 2019-12-12

Family

ID=64211437

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089438 WO2019233345A1 (zh) 2018-06-06 2019-05-31 数据处理方法、系统、区块链平台以及可读存储介质

Country Status (2)

Country Link
CN (1) CN108846752A (zh)
WO (1) WO2019233345A1 (zh)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846752A (zh) * 2018-06-06 2018-11-20 北京京东金融科技控股有限公司 数据处理方法、系统、区块链平台以及可读存储介质
CN109508985A (zh) * 2018-11-26 2019-03-22 平安科技(深圳)有限公司 接口调用记账方法、装置、计算机设备及存储介质
CN109472603A (zh) * 2018-11-26 2019-03-15 众安信息技术服务有限公司 基于区块链的获取信息变动的方法和装置
CN111028023B (zh) * 2018-12-07 2023-02-17 深圳市智税链科技有限公司 基于区块链系统的税务管理方法、装置、介质及电子设备
CN109739932A (zh) * 2018-12-29 2019-05-10 东莞见达信息技术有限公司 数据存储方法、装置、计算机设备及计算机可读存储介质
CN109840429B (zh) * 2019-01-08 2020-04-14 北京众享比特科技有限公司 智能合约部署、调用方法和装置
CN109829334B (zh) * 2019-01-30 2022-12-20 复旦大学 基于区块链的数据盒配置、使用和记账方法及其运作系统
CN110099108B (zh) * 2019-04-26 2022-04-01 深圳前海微众银行股份有限公司 一种区块链事件去重方法、装置、计算机设备及存储介质
CN110210732A (zh) * 2019-05-20 2019-09-06 平安银行股份有限公司 资源转移方法、装置、计算机设备和存储介质
CN110365533B (zh) * 2019-07-12 2022-04-12 上海和数软件有限公司 数字资产交易方法、系统和计算机可读存储介质
CN110751480A (zh) * 2019-09-24 2020-02-04 中国银联股份有限公司 信息查询方法、装置、设备及计算机可读存储介质
CN110674139B (zh) * 2019-09-25 2022-07-05 京东科技控股股份有限公司 信息处理方法、系统、资源管理系统以及存储介质
CN111339567A (zh) * 2020-02-25 2020-06-26 四川长虹电器股份有限公司 一种基于区块链的记账方法和记账系统
CN111445240A (zh) * 2020-02-28 2020-07-24 广东特惟嘉科技发展有限公司 基于区块链的流程架构的构建方法、装置、系统及存储介质
CN111897879B (zh) * 2020-04-02 2024-03-26 支付宝(杭州)信息技术有限公司 基于区块链网络的交易记录共享方法、装置及电子设备
CN111881166B (zh) * 2020-07-22 2024-03-08 中国工商银行股份有限公司 基于区块链的作业数据处理方法、装置及系统
CN112131478B (zh) * 2020-09-28 2024-05-17 京东科技信息技术有限公司 交易检测方法及装置
CN112669002A (zh) * 2020-12-25 2021-04-16 广州辰创科技发展有限公司 一种基于定时功能的数据审查方法、设备、存储介质
CN115002104A (zh) * 2021-02-20 2022-09-02 花瓣云科技有限公司 数据交易方法、设备和系统
CN112950208A (zh) * 2021-03-29 2021-06-11 建信金融科技有限责任公司 一种基于区块链的账务信息处理方法和装置
CN113965326B (zh) * 2021-09-26 2022-05-17 北京岸思信息科技有限公司 一种抗并行攻击的轻量化区块链系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018125A (zh) * 2017-02-17 2017-08-04 阿里巴巴集团控股有限公司 一种区块链系统、数据存储方法及装置
CN107180350A (zh) * 2017-03-31 2017-09-19 唐晓领 一种基于区块链的多方共享交易元数据的方法、装置及系统
CN108846752A (zh) * 2018-06-06 2018-11-20 北京京东金融科技控股有限公司 数据处理方法、系统、区块链平台以及可读存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790954B (zh) * 2016-03-02 2019-04-09 布比(北京)网络技术有限公司 一种构建电子证据的方法和系统
CN105976231A (zh) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 基于区块链智能合约的资产管理方法及节点
CN106790431B (zh) * 2016-12-05 2020-11-27 同济大学 基于区块链的云制造服务交易信息记录系统与方法
CN107145605A (zh) * 2017-06-07 2017-09-08 北京天德科技有限公司 一种基于区块链统一接口(obcc)的许可链应用系统
CN107369008A (zh) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 用于提高票据交易安全性的管理方法、装置及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018125A (zh) * 2017-02-17 2017-08-04 阿里巴巴集团控股有限公司 一种区块链系统、数据存储方法及装置
CN107180350A (zh) * 2017-03-31 2017-09-19 唐晓领 一种基于区块链的多方共享交易元数据的方法、装置及系统
CN108846752A (zh) * 2018-06-06 2018-11-20 北京京东金融科技控股有限公司 数据处理方法、系统、区块链平台以及可读存储介质

Also Published As

Publication number Publication date
CN108846752A (zh) 2018-11-20

Similar Documents

Publication Publication Date Title
WO2019233345A1 (zh) 数据处理方法、系统、区块链平台以及可读存储介质
US11777726B2 (en) Methods and systems for recovering data using dynamic passwords
US11818265B2 (en) Methods and systems for creating and recovering accounts using dynamic passwords
CN108898389B (zh) 基于区块链的内容验证方法及装置、电子设备
WO2017148245A1 (zh) 版权管理方法和系统
WO2020098373A1 (zh) 向区块链中存入、及获取商户认证数据的方法和装置
CN111932426B (zh) 一种基于可信硬件的身份管理方法、装置及设备
TW201944757A (zh) 適於提升即時離線區塊鏈交易安全性的電腦實施系統與方法
AU2014279915B2 (en) System and method for encryption
EP3962135B1 (en) Information sharing methods, apparatuses, and devices
US20210192520A1 (en) Distributed credit ecosystem
CN101739624A (zh) 一种可信支付网络系统
CN113285954A (zh) 可验证声明验证方法、系统、电子设备及存储介质
WO2020000777A1 (zh) 基于区块链获取个人征信方法、装置及计算机设备
CN110599290A (zh) 跨境交易的数据处理方法和系统
TW201926155A (zh) 智能合約系統、合約制訂方法與電腦可讀取儲存裝置
JP2023513848A (ja) ブロックチェーンに関連するサービスのプラットフォームのための計算サービス
CN112418851A (zh) 数字版权登记、交易、保护方法与系统
CN111274597B (zh) 一种数据处理方法以及设备
CN111915308A (zh) 一种区块链网络的交易处理方法及区块链网络
CN110263003A (zh) 项目文件存证方法及终端设备
CN117426072A (zh) 可验证凭证中的背书声明
US20230177174A1 (en) Encrypted verifiable credentials
CN110599176B (zh) 基于区块链的数据处理方法、装置、存储介质及节点设备
CN111177171A (zh) 基于区块链的业务数据认证与管理方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19815670

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19815670

Country of ref document: EP

Kind code of ref document: A1