CN110232571B - Cross-row receipt data processing method, device and system - Google Patents

Cross-row receipt data processing method, device and system Download PDF

Info

Publication number
CN110232571B
CN110232571B CN201910481310.2A CN201910481310A CN110232571B CN 110232571 B CN110232571 B CN 110232571B CN 201910481310 A CN201910481310 A CN 201910481310A CN 110232571 B CN110232571 B CN 110232571B
Authority
CN
China
Prior art keywords
data
data processing
card organization
host
processing result
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
CN201910481310.2A
Other languages
Chinese (zh)
Other versions
CN110232571A (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910481310.2A priority Critical patent/CN110232571B/en
Publication of CN110232571A publication Critical patent/CN110232571A/en
Application granted granted Critical
Publication of CN110232571B publication Critical patent/CN110232571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/407Cancellation of a transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method, a device and a system for processing cross-row receipt data. The method for processing the cross-row receipt data comprises the following steps: converting the cross-line data processing request into a card organization data processing request, recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool; when the processing is successful, sending the processing result to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format and sending the host data format to the host; when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, and the system processing efficiency, the reliability, the stability and the customer experience can be improved.

Description

Cross-row receipt data processing method, device and system
Technical Field
The invention relates to the technical field of cross-row data processing, in particular to a cross-row receipt data processing method, device and system.
Background
FIG. 1 is a block diagram of a prior art cross-row acquirer data processing system. As shown in fig. 1, in a conventional inter-row receipt data processing system, a single inter-row service is completed through a plurality of processing nodes such as a terminal 1, a home front end 2, a host 3, an inter-row front end 4, and a card organization device 5, where the terminal is responsible for collecting client data, the home front end is responsible for converting data sent by the terminal and intra-row standard messages, the host is responsible for transaction recording and accounting registration, and the inter-row front end is responsible for converting intra-row standard messages and card organization device standard messages. Such treatment systems suffer from the following drawbacks:
1. in the whole business processing flow, the host needs to process transaction data twice, the first time is business information record when initiating a request, and the second time is financial processing when receiving a card issuing bank response. After the first processing, the service scenario information needs to be stored until the second data processing is started, and during this period, the valuable resources of the host computer are occupied and cannot be released. In addition, when the service acceptance result is received depends on the card organization device and the card issuing bank processing speed, so that the occupied time of the host resources cannot be estimated, and the data processing pressure is correspondingly increased.
2. In the whole service processing flow, four format conversions are required to be performed on service data. The first time, when the terminal uploads the collected service data to the line preposition, the line preposition converts the data into a message format in a line; secondly, when the in-line message downloaded by the host is received by the line-crossing front end, the in-line message is converted into a message in a card organization format; thirdly, when the response message returned by the card organization device is received by the line-crossing front end, the message in the card organization format is converted into the inline message; and the fourth time, when the current line receives the response message in the front, the message needs to be converted into a data format which can be accepted by the terminal. The four format conversions not only have more processes, but also increase the system resource consumption of each link, increase the service acceptance time and influence the customer experience.
3. When the terminal or the bank front-end cannot receive the business acceptance result within the specified time, the positive transaction is actively initiated to ensure the correct accounting. If the reason for the flow blockage is that the cross-bank prefix fails, and the service request cannot be sent to the card organization device and the card issuer for processing, a large amount of conflict initiated by the terminal or the home bank prefix is not helpful for solving the financial problem (at this time, the card organization device and the card issuer do not receive the service request, so that the problem of account deduction does not exist), and the transaction amount required to be processed by the host is increased, and a large amount of system resources are consumed.
In summary, the currently widely used bank-crossing receipt data processing system is not conducive to improving the processing efficiency, reliability and stability of the system today when the transaction scale is continuously and rapidly increased.
Disclosure of Invention
The embodiments of the present invention mainly aim to provide a method, an apparatus, and a system for processing cross-bank receipt data, so as to reduce consumption and occupation of host system resources, shorten a transaction flow, and improve system processing efficiency, reliability, stability, and customer experience.
In order to achieve the above object, an embodiment of the present invention provides a method for processing data received in a row across manner, including:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
the processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal.
An embodiment of the present invention further provides a device for processing cross-row receipt data, including:
the receiving unit is used for receiving a line-crossing data processing request from a terminal; receiving a host data processing result returned by the host;
the first conversion unit is used for converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
the recording unit is used for recording card organization scene data information in the card organization data processing request and adding the card organization scene data information into the buffer pool;
a processing unit for processing a card organization data processing request;
a transmission unit configured to transmit a processing result of the card organization data processing request to the card organization apparatus when the processing is successful; sending the card organization data processing result converted into the host data format to the host; when the card organization data processing result and the host data processing result are both successful or the card organization data processing result and the host data processing result are both failed, sending the card organization data processing result and the host data processing result to the terminal;
the system comprises a buffering unit, a processing unit and a processing unit, wherein the buffering unit is used for acquiring card organization scene data from a buffering pool and performing buffering processing on the card organization scene data when the processing fails;
and the second conversion unit is used for converting the data format of the card organization data processing result into the host data format when the card organization data processing result returned by the card organization device is received within the preset time.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the following steps are implemented:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
the processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
the processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal.
An embodiment of the present invention further provides a system for processing a cross-row receipt data, including:
a terminal, a host, a card organization device and a cross-row receipt data processing device as described above;
the terminal, the host and the card organization device are all connected with the cross-row receipt data processing device through a network communication protocol.
The method, the device and the system for processing the cross-row receipt data convert the data format in the cross-row data processing request into the card organization data format, and then process the card organization data processing request: when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, the data format of the card organization data processing result is converted into a host data format, then the card organization data processing result converted into the host data format is sent to the host, and the host data processing result returned by the host is received. When the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, so that the consumption and occupation of host system resources can be reduced, the transaction flow is shortened, and the system processing efficiency, reliability, stability and customer experience are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a block diagram of a prior art cross-row acquirer data processing system;
FIG. 2 is a flow chart of a method for processing data for a cross-row receipt in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of a flushing process in one embodiment of the present invention;
FIG. 4 is a block diagram of a data processing apparatus for cross-row receipt in an embodiment of the present invention;
FIG. 5 is a block diagram of a cross-row acquirer data processing system in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In view of the fact that the prior art consumes a large amount of system resources, is not beneficial to improving the processing efficiency, reliability and stability of the system and influences the customer experience, embodiments of the present invention provide a method, an apparatus and a system for processing cross-row receipt data, so as to reduce the consumption and occupation of host system resources, shorten the transaction flow, and improve the processing efficiency, reliability, stability and customer experience of the system. The present invention will be described in detail below with reference to the accompanying drawings.
FIG. 2 is a flowchart of a method for processing data across rows according to an embodiment of the invention. As shown in fig. 2, the method for processing wayside data comprises:
s101: and receiving a cross-row data processing request from a terminal.
S102: and converting the data format in the cross-line data processing request into a card organization data format to obtain a card organization data processing request.
Before executing S102, it is necessary to check the validity of the data in the request for cross-line data processing, and if the data is not, the data processing result of rejecting the acceptance is sent to the terminal. If the data is legal, S102 is executed.
S103: and recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into the buffer pool.
S104: the processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; and when the processing fails, obtaining the card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data.
S105: and when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format.
And when the data processing result returned by the card organization device is not received within the preset time, obtaining the card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data.
S106: and sending the card organization data processing result converted into the host data format to the host.
S107: and receiving a host data processing result returned by the host.
S108: and when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal.
When the host data processing result is failure and the card organization data processing result is success, card organization scene data are obtained from the buffer pool, and correction processing is carried out on the card organization scene data.
The execution subject of the cross-row receipt data processing method shown in fig. 2 may be a computer. As can be seen from the flow shown in fig. 2, the inter-row receipt data processing method according to the embodiment of the present invention converts the data format in the inter-row data processing request into the card organization data format, and then processes the card organization data processing request: when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, the data format of the card organization data processing result is converted into a host data format, then the card organization data processing result converted into the host data format is sent to the host, and the host data processing result returned by the host is received. When the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, so that the consumption and occupation of host system resources can be reduced, the transaction flow is shortened, and the system processing efficiency, reliability, stability and customer experience are improved.
FIG. 3 is a flow chart of a flushing process in an embodiment of the invention. As shown in fig. 3, the processing of the card organization scene data includes:
s201: and performing data recovery on the card organization scene data to obtain recovered data.
S202: and generating failure response data according to the recovery data, and sending the failure response data to the terminal.
S203: converting the data format of the recovered data into a card organization data format to obtain a first correction data processing request; and converting the data format of the recovered data into a host data format to obtain a second positive data processing request.
S204: and sending a first positive data processing request to the card organization device, and sending a second positive data processing request to the host.
S205: a first positive data processing result from the card organizing apparatus is received and registered, and a second positive data processing result from the host is received and registered.
In addition, all data processing requests in the prior art do not distinguish local services or cross-line services, and all data processing requests are uploaded to the host for data processing, so that host system resources are wasted, and host processing pressure is increased.
In order to solve the above problems, the present invention further comprises: and judging the type of the data processing request according to the attribution of the issuer of the data processing request. The data processing request types include a cross-line data processing request and an intra-line data processing request. When the data processing request is a cross-row data processing request, executing S102, and when the data processing request is an intra-row data processing request, executing the following flow:
converting the data format in the inline data processing request into a host data format to obtain a host data processing request; and recording the host scene data information in the host data processing request, and adding the host scene data information into the buffer pool. Processing host data according to the host data processing request: when the host data processing is successful, sending a processing result of the host data processing request to the host; and when the host data processing fails, acquiring host scene data from the buffer pool, and performing buffering processing on the host scene data.
The flow of the host scene data is processed as follows:
1. and performing data recovery on the scene data of the host to obtain recovered data.
2. And generating failure response data according to the recovery data, and sending the failure response data to the terminal.
3. And converting the data format of the recovered data into a host data format to obtain a third positive data processing request.
4. And sending a third positive data processing request to the host.
5. A third positive data processing result from the host is received and registered.
One of the specific embodiments of the present invention is as follows:
1. and judging the type of the data processing request from the terminal according to the attribution of the issuer of the data processing request.
2. And when the data processing request is an inline data processing request, converting the data format in the inline data processing request into a host data format to obtain the host data processing request.
3. And recording host scene data information in the host data processing request, and adding the host scene data information into the buffer pool to perform persistence processing on the host scene data.
4. Processing host data according to the host data processing request: when the host data processing is successful, sending a processing result of the host data processing request to the host; when the host data processing fails, host scene data are obtained from the buffer pool, and the host scene data are buffered and processed: performing data recovery on the host scene data to obtain recovered data, generating failure response data according to the recovered data, and sending the failure response data to the terminal; and converting the data format of the recovered data into a host data format to obtain a third positive data processing request, sending the third positive data processing request to the host, and receiving and registering a third positive data processing result from the host.
5. And when the data processing request is a cross-row data processing request, carrying out validity check on the data in the cross-row data processing request. If the data is not the rule, sending a data processing result of refusing acceptance to the terminal; and if the data combination rule converts the data format in the cross-row data processing request into a card organization data format, obtaining a card organization data processing request.
6. And recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool to perform persistence processing on the card organization scene data.
7. The processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and carrying out buffering processing on the card organization scene data: performing data recovery on the card organization scene data to obtain recovery data, generating failure response data according to the recovery data, sending the failure response data to a terminal, converting the data format of the recovery data into a card organization data format, and obtaining a first correction data processing request; and converting the data format of the recovered data into a host data format to obtain a second positive data processing request. And sending a first positive data processing request to the card organization device, and receiving and registering a first positive data processing result from the card organization device. And sending a second positive data processing request to the host, and receiving and registering a second positive data processing result from the host.
8. And when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format. And when the data processing result returned by the card organization device is not received within the preset time, obtaining the card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data.
9. And sending the card organization data processing result converted into the host data format to the host.
10. And receiving a host data processing result returned by the host. And when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal. And when the host data processing result is failure and the card organization data processing result is success, obtaining card organization scene data from the buffer pool, and performing correction processing on the card organization scene data.
To sum up, the inter-row receipt data processing method of the embodiment of the present invention converts the data format in the inter-row data processing request into the card organization data format, and then processes the card organization data processing request: when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, the data format of the card organization data processing result is converted into a host data format, then the card organization data processing result converted into the host data format is sent to the host, and the host data processing result returned by the host is received. When the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, so that the consumption and occupation of host system resources can be reduced, the transaction flow is shortened, and the system processing efficiency, reliability, stability and customer experience are improved.
Based on the same inventive concept, the embodiment of the invention also provides a device for processing the data of the cross-row receipt, and because the principle of solving the problems of the device is similar to the method for processing the data of the cross-row receipt, the implementation of the device can refer to the implementation of the method, and repeated parts are not described again.
FIG. 4 is a block diagram of a data processing apparatus for cross-row receipt in an embodiment of the present invention. As shown in fig. 4, the row-crossing waybill data processing apparatus includes:
the receiving unit is used for receiving a line-crossing data processing request from a terminal; receiving a host data processing result returned by the host;
the first conversion unit is used for converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
the recording unit is used for recording card organization scene data information in the card organization data processing request and adding the card organization scene data information into the buffer pool;
a processing unit for processing a card organization data processing request;
a transmission unit configured to transmit a processing result of the card organization data processing request to the card organization apparatus when the processing is successful; sending the card organization data processing result converted into the host data format to the host; when the card organization data processing result and the host data processing result are both successful or the card organization data processing result and the host data processing result are both failed, sending the card organization data processing result and the host data processing result to the terminal;
the system comprises a buffering unit, a processing unit and a processing unit, wherein the buffering unit is used for acquiring card organization scene data from a buffering pool and performing buffering processing on the card organization scene data when the processing fails;
and the second conversion unit is used for converting the data format of the card organization data processing result into the host data format when the card organization data processing result returned by the card organization device is received within the preset time.
The receiving unit, the first conversion unit, the recording unit, the processing unit, the sending unit, the correcting unit and the second conversion unit can be connected through a network communication protocol.
In one embodiment, the flushing unit is further configured to:
when a data processing result returned by the card organization device is not received within the preset time, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data;
and when the host data processing result is failure and the card organization data processing result is success, obtaining card organization scene data from the buffer pool, and performing correction processing on the card organization scene data.
In one embodiment, the flushing unit is specifically configured to:
performing data recovery on the card organization scene data to obtain recovered data;
and generating failure response data according to the recovery data, and sending the failure response data to the terminal.
In one embodiment, the flushing unit is specifically configured to:
converting the data format of the recovered data into a card organization data format to obtain a first correction data processing request;
converting the data format of the recovered data into a host data format to obtain a second positive data processing request;
sending a first positive data processing request to the card organization device, and sending a second positive data processing request to the host;
a first positive data processing result from the card organizing apparatus is received and registered, and a second positive data processing result from the host is received and registered.
To sum up, the inter-row receipt data processing apparatus according to the embodiment of the present invention converts the data format in the inter-row data processing request into the card organization data format, and then processes the card organization data processing request: when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, the data format of the card organization data processing result is converted into a host data format, then the card organization data processing result converted into the host data format is sent to the host, and the host data processing result returned by the host is received. When the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, so that the consumption and occupation of host system resources can be reduced, the transaction flow is shortened, and the system processing efficiency, reliability, stability and customer experience are improved.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the following steps are implemented:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
the processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal.
To sum up, the computer device of the embodiment of the present invention converts the data format in the inter-row data processing request into the card organization data format, and then processes the card organization data processing request: when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, the data format of the card organization data processing result is converted into a host data format, then the card organization data processing result converted into the host data format is sent to the host, and the host data processing result returned by the host is received. When the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, so that the consumption and occupation of host system resources can be reduced, the transaction flow is shortened, and the system processing efficiency, reliability, stability and customer experience are improved.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
the processing card organizes a data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within the preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal.
To sum up, the computer-readable storage medium of the embodiment of the present invention converts the data format in the request for processing the inter-row data into the card organization data format, and then processes the request for processing the card organization data: when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and performing buffering processing on the card organization scene data; when a card organization data processing result returned by the card organization device is received within the preset time, the data format of the card organization data processing result is converted into a host data format, then the card organization data processing result converted into the host data format is sent to the host, and the host data processing result returned by the host is received. When the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, the card organization data processing result and the host data processing result are sent to the terminal, so that the consumption and occupation of host system resources can be reduced, the transaction flow is shortened, and the system processing efficiency, reliability, stability and customer experience are improved.
Based on the same inventive concept, the embodiment of the invention also provides a cross-row receipt data processing system.
FIG. 5 is a block diagram of a cross-row acquirer data processing system in an embodiment of the present invention. As shown in fig. 5, the cross-bank acquirer data processing system includes the terminal 10, the host 20, the card organizing apparatus 30, and the cross-bank acquirer data processing apparatus 40 as described above. The terminal 10, the host 20 and the card organizing apparatus 30 are all connected to the transrowed acquiring data processing apparatus 40 by a network communication protocol, and the number of the terminal 10 may be one or more.
The specific flow of the cross-row receipt data processing system is as follows:
1. the terminal collects the information of the client card, generates and sends a data processing request to the cross-bank receipt data processing device according to the information of the client card.
2. The inter-row receipt data processing device judges the type of the data processing request from the terminal according to the attribution of the issuer of the data processing request.
3. And when the data processing request is an inline data processing request, the cross-row receipt data processing device converts the data format in the inline data processing request into a host data format to obtain the host data processing request.
4. The cross-row receipt data processing device records host scene data information in the host data processing request and adds the host scene data information into the buffer pool to perform persistence processing on the host scene data.
5. The cross-row receipt data processing device processes the host data according to the host data processing request: when the host data processing is successful, sending a processing result of the host data processing request to the host; when the host data processing fails, host scene data are obtained from the buffer pool, and the host scene data are buffered and processed: performing data recovery on the host scene data to obtain recovered data, generating failure response data according to the recovered data, and sending the failure response data to the terminal; and converting the data format of the recovered data into a host data format to obtain a third correction data processing request, and sending the third correction data processing request to the host.
6. And the host computer performs accounting registration on the processing result of the host computer data processing request, processes the third correction data processing request, and generates and sends the third correction data processing result to the cross-row receipt data processing device.
7. The terminal receives failure response data from the row-crossing receipt data processing device.
8. And the cross-row acquiring data processing device receives and registers a third positive data processing result from the host.
9. And when the data processing request is a cross-row data processing request, the cross-row receipt data processing device performs validity check on the data in the cross-row data processing request. If the data is not the rule, sending a data processing result of refusing acceptance to the terminal; and if the data combination rule converts the data format in the cross-row data processing request into a card organization data format, obtaining a card organization data processing request.
10. The cross-row receipt data processing device records card organization scene data information in the card organization data processing request, and adds the card organization scene data information into the buffer pool to carry out persistence processing on the card organization scene data.
11. The inter-row receipt data processing device processes a card organization data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, obtaining card organization scene data from the buffer pool, and carrying out buffering processing on the card organization scene data: performing data recovery on the card organization scene data to obtain recovery data, generating failure response data according to the recovery data, sending the failure response data to a terminal, converting the data format of the recovery data into a card organization data format, and obtaining a first correction data processing request; and converting the data format of the recovered data into a host data format to obtain a second positive data processing request. And sending a first positive data processing request to the card organization device, and sending a second positive data processing request to the host.
12. And the card organization device carries out accounting clearing on the processing result of the card organization data processing request, processes the first correction data processing request, generates and sends the first correction data processing result to the inter-bank receipt data processing device.
13. And the host processes the second positive data processing request, generates and sends a second positive data processing result to the cross-row receipt data processing device.
14. The terminal receives failure response data from the row-crossing receipt data processing device.
15. The cross-row receipt data processing device receives and registers a first positive data processing result from the card organization device, and receives and registers a second positive data processing result from the host.
16. And when a card organization data processing result returned by the card organization device is received within the preset time, the row-crossing receipt data processing device converts the data format of the card organization data processing result into a host data format. And when the data processing result returned by the card organization device is not received within the preset time, the cross-row receipt data processing device acquires the card organization scene data from the buffer pool and carries out correction processing on the card organization scene data.
17. The line-crossing receipt data processing device sends the card organization data processing result converted into the host data format to the host.
18. The host computer performs accounting registration on the card organization data processing result converted into the host computer data format, and generates and sends the host computer data processing result to the cross-row receipt data processing device.
19. And the row-crossing receipt data processing device receives a host data processing result returned by the host. And when the card organization data processing result and the host data processing result are successful or the card organization data processing result and the host data processing result are failed, sending the card organization data processing result and the host data processing result to the terminal. And when the host data processing result is failure and the card organization data processing result is success, obtaining card organization scene data from the buffer pool, and performing correction processing on the card organization scene data.
20. The terminal receives the card organization data processing result and the host data processing result from the row-crossing receipt data processing device.
The cross-row receipt data processing system provided by the embodiment of the invention can reduce the consumption and occupation of host system resources, shorten the transaction flow and improve the processing efficiency, reliability, stability and customer experience of the system.
In summary, the inter-row receipt data processing system provided by the embodiment of the present invention has the following beneficial effects:
1. the cross-bank transaction is only sent to the host for data processing when a data processing result returned by the card organization device is received. For a data processing flow, the host computer only needs to process once, and does not occupy a large amount of system resources because of waiting for a data processing result.
2. In a complete data processing flow, only two data message format conversions are needed, so that compared with four data message format conversions in the traditional system, the data processing flow is simplified, and the consumption of system resources is greatly reduced.
3. When the correction processing is required, the host only needs to perform accounting registration on the processing result of the data processing request, and does not need to wait for the data processing result of the card organization device, so that the data processing amount and the resource occupation of the host are greatly reduced.
4. The invention can distinguish the inline data processing request from the cross-row data processing request, thereby achieving the purposes of reducing the times of the cross-row data processing request processed by the host and reducing the pressure of the host.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method for processing data across rows, comprising:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
processing the card organization data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, acquiring the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within a preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are both successful or the card organization data processing result and the host data processing result are both failed, sending the card organization data processing result and the host data processing result to a terminal.
2. The method for processing data across rows of claim 1, further comprising:
when a data processing result returned by the card organization device is not received within a preset time, obtaining the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data;
and when the host data processing result is failure and the card organization data processing result is success, acquiring the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data.
3. The method for processing wayside receipt data according to claim 1, wherein the forward processing of the card organization scene data comprises:
performing data recovery on the card organization scene data to obtain recovered data;
and generating failure response data according to the recovery data, and sending the failure response data to the terminal.
4. The method for processing the inter-row receipt data according to claim 3, wherein the processing of the card organization scene data comprises:
converting the data format of the recovered data into a card organization data format to obtain a first positive data processing request;
converting the data format of the recovered data into a host data format to obtain a second positive data processing request;
sending the first positive data processing request to the card organization device, and sending the second positive data processing request to the host;
receiving and registering a first positive data processing result from the card organizing device, and receiving and registering a second positive data processing result from the host.
5. A cross-line waybill data processing apparatus, comprising:
the receiving unit is used for receiving a line-crossing data processing request from a terminal; receiving a host data processing result returned by the host;
the first conversion unit is used for converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
a recording unit, configured to record card organization scene data information in the card organization data processing request, and add the card organization scene data information to a buffer pool;
a processing unit for processing the card organization data processing request;
a transmission unit configured to transmit a processing result of the card organization data processing request to the card organization apparatus when the processing is successful; sending the card organization data processing result converted into the host data format to the host; when the card organization data processing result and the host data processing result are both successful or the card organization data processing result and the host data processing result are both failed, sending the card organization data processing result and the host data processing result to a terminal;
the correcting unit is used for acquiring the card organization scene data from the buffer pool and correcting the card organization scene data when the processing fails;
and the second conversion unit is used for converting the data format of the card organization data processing result into the host data format when the card organization data processing result returned by the card organization device is received within the preset time.
6. The device according to claim 5, wherein the rectification unit is further configured to:
when a data processing result returned by the card organization device is not received within a preset time, obtaining the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data;
and when the host data processing result is failure and the card organization data processing result is success, acquiring the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data.
7. The device according to claim 5, wherein the correction unit is specifically configured to:
performing data recovery on the card organization scene data to obtain recovered data;
and generating failure response data according to the recovery data, and sending the failure response data to the terminal.
8. The device according to claim 7, wherein the correction unit is specifically configured to:
converting the data format of the recovered data into a card organization data format to obtain a first positive data processing request;
converting the data format of the recovered data into a host data format to obtain a second positive data processing request;
sending the first positive data processing request to the card organization device, and sending the second positive data processing request to the host;
receiving and registering a first positive data processing result from the card organizing device, and receiving and registering a second positive data processing result from the host.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
processing the card organization data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, acquiring the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within a preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are both successful or the card organization data processing result and the host data processing result are both failed, sending the card organization data processing result and the host data processing result to a terminal.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of:
receiving a line-crossing data processing request from a terminal;
converting the data format in the cross-row data processing request into a card organization data format to obtain a card organization data processing request;
recording card organization scene data information in the card organization data processing request, and adding the card organization scene data information into a buffer pool;
processing the card organization data processing request; when the processing is successful, sending a processing result of the card organization data processing request to the card organization device; when the processing fails, acquiring the card organization scene data from the buffer pool, and performing correction processing on the card organization scene data;
when a card organization data processing result returned by the card organization device is received within a preset time, converting the data format of the card organization data processing result into a host data format;
sending the card organization data processing result converted into the host data format to the host;
receiving a host data processing result returned by the host;
and when the card organization data processing result and the host data processing result are both successful or the card organization data processing result and the host data processing result are both failed, sending the card organization data processing result and the host data processing result to a terminal.
11. A cross-row acquirer data processing system, comprising:
a terminal, a host, a card organization apparatus and a cross-row acquirer data processing apparatus according to any one of claims 5 to 8;
the terminal, the host and the card organization device are all connected with the cross-row receipt data processing device through a network communication protocol.
CN201910481310.2A 2019-06-04 2019-06-04 Cross-row receipt data processing method, device and system Active CN110232571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910481310.2A CN110232571B (en) 2019-06-04 2019-06-04 Cross-row receipt data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910481310.2A CN110232571B (en) 2019-06-04 2019-06-04 Cross-row receipt data processing method, device and system

Publications (2)

Publication Number Publication Date
CN110232571A CN110232571A (en) 2019-09-13
CN110232571B true CN110232571B (en) 2021-07-23

Family

ID=67859207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910481310.2A Active CN110232571B (en) 2019-06-04 2019-06-04 Cross-row receipt data processing method, device and system

Country Status (1)

Country Link
CN (1) CN110232571B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100498719C (en) * 2006-12-30 2009-06-10 中国建设银行股份有限公司 Method and device for executing batch processing job
CN101706935A (en) * 2009-12-01 2010-05-12 中国建设银行股份有限公司 Method, device and system for acting deposit and management service of third party
CN107038560B (en) * 2017-01-06 2020-09-08 阿里巴巴集团控股有限公司 System, method and device for executing payment service
CN108959437A (en) * 2018-06-12 2018-12-07 深圳中兴网信科技有限公司 A kind of medical data processing method, system and medical server
CN109272401A (en) * 2018-09-28 2019-01-25 大连亿辉科技有限公司 A kind of Web bank's management system
CN109615508A (en) * 2018-11-29 2019-04-12 中国人民银行清算总中心 Data summarization checking method and subsystem for internet banking system

Also Published As

Publication number Publication date
CN110232571A (en) 2019-09-13

Similar Documents

Publication Publication Date Title
CN109714404B (en) Block chain consensus method and device based on Raft algorithm
CN111861456B (en) Block chain-based 5G message transfer transaction verification method, system and device
CN112738294B (en) Domain name resolution method and device based on block chain, electronic equipment and storage medium
CN112817602B (en) JSON format data transmitting and receiving method, device and medium
US20170109700A1 (en) Business collaboration system and business collaboration method
CN110232571B (en) Cross-row receipt data processing method, device and system
CN109586979B (en) Message transmission method and device
CN109670952B (en) Collecting and paying transaction platform
CN110322345B (en) Block chain endorsement method and device
CN111125168A (en) Data processing method and device, electronic equipment and storage medium
CN114612204A (en) Account checking method and device
CN112258184B (en) Method, apparatus, electronic device and readable storage medium for freezing blockchain network
CN112650568A (en) Merchant netting difference settlement method, system, computer equipment and storage medium
TWI774290B (en) Implementation method and device for barcode-based payment
CN113891263B (en) Short message service system and synchronous sending method and asynchronous sending method thereof
CN116545892B (en) Method and device for determining service bottleneck node, electronic equipment and storage medium
CN117557356A (en) Transaction processing method and device
CN114785875B (en) Message processing method and system
CN111381985B (en) Heterogeneous system data calling method, device, equipment and storage medium
CN114793246A (en) Method and device for processing transaction message
CN113628056A (en) Data processing method and device, server and computer storage medium
CN114925869A (en) Mobile phone bank outlet number-taking method and device
CN116051108A (en) Payment processing method, device, equipment and storage medium
CN114881779A (en) Transaction request processing system and method based on micro-service architecture
CN112581134A (en) Data verification method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant