Information interaction method and system for POS machine

By realizing payment action monitoring, wireless communication signal detection and virtual payment QR code generation in mobile POS machines, combined with cloud identity verification, it solves the problem that POS machines in the existing technology cannot realize senseless payment, and improves convenience and Security, simplifies the payment process.

CN118116140BActive Publication Date: 2024-08-27SHANGHAI SHANGRUI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410388344.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2024-08-27
Estimated Expiration
2044-04-01

AI Technical Summary

Technical Problem

Existing mobile POS machines need to scan QR codes through the POS during use, which makes it impossible to achieve sensorless payment and the operation process is cumbersome.

Method used

It enters the senseless payment state through payment action monitoring, conducts wireless communication signal detection to determine POS machine transaction account information, generates a virtual collection QR code, and determines whether to continue the transaction through cloud identity verification to achieve senseless payment.

Benefits of technology

It improves the convenience of information interaction and transaction security, simplifies the payment process, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118116140B
    Figure CN118116140B
Patent Text Reader

Abstract

The present invention is applicable to the field of information interaction technology, and in particular, relates to an information interaction method and system for a POS machine, the method comprising: monitoring payment actions, and entering a non-sensing payment state when a payment action is monitored; detecting wireless communication signals, and determining POS machine transaction account information based on the detected wireless communication signals; generating a virtual payment QR code based on the POS machine transaction account information, performing QR code recognition, and obtaining a QR code recognition result; authenticating the POS machine, sending a random function to the POS machine through the cloud, and dynamically monitoring the POS machine, and determining whether to continue the transaction based on the POS machine monitoring result. The present invention can actively verify the identity of the POS machine when payment is required by identifying the POS machine, and complete the virtual code scanning process. In this process, the user does not need to actively scan the code, which improves the convenience of information interaction, ensures the security of the transaction, and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information interaction, and in particular, relates to an information interaction method and system for a POS machine. Background Art

[0002] Mobile Point of Sale (MPOS) is a portable electronic payment terminal device, mainly used by merchants to collect payments and process transactions anytime and anywhere. It breaks through the geographical limitations of traditional fixed POS machines, allowing merchants to complete payment operations such as swiping cards and scanning codes in any place with network coverage.

[0003] When using current mobile POS machines, payment is generally made by swiping a card or scanning a QR code. During the operation, the code needs to be scanned through the POS, and contactless payment cannot be achieved. The operation process is relatively cumbersome. Summary of the invention

[0004] The purpose of the present invention is to provide an information interaction method for a POS machine, aiming to solve the problem in the prior art that a POS machine needs to scan a code through the POS, cannot realize contactless payment, and has a relatively cumbersome operation process.

[0005] The present invention is implemented as follows: an information interaction method for a POS machine, the method comprising:

[0006] Monitor payment actions, and enter the touchless payment state when payment actions are detected;

[0007] Perform wireless communication signal detection, and determine POS machine transaction account information based on the detected wireless communication signal;

[0008] Generate a virtual payment QR code based on the POS machine transaction account information, perform QR code recognition, and obtain the QR code recognition result;

[0009] Authenticate the identity of the POS machine, send a random function to the POS machine through the cloud, and dynamically monitor the POS machine, and determine whether to continue the transaction based on the monitoring results of the POS machine.

[0010] Preferably, the step of performing wireless communication signal detection and determining POS machine transaction account information based on the detected wireless communication signal specifically includes:

[0011] Record the wireless communication signal, intercept the wireless communication signal at a preset time interval, and obtain the signal data to be verified;

[0012] The signal data to be verified is copied and concatenated to obtain a concatenated string, and the string is intercepted according to a preset character length to obtain multiple string data;

[0013] Verify whether the string data is the same as the preset contactless payment verification string. If they are the same, extract the POS machine transaction account information from the spliced ​​string, and the POS machine transaction account information is composed of decimal characters.

[0014] Preferably, the steps of generating a virtual payment QR code based on the POS machine transaction account information, performing QR code recognition, and obtaining a QR code recognition result specifically include:

[0015] Transcode the POS machine transaction account information and convert it into binary data;

[0016] Construct a blank QR code based on binary data, map the binary data into the blank QR code according to a preset data mapping table, and obtain a virtual payment QR code;

[0017] The payment application is called to identify the virtual payment QR code to obtain a QR code recognition result, and the QR code recognition result is used to determine the transaction target.

[0018] Preferably, the steps of performing identity authentication on the POS machine, sending a random function to the POS machine through the cloud, dynamically monitoring the POS machine, and determining whether to continue the transaction based on the monitoring result of the POS machine specifically include:

[0019] After obtaining the QR code recognition result, random data is collected, and a random function is generated based on the random data fitting;

[0020] Send a random function to the cloud according to the QR code recognition result, and send the random function to the corresponding POS machine through the cloud. The POS machine generates verification data according to the random function and broadcasts the verification data;

[0021] Dynamically monitor the POS machine, listen to the broadcast content from the target POS machine, perform identity authentication based on the broadcast content, and continue the transaction if the authentication is passed.

[0022] Preferably, the process of verifying the POS terminal also includes sound and light verification.

[0023] Another object of the present invention is to provide an information interaction system for a POS machine, the system comprising:

[0024] The payment action recognition module is used to monitor payment actions. When a payment action is detected, the module enters the non-sensitive payment state.

[0025] The device detection module is used to detect wireless communication signals and determine the POS machine transaction account information based on the detected wireless communication signals;

[0026] The virtual code scanning module is used to generate a virtual payment QR code based on the POS machine transaction account information, perform QR code recognition, and obtain the QR code recognition result;

[0027] The identity authentication module is used to authenticate the POS machine, send a random function to the POS machine through the cloud, and dynamically monitor the POS machine, and determine whether to continue the transaction based on the monitoring results of the POS machine.

[0028] Preferably, the device detection module includes:

[0029] A signal recording unit is used to record the wireless communication signal and intercept the wireless communication signal at a preset time interval to obtain the signal data to be verified;

[0030] The data analysis unit is used to copy and splice the signal data to be verified to obtain a spliced ​​string, and intercept it according to a preset character length to obtain multiple string data;

[0031] The data extraction unit is used to verify whether the string data is the same as the preset contactless payment verification string. If the string data is the same, the POS machine transaction account information is extracted from the spliced ​​string, and the POS machine transaction account information is composed of decimal characters.

[0032] Preferably, the virtual code scanning module includes:

[0033] A data conversion unit, used to transcode the POS machine transaction account information and convert it into binary data;

[0034] A QR code generation unit is used to construct a blank QR code based on binary data, and map the binary data into the blank QR code according to a preset data mapping table to obtain a virtual payment QR code;

[0035] The QR code recognition unit is used to call the payment application to recognize the virtual payment QR code and obtain a QR code recognition result, which is used to determine the transaction target.

[0036] Preferably, the identity verification module includes:

[0037] A function fitting unit, used for collecting random data after obtaining the two-dimensional code recognition result, and generating a random function based on the random data fitting;

[0038] A data sending unit, used to send a random function to the cloud according to the QR code recognition result, and send the random function to the corresponding POS machine through the cloud, and the POS machine generates verification data according to the random function and broadcasts the verification data;

[0039] The transaction verification unit is used to dynamically monitor the POS machine, monitor the broadcast content from the target POS machine, perform identity authentication based on the broadcast content, and continue the transaction if the verification is passed.

[0040] Preferably, the process of verifying the POS terminal also includes sound and light verification.

[0041] The present invention provides an information interaction method for a POS machine. By identifying the POS machine, the identity of the POS machine can be actively verified when payment is required, and a virtual code scanning process can be completed. During this process, the user is not required to actively scan the code, which improves the convenience of information interaction, ensures the security of transactions, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flowchart of an information interaction method for a POS terminal provided by an embodiment of the present invention;

[0043] Figure 2 A flowchart of the steps of performing wireless communication signal detection and determining POS machine transaction account information based on the detected wireless communication signal provided by an embodiment of the present invention;

