CN110995754A - Method, device and equipment for managing data message indexes - Google Patents

Method, device and equipment for managing data message indexes Download PDF

Info

Publication number
CN110995754A
CN110995754A CN201911318093.1A CN201911318093A CN110995754A CN 110995754 A CN110995754 A CN 110995754A CN 201911318093 A CN201911318093 A CN 201911318093A CN 110995754 A CN110995754 A CN 110995754A
Authority
CN
China
Prior art keywords
data
packet
unpacking
data message
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911318093.1A
Other languages
Chinese (zh)
Other versions
CN110995754B (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.)
Fujian Newland Payment Technology Co ltd
Original Assignee
Fujian Newland Payment 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 Fujian Newland Payment Technology Co ltd filed Critical Fujian Newland Payment Technology Co ltd
Priority to CN201911318093.1A priority Critical patent/CN110995754B/en
Publication of CN110995754A publication Critical patent/CN110995754A/en
Application granted granted Critical
Publication of CN110995754B publication Critical patent/CN110995754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0009Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]

Abstract

The invention discloses a method, a device and equipment for managing data message indexes. Wherein the method comprises the following steps: the method comprises the steps of configuring the package and unpacking of 8583 data message packets, analyzing the 8583 data message packets after configuration, analyzing the intermediate data of the transaction process related to the 8583 data message packets after configuration, packaging and unpacking the intermediate data of the transaction process after analysis, constructing a retrieval index related to the intermediate data of the transaction process after packaging and unpacking, and dynamically switching the acquiring mechanism to be connected according to the constructed retrieval index. By the method, the connection of a plurality of different order receiving platforms can be realized by constructing a retrieval index mode for associating the packaged and unpacked transaction flow intermediate data.

Description

Method, device and equipment for managing data message indexes
Technical Field
The present invention relates to the field of data packet technologies, and in particular, to a method, an apparatus, and a device for managing a data packet index.
Background
In the current bank card merchant bill receiving market, a financial payment POS (point of sales) terminal is generally issued and managed by an acquiring bank contracted with the merchant or a third-party payment institution, and can only belong to one acquiring institution. However, with the continuous development of business of merchants and the continuous opening of the market of the payment business in China, the cooperation of one merchant and a plurality of banks or third-party payment mechanisms is a common phenomenon, and some merchants can cooperate with the plurality of banks or third-party payment mechanisms. Commercial business needs are increasing day by day, such as supporting overseas VISA, mastercard, payment treasure, WeChat payment, and the like. The main obstacle for different acquirer accesses is the implementation that ISO8583(8583 data message) packets for the target acquirer access specification need to be added again.
However, in the existing management scheme for data packet indexes, the packaging and unpacking modes of 8583 data packet are generally implemented by writing codes, the packaging and unpacking logic is solidified in a binary file of a POS application, when the business requirement of an acquirer needs to be upgraded, the format of the packet needs to be changed, or when an acquirer connection mode is added to a terminal, a POS application source code needs to be updated and recompiled, and the updated source code is issued to a corresponding maintainer to upgrade a POS terminal of a merchant after testing, the upgrade of the binary file is too large, and the problem of binary compatibility on front and back version firmware results in difficult operation and upgrade in an actual production environment, and the connection of a plurality of different acquirer receiving platforms cannot be implemented.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, and a device for managing data message indexes, which can implement connection of a plurality of different receipt platforms by constructing a retrieval index manner associated with the packaged and unpacked transaction flow intermediate data.
According to an aspect of the present invention, there is provided a method for managing data packet indexes, including: configuring the packet packing and unpacking of the 8583 data message packet; analyzing the configured 8583 data message packet, and analyzing the transaction flow intermediate data associated with the configured 8583 data message packet; packaging and unpacking the analyzed transaction flow intermediate data; constructing a retrieval index associated with the packaged and unpacked transaction flow intermediate data; and dynamically switching the acquiring mechanism to be connected according to the constructed retrieval index.
The configuring the packet packing and unpacking of the 8583 data packet includes: and configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode.
Analyzing the configured 8583 data packet, and analyzing the transaction flow intermediate data associated with the configured 8583 data packet, includes: judging whether the configured 8583 data message packet has a configuration file or not when an application program of the point-of-sale terminal is started, analyzing the configured 8583 data message packet when the configuration file is judged to exist, performing correlation operation of a domain processing function on the configured 8583 data message packet, using a binary stream output by an analyzer as a table name in a Model name mode, and analyzing transaction flow intermediate data associated with the configured 8583 data message packet through the table name.
Wherein, said packing and unpacking said parsed transaction flow intermediate data includes: retrieving information of an acquiring mechanism to be connected from a database through an application program of a point-of-sale terminal, retrieving configuration information of a corresponding 8583 data message packet through the retrieved information of the acquiring mechanism, introducing the retrieved configuration information into a parser for packaging and unpacking, obtaining packaging data of a current request packet from the parsed intermediate data of the transaction process through the parser, combining the packaging data into a corresponding 8583 data message packet according to template rules and converting the data packet into a byte data stream, sending the byte data stream out according to the connection information of the corresponding acquiring mechanism for background response, transmitting the byte data stream information to the parser after receiving background response data, and generating corresponding response data key value pair information according to the template configuration information through the parser, and storing and printing the information according to the key value pair of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information.
According to another aspect of the present invention, there is provided a management apparatus for data message indexes, comprising: the system comprises a configuration module, an analysis module, a package unpacking module, a construction module and a switching module; the configuration module is used for configuring the packet and the unpacking of the 8583 data message packet; the analysis module is used for analyzing the configured 8583 data message packet and analyzing the transaction flow intermediate data associated with the configured 8583 data message packet; the packaging and unpacking module is used for packaging and unpacking the analyzed transaction flow intermediate data; the construction module is used for constructing a retrieval index which is related to the packaged and unpacked transaction flow intermediate data; the switching module is used for dynamically switching the acquiring mechanism to be connected according to the constructed retrieval index.
Wherein the configuration module is specifically configured to: and configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode.
Wherein, the analysis module is specifically configured to: judging whether the configured 8583 data message packet has a configuration file or not when an application program of the point-of-sale terminal is started, analyzing the configured 8583 data message packet when the configuration file is judged to exist, performing correlation operation of a domain processing function on the configured 8583 data message packet, using a binary stream output by an analyzer as a table name in a Model name mode, and analyzing transaction flow intermediate data associated with the configured 8583 data message packet through the table name.
Wherein the group unpacking module is specifically configured to: retrieving information of an acquiring mechanism to be connected from a database through an application program of a point-of-sale terminal, retrieving configuration information of a corresponding 8583 data message packet through the retrieved information of the acquiring mechanism, introducing the retrieved configuration information into a parser for packaging and unpacking, obtaining packaging data of a current request packet from the parsed intermediate data of the transaction process through the parser, combining the packaging data into a corresponding 8583 data message packet according to template rules and converting the data packet into a byte data stream, sending the byte data stream out according to the connection information of the corresponding acquiring mechanism for background response, transmitting the byte data stream information to the parser after receiving background response data, and generating corresponding response data key value pair information according to the template configuration information through the parser, and storing and printing the information according to the key value pair of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information.
According to still another aspect of the present invention, there is provided a management apparatus for data message indexing, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform any of the above methods of managing data packet indexes.
According to a further aspect of the present invention, there is provided a computer-readable storage medium storing a computer program, which when executed by a processor implements the method for managing data packet indexes according to any of the above aspects.
It can be found that, according to the above scheme, the packet and the unpacking of the 8583 data packet can be configured, the configured 8583 data packet can be parsed, the transaction flow intermediate data associated with the configured 8583 data packet can be parsed, the parsed transaction flow intermediate data can be packaged and unpacked, the retrieval index associated with the packaged and unpacked transaction flow intermediate data can be constructed, the order receiving mechanism to be connected can be dynamically switched according to the constructed retrieval index, and the connection of a plurality of different order receiving platforms can be realized by constructing the retrieval index manner associated with the packaged and unpacked transaction flow intermediate data.
Furthermore, the above scheme can configure the packet and the unpacking of the 8583 data packet in a formatted file configuration mode, which has the advantage of realizing flexible configuration of the packet and the unpacking of the 8583 data packet in a formatted file configuration mode, so that a point-of-sale terminal can dynamically switch the order receiving mechanism to be connected.
Furthermore, the above scheme can judge whether the configured 8583 data message packet has a configuration file when the application program of the point-of-sale terminal is started, when the configuration file exists, the configured 8583 data message packet is analyzed, performing correlation operation of domain processing function on the configured 8583 data message packet, using the binary stream output by the parser as a table name in a Model name mode, analyzing the transaction flow intermediate data associated with the configured 8583 data packet through the table name, the method has the advantages that the configured transaction flow intermediate data associated with the 8583 data message packet can be analyzed, the information of all the acquirers corresponding to the associated transaction flow intermediate data can be acquired, and the acquirers to be connected can be switched dynamically according to the acquired information of all the acquirers.
Further, the above scheme can retrieve the information of the connected acquiring mechanism from the database through the application program of the point-of-sale terminal, retrieve the configuration information of the corresponding 8583 data packet through the retrieved information of the acquiring mechanism, lead the retrieved configuration information into the parser for packaging and unpacking, obtain the package data of the current request packet from the parsed transaction flow intermediate data through the parser, combine the corresponding 8583 data packet according to the template rule and convert into the byte data stream, send out the byte data stream according to the connection information of the corresponding acquiring mechanism and wait for background response, after receiving the background response data, transmit the byte data stream information to the parser, and generate the corresponding key value pair information of the response data through the parser according to the template configuration information, and storing and printing the key value pair information of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information, so that the advantage that the analyzed transaction flow intermediate data can be packaged and unpacked in a configuration retrieval mode, and the flexible configuration of the 8583 data packet packaging and unpacking can be realized, so that the point-of-sale terminal can be connected with a plurality of different acquiring organizations.
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 or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an embodiment of a method for managing data packet indexes according to the present invention;
FIG. 2 is a schematic structural diagram of an embodiment of a device for managing data packet indexes according to the present invention;
fig. 3 is a schematic structural diagram of an embodiment of a management device for data packet indexes according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be noted that the following examples are only illustrative of the present invention, and do not limit the scope of the present invention. Similarly, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive work are within the scope of the present invention.
The invention provides a management method for data message indexes, which can realize the connection of a plurality of different order receiving platforms by constructing a retrieval index mode for associating the packaged and unpacked transaction flow intermediate data.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for managing data packet indexes according to an embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
s101: and configuring the packet packing and unpacking of the 8583 data message packet.
The configuring the packet packing and unpacking of the 8583 data packet may include:
the method has the advantages that flexible configuration of the 8583 data message packet packing and unpacking can be realized through the formatted file configuration mode, and a point-of-sale terminal can dynamically switch the acquiring mechanism to be connected conveniently.
In this embodiment, an entry defined by the format of the 8583 data packet may be defined in a DataMap (data map) manner.
In this embodiment, a Model may be used to describe the applicable scope of the Template definition of the 8583 data packet, for example, TEMP (Template) may be used to represent the packet format Template of the 8583 data packet, 086 may be used to identify the applicable scope, UnionPay may be used to indicate that the defined Template of the 8583 data packet is applicable to the union background, Version may be used to identify the current Template Version information of the 8583 data packet, FieldConfig (matching field) field may be used to indicate the respective data field format definitions specified by the current acquirer for the 8583 data packet, the data field format definition general specification is the same as the union specification, DataMap may be used to define the packet and unpacking format information of the 8583 data packet specific to each field in each transaction, and correspond to the data tag specific to the intermediate data of the transaction, so that the point-of-sale terminal can correspond to the acquiring mechanism to be connected.
S102: and analyzing the configured 8583 data message packet to analyze the transaction flow intermediate data associated with the configured 8583 data message packet.
The analyzing the configured 8583 data packet to analyze the transaction flow intermediate data associated with the configured 8583 data packet may include:
the method has the advantages that the transaction flow intermediate data related to the configured 8583 data message packet can be analyzed through the table name, the information of all acquiring agencies corresponding to the related transaction flow intermediate data can be acquired, and the acquiring agencies to be connected can be dynamically switched according to the acquired information of all the acquiring agencies.
S103: and packaging and unpacking the analyzed transaction flow intermediate data.
Wherein, the packaging and unpacking the analyzed transaction flow intermediate data may include:
retrieving information of the acquiring organization to be connected from a database by an application program of the point-of-sale terminal, retrieving configuration information of a corresponding 8583 data message packet by the retrieved information of the acquiring organization, introducing the retrieved configuration information into a parser for packaging and unpacking, obtaining package data of a current request packet from the parsed intermediate data of the transaction flow by the parser, combining the package data into a corresponding 8583 data message packet according to template rules and converting the package data into a byte data stream, sending the byte data stream out and waiting for a background response according to the connection information of the corresponding acquiring organization, transmitting the byte data stream information to the parser after receiving the background response data, generating corresponding key-value pair information of response data according to the template configuration information by the parser, and storing and printing according to the key-value pair information of the returned response packet by the application program of the point-of sale terminal, and according to the stored and printed key value pair information, the analyzed transaction flow intermediate data is packaged and unpacked, so that the advantage that the analyzed transaction flow intermediate data can be packaged and unpacked in a configuration retrieval mode, and the 8583 data message packet can be flexibly configured for packaging and unpacking, so that a point-of-sale terminal can be connected with a plurality of different acquiring mechanisms.
In this embodiment, the information of the acquirer may include unified identification information of the acquirer, and the background connection information of the acquirer includes an IP (Internet Protocol), a port number, and the like, which is not limited in the present invention.
S104: and constructing a retrieval index associated with the packaged and unpacked transaction flow intermediate data.
S105: and dynamically switching the acquiring mechanism to be connected according to the constructed retrieval index.
It can be found that, in this embodiment, the group package and the unpacking of the 8583 data packet may be configured, the configured 8583 data packet may be parsed, the transaction flow intermediate data associated with the configured 8583 data packet may be parsed, the parsed transaction flow intermediate data may be grouped and unpacked, a retrieval index associating the grouped and unpacked transaction flow intermediate data may be constructed, and the order receiving mechanism to be connected may be dynamically switched according to the constructed retrieval index, so that the connection of a plurality of different order receiving platforms may be implemented by constructing a retrieval index associating the grouped and unpacked transaction flow intermediate data.
Further, in this embodiment, the packet and the unpack of the 8583 data packet may be configured in a formatted file configuration manner, which is advantageous in that flexible configuration of the packet and the unpack of the 8583 data packet may be realized in a formatted file configuration manner, so that the pos terminal may dynamically switch the order receiving mechanism to be connected.
Further, in this embodiment, it can be determined whether the configured 8583 data packet has a configuration file when the application program of the pos is started, when the configuration file exists, the configured 8583 data message packet is analyzed, performing correlation operation of domain processing function on the configured 8583 data message packet, using the binary stream output by the parser as a table name in a Model name mode, analyzing the transaction flow intermediate data associated with the configured 8583 data packet through the table name, the method has the advantages that the configured transaction flow intermediate data associated with the 8583 data message packet can be analyzed, the information of all the acquirers corresponding to the associated transaction flow intermediate data can be acquired, and the acquirers to be connected can be switched dynamically according to the acquired information of all the acquirers.
Further, in this embodiment, the information of the acquiring organization to be connected can be retrieved from the database by the application program of the point-of-sale terminal, the configuration information of the corresponding 8583 data packet can be retrieved by the retrieved information of the acquiring organization, the retrieved configuration information is led into the parser for packaging and unpacking, the package data of the current request packet can be obtained from the parsed transaction flow intermediate data by the parser, and is combined into the corresponding 8583 data packet according to the template rule and converted into the byte data stream, the byte data stream is sent out and waits for the background response according to the connection information of the corresponding acquiring organization, and after the background response data is received, the byte data stream information is transmitted to the parser, and the corresponding key value pair information of the response data is generated by the parser according to the template configuration information, and storing and printing the key value pair information of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information, so that the advantage that the analyzed transaction flow intermediate data can be packaged and unpacked in a configuration retrieval mode, and the flexible configuration of the 8583 data packet packaging and unpacking can be realized, so that the point-of-sale terminal can be connected with a plurality of different acquiring organizations.
The invention also provides a management device for data message index, which can realize the connection of a plurality of different order receiving platforms by constructing a retrieval index mode for associating the packaged and unpacked transaction flow intermediate data.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a management apparatus for data packet indexes according to an embodiment of the present invention. In this embodiment, the management device 20 for data packet index includes a configuration module 21, an analysis module 22, a package unpacking module 23, a construction module 24, and a switching module 25.
The configuration module 21 is configured to configure the packet packing and unpacking of the 8583 data packet.
The parsing module 22 is configured to parse the configured 8583 data packet, and parse the transaction flow intermediate data associated with the configured 8583 data packet.
The packaging and unpacking module 23 is configured to package and unpack the parsed transaction flow intermediate data;
the construction module 24 is configured to construct a search index associated with the packaged and unpacked transaction flow intermediate data.
The switching module 25 is configured to dynamically switch the acquiring mechanism to be connected according to the constructed search index.
Optionally, the configuration module 21 may be specifically configured to:
and configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode.
Optionally, the parsing module 22 may be specifically configured to:
judging whether the configured 8583 data message packet has a configuration file or not when an application program of the point-of-sale terminal is started, analyzing the configured 8583 data message packet when the configuration file is judged to exist, performing correlation operation of a domain processing function on the configured 8583 data message packet, using a binary stream output by an analyzer as a table name in a Model name mode, and analyzing transaction flow intermediate data associated with the configured 8583 data message packet through the table name.
Optionally, the set of unpacking module 23 may be specifically configured to:
retrieving information of the acquiring organization to be connected from a database by an application program of the point-of-sale terminal, retrieving configuration information of a corresponding 8583 data message packet by the retrieved information of the acquiring organization, introducing the retrieved configuration information into a parser for packaging and unpacking, obtaining package data of a current request packet from the parsed intermediate data of the transaction flow by the parser, combining the package data into a corresponding 8583 data message packet according to template rules and converting the package data into a byte data stream, sending the byte data stream out and waiting for a background response according to the connection information of the corresponding acquiring organization, transmitting the byte data stream information to the parser after receiving the background response data, generating corresponding key-value pair information of response data according to the template configuration information by the parser, and storing and printing according to the key-value pair information of the returned response packet by the application program of the point-of sale terminal, and according to the stored and printed key value pair information, packaging and unpacking the analyzed transaction flow intermediate data.
Each unit module of the management apparatus for data packet index can respectively execute the corresponding steps in the above method embodiments, so that the detailed description of each unit module is omitted here, and please refer to the description of the corresponding steps above.
The present invention further provides a management device for data packet indexes, as shown in fig. 3, including: at least one processor 31; and a memory 32 communicatively coupled to the at least one processor 31; the memory 32 stores instructions executable by the at least one processor 31, and the instructions are executed by the at least one processor 31, so that the at least one processor 31 can execute the above-mentioned management method for data packet indexes.
Where the memory 32 and the processor 31 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges, the buses coupling together one or more of the various circuits of the processor 31 and the memory 32. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 31 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 31.
The processor 31 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 32 may be used to store data used by the processor 31 in performing operations.
The present invention further provides a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
It can be found that, according to the above scheme, the packet and the unpacking of the 8583 data packet can be configured, the configured 8583 data packet can be parsed, the transaction flow intermediate data associated with the configured 8583 data packet can be parsed, the parsed transaction flow intermediate data can be packaged and unpacked, the retrieval index associated with the packaged and unpacked transaction flow intermediate data can be constructed, the order receiving mechanism to be connected can be dynamically switched according to the constructed retrieval index, and the connection of a plurality of different order receiving platforms can be realized by constructing the retrieval index manner associated with the packaged and unpacked transaction flow intermediate data.
Furthermore, the above scheme can configure the packet and the unpacking of the 8583 data packet in a formatted file configuration mode, which has the advantage of realizing flexible configuration of the packet and the unpacking of the 8583 data packet in a formatted file configuration mode, so that a point-of-sale terminal can dynamically switch the order receiving mechanism to be connected.
Furthermore, the above scheme can judge whether the configured 8583 data message packet has a configuration file when the application program of the point-of-sale terminal is started, when the configuration file exists, the configured 8583 data message packet is analyzed, performing correlation operation of domain processing function on the configured 8583 data message packet, using the binary stream output by the parser as a table name in a Model name mode, analyzing the transaction flow intermediate data associated with the configured 8583 data packet through the table name, the method has the advantages that the configured transaction flow intermediate data associated with the 8583 data message packet can be analyzed, the information of all the acquirers corresponding to the associated transaction flow intermediate data can be acquired, and the acquirers to be connected can be switched dynamically according to the acquired information of all the acquirers.
Further, the above scheme can retrieve the information of the connected acquiring mechanism from the database through the application program of the point-of-sale terminal, retrieve the configuration information of the corresponding 8583 data packet through the retrieved information of the acquiring mechanism, lead the retrieved configuration information into the parser for packaging and unpacking, obtain the package data of the current request packet from the parsed transaction flow intermediate data through the parser, combine the corresponding 8583 data packet according to the template rule and convert into the byte data stream, send out the byte data stream according to the connection information of the corresponding acquiring mechanism and wait for background response, after receiving the background response data, transmit the byte data stream information to the parser, and generate the corresponding key value pair information of the response data through the parser according to the template configuration information, and storing and printing the key value pair information of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information, so that the advantage that the analyzed transaction flow intermediate data can be packaged and unpacked in a configuration retrieval mode, and the flexible configuration of the 8583 data packet packaging and unpacking can be realized, so that the point-of-sale terminal can be connected with a plurality of different acquiring organizations.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for managing data message indexes, comprising:
configuring the packet packing and unpacking of the 8583 data message packet;
analyzing the configured 8583 data message packet, and analyzing the transaction flow intermediate data associated with the configured 8583 data message packet;
packaging and unpacking the analyzed transaction flow intermediate data;
constructing a retrieval index associated with the packaged and unpacked transaction flow intermediate data;
and dynamically switching the acquiring mechanism to be connected according to the constructed retrieval index.
2. The method for managing data packet indexes of claim 1, wherein said configuring the packing and unpacking of 8583 data packet comprises:
and configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode.
3. The method for managing data packet indexes according to claim 1, wherein the parsing the configured 8583 data packet to parse the transaction flow intermediate data associated with the configured 8583 data packet includes:
judging whether the configured 8583 data message packet has a configuration file or not when an application program of the point-of-sale terminal is started, analyzing the configured 8583 data message packet when the configuration file is judged to exist, performing correlation operation of a domain processing function on the configured 8583 data message packet, using a binary stream output by an analyzer as a table name in a Model name mode, and analyzing transaction flow intermediate data associated with the configured 8583 data message packet through the table name.
4. The method for managing data packet indexes according to claim 1, wherein the step of packaging and unpacking the parsed transaction flow intermediate data comprises:
retrieving information of an acquiring mechanism to be connected from a database through an application program of a point-of-sale terminal, retrieving configuration information of a corresponding 8583 data message packet through the retrieved information of the acquiring mechanism, introducing the retrieved configuration information into a parser for packaging and unpacking, obtaining packaging data of a current request packet from the parsed intermediate data of the transaction process through the parser, combining the packaging data into a corresponding 8583 data message packet according to template rules and converting the data packet into a byte data stream, sending the byte data stream out according to the connection information of the corresponding acquiring mechanism for background response, transmitting the byte data stream information to the parser after receiving background response data, and generating corresponding response data key value pair information according to the template configuration information through the parser, and storing and printing the information according to the key value pair of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information.
5. An apparatus for managing data message indexes, comprising:
the system comprises a configuration module, an analysis module, a package unpacking module, a construction module and a switching module;
the configuration module is used for configuring the packet and the unpacking of the 8583 data message packet;
the analysis module is used for analyzing the configured 8583 data message packet and analyzing the transaction flow intermediate data associated with the configured 8583 data message packet;
the packaging and unpacking module is used for packaging and unpacking the analyzed transaction flow intermediate data;
the construction module is used for constructing a retrieval index which is related to the packaged and unpacked transaction flow intermediate data;
the switching module is used for dynamically switching the acquiring mechanism to be connected according to the constructed retrieval index.
6. The apparatus for managing data packet indexes according to claim 5, wherein the configuration module is specifically configured to:
and configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode.
7. The apparatus for managing data packet indexes according to claim 5, wherein the parsing module is specifically configured to:
judging whether the configured 8583 data message packet has a configuration file or not when an application program of the point-of-sale terminal is started, analyzing the configured 8583 data message packet when the configuration file is judged to exist, performing correlation operation of a domain processing function on the configured 8583 data message packet, using a binary stream output by an analyzer as a table name in a Model name mode, and analyzing transaction flow intermediate data associated with the configured 8583 data message packet through the table name.
8. The apparatus for managing data packet indexes according to claim 5, wherein the packet unpacking module is specifically configured to:
retrieving information of an acquiring mechanism to be connected from a database through an application program of a point-of-sale terminal, retrieving configuration information of a corresponding 8583 data message packet through the retrieved information of the acquiring mechanism, introducing the retrieved configuration information into a parser for packaging and unpacking, obtaining packaging data of a current request packet from the parsed intermediate data of the transaction process through the parser, combining the packaging data into a corresponding 8583 data message packet according to template rules and converting the data packet into a byte data stream, sending the byte data stream out according to the connection information of the corresponding acquiring mechanism for background response, transmitting the byte data stream information to the parser after receiving background response data, and generating corresponding response data key value pair information according to the template configuration information through the parser, and storing and printing the information according to the key value pair of the returned response packet through an application program of the point-of-sale terminal, and packaging and unpacking the analyzed transaction flow intermediate data according to the stored and printed key value pair information.
9. A device for managing data message indexing, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of managing data packet indexes as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements the method for managing data packet indexes according to any one of claims 1 to 4.
CN201911318093.1A 2019-12-19 2019-12-19 Method, device and equipment for managing data message indexes Active CN110995754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911318093.1A CN110995754B (en) 2019-12-19 2019-12-19 Method, device and equipment for managing data message indexes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911318093.1A CN110995754B (en) 2019-12-19 2019-12-19 Method, device and equipment for managing data message indexes

