CN111459825B - Block chain application system, method and device for payment service - Google Patents

Block chain application system, method and device for payment service Download PDF

Info

Publication number
CN111459825B
CN111459825B CN202010259698.4A CN202010259698A CN111459825B CN 111459825 B CN111459825 B CN 111459825B CN 202010259698 A CN202010259698 A CN 202010259698A CN 111459825 B CN111459825 B CN 111459825B
Authority
CN
China
Prior art keywords
payment service
payment
service system
service
mode
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.)
Active
Application number
CN202010259698.4A
Other languages
Chinese (zh)
Other versions
CN111459825A (en
Inventor
吴慧宾
刘锐
郑运荣
王哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yinqing Technology Co ltd
Original Assignee
Yinqing Technology Co ltd
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 Yinqing Technology Co ltd filed Critical Yinqing Technology Co ltd
Priority to CN202010259698.4A priority Critical patent/CN111459825B/en
Publication of CN111459825A publication Critical patent/CN111459825A/en
Application granted granted Critical
Publication of CN111459825B publication Critical patent/CN111459825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a block chain application system, a method and a device for payment business, wherein the system comprises the following components: the system comprises a blockchain network, a blockchain client and a payment service system access module; the payment service system access module is used for interfacing with development/test environments of the payment service system and/or simulating payment services of the payment service system; and the blockchain client is respectively communicated with the payment service system access module and the blockchain network and is used for synchronizing the payment service data of the payment service system to the blockchain network or pushing the payment service data on the blockchain network to the payment service system. The application can rapidly verify the application feasibility of the blockchain in various payment service scenes.

Description

Block chain application system, method and device for payment service
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a blockchain application system, method and apparatus for payment service.
Background
This section is intended to provide a background or context to the embodiments of the application that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the rapid development of blockchain technology, the method is widely applied to the financial field, in particular to the payment field. The application of the blockchain technology in the payment field is greatly successful in both innovation of the payment service scene and improvement of the payment service efficiency.
However, from the aspects of technology and architecture model selection, the blockchain technology cannot be applied to or meet all payment service scenes, so that the method for rapidly verifying the feasibility of the service or technology applied to different payment service scenes by the blockchain is provided, and has very important significance to popularization of application of the blockchain technology in the payment field.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a blockchain application system of payment service, which is used for solving the technical problem that the blockchain application system in the existing payment field can not realize the verification of the application feasibility of a blockchain in different payment service scenes, and comprises the following steps: the system comprises a blockchain network, a blockchain client and a payment service system access module; the payment service system access module is used for interfacing with development/test environments of the payment service system and/or simulating payment services of the payment service system; the block chain client is respectively communicated with the payment service system access module and the block chain network and is used for synchronizing the payment service data of the payment service system to the block chain network or pushing the payment service data on the block chain network to the payment service system; when the payment service system access module is in butt joint with the payment service system, one of the following three modes is adopted: if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking; if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system; if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
The embodiment of the application also provides a blockchain application method of the payment service, which is used for solving the technical problem that the application feasibility of the blockchain under different payment service scenes cannot be verified by a blockchain application system in the existing payment field, and comprises the following steps: docking the development/test environment of the payment service system and/or simulating the payment service of the payment service system to acquire payment service data sent by the payment service system; synchronizing payment service data sent by a payment service system to a blockchain network; when interfacing with a payment service system, one of three ways is used: if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking; if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system; if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
The embodiment of the application also provides a blockchain application method of the payment service, which is used for solving the technical problem that the application feasibility of the blockchain under different payment service scenes cannot be verified by a blockchain application system in the existing payment field, and comprises the following steps: receiving payment service data pushed by a blockchain network; docking the development/testing environment of the payment service system and/or simulating the payment service of the payment service system, and pushing the received payment service data to the payment service system; when interfacing with a payment service system, one of three ways is used: if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking; if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system; if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
The embodiment of the application also provides a blockchain application device of the payment service, which is used for solving the technical problem that the application feasibility of the blockchain under different payment service scenes cannot be verified by a blockchain application system in the existing payment field, and comprises the following steps: the first payment service system docking unit is used for docking the development/test environment of the payment service system and/or simulating the payment service of the payment service system to acquire payment service data sent by the payment service system; the first block chain network docking unit is used for synchronizing the payment service data sent by the payment service system to the block chain network; when the first payment service system docking unit is docked with the payment service system, one of the following three modes is adopted: if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking; if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system; if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
The embodiment of the application also provides a blockchain application device of the payment service, which is used for solving the technical problem that the application feasibility of the blockchain under different payment service scenes cannot be verified by a blockchain application system in the existing payment field, and comprises the following steps: the second block chain network docking unit is used for receiving payment service data pushed by the block chain network; the second payment business system docking unit is used for docking the development/test environment of the payment business system and/or simulating the payment business of the payment business system and pushing the received payment business data to the payment business system; when the second payment service system docking unit is docked with the payment service system, one of the following three modes is adopted: if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking; if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system; if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
The embodiment of the application also provides a computer device which is used for solving the technical problem that the application feasibility of the blockchain in different payment service scenes cannot be verified by the blockchain application system in the existing payment field.
The embodiment of the application also provides a computer readable storage medium for solving the technical problem that the application feasibility of the blockchain in different payment service scenes cannot be verified by the blockchain application system in the existing payment field, wherein the computer readable storage medium stores a computer program for executing the blockchain application method of the payment service of any one of the above.
In the embodiment of the application, the payment service system access module is used for interfacing with the development/test environment of the payment service system and/or simulating the payment service of the payment service system, so that the payment service data of the payment service system under different payment service scenes can be rapidly obtained, and then the payment service data is synchronized to the blockchain clients of other payment service systems on the blockchain network through the blockchain clients communicated with the payment service system access module; the payment service data sent by other payment service systems on the blockchain network through the respective blockchain clients can also be quickly pushed to the payment service systems after the other payment service systems are received through the blockchain clients which are communicated with the payment service systems.
By the embodiment of the application, the application feasibility of the blockchain in various payment business scenes can be verified quickly, the construction of the application model of the blockchain in the payment field can be accelerated, and the feasibility research and the achievement-to-production conversion of the blockchain in the payment field can be promoted.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a schematic diagram of a solution provided in an embodiment of the present application for building a payment field service scenario application blockchain prototype;
fig. 2 is a schematic diagram of an access party payment service system provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a docking mode between a payment service system and a blockchain network according to an embodiment of the present application;
FIG. 4 is a block chain application diagram of a payment service provided in an embodiment of the present application;
FIG. 5 is a block chain client architecture diagram according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an access module of a participant internal service system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an access module of a payment clearing system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an access module of a participant sharing service system according to an embodiment of the present application;
FIG. 9 is a block chain application method flowchart of a payment service provided in an embodiment of the present application;
FIG. 10 is a block chain application method flowchart of yet another payment service provided in an embodiment of the present application;
FIG. 11 is a schematic diagram of a block chain application device for payment services according to an embodiment of the present application;
fig. 12 is a schematic diagram of a blockchain application device for a payment service according to another embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present application and their descriptions herein are for the purpose of explaining the present application, but are not to be construed as limiting the application.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are open-ended terms, meaning including, but not limited to. The description of the reference terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The order of steps involved in the embodiments is illustrative of the practice of the application, and is not limited and may be suitably modified as desired.
The inventor finds that by adopting a prototype verification mode, the feasibility of the business or technology applied by the blockchain technology in a specified business scene can be verified quickly, so that the feasibility research and the achievement-to-production conversion of the blockchain in the payment field can be promoted. Therefore, the embodiment of the application provides a solution for building a payment field service scene application blockchain prototype, and fig. 1 is a schematic diagram of the solution for building a payment field service scene application blockchain prototype, as shown in fig. 1, where the solution includes three parts: access party, system docking mode and blockchain prototype structure.
It should be noted that, for service participants in different payment service scenarios, some service participants have service processing systems and corresponding technology interfacing capabilities of related payment scenarios, while some service participants may not have service processing systems and corresponding technology interfacing capabilities of related payment scenarios, which may involve a situation that multiple service participants share one service processing system to implement corresponding service processing. Thus, as an optional implementation manner, in the application blockchain prototype of the payment field service scenario built in the embodiment of the present application, at least three types of access parties as shown in fig. 2 need to be simulated to complete the related payment service processing: a payment clearing system, a participant internal business system and a participant shared business system.
Based on the purpose of service and technical feasibility research, the payment field service scene built in the embodiment of the application applies a blockchain prototype, a docking mode of a service system and a blockchain network is shown in fig. 3, and a SOCKET protocol can be adopted for docking an application program and a blockchain network node; the interface between the application programs can adopt the HTTP protocol; the transmission of payment service data (e.g., payment information) between the blockchain network nodes may employ JSON format messages, and in order to multiplex the original payment message standards, the payment messages of different payment service scenarios are all values of designated fields in the blockchain network transmission JSON message.
Alternatively, when interfacing with the access party service system, three ways may be used, but are not limited to:
the first mode is to completely adopt a mode of establishing analog/baffle program butt joint;
the second mode is to completely adopt a mode of interfacing with the development/testing environment of the service system of the access party;
and the third mode is that the simulation/baffle program is built for butt joint, and the second mode is that the simulation/baffle program is built for butt joint with the development/test environment of the service system of the access party, namely, the first mode and the second mode are combined.
The above three modes may be selected according to the following cases when the method is implemented:
(1) if the blockchain technology is introduced, the original payment service mode or flow possibly changes correspondingly according to the innovative mode of the service mode, the original service system needs to be correspondingly modified to adapt to the change, and the prototype is built for verifying the feasibility of the application blockchain, so that the feasibility verification can be quickly realized by adopting the first mode to simulate the service processing of the service system after the blockchain technology is introduced. Meanwhile, if the situation that the service system of the access party is complicated to dock or does not have conditions in a short time is considered, the first mode can be adopted.
(2) If the blockchain technology is introduced, the original business processing system changes the business process to be verified slightly or can adapt to the change of the business process, the feasibility verification is carried out by adopting the second mode, the development workload is reduced, and the feasibility verification can be realized rapidly.
(3) If multiple service scenarios or different stages of a service processing flow are to be verified at the same time, some service scenarios or service processing stages need to be greatly modified for the original service system, the first mode is used, and other service scenarios or service processing stages which do not need to be modified or are less in modification for the original service system can be used, namely, the second mode is used, namely, a hybrid butt joint mode (namely, the third mode) is adopted to realize quick feasibility verification.
Under the above-mentioned inventive concept, in an embodiment of the present application, a blockchain application system of a payment service is provided, and fig. 4 is a schematic diagram of a blockchain application system of a payment service provided in an embodiment of the present application, as shown in fig. 4, where the system includes: a blockchain network 401, a blockchain client 402 (three blockchain clients are shown in fig. 4, namely a first blockchain client 402-1, a first blockchain client 402-2, and a third blockchain client 402-3), and a payment business system access module (participant internal business system access module 403-1, participant shared business system access module 403-2, and payment clearing system access module 403-3 are shown in fig. 4);
the payment service system access module is used for interfacing with development/test environments of the payment service system and/or simulating payment services of the payment service system; the blockchain client 402 communicates with the payment service system access module and the blockchain network 401, respectively, for synchronizing payment service data of the payment service system to the blockchain network or pushing payment service data on the blockchain network to the payment service system.
For example, the participant internal business system access module 403-1 communicates with the blockchain network 401 through the first blockchain client 402-1 for interfacing with a development/testing environment of the participant internal business system and/or simulating payment services of the participant internal business system; a participant shared services system access module 403-2 in communication with the blockchain network 401 through a second blockchain client 402-2 for interfacing with a development/testing environment of the participant shared services system and/or simulating payment services of the participant shared services; the payment clearing system access module 403-3 communicates with the blockchain network 401 through the third blockchain client 402-3 for interfacing with the development/testing environment of the payment clearing system and/or simulating the payment services of the payment clearing system.
In an alternative implementation manner, in the embodiment of the present application, the payment service system access module (i.e., the participant internal service system access module 403-1, the participant shared service system access module 403-2, and the payment clearing system access module 403-3) may use a mode of setting up a simulation/baffle program to simulate the payment service of the payment service system.
In another alternative implementation manner, the payment service system access module (i.e., the participant internal service system access module 403-1, the participant shared service system access module 403-2, and the payment clearing system access module 403-3) in the embodiment of the present application may adopt a pre-application manner to interface with the development/testing environment of the payment service system.
Optionally, in the blockchain application system of the payment service provided by the embodiment of the present application, an interface protocol between the payment service system access module and the payment service system is an HTTP protocol; the interface protocol between the payment service system access module and the blockchain network is the socks protocol.
Further, in the blockchain application system of the payment service provided by the embodiment of the application, the payment service data is transmitted between each network node in the blockchain network by adopting a message in a JSON format.
Fig. 5 is a schematic structural diagram of a blockchain client provided in the embodiment of the present application, and as shown in fig. 5, in the blockchain application system of the payment service provided in the embodiment of the present application, the blockchain client realizes the following two functions:
(1) receiving a request interface: the method is divided into transaction requests and inquiry requests;
transaction request: receiving payment information from a business application program, realizing the uplink of the payment information (calling an intelligent contract, realizing the storage of data at a blockchain network accounting node), such as payment transaction application information, transaction cancellation information, transaction accounting receipt, transaction clearing receipt and the like;
query request: transaction status inquiry, block height inquiry and acquisition of block content (intra-block payment information list) with specified height are realized.
(2) Pushing blockchain network messages: the payment information initiator submits payment information to the blockchain network through the blockchain client connected with the payment information initiator, and the blockchain client connected with other institutions monitors events of the blockchain network to acquire the payment information and pushes the payment information to business application programs of other institutions.
Fig. 6 is a schematic structural diagram of an access module of a participant internal service system provided in an embodiment of the present application, as shown in fig. 6, the participant internal service system may use a simulated service processing program, or build a front-end application to implement docking with a development or testing environment of the participant internal service system, or use a mixed docking mode of the simulated service processing program and the front-end application to implement service and technical verification of a block chain of an application of a specified payment service scene according to actual situations.
It should be noted that, in either of the above-described docking modes, it is necessary to implement a function of docking the blockchain client and synchronizing payment service data (e.g., payment information) from the blockchain network at a timing. The system comprises a block chain client, a payment service data (e.g. payment information) and a payment service server, wherein the block chain client is connected in a butting way, and the two interface functions of sending a transaction request to the block chain client and receiving the payment service data (e.g. payment information) pushed by the block chain client are realized; the method for synchronizing the payment service data (such as payment information) from the blockchain network at regular time can avoid abnormal faults and other conditions, which cause that the access module of the internal service system of the participant does not receive the message pushed by the blockchain client.
It should be noted that, in the participant internal service system access module, the simulation program part can simulate the payment service processing process of the specified service scene, realize, but not limited to, transaction signing processing, clearing/accounting processing and transaction cancellation processing functions, and send the service processing result to the blockchain client; the front-end application part can realize the development/test environment of the business system inside the docking participant, and realize the functions of receiving the transaction request information submitted by the business system and pushing the payment information pushed by the blockchain client to the business system.
Fig. 7 is a schematic structural diagram of an access module of a payment clearing system according to an embodiment of the present application, and as shown in fig. 7, the implementation principle and implementation function of the payment clearing system are as described above with respect to the access module of the participant internal system, and it should be noted that the payment clearing system may implement, but is not limited to, a subscription process, a settlement process, a transaction cancellation, and other simulated payment service processing functions.
FIG. 8 is a schematic structural diagram of a participant shared service system access module provided in an embodiment of the application, as shown in FIG. 8, in the participant shared service system access module, a front application part interfaces with a participant shared service system development/test environment to realize the functions of receiving transaction request information submitted by a service system and pushing payment information pushed from a blockchain client to the service system; and the simulation program part realizes a WEB application, realizes the manual and flexible input and modification of payment information of a payment service scene to be verified under the condition of system operation through the function provided by the WEB, so as to test and verify various service rules, and simultaneously, the visualized WEB page can better track and demonstrate the effect of an application blockchain technology. The WEB application functions implement participant management (managing which participants are provided with a shared simulation program for sharing), payment link management (maintaining the clearing relationship of each participant in the payment business process flow), transaction initiation, transaction inquiry, viewing detailed information of a certain transaction, and the latest processing state.
Based on the same inventive concept, the embodiment of the application also provides a blockchain application method of the payment service shown in fig. 9, which can be applied to, but is not limited to, the blockchain application system of the payment service shown in fig. 4.
As shown in fig. 9, the method includes the steps of:
s901, docking a development/test environment of a payment service system and/or simulating a payment service of the payment service system to acquire payment service data sent by the payment service system;
s902, synchronizing the payment service data sent by the payment service system to the blockchain network.
It should be noted that the payment service system includes, but is not limited to: a participant internal business system, a participant shared business system, and a payment clearing system.
Specifically, in the above S901, the development/test environment of the payment service system may be docked by using a pre-application manner, and/or the payment service of the payment service system may be simulated by using a manner of building a simulation/baffle program; in S902, the payment service data sent by the payment service system may be synchronized to the blockchain network by the blockchain client.
Alternatively, the above S901 may communicate with the payment service system in the HTTP protocol; the step S902 may synchronize the payment service data sent by the payment service system to the blockchain network based on the socks protocol. It should be noted that, the payment service data may be transmitted between each network node in the blockchain network by using a JSON format message.
Based on the same inventive concept, the embodiment of the application also provides a blockchain application method of the payment service shown in fig. 10, which can be applied to, but is not limited to, the blockchain application system of the payment service shown in fig. 4.
As shown in fig. 10, the method includes the steps of:
s101, receiving payment service data pushed by a blockchain network;
s102, docking the development/test environment of the payment service system and/or simulating the payment service of the payment service system, and pushing the received payment service data to the payment service system.
It should be noted that the payment service system includes, but is not limited to: a participant internal business system, a participant shared business system, and a payment clearing system.
Specifically, in S101, payment service data pushed by the blockchain network may be received through the blockchain client. In S102, the development/testing environment of the payment service system may be docked in a pre-application manner, and/or the payment service of the payment service system may be simulated in a manner of setting up a simulation/baffle program.
Optionally, the S101 may receive payment service data pushed by the blockchain network based on a socks protocol; the S102 may communicate with the payment service system in the HTTP protocol. It should be noted that, the payment service data may be transmitted between each network node in the blockchain network by using a JSON format message.
Based on the same inventive concept, the embodiment of the present application also provides a blockchain application device for payment service shown in fig. 11, as described in the following embodiments. Since the principle of the solution of the problem of the embodiment of the apparatus is similar to that of the blockchain application method of the payment service shown in fig. 9, the implementation of the embodiment of the apparatus may refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 11, the apparatus includes: a first payment service system docking unit 111 and a first blockchain network docking unit 112.
The first payment service system docking unit 111 is configured to dock a development/test environment of the payment service system and/or simulate a payment service of the payment service system, and obtain payment service data sent by the payment service system; the first blockchain network interfacing unit 112 is configured to synchronize the payment service data sent by the payment service system to the blockchain network.
Alternatively, the payment service system docked by the first payment service system docking unit 111 may include: a participant internal business system, a participant shared business system, and a payment clearing system.
Further, the first payment service system docking unit 111 may be configured to dock the respective payment service systems (the participant internal service system, the participant shared service system, and the payment clearing system) in any one of the following manners or in combination of the two manners: (1) simulating the payment service of the payment service system by adopting a mode of constructing a simulation/baffle program; (2) and a front application mode is adopted to interface with the development/test environment of the payment service system.
Still further, the first payment service system interfacing unit 111 may communicate with each payment service system using the HTTP protocol; the SOCKET protocol is used to communicate with the blockchain network. And transmitting payment service data by adopting a JSON format message among all network nodes in the blockchain network.
Based on the same inventive concept, the embodiment of the present application also provides a blockchain application device for payment service shown in fig. 12, as described in the following embodiments. Since the principle of the solution of the problem of the embodiment of the apparatus is similar to that of the blockchain application method of the payment service shown in fig. 10, the implementation of the embodiment of the apparatus may refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 12, the apparatus includes: a second blockchain network docking unit 121 and a second payment service system docking unit 122.
The second blockchain network docking unit 121 is configured to receive payment service data pushed by the blockchain network; the second payment service system docking unit 122 is configured to dock a development/test environment of the payment service system and/or simulate a payment service of the payment service system, and push the received payment service data to the payment service system.
Optionally, the payment service system docked by the second payment service system docking unit 122 may include: a participant internal business system, a participant shared business system, and a payment clearing system.
Further, the second payment service system docking unit 122 may be configured to dock the respective payment service systems (the participant internal service system, the participant shared service system, and the payment clearing system) in any one of the following manners or in combination of the two manners: (1) simulating the payment service of the payment service system by adopting a mode of constructing a simulation/baffle program; (2) and a front application mode is adopted to interface with the development/test environment of the payment service system.
Still further, the second payment service system docking unit 122 may communicate with each payment service system using HTTP protocol; the SOCKET protocol is used to communicate with the blockchain network. And transmitting payment service data by adopting a JSON format message among all network nodes in the blockchain network.
Based on the same inventive concept, the embodiment of the application also provides a computer device, which is used for solving the technical problem that the application feasibility of the blockchain in different payment service scenes cannot be verified by the blockchain application system in the existing payment field.
Based on the same inventive concept, the embodiment of the application also provides a computer readable storage medium, which is used for solving the technical problem that the application feasibility of the blockchain in different payment service scenes cannot be verified in the blockchain application system in the existing payment field, and the computer readable storage medium stores a computer program for executing the blockchain application method of the payment service of any one of the above.
In summary, the embodiments of the present application provide a blockchain application system, a method, an apparatus, a computer device, and a computer readable storage medium for payment services, which adopt a manner of interfacing with a development/test environment of a payment service system and/or simulating payment services of the payment service system to quickly obtain payment service data of the payment service system in different payment service scenarios, and further synchronize to blockchain clients of other payment service systems on a blockchain network through blockchain clients in communication with the same; after receiving payment service data sent by other payment service systems on the blockchain network through the respective blockchain clients through the blockchain clients in communication with the payment service systems, the payment service data is quickly pushed to the payment service systems.
According to the embodiment of the application, the system architecture of the application blockchain exploratory or experimental prototype in the payment field is standardized, so that part of prototype development components can be reused in other payment service scenes to apply the blockchain prototype, the application feasibility of the blockchain in various payment service scenes can be rapidly verified, the cost is saved, and the development efficiency is improved; the method is beneficial to accelerating the construction of an application model of the blockchain in the payment field and advancing the feasibility research and the achievement conversion of the blockchain in the payment field to production.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 memory 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 memory 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.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the application, and is not meant to limit the scope of the application, but to limit the application to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the application are intended to be included within the scope of the application.

Claims (13)

1. A blockchain application system for payment services, comprising: the system comprises a blockchain network, a blockchain client and a payment service system access module;
the payment service system access module is used for interfacing with development/test environments of the payment service system and/or simulating payment services of the payment service system;
the block chain client is respectively communicated with the payment service system access module and the block chain network and is used for synchronizing the payment service data of the payment service system to the block chain network or pushing the payment service data on the block chain network to the payment service system;
when the payment service system access module is in butt joint with the payment service system, one of the following three modes is adopted:
if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking;
if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system;
if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
2. The system of claim 1, wherein the payment service system access module comprises: the system comprises a participant internal service system access module, a participant shared service system access module and a payment clearing system access module;
the system comprises a participant internal service system access module, a first block chain client and a second block chain client, wherein the participant internal service system access module is communicated with the block chain network through the first block chain client and is used for interfacing with a development/test environment of a participant internal service system and/or simulating payment service of the participant internal service system;
the participant sharing service system access module is communicated with the blockchain network through a second blockchain client and is used for interfacing with a development/test environment of the participant sharing service system and/or simulating payment service of the participant sharing service;
the payment clearing system access module is in communication with the blockchain network through a third blockchain client and is used for interfacing with a development/testing environment of the payment clearing system and/or simulating a payment service of the payment clearing system.
3. The system of claim 1, wherein the payment service system access module simulates a payment service of the payment service system by building a simulation/baffle program.
4. The system of claim 1, wherein the payment service system access module interfaces to a development/testing environment of the payment service system by way of a pre-application.
5. The system of claim 1, wherein the interface protocol between the payment service system access module and the payment service system is the HTTP protocol.
6. The system of claim 1, wherein the interface protocol between the payment service system access module and the blockchain network is a socks protocol.
7. The system of claim 1, wherein payment service data is transmitted between network nodes in the blockchain network using JSON-formatted messages.
8. A blockchain application method of payment services, comprising:
docking the development/test environment of the payment service system and/or simulating the payment service of the payment service system to acquire payment service data sent by the payment service system;
synchronizing payment service data sent by a payment service system to a blockchain network;
when interfacing with a payment service system, one of three ways is used:
if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking;
if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system;
if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
9. A blockchain application method of payment services, comprising:
receiving payment service data pushed by a blockchain network;
docking the development/testing environment of the payment service system and/or simulating the payment service of the payment service system, and pushing the received payment service data to the payment service system;
when interfacing with a payment service system, one of three ways is used:
if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking;
if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system;
if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
10. A blockchain application device for payment services, comprising:
the first payment service system docking unit is used for docking the development/test environment of the payment service system and/or simulating the payment service of the payment service system to acquire payment service data sent by the payment service system;
the first block chain network docking unit is used for synchronizing the payment service data sent by the payment service system to the block chain network;
when the first payment service system docking unit is docked with the payment service system, one of the following three modes is adopted:
if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking;
if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system;
if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
11. A blockchain application device for payment services, comprising:
the second block chain network docking unit is used for receiving payment service data pushed by the block chain network;
the second payment business system docking unit is used for docking the development/test environment of the payment business system and/or simulating the payment business of the payment business system and pushing the received payment business data to the payment business system;
when the second payment service system docking unit is docked with the payment service system, one of the following three modes is adopted:
if the payment service system cannot adapt to the change of the service flow, adopting a first mode, and completely adopting a mode of establishing the simulation/baffle program docking;
if the payment service system can adapt to the change of the service flow, adopting a second mode, and completely adopting a mode of docking with the development/test environment of the payment service system;
if multiple service scenes or different stages of one service processing flow are to be verified at the same time, if a payment service system cannot adapt to the change of the service flow, a mode of establishing an analog/baffle program docking is adopted in some service scenes or service processing stages, and if the payment service system can adapt to the change of the service flow in other service scenes or service processing stages, a mode of docking with a development/test environment of the payment service system is adopted.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the blockchain application method of the payment service of claim 8 or 9 when the computer program is executed.
13. A computer readable storage medium, wherein the computer readable storage medium stores a computer program for executing the blockchain application method of the payment service of claim 8 or 9.
CN202010259698.4A 2020-04-03 2020-04-03 Block chain application system, method and device for payment service Active CN111459825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010259698.4A CN111459825B (en) 2020-04-03 2020-04-03 Block chain application system, method and device for payment service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010259698.4A CN111459825B (en) 2020-04-03 2020-04-03 Block chain application system, method and device for payment service

Publications (2)

Publication Number Publication Date
CN111459825A CN111459825A (en) 2020-07-28
CN111459825B true CN111459825B (en) 2023-10-31

Family

ID=71685909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010259698.4A Active CN111459825B (en) 2020-04-03 2020-04-03 Block chain application system, method and device for payment service

Country Status (1)

Country Link
CN (1) CN111459825B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113409038A (en) * 2021-06-30 2021-09-17 中国银行股份有限公司 Payment service processing method and device based on block chain

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639521A (en) * 2018-12-05 2019-04-16 北京京东金融科技控股有限公司 Test method, device, equipment and the storage medium of block chain performance
WO2019072288A2 (en) * 2018-11-30 2019-04-18 Alibaba Group Holding Limited Testing platform for blockchain networks
CN109669859A (en) * 2018-11-26 2019-04-23 平安科技(深圳)有限公司 Service test method, device, computer equipment and storage medium
CN110347607A (en) * 2019-07-16 2019-10-18 北京首汽智行科技有限公司 A kind of data cochain test method
CN110378682A (en) * 2019-07-02 2019-10-25 银清科技(北京)有限公司 The cross-border method of payment of RMB and device based on block chain framework
CN110377635A (en) * 2019-07-02 2019-10-25 银清科技(北京)有限公司 Multiple method and device is looked into the cross-border payment of RMB based on block chain framework
CN110569159A (en) * 2019-09-05 2019-12-13 深圳前海微众银行股份有限公司 Baffle generation method, device, equipment and computer storage medium
CA3098240A1 (en) * 2019-11-08 2020-02-20 Alipay (Hangzhou) Information Technology Co., Ltd. System and method for blockchain-based decentralized application development
CN110868439A (en) * 2018-08-28 2020-03-06 傲为信息技术(江苏)有限公司 Block chain system
WO2020062673A1 (en) * 2018-09-26 2020-04-02 深圳壹账通智能科技有限公司 Smart contract test method, storage medium, test terminal and test device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10698795B2 (en) * 2016-09-16 2020-06-30 Total Systems Services, Inc. Virtual payments environment
CN110912856A (en) * 2018-09-14 2020-03-24 千寻位置网络有限公司 Non-invasive mock payment method and system, payment server and mock server
CN109741068B (en) * 2018-12-25 2021-04-27 银清科技有限公司 Online banking cross-row signing method, device and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868439A (en) * 2018-08-28 2020-03-06 傲为信息技术(江苏)有限公司 Block chain system
WO2020062673A1 (en) * 2018-09-26 2020-04-02 深圳壹账通智能科技有限公司 Smart contract test method, storage medium, test terminal and test device
CN109669859A (en) * 2018-11-26 2019-04-23 平安科技(深圳)有限公司 Service test method, device, computer equipment and storage medium
WO2019072288A2 (en) * 2018-11-30 2019-04-18 Alibaba Group Holding Limited Testing platform for blockchain networks
CN109639521A (en) * 2018-12-05 2019-04-16 北京京东金融科技控股有限公司 Test method, device, equipment and the storage medium of block chain performance
CN110378682A (en) * 2019-07-02 2019-10-25 银清科技(北京)有限公司 The cross-border method of payment of RMB and device based on block chain framework
CN110377635A (en) * 2019-07-02 2019-10-25 银清科技(北京)有限公司 Multiple method and device is looked into the cross-border payment of RMB based on block chain framework
CN110347607A (en) * 2019-07-16 2019-10-18 北京首汽智行科技有限公司 A kind of data cochain test method
CN110569159A (en) * 2019-09-05 2019-12-13 深圳前海微众银行股份有限公司 Baffle generation method, device, equipment and computer storage medium
CA3098240A1 (en) * 2019-11-08 2020-02-20 Alipay (Hangzhou) Information Technology Co., Ltd. System and method for blockchain-based decentralized application development

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
DCAP: A Secure and Efficient Decentralized Conditional Anonymous Payment System Based on Blockchain;Chao Lin等;IEEE Transactions on Information Forensics and Security;2440-2452 *
区块链技术在跨境支付领域的应用研究;王祥峰等;金融发展评论;40-53 *
基于区块链的跨境支付系统设计;张启;中国优秀硕士学位论文全文数据库 信息科技辑;I138-1100 *
面向银行的支付网关的设计与实现;张朵;中国优秀硕士学位论文全文数据库 信息科技辑;I138-443 *

Also Published As

Publication number Publication date
CN111459825A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN110868438B (en) Block chain network system
CN101272266B (en) Method, device and system for file sharing in audio/video conference
CN108833578B (en) Method and related equipment for duplex communication based on FIFO named pipeline
CN113792347B (en) Federal learning method, device, equipment and storage medium based on block chain
CN112994981B (en) Method and device for adjusting time delay data, electronic equipment and storage medium
CN111459825B (en) Block chain application system, method and device for payment service
CN103731465A (en) Distributed system and transaction treatment method thereof
CN112134915B (en) Application layer protocol decoupling universal network processing system
CN112291316A (en) Connection processing method and device, electronic equipment and computer readable storage medium
CN109918867B (en) Peer-to-peer system file tracing method based on block chain
WO2020237453A1 (en) Method and apparatus for implementing secure multi-party computation, computer device, and storage medium
Ådahl Shared resource for collaborative editing over a wireless network
US8161113B2 (en) Rich signaling feedback mechanism for group communication
CN111818010B (en) Data transmission method and device, electronic equipment and storage medium
CN103546717A (en) Audio/video conference connection establishment method and device
CN110996039B (en) Electronic whiteboard sharing method, system and computer-readable storage medium
CN109120578B (en) Method and device for realizing link connection processing
CN111340491B (en) Loose-coupling block chain autonomous transaction method, device and system
JP2006059370A (en) System, apparatus and program for integrated application management, server, system, program, server case and communication system for integrated session management, session control server and integrated application server
CN110134461B (en) Universal processing method and device for data interaction
CN110635993A (en) Method and apparatus for synthesizing multimedia information
CN113014961A (en) Video pushing and transmitting method, visual angle synchronizing method and device and storage medium
CN106385439B (en) A kind of method and device of information system access Enterprise Service Bus
JP2007026236A (en) Application integration management system, device and program, and integrated session management server, system, program and server casing, and communication system, session control server and integrated application server
CN114726569B (en) Data aggregation method of cross-network environment and related equipment

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