[0044] Figure 3 A flowchart of the steps of generating a virtual payment QR code based on POS machine transaction account information, performing QR code recognition, and obtaining a QR code recognition result provided by an embodiment of the present invention;

[0045] Figure 4 A flowchart of the steps of performing identity authentication on a POS machine, sending a random function to the POS machine through the cloud, dynamically monitoring the POS machine, and determining whether to continue the transaction based on the monitoring result of the POS machine provided in an embodiment of the present invention;

[0046] Figure 5 An architecture diagram of an information interaction system for a POS terminal provided by an embodiment of the present invention;

[0047] Figure 6 An architecture diagram of a device detection module provided by an embodiment of the present invention;

[0048] Figure 7 An architecture diagram of a virtual code scanning module provided by an embodiment of the present invention;

[0049] Figure 8 An architecture diagram of an identity authentication module provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0051] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0052] like Figure 1 FIG. 1 is a flowchart of an information interaction method for a POS terminal provided by an embodiment of the present invention, wherein the method comprises:

[0053] S100, monitor the payment action, and enter the contactless payment state when the payment action is monitored.

[0054] In this step, payment action monitoring is performed by monitoring wireless communication signals through mobile devices. Specifically, when the mobile device monitors, the identity of the signal source is determined based on the wireless communication signal. For the POS machine, after it is turned on, it broadcasts through wireless communication signals, and the content of the broadcast is the device type code. The device type code can be a specific string, such as POSGHTSJ. When the wireless communication signal is detected, the mobile device can recognize the specific string, thereby determining that there is a POS machine nearby. Detecting the specific string is a payment action. At this time, the mobile device enters the contactless payment state. After entering the contactless payment state, it is ready to make payment. When the mobile device can no longer detect the wireless communication signal from the POS machine, it exits the contactless payment state.

[0055] S200, performing wireless communication signal detection, and determining POS machine transaction account information based on the detected wireless communication signal.

[0056] In this step, wireless communication signal detection is performed. When the POS machine detects the mobile device, it broadcasts wirelessly according to the preset data content. The broadcast content includes at least the contactless payment verification string and the POS machine transaction account information. During the broadcasting process, the POS machine also takes the POS machine transaction account information as a string, merges it with the contactless payment verification string to obtain a merged string, and broadcasts the merged string in a rolling manner. The mobile device then receives the content broadcast by the POS machine. If it is a rolling broadcast, it is necessary to receive and parse the data content contained therein to determine whether the current POS machine supports the contactless payment function. If it does, the POS machine transaction account information is further extracted. The POS machine transaction account information also includes transaction amount information.

[0057] S300, generating a virtual payment QR code based on the POS machine transaction account information, performing QR code recognition, and obtaining a QR code recognition result.

[0058] In this step, a virtual payment QR code is generated based on the transaction account information of the POS machine. When the mobile device detects the broadcast content, it extracts the transaction account information of the POS machine. Then, based on the account information and transaction amount contained therein, a virtual payment QR code for the transaction can be generated. At this time, the mobile device pops up a payment notification, and the user selects the corresponding payment APP. Then the corresponding payment APP starts scanning the virtual payment QR code to obtain the QR code recognition result. After obtaining the QR code recognition result, the user enters the password to complete the transaction. However, to ensure the security of the connection between the mobile device and the POS machine, further device pairing verification is required. Only after the verification is completed can further transactions be carried out.

[0059] S400, authenticate the identity of the POS machine, send a random function to the POS machine through the cloud, and dynamically monitor the POS machine, and determine whether to continue the transaction based on the monitoring result of the POS machine.

[0060] In this step, the identity of the POS machine is authenticated. The purpose of the verification is to verify whether the mobile device has established data connection only with the POS machine that currently needs to trade, so as to avoid the situation where a mobile device is mistakenly connected when facing multiple POS machines. The mobile device generates a set of random functions and sends the random functions to the corresponding POS machine through the cloud. The POS machine generates corresponding calculation values ​​according to the random functions, broadcasts the calculation values, and the mobile device monitors, thereby completing the preliminary identity authentication. Secondly, the wireless communication signal of the POS machine is detected by the mobile device, the signal strength is ranked, and the POS machine with the highest signal strength is selected for transaction. Users can also select the detected POS machine.

[0061] like Figure 2 As shown, as a preferred embodiment of the present invention, the step of detecting the wireless communication signal and determining the POS machine transaction account information based on the detected wireless communication signal specifically includes:

[0062] S201, recording the wireless communication signal, intercepting the wireless communication signal at a preset time interval, and obtaining the signal data to be verified.

[0063] In this step, the wireless communication signal is recorded, and the content broadcast by the POS machine is continuously recorded. When the POS machine broadcasts, the amount of data broadcast each time is fixed, and the content is cyclical. The broadcast content includes the contactless payment verification string and the POS machine transaction account information. When broadcasting, the broadcast content is divided into three parts. When broadcasting, the mobile device records the broadcast content three times to obtain the signal data to be verified.

[0064] S202, copying and concatenating the signal data to be verified to obtain a concatenated character string, and cutting the character string according to a preset character length to obtain a plurality of character string data.

[0065] In this step, the verification signal data is copied and spliced. Since the order of the broadcast content cannot be determined when receiving the broadcast content, the verification signal data is copied and two identical copies of the verification signal data are spliced ​​end to end. Each time, a character string data of a preset character length is intercepted from the spliced ​​character string.

[0066] S203, verify whether the string data is the same as the preset contactless payment verification string. If the same, extract the POS machine transaction account information from the spliced ​​string, and the POS machine transaction account information is composed of decimal characters.

[0067] In this step, verify whether the string data is the same as the preset contactless payment verification string. The contactless payment verification string is a fixed value. Therefore, the user can directly compare the obtained string data with the contactless payment verification string. If the two are the same, it means that the current POS machine supports contactless payment. Otherwise, it means that the current POS machine does not support contactless payment, and the device should be moved or exit the contactless payment state.

[0068] like Figure 3 As shown, as a preferred embodiment of the present invention, the steps of generating a virtual payment QR code based on POS machine transaction account information, performing QR code recognition, and obtaining a QR code recognition result specifically include:

[0069] S301, transcode the POS machine transaction account information and convert it into binary data.

[0070] In this step, the POS machine transaction account information is transcoded. During the data transmission process, in order to ensure the security of the data, the POS machine transaction account information is encrypted according to a preset encryption method. After the mobile device receives the above POS machine transaction account information, it can be decrypted and then converted into binary data.

[0071] S302, constructing a blank QR code based on the binary data, mapping the binary data into the blank QR code according to a preset data mapping table, and obtaining a virtual payment QR code.

[0072] In this step, a blank QR code is constructed based on binary data, and a data mapping table is constructed. The mapping relationship between binary characters and QR code grayscale values ​​is determined in the data mapping table. For example, binary character 0 corresponds to the first grayscale value, and binary character 1 corresponds to the second grayscale value. The blank QR code is filled based on the order of binary characters, and the grayscale value of each pixel in the blank QR code is determined to obtain a virtual payment QR code.

[0073] S303, calling the payment application to identify the virtual payment QR code to obtain a QR code recognition result, and the QR code recognition result is used to determine the transaction target.

[0074] In this step, the payment application is called to identify the virtual payment QR code. The user can set the default payment application as needed, or the user can select the payment application by himself. After the selection is completed, the QR code recognition result can be obtained by scanning the code through the payment application. The QR code recognition result records the transaction target and transaction amount.

[0075] like Figure 4 As shown, as a preferred embodiment of the present invention, the steps of authenticating the identity of the POS machine, sending a random function to the POS machine through the cloud, dynamically monitoring the POS machine, and determining whether to continue the transaction based on the monitoring result of the POS machine specifically include:

[0076] S401, after obtaining the two-dimensional code recognition result, collect random data, and generate a random function based on the random data fitting.

[0077] In this step, after obtaining the QR code recognition result, random data is collected. Specifically, the wireless communication signal strength value of the current POS machine is randomly collected and recorded in chronological order to obtain at least four sets of signal strength coordinates. The horizontal axis of the signal strength coordinate is the time value, and the vertical axis is the signal strength value. Function fitting is performed to obtain a random function.

[0078] S402, sending a random function to the cloud according to the QR code recognition result, and sending the random function to the corresponding POS machine through the cloud. The POS machine generates verification data according to the random function and broadcasts the verification data.

[0079] In this step, a random function is sent to the cloud based on the QR code recognition result. During the detection process of the mobile device, the identity of the POS machine has been identified, and the POS machine is bound to the transaction target contained in the QR code recognition result. Therefore, the receiving device of the random function can be determined. After the POS machine receives the random function, it substitutes the preset independent variable set into the random function to generate verification data, and broadcast the verification data.

[0080] S403, dynamically monitor the POS machine, monitor the broadcast content from the target POS machine, perform identity authentication based on the broadcast content, and continue the transaction if the authentication is successful.

[0081] In this step, the POS machine is dynamically monitored. Specifically, the mobile device receives the verification data broadcast by the POS machine. The mobile device also imports a preset set of independent variables into the random function to obtain comparison data. If the comparison data is the same as the verification data, the verification is completed. In this process, sound and light verification can also be used. Specifically, when the verification function is broadcast, the POS machine plays a preset audio and monitors it through the mobile device. If the corresponding audio is monitored, it is determined to continue the transaction. After the user enters the password, the payment is completed.

[0082] like Figure 5 As shown, an information interaction system for a POS machine provided by an embodiment of the present invention includes:

[0083] The payment action recognition module 100 is used to monitor the payment action, and enter the contactless payment state when the payment action is monitored.

[0084] In this system, the payment action recognition module 100 monitors the payment action and monitors the wireless communication signal through the mobile device. Specifically, when the mobile device monitors, the identity of the signal source is determined based on the wireless communication signal. For the POS machine, after it is turned on, it broadcasts through the wireless communication signal, and the content of the broadcast is the device type code. The device type code can be a specific string, such as POSGHTSJ. When the wireless communication signal is detected, the mobile device can recognize the specific string, thereby determining that there is a POS machine nearby. Detecting the specific string is a payment action. At this time, the mobile device enters the contactless payment state. After entering the contactless payment state, it is ready to make payment. When the mobile device can no longer detect the wireless communication signal from the POS machine, it exits the contactless payment state.

[0085] The device detection module 200 is used to detect wireless communication signals and determine POS machine transaction account information based on the detected wireless communication signals.

[0086] In this system, the device detection module 200 performs wireless communication signal detection. When the POS machine detects the mobile device, it broadcasts wirelessly according to the preset data content. The broadcast content includes at least the contactless payment verification string and the POS machine transaction account information. During the broadcast process, the POS machine also takes the POS machine transaction account information as a string, merges it with the contactless payment verification string to obtain a merged string, and broadcasts the merged string in a rolling manner. The mobile device then receives the content broadcast by the POS machine. If it is a rolling broadcast, it is necessary to receive and parse the data content contained therein to determine whether the current POS machine supports the contactless payment function. If it does, the POS machine transaction account information is further extracted, and the POS machine transaction account information also includes transaction amount information.

[0087] The virtual code scanning module 300 is used to generate a virtual payment QR code based on the POS machine transaction account information, perform QR code recognition, and obtain a QR code recognition result.

[0088] In this system, the virtual code scanning module 300 generates a virtual payment QR code based on the transaction account information of the POS machine. When the mobile device detects the broadcast content, it extracts the transaction account information of the POS machine. Then, based on the account information and transaction amount contained therein, a virtual payment QR code for the transaction can be generated. At this time, the mobile device pops up a payment notification, and the user selects the corresponding payment APP. Then the corresponding payment APP starts scanning the virtual payment QR code to obtain the QR code recognition result. After obtaining the QR code recognition result, the user enters the password to complete the transaction. However, to ensure the security of the connection between the mobile device and the POS machine, further device pairing verification is required. Only after the verification is completed can further transactions be carried out.