Publications (2)

Publication Number Publication Date
CN110995754A true CN110995754A (en) 2020-04-10
CN110995754B CN110995754B (en) 2022-08-16

Family

ID=70063061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911318093.1A Active CN110995754B (en) 2019-12-19 2019-12-19 Method, device and equipment for managing data message indexes

Country Status (1)

Country Link
CN (1) CN110995754B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112966166A (en) * 2021-02-07 2021-06-15 白腊梅 Method and device for generating and matching indexes of request statement and response statement

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944214A (en) * 2009-07-10 2011-01-12 海南新生信息技术有限公司 Multi-card multi-acquiring-bank payment and settlement method and system
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
CN102915600A (en) * 2012-09-20 2013-02-06 无锡华御信息技术有限公司 Fore-POS (point of sale) system and method convenient for function extension
US20130054468A1 (en) * 2011-08-25 2013-02-28 Platamovil International BV System and method for conducting financial transactions
CN103428080A (en) * 2012-05-17 2013-12-04 中国银联股份有限公司 Data unpacking and data packing method
US20140214651A1 (en) * 2013-01-29 2014-07-31 MphasiS Limited Methods and systems for least-cost routing of transactions for merchants
CN104537778A (en) * 2015-01-21 2015-04-22 上海讯联数据服务有限公司 Method and device for supporting plurality of acquirers based on same financial POS terminal
CN105023149A (en) * 2015-04-03 2015-11-04 深圳市淘淘谷信息技术有限公司 Method for realizing off-line cashing diversified settlement and payment management, and payment management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944214A (en) * 2009-07-10 2011-01-12 海南新生信息技术有限公司 Multi-card multi-acquiring-bank payment and settlement method and system
US20130054468A1 (en) * 2011-08-25 2013-02-28 Platamovil International BV System and method for conducting financial transactions
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
CN103428080A (en) * 2012-05-17 2013-12-04 中国银联股份有限公司 Data unpacking and data packing method
CN102915600A (en) * 2012-09-20 2013-02-06 无锡华御信息技术有限公司 Fore-POS (point of sale) system and method convenient for function extension
US20140214651A1 (en) * 2013-01-29 2014-07-31 MphasiS Limited Methods and systems for least-cost routing of transactions for merchants
CN104537778A (en) * 2015-01-21 2015-04-22 上海讯联数据服务有限公司 Method and device for supporting plurality of acquirers based on same financial POS terminal
CN105023149A (en) * 2015-04-03 2015-11-04 深圳市淘淘谷信息技术有限公司 Method for realizing off-line cashing diversified settlement and payment management, and payment management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112966166A (en) * 2021-02-07 2021-06-15 白腊梅 Method and device for generating and matching indexes of request statement and response statement
CN112966166B (en) * 2021-02-07 2023-09-05 白腊梅 Method and device for generating and matching indexes of request sentences and answer sentences

