CN111951499A - Real-time push printing method and system based on intelligent POS terminal - Google Patents

Real-time push printing method and system based on intelligent POS terminal Download PDF

Info

Publication number
CN111951499A
CN111951499A CN202010736862.6A CN202010736862A CN111951499A CN 111951499 A CN111951499 A CN 111951499A CN 202010736862 A CN202010736862 A CN 202010736862A CN 111951499 A CN111951499 A CN 111951499A
Authority
CN
China
Prior art keywords
terminal
intelligent pos
pos terminal
transaction information
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010736862.6A
Other languages
Chinese (zh)
Other versions
CN111951499B (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.)
Yinsheng Payment Service Co Ltd
Original Assignee
Yinsheng Payment Service 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 Yinsheng Payment Service Co Ltd filed Critical Yinsheng Payment Service Co Ltd
Priority to CN202010736862.6A priority Critical patent/CN111951499B/en
Publication of CN111951499A publication Critical patent/CN111951499A/en
Application granted granted Critical
Publication of CN111951499B publication Critical patent/CN111951499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/42Coin-freed apparatus for hiring articles; Coin-freed facilities or services for ticket printing or like apparatus, e.g. apparatus for dispensing of printed paper tickets or payment cards
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The embodiment of the invention provides a real-time push printing method based on an intelligent POS terminal, wherein the intelligent POS terminal is bound with a code plate terminal containing two-dimensional code information, and the intelligent POS terminal and the code plate terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship; analyzing a request address of the intelligent POS terminal through a server through a first terminal; according to the address of the intelligent POS terminal in the binding table, the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface; and the intelligent POS terminal prints the transaction information in a JSON format message form in real time according to a first-in first-out rule through the second terminal. The embodiment of the invention is convenient for the merchant to acquire the online transaction information in real time, saves the cost of purchasing machines and tools of the merchant and is convenient for the merchant to visually check the online transaction information.

Description

Real-time push printing method and system based on intelligent POS terminal
Technical Field
The invention relates to the technical field of intelligent POS machines, in particular to a real-time push printing method and a real-time push printing system based on an intelligent POS terminal.
Background
The online and offline contact of the current transaction scene is more and more closely, the traditional intelligent POS is large in size and high in cost, the traditional intelligent POS is inconvenient to carry in settlement and payment scenes such as gas stations or night fields, if no receipt exists in the online scene only by using a collection code, a merchant cannot visually check the account, the traditional intelligent POS is combined with a payment code card, a cashier only needs to wear a two-dimensional code card to pay for a customer, and meanwhile, the POS machine at a cashier desk can receive payment information and print transaction receipts in real time.
Summary of the invention
In order to overcome the defects of the prior art, the invention provides a real-time pushing and printing method based on an intelligent POS terminal, which is used for facilitating a merchant to obtain online transaction information in real time, saving the cost of purchasing machines and tools by the merchant and facilitating the merchant to visually check the online transaction information.
The technical scheme adopted by the invention for solving the technical problems is as follows: a real-time push printing method based on an intelligent POS terminal comprises the following steps: the method comprises the following steps: the intelligent POS terminal binds a code card terminal containing two-dimensional code information, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the code card terminal containing the two-dimensional code information, and a binding table of the binding relationship between an intelligent POS terminal number and the code card terminal number is obtained; step two: the method comprises the steps that a first terminal analyzes a request address of an intelligent POS terminal through a server, so that the server obtains transaction information of the first terminal by calling different payment interfaces, the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a number plate terminal number; step three: according to the address of the intelligent POS terminal in the binding table, the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface; step four: and the intelligent POS terminal prints the transaction information in a JSON format message form in real time according to a first-in first-out rule through the second terminal.
In one aspect, after the analyzing, by the first terminal, the request address of the smart POS terminal through the server, and before the server pushes the transaction information of the first terminal to the smart POS terminal through a third-party push program interface, the steps further include:
the server acquires transaction information in a JSON format message form sent by the first terminal by calling different payment interfaces;
and pushing the JSON format message to a middleware MQ queue so that the server can poll the middleware MQ queue at any time.
In one aspect, before the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party push program interface, the steps further include:
and pre-identifying the corresponding intelligent POS terminal number of the intelligent POS terminal so that the server pushes the transaction information of the first terminal to the intelligent POS terminal corresponding to the intelligent POS terminal number based on the corresponding intelligent POS terminal number.
In one aspect, before the real-time printing of the transaction message according to the first-in first-out rule, the steps further include:
and when a printing request of the intelligent POS terminal is received, the intelligent POS terminal detects whether a flag bit parameter i is 0 or not by calling a printing module.
On one hand, the intelligent POS terminal prints the transaction information in the form of JSON format message in real time according to a first-in first-out rule through a second terminal, and the steps comprise:
when the flag bit parameter i is detected to be 0, the second terminal prints the transaction information in the JSON format message form sent by the intelligent POS terminal;
and when the flag bit parameter i is detected to be 1, the second terminal calls a system sleep method to sleep.
A real-time push printing system based on an intelligent POS machine, the system comprises:
the binding unit is used for binding a code card terminal containing two-dimensional code information with an intelligent POS terminal, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the two-dimensional code information terminal, and a binding table of the binding relationship between an intelligent POS terminal number and a code card terminal number is obtained;
the system comprises an analysis unit and a payment processing unit, wherein the analysis unit is used for analyzing a request address of the intelligent POS terminal through a first terminal through a server so that the server can obtain transaction information of the first terminal by calling different payment interfaces, the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a sign-coded terminal number;
the first pushing unit is used for pushing the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface by the server according to the address of the intelligent POS terminal in the binding table;
and the printing unit is used for printing the transaction information in the JSON format message form in real time by the intelligent POS terminal through the second terminal according to the first-in first-out rule.
In one aspect, the system further comprises:
the acquisition unit is used for acquiring the transaction information in the form of a JSON format message sent by the first terminal by the server by calling different payment interfaces;
and the second pushing unit is used for pushing the JSON format message to the middleware MQ queue so that the server can poll the middleware MQ queue at any time.
In one aspect, the system further comprises:
and the identification unit is used for identifying the corresponding intelligent POS terminal number of the intelligent POS terminal in advance so that the server can push the transaction information of the first terminal to the intelligent POS terminal corresponding to the intelligent POS terminal number based on the corresponding intelligent POS terminal number.
In one aspect, the system further comprises:
and the detection unit is used for detecting whether the flag bit parameter i is 0 or not by calling a printing module by the intelligent POS terminal when the printing request of the intelligent POS terminal is received.
In one aspect, the printing unit includes:
the printing subunit is used for printing the transaction information in the form of the JSON format message sent by the intelligent POS terminal by the second terminal when the flag bit parameter i is detected to be 0;
and the dormancy unit is used for calling a system dormancy method to carry out dormancy by the second terminal when the flag bit parameter i is detected to be 1.
The invention has the beneficial effects that: the online code transaction information can be obtained in real time through the real-time pushing and printing method based on the intelligent POS terminal, the information can be actively pushed to the intelligent POS, the transaction receipt is printed, the online transaction information can be conveniently obtained by the merchant in real time, the cost of purchasing machines and tools by the merchant is saved, and the merchant can visually check the online transaction information.
Drawings
FIG. 1 is a flow chart diagram of a real-time push printing method based on an intelligent POS machine.
FIG. 2 is a functional block diagram of a real-time push printing system based on an intelligent POS machine.
FIG. 3 is another functional block diagram of the real-time push printing system based on the intelligent POS machine.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 shows an implementation flow of a real-time push printing method based on an intelligent POS terminal according to an embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown, which are detailed as follows:
in step S101: the intelligent POS terminal binds a code card terminal containing two-dimensional code information, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the code card terminal containing the two-dimensional code information, and a binding table of the binding relationship between an intelligent POS terminal number and the code card terminal number is obtained;
in the embodiment of the application, a merchant fills in a merchant number of a code card to be bound through a function menu on an intelligent POS terminal, clicks to send a verification code, an intelligent POS background server automatically inquires a contact mobile phone number corresponding to the merchant number and sends the verification code to a mobile phone, the merchant fills in the verification code and clicks to determine binding, whether the background matched mobile phone verification codes are consistent or not is determined, binding is successful if the background matched mobile phone verification codes are consistent, and meanwhile, all code card information with available states under the merchant number, such as merchant name, code card terminal number, code card number and code card state, is returned, the merchant selects the code card needing to be pushed, clicks to confirm, establishes a one-to-one binding relationship between the intelligent POS terminal number and the code card terminal number, and stores the code card terminal number in a database.
In step S102: analyzing a request address of the intelligent POS terminal through a server by a first terminal so that the server can obtain transaction information of the first terminal by calling different payment interfaces, wherein the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a code plate terminal number;
in the embodiment of the application, a request address of a payment cashier desk is written into two-dimensional code information, a static two-dimensional code is printed on the code, a merchant provides a code plate for a consumer to scan, the consumer opens a WeChat, Paibao or cloud flash payment APP, the static two-dimensional code is scanned through a scanning function, the information in the two-dimensional code is identified through the WeChat, Paibao and cloud flash payment APP, the request address is analyzed, the page of the payment cashier desk is jumped to, the consumer fills in payment amount, remarks are filled, payment is confirmed through clicking, a payment request is initiated, a server judges whether the request mode is WeChat, Paibao or cloud flash payment, payment interfaces of different channels are respectively called, and a payment result is returned.
Preferably, after the request address of the intelligent POS terminal is resolved by the first terminal through a server, the server obtains transaction information in the form of a JSON format message sent by the first terminal by calling different payment interfaces;
and pushing the JSON format message to a middleware MQ queue so that the server can poll the middleware MQ queue at any time.
Sending transaction messages through corresponding channels, after a payment result is successfully returned, assembling payment information such as a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state, a code card terminal number and the like into a JSON format message by a server, pushing the message to a middleware MQ queue, continuously polling the MQ queue by an intelligent POS background service, consuming the message information pushed from the queue, inquiring an intelligent POS terminal number and code card terminal number corresponding relation binding table made before the inquiry of the code card terminal number as an inquiry condition, pushing the transaction serial to an intelligent POS terminal if the inquiry is carried out, and ignoring the serial if the inquiry is not carried out.
In step S103: according to the address of the intelligent POS terminal in the binding table, the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface;
the intelligent POS program integrates a push application interface, the push application interface is responsible for keeping long connection between the intelligent POS terminal and the server, the intelligent POS terminal number is sent to the server and used as an identifier for distinguishing different terminals, the server calls the push application interface to transmit field transaction information such as money amount, serial number, number plate terminal number, transaction time, transaction state, transaction remark and the like as values, the server inquires a route for keeping connection between the intelligent POS terminal and the server after receiving a request, finds an actual sending terminal address through the intelligent POS terminal number, sends the transaction information through the previously kept connection and returns a push result, a merchant can conveniently obtain information of online transaction in real time, the cost of purchasing machines and tools of the merchant is saved, and the merchant can conveniently visually check the transaction information on the account.
Preferably, before the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party push program interface, a corresponding intelligent POS terminal number of the intelligent POS terminal is identified in advance, so that the server pushes the transaction information of the first terminal to the intelligent POS terminal corresponding to the intelligent POS terminal number based on the corresponding intelligent POS terminal number.
In step S104: and the intelligent POS terminal prints the transaction information in a JSON format message form in real time according to a first-in first-out rule through the second terminal.
Preferably, before the transaction message is printed in real time according to the first-in first-out rule, when a print request of the intelligent POS terminal is received, the intelligent POS terminal detects whether a flag bit parameter i is 0 by calling a print module.
Further preferably, when the flag bit parameter i is detected to be 0, the second terminal prints the transaction information in the form of the JSON format message sent by the intelligent POS terminal; and when the flag bit parameter i is detected to be 1, the second terminal calls a system sleep method to sleep.
Initializing an initial flag bit value of the printer to be set as i-0 in advance, continuously monitoring a request of a server, storing a message into a queue if the request of the server is received, continuing to call a terminal printing module method, detecting whether the flag bit i is equal to 0 in advance, indicating that the printer is idle if the flag bit i is equal to 0, setting the flag bit i to be 1, continuously working by the printer to print the received transaction information, and setting the flag bit i to be 0 after the printing is finished; if the flag bit is 1, the printer is in a working state, the printer is continuously requested after the system sleep method is called to sleep for 2 seconds, and the next dequeued transaction information is continuously printed if the flag bit is judged to be 0 before, so that the transaction information can be printed orderly.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by relevant hardware instructed by a program, and the program may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc.
Example two:
fig. 2 shows a structure of an intelligent POS terminal-based real-time push printing system according to a second embodiment of the present invention, and for convenience of description, only the parts related to the second embodiment of the present invention are shown, which are detailed as follows:
the binding unit 201 is used for binding a code card terminal containing two-dimensional code information with an intelligent POS terminal, wherein the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one binding relationship, so that a request address of the intelligent POS terminal corresponds to the two-dimensional code information terminal, and a binding table of the binding relationship between an intelligent POS terminal number and a code card terminal number is obtained;
the resolving unit 202 is configured to resolve a request address of the intelligent POS terminal through a server by a first terminal, so that the server obtains transaction information of the first terminal by calling different payment interfaces, where the payment information is transaction information in a JSON format message, and the JSON format message includes a serial number, an amount, a merchant number, geographic position information, transaction time, a transaction state, and a sign-coded terminal number;
the first pushing unit 203 is configured to, according to the address of the intelligent POS terminal in the binding table, push, by the server, transaction information of the first terminal to the intelligent POS terminal through a third-party push program interface;
and the printing unit 204 is used for the intelligent POS terminal to print the transaction information in the JSON format message form in real time according to a first-in first-out rule through the second terminal.
In the embodiment of the invention, the method comprises the following steps: the method comprises the following steps: the intelligent POS terminal binds a code card terminal containing two-dimensional code information, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the two-dimensional code information terminal, and a binding table of the binding relationship between an intelligent POS terminal number and a code card terminal number is obtained; step two: analyzing a request address of the intelligent POS terminal through a server by a first terminal so that the server can obtain transaction information of the first terminal by calling different payment interfaces, wherein the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a code plate terminal number; step three: according to the address of the intelligent POS terminal in the binding table, the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface; step four: the intelligent POS terminal prints the transaction information in the JSON format message form in real time through the second terminal according to the first-in first-out rule, so that a merchant can conveniently obtain online transaction information in real time, the cost of purchasing machines and tools by the merchant is saved, and the merchant can conveniently and visually check the online transaction information. The detailed implementation of each unit can refer to the description of the first embodiment, and is not repeated herein.
Example three:
fig. 3 shows another structure of the real-time push printing system based on the intelligent POS terminal according to the third embodiment of the present invention, and for convenience of description, only the parts related to the third embodiment of the present invention are shown, which include:
the binding unit 31 is used for binding a code card terminal containing two-dimensional code information with an intelligent POS terminal, wherein the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one binding relationship, so that a request address of the intelligent POS terminal corresponds to the two-dimensional code information terminal, and a binding table of the binding relationship between an intelligent POS terminal number and a code card terminal number is obtained;
the analysis unit 32 is configured to analyze, by a first terminal, a request address of the intelligent POS terminal through a server, so that the server obtains transaction information of the first terminal by calling different payment interfaces, where the payment information is transaction information in a JSON format message, and the JSON format message includes a serial number, an amount, a merchant number, geographic position information, transaction time, a transaction state, and a sign-coded terminal number;
an obtaining unit 33, configured to obtain, by the server, transaction information in the form of a JSON format message sent by the first terminal by calling different payment interfaces;
a second pushing unit 34, configured to push the JSON-format packet to a middleware MQ queue, so that the server polls the middleware MQ queue at any time;
the identification unit 35 is configured to identify a corresponding intelligent POS terminal number of the intelligent POS terminal in advance, so that the server pushes the transaction information of the first terminal to the intelligent POS terminal corresponding to the intelligent POS terminal number based on the corresponding intelligent POS terminal number;
a first pushing unit 36, configured to, according to the address of the intelligent POS terminal in the binding table, push, by the server, transaction information of the first terminal to the intelligent POS terminal through a third-party push program interface;
the detection unit 37 is configured to detect, by calling a printing module, whether a flag bit parameter i is 0 or not when receiving a printing request of the intelligent POS terminal;
the printing unit 38 is used for the intelligent POS terminal to print the transaction information in the JSON format message form in real time through the second terminal according to a first-in first-out rule;
the printing unit includes:
a printing subunit 381, configured to, when it is detected that the flag bit parameter i is 0, print the transaction information in the form of the JSON format packet sent by the intelligent POS terminal by the second terminal;
a sleep unit 382, configured to, when detecting that the flag bit parameter i is 1, invoke a system sleep method by the second terminal to sleep.
In the embodiment of the invention, the method comprises the following steps: the method comprises the following steps: the intelligent POS terminal binds a code card terminal containing two-dimensional code information, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the two-dimensional code information terminal, and a binding table of the binding relationship between an intelligent POS terminal number and a code card terminal number is obtained; step two: analyzing a request address of the intelligent POS terminal through a server by a first terminal so that the server can obtain transaction information of the first terminal by calling different payment interfaces, wherein the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a code plate terminal number; step three: according to the address of the intelligent POS terminal in the binding table, the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface; step four: the intelligent POS terminal prints the transaction information in the JSON format message form in real time through the second terminal according to the first-in first-out rule, so that a merchant can conveniently obtain online transaction information in real time, the cost of purchasing machines and tools by the merchant is saved, and the merchant can conveniently and visually check the online transaction information.
In the embodiment of the present invention, each unit of the real-time pushing and printing system based on the intelligent POS machine may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into a software or hardware unit, which is not limited herein.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A real-time push printing method based on an intelligent POS terminal is characterized by comprising the following steps:
the method comprises the following steps: the intelligent POS terminal binds a code card terminal containing two-dimensional code information, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the code card terminal containing the two-dimensional code information, and a binding table of the binding relationship between an intelligent POS terminal number and the code card terminal number is obtained;
step two: the method comprises the steps that a first terminal analyzes a request address of an intelligent POS terminal through a server, so that the server obtains transaction information of the first terminal by calling different payment interfaces, the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a number plate terminal number;
step three: according to the address of the intelligent POS terminal in the binding table, the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface;
step four: and the intelligent POS terminal prints the transaction information in a JSON format message form in real time according to a first-in first-out rule through the second terminal.
2. The real-time push printing method based on the intelligent POS machine according to claim 1, wherein after the step two and before the step three, the steps further comprise:
the server acquires transaction information in a JSON format message form sent by the first terminal by calling different payment interfaces;
and pushing the JSON format message to a middleware MQ queue so that the server can poll the middleware MQ queue at any time.
3. The real-time push printing method based on the intelligent POS machine according to claim 1, wherein before the server pushes the transaction information of the first terminal to the intelligent POS terminal through a third-party push program interface, the steps further comprise:
and pre-identifying the corresponding intelligent POS terminal number of the intelligent POS terminal so that the server pushes the transaction information of the first terminal to the intelligent POS terminal corresponding to the intelligent POS terminal number based on the corresponding intelligent POS terminal number.
4. The real-time push printing method based on intelligent POS machine according to claim 3, wherein before the real-time printing of the transaction message according to the first-in first-out rule, the steps further comprise:
and when a printing request of the intelligent POS terminal is received, the intelligent POS terminal detects whether a flag bit parameter i is 0 or not by calling a printing module.
5. The real-time push printing method based on the intelligent POS machine according to the claim 4, wherein the intelligent POS terminal prints the transaction information in the form of JSON format message in real time according to the first-in first-out rule through the second terminal, and the steps comprise:
when the flag bit parameter i is detected to be 0, the second terminal prints the transaction information in the JSON format message form sent by the intelligent POS terminal;
and when the flag bit parameter i is detected to be 1, the second terminal calls a system sleep method to sleep.
6. The utility model provides a based on real-time propelling movement printing system of intelligence POS machine which characterized in that, the system includes:
the binding unit is used for binding a code card terminal containing two-dimensional code information with an intelligent POS terminal, and the intelligent POS terminal and the code card terminal containing the two-dimensional code information have a one-to-one corresponding binding relationship, so that a request address of the intelligent POS terminal corresponds to the two-dimensional code information terminal, and a binding table of the binding relationship between an intelligent POS terminal number and a code card terminal number is obtained;
the system comprises an analysis unit, a first terminal and a second terminal, wherein the analysis unit is used for analyzing a request address of the intelligent POS terminal through a server by the first terminal so that the server can obtain transaction information of the first terminal by calling different payment interfaces, the payment information is transaction information in a JSON format message form, and the JSON format message comprises a serial number, an amount, a merchant number, geographical position information, transaction time, a transaction state and a sign-coded terminal number;
the first pushing unit is used for pushing the transaction information of the first terminal to the intelligent POS terminal through a third-party pushing program interface by the server according to the address of the intelligent POS terminal in the binding table;
and the printing unit is used for printing the transaction information in the JSON format message form in real time by the intelligent POS terminal through the second terminal according to the first-in first-out rule.
7. The real-time push printing system based on intelligent POS machine according to claim 6, characterized in that the system further comprises:
the acquisition unit is used for acquiring the transaction information in the form of a JSON format message sent by the first terminal by the server by calling different payment interfaces;
and the second pushing unit is used for pushing the JSON format message to the middleware MQ queue so that the server can poll the middleware MQ queue at any time.
8. The real-time push printing system based on intelligent POS machine according to claim 6, characterized in that the system further comprises:
and the identification unit is used for identifying the corresponding intelligent POS terminal number of the intelligent POS terminal in advance so that the server can push the transaction information of the first terminal to the intelligent POS terminal corresponding to the intelligent POS terminal number based on the corresponding intelligent POS terminal number.
9. The real-time push printing system based on intelligent POS machine according to claim 8, characterized in that the system further comprises:
and the detection unit is used for detecting whether the flag bit parameter i is 0 or not by calling a printing module by the intelligent POS terminal when the printing request of the intelligent POS terminal is received.
10. The real-time push printing system based on intelligent POS machine according to claim 7, wherein the printing unit comprises:
the printing subunit is used for printing the transaction information in the form of the JSON format message sent by the intelligent POS terminal by the second terminal when the flag bit parameter i is detected to be 0;
and the dormancy unit is used for calling a system dormancy method to carry out dormancy by the second terminal when the flag bit parameter i is detected to be 1.
CN202010736862.6A 2020-07-28 2020-07-28 Real-time push printing method and system based on intelligent POS terminal Active CN111951499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010736862.6A CN111951499B (en) 2020-07-28 2020-07-28 Real-time push printing method and system based on intelligent POS terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010736862.6A CN111951499B (en) 2020-07-28 2020-07-28 Real-time push printing method and system based on intelligent POS terminal

Publications (2)

Publication Number Publication Date
CN111951499A true CN111951499A (en) 2020-11-17
CN111951499B CN111951499B (en) 2022-05-31

Family

ID=73339715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010736862.6A Active CN111951499B (en) 2020-07-28 2020-07-28 Real-time push printing method and system based on intelligent POS terminal

Country Status (1)

Country Link
CN (1) CN111951499B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488691A (en) * 2020-11-30 2021-03-12 乐刷科技有限公司 Merchant settlement charging method and device and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556722A (en) * 2009-05-15 2009-10-14 浪潮齐鲁软件产业有限公司 Method for constructing high-efficiency fiscal cash register under cooperation of multi-CPU
AU2011101587A4 (en) * 2011-12-04 2012-01-19 Chen, Jie Mr Point of sale (POS) cash register system in POS data key that is suitable for online and offline use.
CN102867377A (en) * 2012-09-20 2013-01-09 中国农业银行股份有限公司 Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
CN102968839A (en) * 2012-11-07 2013-03-13 刘海滢 Self-service paperless arranging system
CN104205036A (en) * 2012-03-30 2014-12-10 精工爱普生株式会社 Printing system and printer
CN107452162A (en) * 2016-05-31 2017-12-08 东芝泰格有限公司 Sales data processing unit and its control method, terminal device
CN107885469A (en) * 2017-10-10 2018-04-06 福州汇思博信息技术有限公司 A kind of Method of printing and printing server
CN208422027U (en) * 2018-04-25 2019-01-22 北京百汇安科技有限公司 A kind of intelligence POS system
CN110740137A (en) * 2019-10-22 2020-01-31 福州汇思博信息技术有限公司 Android equipment management method based on wifi direct connection without touch screen
CN110969428A (en) * 2019-10-30 2020-04-07 深圳市钱海网络技术有限公司 Static two-dimensional code payment method and device based on mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556722A (en) * 2009-05-15 2009-10-14 浪潮齐鲁软件产业有限公司 Method for constructing high-efficiency fiscal cash register under cooperation of multi-CPU
AU2011101587A4 (en) * 2011-12-04 2012-01-19 Chen, Jie Mr Point of sale (POS) cash register system in POS data key that is suitable for online and offline use.
CN104205036A (en) * 2012-03-30 2014-12-10 精工爱普生株式会社 Printing system and printer
CN102867377A (en) * 2012-09-20 2013-01-09 中国农业银行股份有限公司 Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
CN102968839A (en) * 2012-11-07 2013-03-13 刘海滢 Self-service paperless arranging system
CN107452162A (en) * 2016-05-31 2017-12-08 东芝泰格有限公司 Sales data processing unit and its control method, terminal device
CN107885469A (en) * 2017-10-10 2018-04-06 福州汇思博信息技术有限公司 A kind of Method of printing and printing server
CN208422027U (en) * 2018-04-25 2019-01-22 北京百汇安科技有限公司 A kind of intelligence POS system
CN110740137A (en) * 2019-10-22 2020-01-31 福州汇思博信息技术有限公司 Android equipment management method based on wifi direct connection without touch screen
CN110969428A (en) * 2019-10-30 2020-04-07 深圳市钱海网络技术有限公司 Static two-dimensional code payment method and device based on mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488691A (en) * 2020-11-30 2021-03-12 乐刷科技有限公司 Merchant settlement charging method and device and computer readable storage medium
CN112488691B (en) * 2020-11-30 2024-05-07 乐刷科技有限公司 Merchant settlement charging method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN111951499B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN106384273B (en) Malicious bill-swiping detection system and method
CN110519462A (en) Incoming information display methods, device, equipment and medium based on express delivery client
US20120253958A1 (en) System for generating digital receipts
CN104166909B (en) Automatic payment system and method for mobile terminal
CN105139506B (en) Number obtaining method, device, server-side and system based on positioning mobile terminal
EP2034447A3 (en) System for processing transportation information using communication network and method thereof
CN104573616A (en) Information identification method and related device and system
WO2021143719A1 (en) Network service system, computer storage medium for communication and network service method
CN104331974A (en) Bluetooth number-taking method and system
CN111951499B (en) Real-time push printing method and system based on intelligent POS terminal
CN102222289A (en) Optical character recognition (OCR)-based mobile phone financial management method and system
CN111539687B (en) Data pushing method, device and system
CN107742208A (en) Vehicle is in danger querying method, device, equipment and the computer media of flow
CN103578027A (en) Method and device for transferring accounts
CN101742438A (en) Apparatus and method for operating supply chain management in mobile terminal
CN111711668A (en) Method, device and computer equipment for pushing service in real time based on POI (Point of interest)
CN111405126A (en) Method, system, device, equipment and storage medium for dialing in dispatching link
CN113225402B (en) Working method of printing system
CN100428673C (en) Charging method for location positioning system
CN113055921B (en) Fault processing method and terminal
CN109168155B (en) Number change verification method and device
CN106470258B (en) Method and device for automatically dialing or sending short message
CN1922905B (en) Method and system for the identification and configuration of devices in a wireless communications network
CN113077288A (en) Message pushing method and device, computer equipment and computer readable storage medium
CN104284335A (en) Identification method and system for pseudo source garbage multimedia message

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