[0089] The identity authentication module 400 is used to authenticate the identity of the POS machine, send a random function to the POS machine through the cloud, and dynamically monitor the POS machine, and determine whether to continue the transaction based on the monitoring result of the POS machine.

[0090] In this system, the identity authentication module 400 authenticates the POS machine. The purpose of the authentication is to verify whether the mobile device has established data connection only with the POS machine that currently needs to trade, so as to avoid the situation where a mobile device is incorrectly connected when facing multiple POS machines. The mobile device generates a set of random functions and sends the random functions to the corresponding POS machine through the cloud. The POS machine generates corresponding calculation values ​​according to the random functions, broadcasts the calculation values, and the mobile device monitors, thereby completing the preliminary identity authentication. Secondly, the wireless communication signal of the POS machine is detected by the mobile device, the signal strength is ranked, and the POS machine with the highest signal strength is selected for transaction. The user can also select the detected POS machine.

[0091] like Figure 6 As shown, as a preferred embodiment of the present invention, the device detection module 200 includes:

[0092] The signal recording unit 201 is used to record the wireless communication signal and intercept the wireless communication signal at a preset time interval to obtain the signal data to be verified.

[0093] In this module, the signal recording unit 201 records the wireless communication signal and continuously records the content broadcast by the POS machine. When the POS machine broadcasts, the amount of data broadcast each time is fixed and the content is cyclical. The broadcast content includes the contactless payment verification string and the POS machine transaction account information. When broadcasting, the broadcast content is divided into three parts. When broadcasting, the mobile device records the broadcast content three times to obtain the signal data to be verified.

[0094] The data analysis unit 202 is used to copy and concatenate the signal data to be verified to obtain a concatenated character string, and to intercept the character string according to a preset character length to obtain multiple character string data.

[0095] In this module, the data analysis unit 202 copies and splices the verification signal data. Since the order of the broadcast content cannot be determined when receiving the broadcast content, the verification signal data is copied and two identical copies of the verification signal data are spliced ​​together from beginning to end, and a character string data of a preset character length is intercepted from the spliced ​​character string each time.

[0096] The data extraction unit 203 is used to verify whether the string data is the same as the preset contactless payment verification string. If the string data is the same, the POS machine transaction account information is extracted from the concatenated string, and the POS machine transaction account information is composed of decimal characters.

[0097] In this module, the data extraction unit 203 verifies whether the string data is the same as the preset contactless payment verification string. The contactless payment verification string is a fixed value. Therefore, the user can directly compare the obtained string data with the contactless payment verification string. If the two are the same, it means that the current POS machine supports contactless payment. Otherwise, it means that the current POS machine does not support contactless payment, and the mobile device exits the contactless payment state.

[0098] like Figure 7 As shown, as a preferred embodiment of the present invention, the virtual code scanning module 300 includes:

[0099] The data conversion unit 301 is used to transcode the POS machine transaction account information and convert it into binary data.

[0100] In this module, the data conversion unit 301 transcodes the POS transaction account information. During data transmission, in order to ensure data security, the POS transaction account information is encrypted according to a preset encryption method. After the mobile device receives the above POS transaction account information, it can be decrypted and then converted into binary data.

[0101] The QR code generating unit 302 is used to construct a blank QR code based on binary data, and map the binary data into the blank QR code according to a preset data mapping table to obtain a virtual payment QR code.

[0102] In this module, the QR code generation unit 302 constructs a blank QR code based on binary data and constructs a data mapping table. In the data mapping table, the mapping relationship between binary characters and QR code grayscale values ​​is determined, such as binary character 0 corresponds to the first grayscale value, and binary character 1 corresponds to the second grayscale value. The blank QR code is filled based on the order of binary characters, and the grayscale value of each pixel in the blank QR code is determined to obtain a virtual payment QR code.

[0103] The QR code recognition unit 303 is used to call the payment application to recognize the virtual payment QR code and obtain a QR code recognition result, which is used to determine the transaction target.

[0104] In this module, the QR code recognition unit 303 calls the payment application to recognize the virtual payment QR code. The user can set the default payment application as needed, or the user can choose the payment application by himself. After the selection is completed, the QR code recognition result can be obtained by scanning the code through the payment application. The QR code recognition result records the transaction target and transaction amount.

[0105] like Figure 8As shown, as a preferred embodiment of the present invention, the identity authentication module 400 includes:

[0106] The function fitting unit 401 is used to collect random data after obtaining the two-dimensional code recognition result, and to generate a random function based on the random data fitting.

[0107] In this module, after obtaining the QR code recognition result, the function fitting unit 401 collects random data. Specifically, it randomly collects the wireless communication signal strength value of the current POS machine and records it in chronological order to obtain at least four sets of signal strength coordinates. The horizontal axis of the signal strength coordinate is the time value, and the vertical axis is the signal strength value. Function fitting is performed to obtain a random function.

[0108] The data sending unit 402 is used to send a random function to the cloud according to the QR code recognition result, and send the random function to the corresponding POS machine through the cloud. The POS machine generates verification data according to the random function and broadcasts the verification data.

[0109] In this module, the data sending unit 402 sends a random function to the cloud according to the QR code recognition result. During the detection process of the mobile device, the identity of the POS machine has been identified, and the POS machine is bound to the transaction target contained in the QR code recognition result. Therefore, the receiving device of the random function can be determined. After the POS machine receives the random function, it substitutes the preset independent variable set into the random function to generate verification data, and broadcast the verification data.

[0110] The transaction verification unit 403 is used to dynamically monitor the POS machine, monitor the broadcast content sent from the target POS machine, and perform identity verification based on the broadcast content. If the verification is successful, the transaction will continue.

[0111] In this module, the transaction verification unit 403 dynamically monitors the POS machine. Specifically, the mobile device receives the verification data broadcast by the POS machine. The mobile device also imports the preset independent variable set into the random function to obtain the comparison data. If the comparison data is the same as the verification data, the verification is completed. In this process, sound and light verification can also be used. Specifically, when the verification function is broadcast, the POS machine plays the preset audio and monitors it through the mobile device. If the corresponding audio is monitored, it is determined to continue the transaction. After the user enters the password, the payment is completed.

[0112] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0113] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0114] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0115] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0116] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An information interaction method for a POS machine, characterized in that: The method comprises: Monitor payment actions, and enter the touchless payment state when payment actions are detected; Perform wireless communication signal detection, and determine POS machine transaction account information based on the detected wireless communication signal; Generate a virtual payment QR code based on the POS machine transaction account information, perform QR code recognition, and obtain the QR code recognition result; Authenticate the POS machine, send a random function to the POS machine through the cloud, and dynamically monitor the POS machine, and determine whether to continue the transaction based on the monitoring results of the POS machine; Payment action monitoring is carried out by monitoring wireless communication signals through mobile devices. When the mobile device monitors, the identity of the signal source is determined based on the wireless communication signal. For the POS machine, after it is turned on, it broadcasts through wireless communication signals. The content of the broadcast is the device type code, and the device type code is a specific string. When the wireless communication signal is detected, the mobile device identifies the specific string and determines that there is a POS machine nearby. Detection of the specific string is a payment action, and the mobile device enters the contactless payment state.

2. The information interaction method for POS machine according to claim 1, characterized in that: The step of detecting the wireless communication signal and determining the POS machine transaction account information based on the detected wireless communication signal specifically includes: Record the wireless communication signal, intercept the wireless communication signal at a preset time interval, and obtain the signal data to be verified; The signal data to be verified is copied and concatenated to obtain a concatenated string, and the string is intercepted according to a preset character length to obtain multiple string data; Verify whether the string data is the same as the preset contactless payment verification string. If they are the same, extract the POS machine transaction account information from the spliced ​​string, and the POS machine transaction account information is composed of decimal characters.