Also Published As

Publication number Publication date
CN110995754B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
US11308460B2 (en) Method and system for multi-account check processing via blockchain
CN110287247B (en) Data storage method, device, equipment and storage medium based on Unionpay system
CN1987925A (en) Complex front platform of financial system and transfering method transaction data
US20050197916A1 (en) Market data message format
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
CN104820604B (en) A kind of browser applied to POS terminal
CN107632869B (en) Method and equipment for loading user interface of POS application
CN110795697B (en) Method and device for acquiring logic expression, storage medium and electronic device
CN108776610A (en) A kind of interface configuration method and device
CN106992940B (en) Message processing method, device, system and terminal
CN110892431A (en) Method and system for improved transaction processing and routing
CN111026931A (en) Data query method, device, equipment and medium
CN110995754B (en) Method, device and equipment for managing data message indexes
CN111738763A (en) Policy processing method, device, equipment and storage medium
CN111126983B (en) Order receiving connection method based on sales terminal, sales terminal and sales equipment
CN111064728B (en) Method, device and equipment for packing and unpacking data message
CN109284452A (en) The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium
CN112948306A (en) Method and device for expanding system interface
CN110995755B (en) Method, device and equipment for configuring data message
CN109829723A (en) The method and apparatus for generating business voucher
CN110555763A (en) financial data processing method and device based on block chain
CN111159158B (en) Data normalization method and device, computer readable storage medium and electronic equipment
CN107632896A (en) A kind of data processing method, data processing equipment and communication apparatus
CN114721704A (en) Multi-platform docking method and device, electronic equipment and computer readable medium
CN106528718B (en) Method and apparatus for processing data from third party

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