CN116542662A - Off-line POS machine transaction method and system - Google Patents
Off-line POS machine transaction method and system Download PDFInfo
- Publication number
- CN116542662A CN116542662A CN202310503659.8A CN202310503659A CN116542662A CN 116542662 A CN116542662 A CN 116542662A CN 202310503659 A CN202310503659 A CN 202310503659A CN 116542662 A CN116542662 A CN 116542662A
- Authority
- CN
- China
- Prior art keywords
- transaction
- mobile terminal
- network connection
- offline
- shared network
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012795 verification Methods 0.000 claims abstract description 120
- 238000004891 communication Methods 0.000 claims abstract description 68
- 238000012545 processing Methods 0.000 claims abstract description 38
- 238000001514 detection method Methods 0.000 claims description 27
- 238000010276 construction Methods 0.000 claims description 8
- 238000013459 approach Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 241000700605 Viruses Species 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/12—Cash registers electronically operated
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of POS machine transaction, and particularly discloses an offline POS machine transaction method and system. According to the invention, the offline transaction information is acquired, and the near field communication is established with the mobile terminal to be transacted; sending a cooperative application to a mobile terminal; after the collaborative application is agreed by the mobile terminal, constructing a shared network connection with the mobile terminal; performing security verification and judging whether the security verification passes or not; and when the security verification is passed, the offline transaction information is sent through the shared network connection to carry out transaction processing. The method can establish close-range communication with the mobile terminal to be transacted, send a cooperative application, establish a shared network connection with the mobile terminal, and send offline transaction information through the shared network connection to conduct transaction processing when the security verification passes, so that normal transaction processing functions can be maintained when the POS machine is in an offline state without wired or wireless network connection, and more diversified use scenes are provided for the POS machine.
Description
Technical Field
The invention belongs to the technical field of POS machine transaction, and particularly relates to an offline POS machine transaction method and system.
Background
The POS machine is a terminal reader with bar code or OCR code technology, has cash or easy goods amount cashing function, and has the main tasks of providing data service and management function for commodity and media transaction, and making non-cash settlement, and can be installed in special merchant of credit card and acceptance site and connected with computer to form a network so as to implement automatic electronic funds transfer.
In the prior art, the POS machine needs to be connected by a wired or wireless network, and when the POS machine cannot be connected by the wired or wireless network, transaction processing cannot be performed, so that the use of the POS machine is limited, more diversified use scenes cannot be provided for the POS machine, and normal transaction processing functions cannot be maintained under the off-line condition.
Disclosure of Invention
The embodiment of the invention aims to provide an offline POS machine transaction method and system, which aim to solve the problems in the background technology.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
an off-line POS machine transaction method specifically comprises the following steps:
acquiring offline transaction information and establishing close-range communication with a mobile terminal to be transacted;
sending a cooperative application to the mobile terminal through the near field communication;
after the collaborative application is agreed by a mobile terminal, constructing a shared network connection with the mobile terminal;
carrying out security verification on the shared network connection, and judging whether the security verification passes or not;
and when the security verification is passed, the offline transaction information is sent through the shared network connection to carry out transaction processing.
As a further limitation of the technical solution of the embodiment of the present invention, the obtaining offline transaction information and establishing close-range communication with the mobile terminal to be transacted specifically includes the following steps:
acquiring transaction commodity information through scanning;
receiving an input transaction amount;
generating offline transaction information according to the transaction commodity information and the transaction amount;
and when the mobile terminal to be transacted approaches, establishing close-range communication.
As further defined by the technical solution of the embodiment of the present invention, the sending, by the near field communication, a collaborative application to the mobile terminal specifically includes the following steps:
acquiring network information of the mobile terminal through the near field communication;
detecting the cooperative condition of the network information;
and after the collaborative condition detection is passed, sending a collaborative application to the mobile terminal.
As a further limitation of the technical solution of the embodiment of the present invention, after the collaborative application is agreed by the mobile terminal, the construction of the shared network connection with the mobile terminal specifically includes the following steps:
after the collaborative application is agreed by the mobile terminal, receiving a shared connection password sent by the mobile terminal;
according to the shared connection password, joining a temporary shared network of the mobile terminal;
and after the temporary shared network is successfully added, constructing a shared network connection with the mobile terminal.
As a further limitation of the technical solution of the embodiment of the present invention, the performing security verification on the shared network connection, and determining whether the security verification passes specifically includes the following steps:
generating an environment verification instruction and a stability verification instruction according to preset verification data;
performing environment verification on the shared network connection through the environment verification instruction to generate an environment verification result;
performing stable verification on the shared network connection through the stable verification instruction to generate a stable verification result;
and integrating the environment verification result and the stable verification result, performing security verification analysis, and judging whether the security verification is passed.
As a further limitation of the technical solution of the embodiment of the present invention, when the security verification passes, the offline transaction information is sent through the shared network connection, and the transaction processing specifically includes the following steps:
generating a transaction instruction when the security verification passes;
according to the transaction instruction, the offline transaction information is sent to a transaction cloud platform through the shared network connection;
receiving transaction feedback sent by a transaction cloud platform through the shared network connection;
and generating and displaying transaction result information according to the transaction feedback.
The system comprises an offline close-range communication unit, a collaborative application sending unit, a sharing connection construction unit, a security verification judging unit and a collaborative transaction processing unit, wherein:
the off-line short-distance communication unit is used for acquiring off-line transaction information and establishing short-distance communication with a mobile terminal to be transacted;
a collaborative application sending unit, configured to send a collaborative application to the mobile terminal through the near field communication;
the shared connection construction unit is used for constructing shared network connection with the mobile terminal after the collaborative application is agreed by the mobile terminal;
the security verification judging unit is used for performing security verification on the shared network connection and judging whether the security verification passes or not;
and the cooperative transaction processing unit is used for transmitting the offline transaction information through the shared network connection to perform transaction processing when the security verification passes.
As a further limitation of the technical solution of the embodiment of the present invention, the offline short-range communication unit specifically includes:
the commodity scanning module is used for acquiring transaction commodity information through scanning;
the amount receiving module is used for receiving the input transaction amount;
the transaction information generation module is used for generating offline transaction information according to the transaction commodity information and the transaction amount;
and the near field communication establishing module is used for establishing near field communication when the mobile terminal to be transacted is close.
As further defined by the technical solution of the embodiment of the present invention, the collaborative application sending unit specifically includes:
the network information acquisition module is used for acquiring the network information of the mobile terminal through the near field communication;
the condition detection module is used for carrying out collaborative condition detection on the network information;
and the collaborative application sending module is used for sending a collaborative application to the mobile terminal after the collaborative condition detection is passed.
As a further limitation of the technical solution of the embodiment of the present invention, the cooperative transaction processing unit specifically includes:
the instruction generation module is used for generating a transaction instruction when the security verification passes;
the cooperative sending module is used for sending the offline transaction information to a transaction cloud platform through the shared network connection according to the transaction instruction;
the feedback receiving module is used for receiving transaction feedback sent by the transaction cloud platform through the shared network connection;
and the transaction display module is used for generating and displaying transaction result information according to the transaction feedback.
Compared with the prior art, the invention has the beneficial effects that:
according to the embodiment of the invention, the offline transaction information is acquired, and the close-range communication is established with the mobile terminal to be transacted; sending a cooperative application to a mobile terminal; after the collaborative application is agreed by the mobile terminal, constructing a shared network connection with the mobile terminal; performing security verification and judging whether the security verification passes or not; and when the security verification is passed, the offline transaction information is sent through the shared network connection to carry out transaction processing. The method can establish close-range communication with the mobile terminal to be transacted, send a cooperative application, establish a shared network connection with the mobile terminal, and send offline transaction information through the shared network connection to conduct transaction processing when the security verification passes, so that normal transaction processing functions can be maintained when the POS machine is in an offline state without wired or wireless network connection, and more diversified use scenes are provided for the POS machine.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 shows a flowchart of a method provided by an embodiment of the present invention.
Fig. 2 shows a flowchart of near field communication with a mobile terminal in the method provided by the embodiment of the invention.
Fig. 3 shows a flowchart of sending a collaborative application to a mobile terminal in the method provided by the embodiment of the invention.
Fig. 4 shows a flowchart of constructing a shared network connection in the method provided by the embodiment of the present invention.
Fig. 5 shows a flowchart of security verification and determination in the method according to the embodiment of the present invention.
FIG. 6 shows a flow chart of a collaborative offline transaction process in a method provided by an embodiment of the invention.
Fig. 7 shows an application architecture diagram of a system provided by an embodiment of the present invention.
Fig. 8 shows a block diagram of an offline short-range communication unit in the system according to the embodiment of the present invention.
Fig. 9 shows a block diagram of a collaborative application sending unit in a system according to an embodiment of the present invention.
Fig. 10 is a block diagram of a cooperative transaction processing unit in the system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It can be appreciated that in the prior art, the POS machine needs to maintain wired or wireless network connection, and when the POS machine cannot perform wired or wireless network connection, transaction processing cannot be performed, so that the use of the POS machine is limited, more diversified use scenarios cannot be provided for the POS machine, and normal transaction processing functions cannot be maintained under an offline condition.
In order to solve the problems, the embodiment of the invention acquires offline transaction information and establishes close-range communication with a mobile terminal to be transacted; sending a cooperative application to a mobile terminal through close-range communication; after the collaborative application is agreed by the mobile terminal, constructing a shared network connection with the mobile terminal; carrying out security verification on the shared network connection, and judging whether the security verification passes or not; and when the security verification is passed, the offline transaction information is sent through the shared network connection to carry out transaction processing. The method can establish close-range communication with the mobile terminal to be transacted, send a cooperative application, establish a shared network connection with the mobile terminal, and send offline transaction information through the shared network connection to conduct transaction processing when the security verification passes, so that normal transaction processing functions can be maintained when the POS machine is in an offline state without wired or wireless network connection, and more diversified use scenes are provided for the POS machine.
Fig. 1 shows a flowchart of a method provided by an embodiment of the present invention.
Specifically, in a preferred embodiment provided by the present invention, an offline POS transaction method specifically includes the following steps:
step S101, obtaining offline transaction information and establishing close-range communication with a mobile terminal to be transacted.
In the embodiment of the invention, when the POS machine is required to carry out transaction payment, the POS machine is used for carrying out scanning identification on the tag of the commodity to obtain transaction commodity information, and staff is required to input the transaction amount of the commodity on the POS machine, so that the transaction amount input by the staff can be received, the off-line transaction information is generated by comprehensively arranging the transaction commodity information and the transaction amount, and when a customer carries out payment operation on the POS machine through the mobile terminal, the near-distance communication between the POS machine and the mobile terminal is established based on the near-distance communication technology.
It can be understood that the near field communication technology can be an NFC technology or a bluetooth technology, and when the mobile terminal approaches the POS machine, the near field communication is automatically activated.
Specifically, fig. 2 shows a flowchart of near field communication with a mobile terminal in the method provided by the embodiment of the invention.
In the preferred embodiment provided by the invention, the steps of acquiring offline transaction information and establishing close-range communication with the mobile terminal to be transacted specifically comprise the following steps:
in step S1011, transaction commodity information is acquired by scanning.
Step S1012, an input transaction amount is received.
Step S1013, generating offline transaction information according to the transaction commodity information and the transaction amount.
In step S1014, when the mobile terminal to be transacted approaches, close range communication is established.
Further, the off-line POS machine transaction method further comprises the following steps:
step S102, sending a cooperative application to the mobile terminal through the near field communication.
In the embodiment of the invention, a condition detection instruction is sent to a mobile terminal through near field communication, the mobile terminal feeds back and sends network information after receiving the condition detection instruction, and collaborative condition detection is carried out on the network information by receiving the network information sent by the mobile terminal in a feedback manner, so as to judge whether the mobile terminal has the condition of creating a temporary wireless local area network, if the mobile terminal has the condition of creating the temporary wireless local area network, then the collaborative condition detection is judged to pass, and at the moment, a collaborative application is sent to the mobile terminal through near field communication.
Specifically, fig. 3 shows a flowchart of sending a collaboration application to a mobile terminal in the method provided by the embodiment of the present invention.
In the preferred embodiment of the present invention, the sending, by the near field communication, a collaborative application to the mobile terminal specifically includes the following steps:
step S1021, obtaining the network information of the mobile terminal through the near field communication.
Step S1022, performing collaborative condition detection on the network information.
Step S1023, after the collaborative condition detection is passed, sending a collaborative application to the mobile terminal.
Further, the off-line POS machine transaction method further comprises the following steps:
step S103, after the collaborative application is agreed by the mobile terminal, the shared network connection with the mobile terminal is constructed.
In the embodiment of the invention, after the collaborative application is sent to the mobile terminal, popup display can be performed on the mobile terminal, after a customer sees the collaborative application displayed by the popup, the customer can choose to agree or reject the collaborative application, after the customer chooses to agree with the collaborative application, the mobile terminal automatically opens a temporary shared network and feeds back a shared connection password to a POS machine, the mobile terminal is added into the temporary shared network of the mobile terminal according to the shared connection password by receiving the shared connection password sent by the mobile terminal, and further, the shared network connection with the mobile terminal is constructed, so that communication with the outside can be performed through the shared network connection.
Specifically, fig. 4 shows a flowchart of constructing a shared network connection in the method provided by the embodiment of the present invention.
In the preferred embodiment of the present invention, after the collaborative application is agreed by a mobile terminal, the construction of the shared network connection with the mobile terminal specifically includes the following steps:
step S1031, after the collaborative application is agreed by the mobile terminal, receives the shared connection password sent by the mobile terminal.
Step S1032, joining the temporary shared network of the mobile terminal according to the shared connection password.
Step S1033, after the temporary shared network is successfully joined, constructing a shared network connection with the mobile terminal.
Further, the off-line POS machine transaction method further comprises the following steps:
step S104, carrying out security verification on the shared network connection and judging whether the security verification is passed.
According to the embodiment of the invention, an environment verification instruction and a stability verification instruction are generated according to preset verification data, then environment verification is carried out on the shared network connection through the environment verification instruction, whether the shared network connection has a network environment without attack, loopholes and viruses is judged, an environment verification result is generated, then stability detection is carried out on the shared network connection through the stability verification instruction, stability detection data is generated, further analysis and verification are carried out on the stability detection data, a stability verification result is generated, comprehensive safety verification analysis is carried out on the environment verification result and the stability verification result, and whether safety verification is passed is judged.
Specifically, fig. 5 shows a flowchart of security verification and determination in the method provided by the embodiment of the present invention.
In the preferred embodiment of the present invention, the security verification of the shared network connection and determining whether the security verification passes specifically include the following steps:
step S1041, generating an environment verification instruction and a stability verification instruction according to preset verification data.
Step S1042, performing environment verification on the shared network connection by the environment verification instruction, and generating an environment verification result.
Step S1043, performing stable verification on the shared network connection through the stable verification instruction, to generate a stable verification result.
Step S1044, integrating the environment verification result and the stable verification result, performing security verification analysis, and judging whether the security verification is passed.
Further, the off-line POS machine transaction method further comprises the following steps:
step S105, when the security verification passes, the offline transaction information is sent through the shared network connection, so as to perform transaction processing.
In the embodiment of the invention, when the security verification passes, a transaction instruction is generated, the communication address of the transaction cloud platform is acquired according to the transaction instruction, and the off-line transaction information is sent to the transaction cloud platform through the shared network connection, the transaction cloud platform generates transaction feedback after carrying out background transaction processing on the off-line transaction information, and sends the transaction feedback to the POS machine through the shared network connection, transaction result information is generated according to the transaction feedback by receiving the transaction feedback sent by the transaction cloud platform, and the transaction result information is sent to the mobile terminal, and the display of the transaction result information is carried out on the POS machine and the mobile terminal at the same time, so that the transaction collaborative processing of the POS machine in an off-line state is realized.
Specifically, fig. 6 shows a flowchart of a collaborative offline transaction processing in the method provided by the embodiment of the present invention.
In the preferred embodiment of the present invention, when the security verification passes, the offline transaction information is sent through the shared network connection, and the transaction processing specifically includes the following steps:
in step S1051, when the security verification is passed, a transaction instruction is generated.
Step S1052, according to the transaction instruction, sending the offline transaction information to a transaction cloud platform through the shared network connection.
And step S1053, receiving transaction feedback sent by the transaction cloud platform through the shared network connection.
Step S1054, generating and displaying transaction result information according to the transaction feedback.
Further, fig. 7 shows an application architecture diagram of the system provided by the embodiment of the present invention.
In another preferred embodiment of the present invention, an offline POS transaction system includes:
the offline close-range communication unit 101 is configured to obtain offline transaction information, and establish close-range communication with a mobile terminal to be transacted.
In the embodiment of the invention, when the POS machine is required to carry out transaction payment, the off-line close-range communication unit 101 of the POS machine is used for scanning and identifying the drop of the commodity to acquire transaction commodity information, and staff is required to input the transaction amount of the commodity on the POS machine, so that the off-line close-range communication unit 101 can receive the transaction amount input by the staff, the off-line transaction information is generated by comprehensively arranging the transaction commodity information and the transaction amount, and when a customer carries out payment operation on the POS machine through the mobile terminal, the off-line close-range communication unit 101 establishes close-range communication between the POS machine and the mobile terminal based on a close-range communication technology.
Specifically, fig. 8 shows a block diagram of the offline near-field communication unit 101 in the system according to the embodiment of the present invention.
In a preferred embodiment provided by the present invention, the offline short-range communication unit 101 specifically includes:
the commodity scanning module 1011 is used for acquiring transaction commodity information through scanning.
The amount receiving module 1012 is used for receiving the inputted transaction amount.
The transaction information generation module 1013 is configured to generate offline transaction information according to the transaction commodity information and the transaction amount.
The close range communication establishing module 1014 is configured to establish close range communication when a mobile terminal to be transacted approaches.
Further, the offline POS transaction system further includes:
and a collaborative application sending unit 102, configured to send a collaborative application to the mobile terminal through the near field communication.
In the embodiment of the present invention, the collaborative application sending unit 102 sends a condition detection instruction to the mobile terminal through close-range communication, the mobile terminal sends network information in a feedback manner after receiving the condition detection instruction, and performs collaborative condition detection on the network information by receiving the network information sent in a feedback manner by the mobile terminal, so as to determine whether the mobile terminal has a condition for creating a temporary wireless local area network, if the mobile terminal has a condition for creating a temporary wireless local area network, then it is determined that the collaborative condition detection is passed, and at this time, the collaborative application is sent to the mobile terminal through close-range communication.
Specifically, fig. 9 shows a block diagram of a cooperative application sending unit 102 in the system according to the embodiment of the present invention.
In a preferred embodiment of the present invention, the collaborative application sending unit 102 specifically includes:
and a network information acquisition module 1021, configured to acquire network information of the mobile terminal through the near field communication.
The condition detection module 1022 is configured to perform collaborative condition detection on the network information.
And the collaborative application sending module 1023 is used for sending a collaborative application to the mobile terminal after the collaborative condition detection is passed.
Further, the offline POS transaction system further includes:
and the shared connection construction unit 103 is configured to construct a shared network connection with the mobile terminal after the collaborative application is agreed by the mobile terminal.
In the embodiment of the present invention, after the collaborative application is sent to the mobile terminal, popup display may be performed on the mobile terminal, after a customer sees the collaborative application displayed by popup, the customer may choose to agree or reject the collaborative application, after the customer chooses to agree with the collaborative application, the mobile terminal automatically opens the temporary shared network and sends a shared connection password in a feedback manner to the POS machine, and the shared connection construction unit 103 joins the temporary shared network of the mobile terminal according to the shared connection password by receiving the shared connection password sent by the mobile terminal, thereby constructing a shared network connection with the mobile terminal, so as to be capable of communicating with the outside through the shared network connection.
The security verification determining unit 104 is configured to perform security verification on the shared network connection, and determine whether the security verification passes.
In the embodiment of the present invention, the security verification determining unit 104 generates an environment verification instruction and a stability verification instruction according to preset verification data, and further performs environment verification on the shared network connection through the environment verification instruction, determines whether the shared network connection has a network environment without attack, vulnerability or virus, generates an environment verification result, then performs stability detection on the shared network connection through the stability verification instruction, generates stability detection data, further performs analysis and verification on the stability detection data, generates a stability verification result, and determines whether the security verification passes through comprehensive security verification analysis on the environment verification result and the stability verification result.
And the cooperative transaction processing unit 105 is configured to send the offline transaction information through the shared network connection to perform transaction processing when the security verification passes.
In the embodiment of the invention, when the security verification passes, the cooperative transaction processing unit 105 generates a transaction instruction, acquires a communication address of the transaction cloud platform according to the transaction instruction, and sends offline transaction information to the transaction cloud platform through a shared network connection, the transaction cloud platform generates transaction feedback after carrying out background transaction processing on the offline transaction information, and sends the transaction feedback to the POS machine through the shared network connection, and generates transaction result information according to the transaction feedback by receiving the transaction feedback sent by the transaction cloud platform, and sends the transaction result information to the mobile terminal, and the POS machine and the mobile terminal simultaneously display the transaction result information, thereby realizing the cooperative transaction processing of the POS machine in an offline state.
Specifically, fig. 10 shows a block diagram of the cooperative transaction processing unit 105 in the system according to the embodiment of the present invention.
In a preferred embodiment provided by the present invention, the cooperative transaction processing unit 105 specifically includes:
the instruction generation module 1051 is configured to generate a transaction instruction when the security verification passes.
And the cooperative sending module 1052 is configured to send the offline transaction information to a transaction cloud platform through the shared network connection according to the transaction instruction.
And the feedback receiving module 1053 is configured to receive, through the shared network connection, transaction feedback sent by the transaction cloud platform.
And the transaction display module 1054 is used for generating and displaying transaction result information according to the transaction feedback.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
Claims (10)
1. An offline POS machine transaction method is characterized by comprising the following steps:
acquiring offline transaction information and establishing close-range communication with a mobile terminal to be transacted;
sending a cooperative application to the mobile terminal through the near field communication;
after the collaborative application is agreed by a mobile terminal, constructing a shared network connection with the mobile terminal;
carrying out security verification on the shared network connection, and judging whether the security verification passes or not;
and when the security verification is passed, the offline transaction information is sent through the shared network connection to carry out transaction processing.
2. The method for off-line POS transaction according to claim 1, wherein the obtaining off-line transaction information and establishing close-range communication with the mobile terminal to be transacted specifically comprises the steps of:
acquiring transaction commodity information through scanning;
receiving an input transaction amount;
generating offline transaction information according to the transaction commodity information and the transaction amount;
and when the mobile terminal to be transacted approaches, establishing close-range communication.
3. The offline POS transaction method according to claim 1, wherein said sending a co-ordination application to said mobile terminal via said near field communication specifically comprises the steps of:
acquiring network information of the mobile terminal through the near field communication;
detecting the cooperative condition of the network information;
and after the collaborative condition detection is passed, sending a collaborative application to the mobile terminal.
4. The offline POS transaction method according to claim 1, wherein said establishing a shared network connection with said mobile terminal after said co-pending application is granted by said mobile terminal specifically comprises the steps of:
after the collaborative application is agreed by the mobile terminal, receiving a shared connection password sent by the mobile terminal;
according to the shared connection password, joining a temporary shared network of the mobile terminal;
and after the temporary shared network is successfully added, constructing a shared network connection with the mobile terminal.
5. The offline POS transaction method according to claim 1, wherein said performing security verification on said shared network connection and determining whether the security verification passes specifically comprises the steps of:
generating an environment verification instruction and a stability verification instruction according to preset verification data;
performing environment verification on the shared network connection through the environment verification instruction to generate an environment verification result;
performing stable verification on the shared network connection through the stable verification instruction to generate a stable verification result;
and integrating the environment verification result and the stable verification result, performing security verification analysis, and judging whether the security verification is passed.
6. The method according to claim 1, wherein the step of transmitting the offline transaction information via the shared network connection when the security verification is passed, and performing the transaction processing comprises the steps of:
generating a transaction instruction when the security verification passes;
according to the transaction instruction, the offline transaction information is sent to a transaction cloud platform through the shared network connection;
receiving transaction feedback sent by a transaction cloud platform through the shared network connection;
and generating and displaying transaction result information according to the transaction feedback.
7. The system is characterized by comprising an offline close-range communication unit, a collaborative application sending unit, a shared connection construction unit, a security verification judging unit and a collaborative transaction processing unit, wherein:
the off-line short-distance communication unit is used for acquiring off-line transaction information and establishing short-distance communication with a mobile terminal to be transacted;
a collaborative application sending unit, configured to send a collaborative application to the mobile terminal through the near field communication;
the shared connection construction unit is used for constructing shared network connection with the mobile terminal after the collaborative application is agreed by the mobile terminal;
the security verification judging unit is used for performing security verification on the shared network connection and judging whether the security verification passes or not;
and the cooperative transaction processing unit is used for transmitting the offline transaction information through the shared network connection to perform transaction processing when the security verification passes.
8. The offline POS transaction system of claim 7, wherein the offline near field communication unit specifically comprises:
the commodity scanning module is used for acquiring transaction commodity information through scanning;
the amount receiving module is used for receiving the input transaction amount;
the transaction information generation module is used for generating offline transaction information according to the transaction commodity information and the transaction amount;
and the near field communication establishing module is used for establishing near field communication when the mobile terminal to be transacted is close.
9. The offline POS transaction system according to claim 7, wherein said co-pending application transmitting unit specifically comprises:
the network information acquisition module is used for acquiring the network information of the mobile terminal through the near field communication;
the condition detection module is used for carrying out collaborative condition detection on the network information;
and the collaborative application sending module is used for sending a collaborative application to the mobile terminal after the collaborative condition detection is passed.
10. The offline POS transaction system of claim 7, wherein the cooperative transaction processing unit specifically comprises:
the instruction generation module is used for generating a transaction instruction when the security verification passes;
the cooperative sending module is used for sending the offline transaction information to a transaction cloud platform through the shared network connection according to the transaction instruction;
the feedback receiving module is used for receiving transaction feedback sent by the transaction cloud platform through the shared network connection;
and the transaction display module is used for generating and displaying transaction result information according to the transaction feedback.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310503659.8A CN116542662A (en) | 2023-05-06 | 2023-05-06 | Off-line POS machine transaction method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310503659.8A CN116542662A (en) | 2023-05-06 | 2023-05-06 | Off-line POS machine transaction method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116542662A true CN116542662A (en) | 2023-08-04 |
Family
ID=87457215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310503659.8A Pending CN116542662A (en) | 2023-05-06 | 2023-05-06 | Off-line POS machine transaction method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116542662A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108805558A (en) * | 2018-06-14 | 2018-11-13 | 王�华 | A kind of offline electronic payment method and offline electronic payment system |
CN109472588A (en) * | 2018-10-29 | 2019-03-15 | 平安科技(深圳)有限公司 | A kind of offline electronic payment method, apparatus, equipment and storage medium based on block chain |
CN111031540A (en) * | 2019-11-22 | 2020-04-17 | 儒庭信息技术(上海)有限公司 | Wireless network connection method and computer storage medium |
CN112866961A (en) * | 2019-11-12 | 2021-05-28 | 上海博泰悦臻电子设备制造有限公司 | Method, device and computer storage medium for sharing network |
CN113747439A (en) * | 2021-09-14 | 2021-12-03 | 广州犇一信息科技有限公司 | Data analysis method, system and equipment based on hot spot area communication signals |
CN114449497A (en) * | 2022-01-24 | 2022-05-06 | 杭州涂鸦信息技术有限公司 | Vending terminal interaction method, terminal and computer readable storage medium |
CN115022934A (en) * | 2022-04-29 | 2022-09-06 | 邱锐 | WiFi signal automatic switching connection method |
-
2023
- 2023-05-06 CN CN202310503659.8A patent/CN116542662A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108805558A (en) * | 2018-06-14 | 2018-11-13 | 王�华 | A kind of offline electronic payment method and offline electronic payment system |
CN109472588A (en) * | 2018-10-29 | 2019-03-15 | 平安科技(深圳)有限公司 | A kind of offline electronic payment method, apparatus, equipment and storage medium based on block chain |
CN112866961A (en) * | 2019-11-12 | 2021-05-28 | 上海博泰悦臻电子设备制造有限公司 | Method, device and computer storage medium for sharing network |
CN111031540A (en) * | 2019-11-22 | 2020-04-17 | 儒庭信息技术(上海)有限公司 | Wireless network connection method and computer storage medium |
CN113747439A (en) * | 2021-09-14 | 2021-12-03 | 广州犇一信息科技有限公司 | Data analysis method, system and equipment based on hot spot area communication signals |
CN114449497A (en) * | 2022-01-24 | 2022-05-06 | 杭州涂鸦信息技术有限公司 | Vending terminal interaction method, terminal and computer readable storage medium |
CN115022934A (en) * | 2022-04-29 | 2022-09-06 | 邱锐 | WiFi signal automatic switching connection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11049104B2 (en) | Method of processing payment based on blockchain and apparatus thereof | |
CN109416795B (en) | Token aggregation system for multiparty transactions | |
CN104392347B (en) | A kind of account application method, creation method, relevant device and system | |
CN104182874A (en) | All-purpose card device, all-purpose card system and card information loading method | |
AU2017290124A1 (en) | Expedited processing of electronic payment transactions | |
US20220300947A1 (en) | Devices and methods for selective contactless communication | |
US20200097942A1 (en) | System and method for loading prepaid card with funds using a mobile device | |
CN106535082B (en) | Data processing method, device and system | |
CN103559523A (en) | Contactless read-write equipment and method achieved on basis of SWP SE | |
US20140279502A1 (en) | System and Method of Processing Payment Transactions | |
US20190188731A1 (en) | Authentication of goods | |
US20210110377A1 (en) | Processing payments | |
CN116542662A (en) | Off-line POS machine transaction method and system | |
EP3948753A1 (en) | Systems and methods of pending transaction augmentation and automatic attachment to settled transactions | |
US9792601B2 (en) | System and method for electronically providing receipts | |
US11803837B2 (en) | Intelligent real time card alert system to detect suspicious contactless card reader | |
CN114981810B (en) | Universal non-contact kernel system and method | |
CN111242608B (en) | Payment method, terminal, server and system | |
US9047637B1 (en) | Method and system for converting printed checks into pre-paid debit card funds | |
CN105577742A (en) | Data transfer method and mobile terminal | |
CN110838012B (en) | Payment method, storage medium and related equipment | |
KR20130030343A (en) | Financial transactions system and method for rfid card and communication device to rfid applicable | |
Al-Ammal et al. | A novel design of a fully seamless e-payment experience | |
JP7316251B2 (en) | Terminal management system, terminal management method | |
CN114519580A (en) | Payment request method, payment method, terminal and storage medium for near field communication |
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 |