3. The information interaction method for POS machine according to claim 1, characterized in that: The steps of generating a virtual payment QR code based on the POS machine transaction account information, performing QR code recognition, and obtaining a QR code recognition result specifically include: Transcode the POS machine transaction account information and convert it into binary data; Construct a blank QR code based on binary data, map the binary data into the blank QR code according to a preset data mapping table, and obtain a virtual payment QR code; The payment application is called to identify the virtual payment QR code to obtain a QR code recognition result, and the QR code recognition result is used to determine the transaction target.

4. The information interaction method for POS machine according to claim 1, characterized in that: The steps of authenticating the identity of the POS machine, sending a random function to the POS machine through the cloud, dynamically monitoring the POS machine, and determining whether to continue the transaction based on the monitoring result of the POS machine specifically include: After obtaining the QR code recognition result, random data is collected, and a random function is generated based on the random data fitting; Send a random function to the cloud according to the QR code recognition result, and send the random function to the corresponding POS machine through the cloud. The POS machine generates verification data according to the random function and broadcasts the verification data; Dynamically monitor the POS machine, listen to the broadcast content from the target POS machine, perform identity authentication based on the broadcast content, and continue the transaction if the authentication is passed.

5. The information interaction method for POS machine according to claim 4, characterized in that: The process of verifying the POS machine also includes sound and light verification.

6. An information interaction system for a POS machine, characterized in that: The system comprises: The payment action recognition module is used to monitor payment actions. When a payment action is detected, the module enters the non-sensitive payment state. The device detection module is used to detect wireless communication signals and determine the POS machine transaction account information based on the detected wireless communication signals; The virtual code scanning module is used to generate a virtual payment QR code based on the POS machine transaction account information, perform QR code recognition, and obtain the QR code recognition result; The identity verification module is used to verify the identity of the POS machine, send a random function to the POS machine through the cloud, and dynamically monitor the POS machine, and determine whether to continue the transaction based on the monitoring results of the POS machine; Payment action monitoring is carried out by monitoring wireless communication signals through mobile devices. When the mobile device monitors, the identity of the signal source is determined based on the wireless communication signal. For the POS machine, after it is turned on, it broadcasts through wireless communication signals. The content of the broadcast is the device type code, and the device type code is a specific string. When the wireless communication signal is detected, the mobile device identifies the specific string and determines that there is a POS machine nearby. Detection of the specific string is a payment action, and the mobile device enters the contactless payment state.

7. The information interaction system for POS machine according to claim 6, characterized in that: The device detection module comprises: A signal recording unit is used to record the wireless communication signal and intercept the wireless communication signal at a preset time interval to obtain the signal data to be verified; The data analysis unit is used to copy and splice the signal data to be verified to obtain a spliced ​​string, and intercept it according to a preset character length to obtain multiple string data; The data extraction unit is used to verify whether the string data is the same as the preset contactless payment verification string. If the string data is the same, the POS machine transaction account information is extracted from the spliced ​​string, and the POS machine transaction account information is composed of decimal characters.

8. The information interaction system for POS machines according to claim 6, characterized in that: The virtual code scanning module includes: A data conversion unit, used to transcode the POS machine transaction account information and convert it into binary data; A QR code generation unit is used to construct a blank QR code based on binary data, and map the binary data into the blank QR code according to a preset data mapping table to obtain a virtual payment QR code; The QR code recognition unit is used to call the payment application to recognize the virtual payment QR code and obtain a QR code recognition result, which is used to determine the transaction target.

9. The information interaction system for POS machine according to claim 6, characterized in that: The identity verification module comprises: A function fitting unit, used for collecting random data after obtaining the two-dimensional code recognition result, and generating a random function based on the random data fitting; A data sending unit, used to send a random function to the cloud according to the QR code recognition result, and send the random function to the corresponding POS machine through the cloud, and the POS machine generates verification data according to the random function and broadcasts the verification data; The transaction verification unit is used to dynamically monitor the POS machine, monitor the broadcast content from the target POS machine, perform identity authentication based on the broadcast content, and continue the transaction if the verification is passed.

10. The information interaction system for POS machine according to claim 9, characterized in that: The process of verifying the POS machine also includes sound and light verification.