CN107395499B - POS machine communication method and POS terminal - Google Patents

POS machine communication method and POS terminal Download PDF

Info

Publication number
CN107395499B
CN107395499B CN201710607941.5A CN201710607941A CN107395499B CN 107395499 B CN107395499 B CN 107395499B CN 201710607941 A CN201710607941 A CN 201710607941A CN 107395499 B CN107395499 B CN 107395499B
Authority
CN
China
Prior art keywords
pos terminal
information
routing
machine room
transaction message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710607941.5A
Other languages
Chinese (zh)
Other versions
CN107395499A (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201710607941.5A priority Critical patent/CN107395499B/en
Publication of CN107395499A publication Critical patent/CN107395499A/en
Application granted granted Critical
Publication of CN107395499B publication Critical patent/CN107395499B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a POS communication method and a POS terminal. The POS communication method is applied to a POS terminal and comprises the following steps: determining a transaction message according to the transaction request; sending the transaction message to a background server through a first routing path; and sending the transaction message to the background server through a second routing path according to the first routing information. The network stability of the POS terminal can be enhanced.

Description

POS machine communication method and POS terminal
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a POS communication method and a POS terminal.
Background
The POS terminal communicates with the background through a 2G network communication channel, a 3G network communication channel, a 4G network communication channel or a WIFI communication channel, only one communication channel is selected in the traditional scheme, and in the situation, the positive-going rate is increased when a certain communication channel or a link goes wrong or fluctuates.
Aiming at the problem, the prior art provides that the POS terminal simultaneously selects at least two communication channels to assist each other and interacts with a background at the same time, so that the problem of reducing the alignment rate under the condition of a complex network is solved.
Existing approaches using dual communication channels require the merchant POS terminal to provide at least two communication channels. In addition, when data traffic is used simultaneously, only the problem of network to base station connection can be solved, and the problem of other communication links such as a base station to server communication link cannot be solved.
Therefore, a new POS communication method and POS terminal are needed.
Disclosure of Invention
The present disclosure provides a POS communication method and a POS terminal capable of solving at least the above-described problems in the prior art, in part or in whole.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to one aspect of the present disclosure, there is provided a POS communication method applied to a POS terminal, the method including: determining a transaction message according to the transaction request; sending the transaction message to a background server through a first routing path; and sending the transaction message to the background server through a second routing path according to the first routing information.
In an exemplary embodiment of the present disclosure, the first routing path is a routing path through which the POS terminal directly sends the transaction packet to the background server through a network; and the second routing path is a routing path for the POS terminal to send the transaction message to the background server through at least one agent POS terminal and a network.
In an exemplary embodiment of the present disclosure, the method further comprises: receiving second routing information and a processing result through the first routing path; and receiving the second routing information and the processing result through the second routing path; and the second routing information is determined according to the whole network information of the POS machine.
In an exemplary embodiment of the present disclosure, the method further comprises: storing the second routing information in an agent module of the POS terminal; and returning the processing result to a cash register module of the POS terminal.
In an exemplary embodiment of the present disclosure, the method further comprises: judging whether the second routing information and the processing result respectively received from the first routing path and the second routing path are repeated; and when the received second routing information and the processing result are repeated, discarding the repeated second routing information and the processing result.
In an exemplary embodiment of the present disclosure, the backend server includes a plurality of backend servers, and the plurality of backend servers are distributed in different computer rooms, and the method further includes: according to the first machine room information, the transaction message is sent to the corresponding machine room through the first routing path; and sending the transaction message to the corresponding machine room through the second routing path.
In an exemplary embodiment of the present disclosure, the method further comprises: receiving second machine room information through the first routing path; receiving the second machine room information through the second routing path; and the second machine room information is determined according to the machine room state of each machine room.
In an exemplary embodiment of the present disclosure, the method further comprises: when the POS terminal is initialized, sending a detection message to the background server and other adjacent POS terminals to acquire the initial network condition of the POS machine; and receiving and storing initial routing information calculated according to the initial network condition of the POS terminal.
In an exemplary embodiment of the present disclosure, the backend server includes a plurality of backend servers, and the plurality of backend servers are distributed in different computer rooms, and the method further includes: and receiving and storing initial machine room information obtained by calculation according to the initial machine room state of each machine room.
In an exemplary embodiment of the disclosure, the first routing information is stored at the POS terminal for indicating the second routing path.
According to one aspect of the present disclosure, a POS communication method is provided, which is applied to a background server, and the method includes: receiving a transaction message sent by a POS terminal through a first routing path; receiving the transaction message sent by the POS terminal through a second routing path; judging whether the transaction message received from the first routing path or the second routing path is a repeated message; when the transaction message is a repeated message, discarding the repeated transaction message; and when the transaction message is not a repeated message, processing the transaction message to obtain a processing result.
In an exemplary embodiment of the present disclosure, the method further comprises: uploading the whole network information of the POS terminal to a routing calculation server; and receiving second routing information determined according to the whole network information of the POS terminal.
In an exemplary embodiment of the present disclosure, the method further comprises: sending the processing result and the second routing information to the POS terminal through the first routing path; and sending the processing result and the second routing information to the POS terminal through the second routing path.
In an exemplary embodiment of the present disclosure, the method further comprises: receiving the transaction message sent through the first routing path through a corresponding machine room according to the first machine room information; and receiving the transaction message sent through the second routing path through the corresponding machine room.
In an exemplary embodiment of the present disclosure, the method further comprises: uploading the machine room state of each machine room to a routing computing server; receiving second machine room information returned according to the machine room state of each machine room; and sending the second machine room information to the POS terminal and storing the second machine room information.
In an exemplary embodiment of the present disclosure, the backend server includes a plurality of backend servers, and the plurality of backend servers are distributed in different computer rooms, and the method further includes: when a background server of each machine room receives a detection message sent by the POS terminal in an initialization mode, sending an initial machine room state of each machine room; receiving initial machine room information returned according to the initial machine room state of each machine room; and returning the initial machine room information to the POS terminal and storing the initial machine room information.
According to one aspect of the present disclosure, there is provided a POS communication method applied to a route calculation server, the method including: receiving the whole network information of the POS terminal; acquiring second routing information according to the whole network information of the POS terminal; and sending the second routing information.
In an exemplary embodiment of the present disclosure, the network-wide information of the POS terminal includes network transmission information from the POS terminal to a background server, and network transmission information from the POS terminal to other POS terminals of each neighboring node, where obtaining the second routing information according to the network-wide information of the POS terminal includes: and obtaining the shortest path from the POS terminal to the background server as the second routing information according to the network transmission information.
In an exemplary embodiment of the present disclosure, the method further comprises: receiving the machine room state of each machine room; and generating and sending second machine room information according to the machine room states of the machine rooms.
In an exemplary embodiment of the present disclosure, the method further comprises: and correcting the second routing information according to the machine room state of each machine room.
According to one aspect of the present disclosure, there is provided a POS terminal including a cashier module and an agent module; the cash register module is used for determining a transaction message according to a transaction request; the agent module is used for sending the transaction message to a background server through a first routing path; and the agent module is also used for sending the transaction message to the background server through a second routing path according to the first routing information.
According to an aspect of the present disclosure, there is provided a background server, including: the first message receiving module is used for receiving a transaction message sent by the POS terminal through a first routing path; the second message receiving module is used for receiving the transaction message sent by the POS terminal through a second routing path; the judging module is used for judging whether the transaction message received from the first routing path or the second routing path is a repeated message; the discarding module is used for discarding the repeated transaction message when the transaction message is the repeated message; and the processing module is used for processing the transaction message to obtain a processing result when the transaction message is not a repeated message.
According to an aspect of the present disclosure, there is provided a route calculation server including: the network information receiving module is used for receiving the whole network information of the POS terminal; the second routing information generating module is used for acquiring second routing information according to the whole network information of the POS terminal; and the second routing information sending module is used for sending the second routing information.
According to an aspect of the present disclosure, an electronic device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the program is executed by the processor, the method steps of the above-mentioned embodiment of the invention are implemented.
According to an aspect of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method steps of the above-mentioned embodiments of the invention.
According to the POS communication method and the POS terminal, the POS terminal sends the transaction request to the background server through more than one routing path, so that the network stability can be enhanced, and the correction rate of the POS terminal when the network communication condition is not good is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
FIG. 1 is a flow chart illustrating a POS communication method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating another POS communication method according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating yet another POS communication method according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating a POS terminal according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating a backend server according to an example embodiment.
Fig. 6 is a block diagram illustrating a route calculation server according to an example embodiment.
Fig. 7 is an architectural diagram illustrating a POS communication system according to an exemplary embodiment.
Fig. 8 is a flow chart illustrating a transaction at a POS terminal according to an exemplary embodiment.
FIG. 9 is a diagram illustrating a POS terminal initialization and real-time calculations, according to an exemplary embodiment.
FIG. 10 is a schematic diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The POS system, i.e., a point-of-sale information system, is a system that directly reads commodity sales information (such as commodity names, unit prices, sales quantities, sales times, sales shops, purchasing customers, etc.) through an automatic reading device (such as a cash register) when selling commodities, and transmits the information to relevant departments through a communication network and a computer system to perform analysis and processing so as to improve the operating efficiency.
The POS machine or the POS terminal is a multifunctional terminal, is arranged in a special merchant of a credit card and an acceptance network point to be connected with a computer to form a network, can realize automatic electronic fund transfer, has the functions of supporting consumption, pre-authorization, balance inquiry, transfer, printing and the like, and is safe, quick and reliable to use. Due to the multifunctionality of the POS terminal, the POS terminal can be used for various industries, and the use areas are scattered and can not be concentrated, so that the use environments are different, the adaptability of communication is insufficient, the communication stability is poor, the transaction communication speed is low, and the reliability is low; in addition, most of the used areas are crowd gathering areas, and the network reliability is complex and changeable.
When the POS terminal is in transaction, after a user swipes a card, the POS terminal sends transaction data to a background, the phenomena of poor network environment, low reliability and the like often cause that the transaction speed is low, the transaction result can be returned only by waiting for a long time, the transaction result is slow, the transaction failure rate is high or the background is corrected, and the user experience is very poor. Correction is the remedial measure taken when the system considers that the transaction may fail. The transaction is set to be a successful mark at the terminal, but the financial transaction packet sent to the host is not responded, namely the terminal transaction is overtime, so that whether the transaction is successfully completed at the host end is uncertain, in order to ensure the benefit of a user, the terminal sends a request to the host again to request to cancel the flow of the transaction, if the host end has successfully completed the transaction, the transaction is rolled back, otherwise, the transaction is not processed, and then the processing result is returned to the terminal.
FIG. 1 is a flow chart illustrating a POS communication method according to an exemplary embodiment. The POS communication method can be applied to POS terminals.
In an exemplary embodiment, the POS terminal may include a cashier module and an agent module (refer to fig. 4).
As shown in fig. 1, the POS communication method may include the following steps.
In step S110, a transaction message is determined according to the transaction request.
In an exemplary embodiment, the transaction request may be received by the cashier module of the POS terminal, and a transaction message may be assembled according to the transaction request, and then the assembled transaction message may be sent to the agent module of the POS terminal.
In step S120, the transaction packet is sent to a background server through a first routing path.
In an exemplary embodiment, the first routing path may be a routing path through which the POS terminal directly sends the transaction packet to the backend server through a network.
In an exemplary embodiment, the backend server may include a plurality of backend servers, and the plurality of backend servers may be distributed in different computer rooms.
In the embodiment of the present invention, one background server or multiple background servers may be deployed in the same machine room at the same time, which is not limited in the present disclosure. In an exemplary embodiment, the same background service may be deployed in the multiple different machine rooms, and the background service may be configured to process the transaction request sent by the POS terminal and obtain a processing result. In some embodiments, the network condition of the same machine room is considered to be the same regardless of how many background servers are provided, that is, it is considered as one node in the whole network of the POS terminal, and how many machine rooms are corresponding to how many machine room nodes.
In step S130, according to the first routing information, the transaction packet is sent to the background server through a second routing path.
In an exemplary embodiment, the first routing information may be stored at the POS terminal, which may be used to indicate the second routing path.
In an exemplary embodiment, the first routing information may be routing information pre-stored in an agent module of the POS terminal, and may be calculated by a routing calculation server according to a current real-time network condition at the time of a previous transaction request. However, the present disclosure is not limited to this, and in other embodiments, the first routing information may also be obtained by the routing computation server through real-time computation according to the current real-time network condition when the current transaction packet is sent.
It should be noted that, although only two routing paths are illustrated in the foregoing embodiment, in practice, the POS communication method according to the embodiment of the present disclosure may send the same transaction message to the backend server through more than two routing paths, for example, three routing paths, four routing paths, and the like, which is not limited in this disclosure.
In an exemplary embodiment, the transaction message may be sent to the background server via the agent module of the POS terminal and through the first routing path and the second routing path, respectively.
In an exemplary embodiment, the second routing path is a routing path through which the POS terminal sends the transaction packet to the background server through at least one proxy POS terminal and a network.
In an exemplary embodiment, the method may further include: according to the first machine room information, the transaction message is sent to the corresponding machine room through the first routing path; and sending the transaction message to the corresponding machine room through the second routing path.
In an exemplary embodiment, the method may further include: receiving second routing information and a processing result through the first routing path; and receiving the second routing information and the processing result through the second routing path. And the second routing information is determined according to the whole network information of the POS terminal.
It should be noted that, although the POS terminal receives the second routing information and the processing result through a dual path in the foregoing embodiment, in other embodiments, only one of the first routing path or the second routing path may be selected to receive the second routing information and the processing result, which is not limited in this disclosure.
In an exemplary embodiment, the network-wide network information of the POS terminal may include network transmission information of the POS terminal to the background server, and network transmission information of the POS terminal to other POS terminals of each neighboring node.
In an exemplary embodiment, the method may further include: storing the second routing information in an agent module of the POS terminal; and returning the processing result to a cash register module of the POS terminal.
In an exemplary embodiment, the method may further include: judging whether the second routing information and the processing result respectively received from the first routing path and the second routing path are repeated; and when the received second routing information and the processing result are repeated, discarding the repeated second routing information and the processing result. That is, since the POS terminal receives the second routing information and the processing result through two or more paths (e.g., the first routing path and the second routing path), it is only necessary to store the second routing information and the processing result that arrive first.
In an exemplary embodiment, the method may further include: receiving second machine room information through the first routing path; and receiving the second machine room information through the second routing path. The second machine room information may be determined according to the machine room status of each machine room.
In an exemplary embodiment, the method may further include: when the POS terminal is initialized, sending a detection message to the background server and other adjacent POS terminals to acquire the initial network condition of the POS terminal; and receiving and storing initial routing information calculated according to the initial network condition of the POS terminal.
In an exemplary embodiment, the method may further include: and receiving and storing initial machine room information obtained by calculation according to the initial machine room state of each machine room.
According to the POS communication method provided by the embodiment of the invention, the transaction request of the POS terminal is sent to the background service for processing through two or more than two routing paths simultaneously through the communication mode of the multi-network agent, so that the network stability of the POS terminal can be improved, the alignment rate can be reduced, and meanwhile, the method is simple to implement and low in cost. The multi-network agent means that on one hand, the POS terminal directly sends a transaction request to the background server through the network, and on the other hand, the transaction request is also sent to the background server through the agent POS terminal and the network.
In some embodiments, the POS communication method can also be used for real-time network agent computing service, and a multi-network agent communication mode is proposed based on a POS machine which simultaneously supports cash register and agent communication.
According to another exemplary embodiment of the present disclosure, there is also provided a POS communication device, which may be applied to a POS terminal, the POS communication device may include: the device comprises a message generating module, a first message sending module and a second message sending module.
The message generation module may be configured to determine a transaction message according to a transaction request.
The first message sending module may be configured to send the transaction message to a background server through a first routing path.
The second message sending module may be configured to send the transaction message to the background server through a second routing path according to the first routing information.
The specific implementation of each module of the POS communication apparatus according to the embodiment of the present invention may refer to the POS communication method in the above embodiment of the present invention, and details are not described here.
FIG. 2 is a flow chart illustrating another POS communication method according to an exemplary embodiment. The POS communication method can be applied to a background server.
As shown in fig. 2, the POS communication method may include the following steps.
In step S210, a transaction message sent by the POS terminal through the first routing path is received.
In step S220, the transaction message sent by the POS terminal through the second routing path is received.
In step S230, determining whether the transaction message received from the first routing path or the second routing path is a duplicate message; when the transaction message is a repeat message, step S240 is entered; and when the transaction message is not a repeated message, skipping to the step S250.
In step S240, when the transaction message is a repeated message, the repeated transaction message is discarded.
In step S250, when the transaction message is not a duplicate message, the transaction message is processed to obtain a processing result.
In an exemplary embodiment, the method may further include: uploading the whole network information of the POS terminal to a routing calculation server; and receiving second routing information returned according to the whole network information of the POS terminal.
In an exemplary embodiment, the method may further include: sending the processing result and the second routing information to the POS terminal through the first routing path; and sending the processing result and the second routing information to the POS terminal through the second routing path.
In an exemplary embodiment, the backend server may include a plurality of backend servers, and the plurality of backend servers may be distributed in different computer rooms.
In an exemplary embodiment, the method may further include: receiving the transaction message sent through the first routing path through a corresponding machine room according to the first machine room information; and receiving the transaction message sent through the second routing path through the corresponding machine room.
In an exemplary embodiment, the method may further include: uploading the machine room state of each machine room to a routing computing server; receiving second machine room information returned according to the machine room state of each machine room; and sending the second machine room information to the POS terminal and storing the second machine room information.
In an exemplary embodiment, the method may further include: when a background server of each machine room receives a detection message sent by the POS terminal in an initialization mode, sending an initial machine room state of each machine room; receiving initial machine room information returned according to the initial machine room state of each machine room; and returning the initial machine room information to the POS terminal and storing the initial machine room information.
According to another exemplary embodiment of the present disclosure, there is also provided a POS communication device, which may be applied to a backend server, the POS communication device may include: the device comprises a first message receiving module, a second message receiving module, a message judging module and a message processing module.
The first message receiving module may be configured to receive a transaction message sent by the POS terminal through the first routing path.
The second message receiving module may be configured to receive the transaction message sent by the POS terminal through a second routing path.
The message determination module may be configured to determine whether the transaction message received from the first routing path or the second routing path is a duplicate message.
The message processing module may be configured to discard the repeated transaction message when the transaction message is a repeated message. Meanwhile, the message processing module can be further used for processing the transaction message to obtain a processing result when the transaction message is not a repeated message.
The specific implementation of each module of the POS communication apparatus according to the embodiment of the present invention may refer to the POS communication method in the above embodiment of the present invention, and details are not described here.
FIG. 3 is a flow chart illustrating yet another POS communication method according to an exemplary embodiment. The POS communication method may be applied to a route calculation server.
As shown in fig. 3, the POS communication method may include the following steps.
In step S310, the network-wide information of the POS terminal is received.
In an exemplary embodiment, the network-wide information from the POS terminal to the POS terminal in the background may include network transmission information from the POS terminal to a background server, and network transmission information from the POS terminal to other POS terminals in each neighboring node.
In step S320, second routing information is obtained according to the network-wide information of the POS terminal.
In an exemplary embodiment, obtaining the second routing information according to the POS terminal network-wide network information may include: and obtaining the shortest path from the POS terminal to the background server as the second routing information according to the network transmission information.
In step S330, the second routing information is transmitted.
In an exemplary embodiment, the method may further include: receiving the machine room state of each machine room; and generating and sending second machine room information according to the machine room states of the machine rooms.
In an exemplary embodiment, the method may further include: and correcting the second routing information according to the machine room state of each machine room.
According to another exemplary embodiment of the present disclosure, there is also provided a POS communication device that may be applied to a routing calculation server, the POS communication device may include: the device comprises a network information receiving module, a routing information calculating module and a routing information sending module.
The network information receiving module may be configured to receive the uploaded network-wide network information of the POS terminal.
The routing information calculation module may be configured to obtain second routing information according to the full network information of the POS terminal.
The routing information sending module may be configured to send the second routing information.
The specific implementation of each module of the POS communication apparatus according to the embodiment of the present invention may refer to the POS communication method in the above embodiment of the present invention, and details are not described here.
FIG. 4 is a block diagram illustrating a POS terminal according to an exemplary embodiment.
As shown in fig. 4, the POS terminal 100 may include a cash register module 110 and an agent module 120.
The cashier module 110 may be configured to determine a transaction message according to the transaction request.
The agent module 120 may be configured to send the transaction message to the background server through the first routing path.
The agent module 120 may be further configured to send the transaction packet to the background server through a second routing path according to the first routing information.
In the embodiment of the present invention, a POS terminal as an application terminal may include two modules, one of which is a traditional cashier module for cashier, and may include magnetic track information reading, receipt printing, and the like, and the other of which is a proxy module, and may be used to store an IP address and port information of a proxy POS terminal selectable by the POS terminal, machine room information (POS terminal service background machine room information), a function of supporting a heartbeat function of the POS terminal, and a function of sending and receiving a message.
FIG. 5 is a block diagram illustrating a backend server according to an example embodiment.
As shown in fig. 5, the backend server 200 may include a first message receiving module 210, a second message receiving module 220, a determining module 230, a discarding module 240, and a processing module 250.
The first message receiving module 210 may be configured to receive a transaction message sent by the POS terminal through the first routing path.
The second message receiving module 220 may be configured to receive the transaction message sent by the POS terminal through the second routing path.
The determining module 230 may be configured to determine whether the transaction packet received from the first routing path or the second routing path is a duplicate packet.
The discarding module 240 may be configured to discard the repeated transaction message when the transaction message is a repeated message.
The processing module 250 may be configured to process the transaction message to obtain a processing result when the transaction message is not a duplicate message.
Fig. 6 is a block diagram illustrating a route calculation server according to an example embodiment.
As shown in fig. 6, the route calculation server 300 may include a network information receiving module 310, a second route information generating module 320, and a second route information transmitting module 330.
The network information receiving module 310 may be configured to receive network-wide network information of the POS terminal.
The second routing information generating module 320 may be configured to obtain the second routing information according to the network-wide information of the POS terminal.
The second routing information transmitting module 330 may be configured to transmit the second routing information.
The above-described embodiments of the invention are illustrated below by means of fig. 7-9, respectively.
Fig. 7 is an architectural diagram illustrating a POS communication system according to an exemplary embodiment.
As shown in fig. 7, the POS communication system may include a POS terminal, a proxy POS terminal (here, two proxy POS terminals 1 and 2 are exemplified) and a background, wherein the background may include machine rooms 1 to n and a background routing computing server. The POS terminal can comprise a cash register module and an agent module, the agent POS terminal 1 can also comprise a cash register module and an agent module, the agent POS terminal 2 can also comprise a cash register module and an agent module, background servers are respectively arranged in the machine rooms 1 and 2 until the machine room n (n is a positive integer), and each machine room can be in two-way communication with the routing computing server. Each machine room can provide background services for processing POS terminal transaction requests. The route calculation server may provide route calculation services/proxy network real-time route calculation services.
It should be noted that, the number of agent POS terminals through which a specific POS terminal forms a second routing path is determined according to a specific network, a specific route, and a specific real transmission request of a computer room, and may be one or multiple.
With continued reference to fig. 7, on one hand, the agent module of the first POS terminal on the left side sends the transaction request directly to the POS terminal background service machine room through the network, that is, through the first routing path; on the other hand, the agent module of the first POS terminal on the left first sends the request to the agent module of the agent POS terminal 2 through the agent module of the agent POS terminal 1, and then the agent module of the agent POS terminal 2 sends the transaction request to the POS terminal background service machine room through the network.
Wherein, the agent module of each POS terminal stores selectable agent POS terminal IP address and port information as first routing information and POS terminal background service machine room information (when a plurality of machine rooms exist), when the POS terminal needs to send transaction request, the routing computation service/proxy network real-time routing computation service of the routing computation server stores the real-time network status of each node (POS terminal, each proxy POS terminal can be considered as a node in the network) to the background server, and the network conditions between each POS terminal, when the POS terminal sends heartbeat data or returns a message (e.g., a message of a processing result), routing information of the POS terminal when a transaction request is initiated next time, that is, second routing information, is calculated, and the calculated routing information is returned to the POS terminal and recorded in an agent module of the POS terminal.
In the embodiment shown in fig. 7, the back-office includes a service cluster composed of back-office services with the same processing deployed in different rooms in different regions and a real-time routing computing service/proxy network real-time routing computing service with special computing capability. When a background application receives a transaction request each time, a routing and a machine room strategy when the POS terminal carries out a network request next time are calculated according to routing information (including the POS terminal and the agent POS terminal which the message passes through, so that the network condition of intercommunication between the POS terminals can be collected), transmission time, used machine room information, POS machine heartbeat information collected at intervals (the direct network state from the POS terminal to a server side and the use condition of the POS terminal are obtained), machine room network monitoring information (a background server is deployed in different machine rooms, such as places including a corridor, a secondary canal and the like, and the conditions of different machine room networks are different) and other data which can be used for measuring the POS machine network condition. The real-time routing calculation service calculates and obtains the routing information and the target machine room selected when the POS terminal sends the transaction request next time according to the routing information of the current transaction request, the used machine room information and the like, and the routing information and the machine room information are updated in time each time the background server interacts with the routing calculation server.
Fig. 8 illustrates a transaction flow for a POS terminal joining an agent module.
As shown in fig. 8, a user initiates a transaction, and sends a transaction message to an agent module of a POS terminal through a cashier module of the POS terminal; on one hand, the transaction message is directly sent to a background server through a network through the agent module of the POS terminal, on the other hand, the transaction message is firstly sent to the agent module of the agent POS terminal according to the first routing information, and then the transaction message is sent to the background server through the agent module of the agent POS terminal; the background server carries out transaction processing on the received transaction message to obtain a processing result; meanwhile, the background server reports information such as network, route, machine room and the like to the route computing server; the route calculation server calculates the route and/or machine room information of the next transaction request in real time according to the reported information of the network, the route, the machine room and the like; the background server directly returns the received routing and/or machine room information and processing results of the next transaction request to the agent module of the POS terminal through the network on one hand, and firstly sends the routing and/or machine room information and processing results of the next transaction request to the agent module of the agent POS terminal according to the first routing information and then returns the routing and/or machine room information and processing results to the agent module of the POS terminal through the agent module of the agent POS terminal on the other hand; and storing the routing and/or machine room information of the next request in the agent module of the POS terminal, and returning the processing result to the cash register module of the POS terminal through the agent module of the POS terminal.
Specifically, firstly, when a user conducts card swiping transaction, a cashier module of the POS terminal assembles a transaction message, calls a proxy module of the current POS terminal, and requests to send the message to a POS terminal background server.
Then, after receiving the message sending request, the agent module of the current POS terminal forwards the message according to the first routing information.
For example, the first routing information may be pre-stored in the agent module of the POS terminal. The agent module, such as the POS terminal in fig. 7 above, sends messages directly over the network while also sending messages through the agent modules of agent POS terminals 1 and 2, or while also sending messages through agent modules, such as agent POS terminal 3, POS terminal N, etc. The real-time route calculation service provided by the route calculation server can adjust the number of proxy POS terminals according to the proxy effect, and the number of the proxy POS terminals can be one or more.
Then, after receiving the request, the POS terminal background server checks whether the message is a repeated message, if so, discards the message and does not process the message, and uploads the IP addresses and port numbers of the POS terminal and the proxy POS terminal which experience the repeated message and the background service machine room which experience the repeated message to the real-time routing computing service; if the message is not a repeated message, the request processing is carried out, and indexes such as the IP address and the port number of the POS terminal and the proxy POS terminal which are experienced by the non-repeated message, the message survival time (the time from the generation of the message to the last experience of the background server) and the like can be uploaded.
In the embodiment of the present invention, the repeated message means that since the message in the above figure is sent to the transaction background service through two or more routing paths, there is a possibility that the message arrives first, and the transaction background has processed the transaction request, then the later transaction message is the repeated message. The background service only needs to process the transaction message once.
Next, before the POS terminal background service completion message processing returns the processing result, routing information and machine room information (when there are multiple machine rooms) at the time of the next transaction request of the POS terminal, that is, the second routing information and the second machine room information, are requested.
In the embodiment of the present invention, since the processing result and the routing information and/or the machine room information returned through the first routing path and the second routing path may exist at the same time, when existing at the same time, the POS terminal needs to have the capability of identifying whether the returned message is repeated.
In the embodiment of the invention, each time the service information, namely the processing result, is returned, the routing information, namely the calculated information of the agent POS terminal and the next target machine room information are carried.
And finally, the POS terminal stores the received routing information and returns the transaction processing result to the cashier module.
According to the POS communication method and the POS terminal provided by the embodiment of the disclosure, the problem of network fluctuation of a full link (namely the whole communication link from the POS terminal to background service) of a network is improved through a dynamic agent algorithm and a method for dynamically calculating a server-side target machine room. The dynamic agent algorithm refers to an algorithm for dynamically calculating the agent POS terminal when the request is sent each time, and the dynamic agent algorithm is completed by a special calculation agent routing service in a background. The target machine room test paper at the dynamic computation server dynamically computes an algorithm of a background service machine room which receives and processes the request each time. After the dynamic computation background service machine room is added, the repackage of the POS terminal has more paths which can be selected, and the multiple machine rooms are used as nodes and also perform computation in special routing service.
FIG. 9 is a diagram illustrating a POS terminal initialization and real-time calculations, according to an exemplary embodiment.
The real-time routing computation service provided by the routing computation server stores the network condition between the POS terminals and the network condition from the POS terminals to the computer rooms, each POS terminal and the computer room form an interconnected network, the cost (possibly including time cost and possibly flow cost) of network transmission between the nodes is recorded, when a new node (for example, POSN) is added, the node is initially isolated and needs to actively send information to the computer rooms, and the network cost between the POS terminal and the computer rooms can be obtained at this time. In addition, the POS terminal has strict geographical position limitation, and the POS machine can actively send messages to POS terminals (such as POSA, POSB and POSC) with close geographical positions, acquire network transmission cost and report to the real-time routing computing service, so that the newly-added POS terminal is added into the network.
For example, referring to fig. 9, during initialization, when a node POSN is newly added, reporting and sending a probe message to each machine room and each node around the machine room, so as to obtain the network time of the POSN. For example, the network time from POSN to POSA is TNA, the network time from POSN to POSB is TNB, and the network time from POSN to POSC is TNC. Meanwhile, when a plurality of machine rooms exist, the network time from the POSN to the machine room a is Tna, the network time from the POSN to the machine room b is TNb, and the network time from the POSN to the machine room c is TNc. The heartbeat data is updated to the real-time route calculation service. And after the real-time routing calculation service finishes the routing calculation, returning the routing calculation to the POSN.
In the embodiment of the invention, the real-time routing calculation service can also consider the computer room service state, the network transmission effect and other correction influence calculation results. For example, the background server is respectively deployed in three machine rooms, namely, a Yongfeng machine room, a secondary canal machine room and a corridor machine room, and in an extreme case, if the secondary canal machine room has a problem, the network transmission cost from all POS terminals to the secondary canal machine room can be set to be infinite in the real-time routing calculation service, and at this time, the calculated routing information cannot use the secondary canal machine room. Generally, the whole network transmission cost can be adjusted according to the condition of a machine room.
After the time from each POS terminal to the background service of the POS terminal and the transmission time from the POS terminal to each adjacent node are collected, a graph with the POS terminal and the background service of the POS terminal as vertexes and the transmission time as edges is formed. Therefore, the method for solving the initial routing information after a new POS terminal is added can be solved. When a new POS terminal joins the network, the initial routing information for the POS terminal may be calculated by the real-time routing calculation service.
In the communication cost network formed by the POS terminal and the machine room, calculating the optimal path from the POS terminal to the machine room is a typical shortest path algorithm, where the Floyd algorithm is suitable for solving such a problem. In the result of the calculation, the nodes that are traversed in the path are the routes of the POS terminal agent.
In the subsequent transaction request sent by the POS terminal, calculating the optimal path of the POS terminal is a problem of calculating the shortest path from the POS terminal to any one background service.
According to the POS communication method and the POS terminal provided by the embodiment of the disclosure, on one hand, the POS terminal sends requests and receives results through multiple proxy paths, and the network stability is enhanced. On the other hand, the network stability is further enhanced through multi-machine-room deployment and target machine-room calculation. Meanwhile, the optimal agent of the POS terminal is obtained through real-time routing calculation service, and the agent effectiveness is enhanced.
According to another exemplary embodiment of the present disclosure, there is also provided an electronic device, which may include a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the program, when executed by the processor, implements the following method steps in the above-described inventive embodiments: determining a transaction message according to the transaction request; sending the transaction message to a background server through a first routing path; and sending the transaction message to the background server through a second routing path according to the first routing information.
According to another exemplary embodiment of the present disclosure, there is also provided an electronic device, which may include a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the program, when executed by the processor, implements the following method steps in the above-described inventive embodiments: receiving a transaction message sent by a POS terminal through a first routing path; receiving the transaction message sent by the POS terminal through a second routing path; judging whether the transaction message received from the first routing path or the second routing path is a repeated message; when the transaction message is a repeated message, discarding the repeated transaction message; and when the transaction message is not a repeated message, processing the transaction message to obtain a processing result.
According to another exemplary embodiment of the present disclosure, there is also provided an electronic device, which may include a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the program, when executed by the processor, implements the following method steps in the above-described inventive embodiments: receiving the whole network information of the POS terminal; acquiring second routing information according to the whole network information of the POS terminal; and sending the second routing information.
Referring now to FIG. 10, a block diagram of an electronic device 400 suitable for use in implementing embodiments of the present application is shown. The electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 10, electronic device 400 includes a processor 401 that may perform various suitable actions and processes in accordance with programs stored in a memory 403. In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication interface 402. Which when executed by the processor 401, performs the above-described functions defined in the system of the present application. The processor 401, the memory 403, and the communication interface 402 are connected to each other by a bus.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be located in the processor.
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: assembling a transaction message according to the transaction request; sending the transaction message to a background server through a first routing path; and sending the transaction message to the background server through a second routing path according to the first routing information.
As yet another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving a transaction message sent by a POS terminal through a first routing path; receiving the transaction message sent by the POS terminal through a second routing path; judging whether the transaction message is a repeated message; when the transaction message is a repeated message, discarding the repeated transaction message; and when the transaction message is not a repeated message, processing the transaction message to obtain a processing result.
As yet another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving the whole network information of the POS terminal; acquiring second routing information according to the whole network information of the POS terminal; and sending the second routing information.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the present disclosure is not limited to the constructions, arrangements, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (27)

1. A POS communication method is applied to a POS terminal, and is characterized by comprising the following steps:
determining a transaction message according to the transaction request;
sending the transaction message to a background server through a first routing path; and
according to first routing information, the transaction message is sent to the background server through a second routing path so that the background server processes the transaction message to obtain a processing result, wherein the first routing path is a routing path through which the POS terminal directly sends the transaction message to the background server through a network; the second routing path is a routing path for the POS terminal to send the transaction message to the background server through at least one agent POS terminal and a network;
receiving second routing information and the processing result according to the first routing path, and receiving the second routing information and the processing result through the second routing path, wherein the second routing information is routing information when the POS terminal initiates a request next time;
and storing the second routing information and the processing result according to the received second routing information and the repeatability condition of the processing result.
2. The POS communication method of claim 1, wherein the second routing information is determined from network-wide network information of the POS terminal.
3. The POS communication method of claim 2, further comprising:
storing the second routing information in an agent module of the POS terminal;
and returning the processing result to a cash register module of the POS terminal.
4. The POS communication method according to claim 2 or 3, wherein the storing the second routing information and the processing result according to the received repeatability of the second routing information and the processing result comprises:
judging whether the second routing information and the processing result respectively received from the first routing path and the second routing path are repeated;
and when the received second routing information and the processing result are repeated, discarding the repeated second routing information and the processing result.
5. The POS communication method of claim 1, wherein the backend server comprises a plurality of backend servers distributed in different machine rooms, the method further comprising:
according to the first machine room information, the transaction message is sent to the corresponding machine room through the first routing path; and
and sending the transaction message to the corresponding machine room through the second routing path.
6. The POS communication method of claim 5, wherein the method further comprises:
receiving second machine room information through the first routing path; and
receiving the second machine room information through the second routing path;
and the second machine room information is determined according to the machine room state of each machine room.
7. The POS communication method of claim 1, further comprising:
when the POS terminal is initialized, sending a detection message to the background server and other adjacent POS terminals to acquire the initial network condition of the POS terminal;
and receiving and storing initial routing information calculated according to the initial network condition of the POS terminal.
8. The POS communication method of claim 7, wherein the backend server comprises a plurality of backend servers distributed in different machine rooms, the method further comprising:
and receiving and storing initial machine room information obtained by calculation according to the initial machine room state of each machine room.
9. The POS communication method of claim 1, wherein the first routing information is stored at the POS terminal for indicating the second routing path.
10. A POS communication method is applied to a background server and is characterized by comprising the following steps:
receiving a transaction message sent by a POS terminal through a first routing path;
receiving the transaction message sent by the POS terminal through a second routing path;
judging whether the transaction message received from the first routing path or the second routing path is a repeated message;
when the transaction message is a repeated message, discarding the repeated transaction message;
when the transaction message is not a repeated message, processing the transaction message to obtain a processing result;
after the processing result is obtained, sending the processing result and second routing information to the POS terminal through the first routing path, and sending the processing result and the second routing information to the POS terminal through the second routing path;
when the transaction message is processed, the method further comprises the following steps:
calculating routing information and a machine room strategy when the POS terminal carries out network request next time according to the routing information, transmission time and machine room information of the transaction message, and heartbeat information and machine room network monitoring information of the POS terminal acquired at intervals;
and sending the routing information and the machine room strategy to a routing calculation server.
11. The POS communication method of claim 10, further comprising:
uploading the whole network information of the POS terminal to a routing calculation server;
and receiving the second routing information determined according to the whole network information of the POS terminal.
12. The POS communication method of claim 10, the backend server comprising a plurality of backend servers, the plurality of backend servers distributed in different rooms, the method further comprising:
receiving the transaction message sent through the first routing path through a corresponding machine room according to the first machine room information; and
and receiving the transaction message sent by the second routing path through the corresponding machine room.
13. The POS communication method of claim 12, further comprising:
uploading the machine room state of each machine room to a routing computing server;
receiving second machine room information returned according to the machine room state of each machine room;
and sending the second machine room information to the POS terminal and storing the second machine room information.
14. The POS communication method of claim 10, wherein the backend server comprises a plurality of backend servers distributed in different machine rooms, the method further comprising:
when a background server of each machine room receives a detection message sent by the POS terminal in an initialization mode, sending an initial machine room state of each machine room;
receiving initial machine room information returned according to the initial machine room state of each machine room;
and returning the initial machine room information to the POS terminal and storing the initial machine room information.
15. A POS communication method applied to a routing computation server, the method comprising:
receiving the whole network information of the POS terminal uploaded by the background server;
acquiring second routing information according to the whole network information of the POS terminal;
transmitting the second routing information through at least one routing path;
before receiving the network-wide network information of the POS terminal uploaded by the background server, the method further comprises the following steps:
the POS terminal determines a transaction message according to the transaction request and sends the transaction message to the background server through a first routing path;
the POS terminal sends the transaction message to the background server through a second routing path according to the first routing information so that the background server processes the transaction message to obtain a processing result;
the first routing path is a routing path for the POS terminal to directly send the transaction message to the background server through a network; and the second routing path is a routing path for the POS terminal to send the transaction message to the background server through at least one agent POS terminal and a network.
16. The POS communication method of claim 15, wherein the network-wide network information of the POS terminal comprises network transmission information from the POS terminal to a background server, and network transmission information from the POS terminal to each of the other neighboring POS terminals, wherein obtaining the second routing information according to the network-wide network information of the POS terminal comprises:
and obtaining the shortest path from the POS terminal to the background server as the second routing information according to the network transmission information.
17. The POS communication method of claim 16, further comprising:
receiving the machine room state of each machine room;
and generating and sending second machine room information according to the machine room states of the machine rooms.
18. The POS communication method of claim 17, further comprising: and correcting the second routing information according to the machine room state of each machine room.
19. A POS terminal is characterized by comprising a cash register module and an agent module; wherein,
the cashier module is used for determining a transaction message according to the transaction request;
the agent module is used for sending the transaction message to a background server through a first routing path; and
the agent module is further configured to send the transaction message to the background server through a second routing path according to first routing information, so that the background server processes the transaction message to obtain a processing result, where the first routing path is a routing path through which the POS terminal directly sends the transaction message to the background server through a network; the second routing path is a routing path for the POS terminal to send the transaction message to the background server through at least one agent POS terminal and a network;
the agent module is further configured to receive second routing information and the processing result according to the first routing path, and receive the second routing information and the processing result through the second routing path, where the second routing information is routing information when the POS terminal initiates a request next time;
and the agent module is also used for storing the second routing information and the processing result according to the received second routing information and the repeatability condition of the processing result.
20. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the program realizes the method steps of any of claims 1-9 when executed by the processor.
21. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 9.
22. A backend server, comprising:
the first message receiving module is used for receiving a transaction message sent by the POS terminal through a first routing path;
the second message receiving module is used for receiving the transaction message sent by the POS terminal through a second routing path;
the judging module is used for judging whether the transaction message received from the first routing path or the second routing path is a repeated message;
the discarding module is used for discarding the repeated transaction message when the transaction message is the repeated message;
the processing module is used for processing the transaction message to obtain a processing result when the transaction message is not a repeated message;
the processing module is further used for calculating routing information and a machine room strategy when the POS terminal carries out network request next time according to the routing information, transmission time and machine room information of the transaction message, and heartbeat information and machine room network monitoring information of the POS terminal acquired at intervals; and sending the routing information and the machine room strategy to a routing calculation server.
23. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the program realizes the method steps of any of claims 10-14 when executed by the processor.
24. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 10 to 14.
25. A route computation server, comprising:
the network information receiving module is used for receiving the whole network information of the POS terminal uploaded by the background server;
the second routing information generating module is used for acquiring second routing information according to the whole network information of the POS terminal;
a second routing information sending module, configured to send the second routing information;
before receiving the full-network information of the POS terminal uploaded by the background server, the network information receiving module is further configured to:
the POS terminal determines a transaction message according to the transaction request and sends the transaction message to the background server through a first routing path;
the POS terminal sends the transaction message to the background server through a second routing path according to the first routing information so that the background server processes the transaction message to obtain a processing result;
the first routing path is a routing path for the POS terminal to directly send the transaction message to the background server through a network; and the second routing path is a routing path for the POS terminal to send the transaction message to the background server through at least one agent POS terminal and a network.
26. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the program realizes the method steps of any of claims 15-18 when executed by the processor.
27. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 15 to 18.
CN201710607941.5A 2017-07-24 2017-07-24 POS machine communication method and POS terminal Active CN107395499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710607941.5A CN107395499B (en) 2017-07-24 2017-07-24 POS machine communication method and POS terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710607941.5A CN107395499B (en) 2017-07-24 2017-07-24 POS machine communication method and POS terminal

Publications (2)

Publication Number Publication Date
CN107395499A CN107395499A (en) 2017-11-24
CN107395499B true CN107395499B (en) 2021-01-15

Family

ID=60337495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710607941.5A Active CN107395499B (en) 2017-07-24 2017-07-24 POS machine communication method and POS terminal

Country Status (1)

Country Link
CN (1) CN107395499B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446200B (en) * 2018-10-30 2021-04-16 中国银联股份有限公司 Data processing method and device
CN109475013A (en) * 2018-12-18 2019-03-15 深圳创维新世界科技有限公司 Router, terminal device and communication system
CN111935003B (en) * 2020-08-14 2023-07-14 陕西合友网络科技有限公司 Commodity purchasing method based on network scheduling strategy
CN113965562B (en) * 2021-12-21 2022-03-01 深圳市思迅网络科技有限公司 Realization method for reducing POS foreground download data flow consumption

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605098A (en) * 2008-06-09 2009-12-16 日立通讯技术株式会社 The network system that communicator and this communicator of use of path protection function are arranged
CN101662700A (en) * 2009-08-28 2010-03-03 中兴通讯股份有限公司 Method and system for transferring signaling message
CN102118434A (en) * 2010-12-28 2011-07-06 华为技术有限公司 Data packet transmission method and device
CN103404066A (en) * 2011-04-22 2013-11-20 三菱电机株式会社 Communication device using plurality of communication paths
CN104935514A (en) * 2014-11-14 2015-09-23 北京盈进科技有限公司 Path distribution method and device thereof
CN105450367A (en) * 2014-09-01 2016-03-30 电信科学技术研究院 Method and apparatus for data transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716835B (en) * 2012-09-29 2017-06-16 国际商业机器公司 Methods, devices and systems based on multi-path transmission and reception data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605098A (en) * 2008-06-09 2009-12-16 日立通讯技术株式会社 The network system that communicator and this communicator of use of path protection function are arranged
CN101662700A (en) * 2009-08-28 2010-03-03 中兴通讯股份有限公司 Method and system for transferring signaling message
CN102118434A (en) * 2010-12-28 2011-07-06 华为技术有限公司 Data packet transmission method and device
CN103404066A (en) * 2011-04-22 2013-11-20 三菱电机株式会社 Communication device using plurality of communication paths
CN105450367A (en) * 2014-09-01 2016-03-30 电信科学技术研究院 Method and apparatus for data transmission
CN104935514A (en) * 2014-11-14 2015-09-23 北京盈进科技有限公司 Path distribution method and device thereof

Also Published As

Publication number Publication date
CN107395499A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN107395499B (en) POS machine communication method and POS terminal
JP4658135B2 (en) Remote estimation of round trip delay in data networks
US7606896B2 (en) Device, method, and program for estimating quality-deteriorated area of network
CN101699786B (en) Method, device and system for detecting packet loss
JP2018521610A (en) Method, system, and apparatus for identifying geolocation using route tracking
CN105075194A (en) Indexed segment ID
WO1999046899A2 (en) Routing method for wireless and distributed systems
CN105991600A (en) Identity authentication and apparatus, server and terminal
CN111192057B (en) Payment processing method, device and system
US8085688B2 (en) Methods and systems for determining a network data path
EP1122918B1 (en) Method and apparatus for tracking a transaction across a multi-hop network
CN110223160B (en) Remittance path dynamic tracking method, device and system
GB2533379A (en) A system and server for receiving transaction requests
TW522683B (en) Method for measuring internet router traffic
CN106034073A (en) Multipath transmission optimization method based on content distribution network
CN113904972B (en) Path detection method and device, controller and PE (polyethylene) equipment
JP2019087800A (en) Packet analysis program, packet analysis device, and packet analysis method
CN110557302B (en) Network equipment message observation data acquisition method
CN111539033A (en) Method and system for realizing credibility of data calculation in block chain
JP5170778B2 (en) BGP fault location estimation method and apparatus
CN110995609A (en) Message sending method and device, electronic equipment and storage medium
CN108243105B (en) Path calculation method, device, PCC, PCE and path calculation system
US20140233398A1 (en) Multi-hop routing protocol
CN114172958A (en) Private computing node, system, method, apparatus, and storage medium
CN108882333B (en) Adaptive path information collection method based on sending detection packet

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