CN110995754B - Method, device and equipment for managing data message indexes - Google Patents
Method, device and equipment for managing data message indexes Download PDFInfo
- Publication number
- CN110995754B CN110995754B CN201911318093.1A CN201911318093A CN110995754B CN 110995754 B CN110995754 B CN 110995754B CN 201911318093 A CN201911318093 A CN 201911318093A CN 110995754 B CN110995754 B CN 110995754B
- Authority
- CN
- China
- Prior art keywords
- data
- packet
- data message
- information
- unpacking
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004806 packaging method and process Methods 0.000 claims abstract description 38
- 230000007246 mechanism Effects 0.000 claims abstract description 35
- 230000008569 process Effects 0.000 claims abstract description 8
- 238000004458 analytical method Methods 0.000 claims abstract description 7
- 230000004044 response Effects 0.000 claims description 32
- 238000012856 packing Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 10
- 238000007639 printing Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 238000007726 management method Methods 0.000 description 13
- 230000008901 benefit Effects 0.000 description 10
- 230000008520 organization Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0009—Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
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
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 and waiting 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 through the parser according to the template configuration information, 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 POS terminal is started, analyzing the configured 8583 data message packet when the configuration file is judged to exist, performing association operation of a domain processing function on the configured 8583 data message packet, using a binary stream output by an analyzer in a Model name mode as a table name, 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 to enable the at least one processor to perform any of the above methods of managing data packet indexes.
According to still another 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 described in any one of the above.
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, and is convenient for a point-of-sale terminal to dynamically switch an 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.
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.
Furthermore, in this embodiment, the packed packets and unpacked packets of the 8583 data packets may be configured in a formatted file configuration manner, which is advantageous in that flexible configuration of the packed packets and unpacked packets of the 8583 data packets may be implemented in a formatted file configuration manner, so that the pos 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 association operation of domain processing function on the configured 8583 data message packet, using the binary stream output by the parser as table name in Model name mode, analyzing the intermediate data of the transaction flow associated with the configured 8583 data message 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 indexes, which can realize the connection of a plurality of different receipt platforms by constructing a retrieval index mode associated with 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 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 or not through the application program of the point-of-sale terminal when starting, when the configuration file is judged to exist, 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.
The 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 position, 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 (4)
1. A method for managing data message indexes, comprising:
configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode;
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;
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, 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;
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. 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;
wherein the configuration module is specifically configured to:
configuring the packet packing and unpacking of the 8583 data message packet in a formatted file configuration mode;
in addition, 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;
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.
3. 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 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 recited in claim 1.
4. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the method for managing data packet indexes as claimed in claim 1.
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 CN110995754A (en) | 2020-04-10 |
CN110995754B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112966166B (en) * | 2021-02-07 | 2023-09-05 | 白腊梅 | Method and device for generating and matching indexes of request sentences and answer sentences |
Citations (6)
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 |
CN103428080A (en) * | 2012-05-17 | 2013-12-04 | 中国银联股份有限公司 | Data unpacking and data packing method |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130054468A1 (en) * | 2011-08-25 | 2013-02-28 | Platamovil International BV | System and method for conducting financial transactions |
US20140214651A1 (en) * | 2013-01-29 | 2014-07-31 | MphasiS Limited | Methods and systems for least-cost routing of transactions for merchants |
-
2019
- 2019-12-19 CN CN201911318093.1A patent/CN110995754B/en active Active
Patent Citations (6)
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 |
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN110995754A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12002017B2 (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 | |
US10546348B1 (en) | Cleaning noise words from transaction descriptions | |
US20050197916A1 (en) | Market data message format | |
CN111026931B (en) | Data query method, device, equipment and medium | |
CN104820604B (en) | A kind of browser applied to POS terminal | |
CN102982446A (en) | Mobile payment system and method | |
CN110795697B (en) | Method and device for acquiring logic expression, storage medium and electronic device | |
CN110264648A (en) | Data processing method and device, automatic teller machine and data processing system | |
JP2003178222A (en) | Data converting method and device between business protocols and its processing program | |
AU2018301999A1 (en) | Method and system for improved transaction processing and routing | |
CN110995754B (en) | Method, device and equipment for managing data message indexes | |
CN114979264B (en) | Finance-level message processing method and device | |
CN111738763A (en) | Policy processing method, device, equipment and storage medium | |
CN109032598A (en) | A kind of dynamic creation method and device of transaction flow | |
CN111126983B (en) | Order receiving connection method based on sales terminal, sales terminal and sales equipment | |
CN109829723A (en) | The method and apparatus for generating business voucher | |
CN111064728B (en) | Method, device and equipment for packing and unpacking data message | |
CN110995755B (en) | Method, device and equipment for configuring data message | |
CN109214911A (en) | The treating method and apparatus of bill reconciliation exception | |
CN117008844A (en) | Device control method and device of storage device, storage medium and electronic device | |
CN112948306A (en) | Method and device for expanding system interface | |
CN116991929A (en) | Micro-service system based on big hospital data | |
KR102407941B1 (en) | User interface generation method of electronic device calling function or procedure of external device based on remote procedure call(rpc), program and electronic device thereof | |
CN116385181A (en) | Business transaction method, system, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |