Information processing method, device and system based on short-range communication signal

By using short-range communication signals to authenticate identification codes in offline scenarios of mobile payment, the risk problems in offline scenarios of mobile payments are solved and higher security is achieved.

CN115499816BActive Publication Date: 2025-03-25ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211124595.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-24
Publication Date
2025-03-25
Estimated Expiration
2040-03-24

AI Technical Summary

Technical Problem

There are risks in offline scenarios of mobile payment, including the acquisition of fraud and high marketing subsidies.

Method used

By generating and displaying the identification code, when the identification code is monitored, a short-range communication signal is generated, which includes the identification information of the first attribute information and the identification code, and is sent to the target client. The target client parses the first attribute information and identification information from the received short-range communication signal and sends it to the server for authentication.

Benefits of technology

It realizes safety certification during offline operations, reduces the risk of offline operations, and improves the safety of offline operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499816B_ABST
    Figure CN115499816B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide an information processing method, device and system based on short-range communication signals. The method includes: receiving authentication request information sent by a target client and scanned identification information, the authentication request information includes first attribute information and identification information, wherein the first attribute information and identification information in the authentication request information are obtained by the target client from parsing the received short-range communication signal; obtaining second attribute information corresponding to the scanned identification information according to the scanned identification information, and obtaining the first attribute information from the authentication request information including the scanned identification information; comparing whether the first attribute information obtained is consistent with the second attribute information; if the comparison shows that the first attribute information obtained is consistent with the second attribute information, generating authentication success information; if the comparison shows that the first attribute information obtained is inconsistent with the second attribute information, generating authentication failure information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of Internet technology, and in particular to an information processing method, device and system based on short-range communication signals. Background Art

[0002] With the popularity of mobile payment and the continuous expansion of offline scenarios, more and more users will use mobile phones to pay, verify, etc. For example, they can directly purchase goods from merchants through mobile payment, or after buying a product on a group buying website, they can go to the store to show the QR code for verification.

[0003] The risks of mobile payment also come with it. For example, high marketing subsidies may be obtained through remote offline payment, or fraudsters may obtain QR code images and use the obtained QR code images to make offline payments or redeem goods. Summary of the invention

[0004] In view of this, the embodiments of this specification provide an information processing method, device and system based on short-range communication signals, which are used to reduce the risks of offline operations and improve the safety of offline operations.

[0005] On the one hand, an embodiment of this specification provides an information processing method based on a short-range communication signal, including:

[0006] Generate and display identification codes;

[0007] If the identification code is monitored, a short-distance communication signal is generated, wherein the short-distance communication signal includes first attribute information and identification information of the identification code;

[0008] The short range communication signal is transmitted.

[0009] Optionally, the identification information includes a barcode value.

[0010] Optionally, the first attribute information includes user identification information and / or device identification information.

[0011] Optionally, the short-range communication signal also includes first time information.

[0012] Optionally, generating a short distance communication signal includes:

[0013] encrypting the identification information, the first attribute information and the first time information;

[0014] The short distance communication signal is generated according to the encrypted identification information, the first attribute information and the first time information.

[0015] Optionally, it also includes:

[0016] If it is detected that the page where the identification code is located is closed, the sending of the short-range communication signal is stopped.

[0017] Optionally, the short-range communication signal includes a sound wave signal, a Bluetooth signal, an infrared signal or an NFC signal.

[0018] Optionally, the short-range communication signal includes a sound wave signal, and the sound wave signal is a sub-ultrasonic signal or an ultrasonic signal.

[0019] On the other hand, an embodiment of the present specification provides an information processing method based on a short-range communication signal, including:

[0020] Scanning the identification code displayed by the user terminal to obtain identification information of the identification code;

[0021] Receiving a short-distance communication signal sent by a user terminal, wherein the short-distance communication signal includes first attribute information and identification information of an identification code;

[0022] Parsing the first attribute information and identification information from the short-range communication signal;

[0023] The authentication request information and the scanned identification information are sent to the server, wherein the authentication request information includes the parsed first attribute information and the identification information.

[0024] Optionally, the authentication request information further includes first time information;

[0025] The step of parsing the first attribute information and the identification information from the short-range communication signal also includes:

[0026] The first time information is parsed from the short-range communication signal.

[0027] Optionally, the scanning of the identification code displayed by the user terminal includes:

[0028] Monitoring whether the short-range communication signal is received within a set time period, wherein the start time point of the set time period is the time point when scanning the identification code displayed by the user terminal is started;

[0029] If it is detected that the short-range communication signal is not received within a set time period, the scanned identification information is sent to the server;

[0030] If it is monitored that the short-distance communication signal is received within a set time period, the step of parsing the first attribute information and the identification information from the short-distance communication signal is performed.

[0031] On the other hand, an embodiment of the present specification provides an information processing method based on a short-range communication signal, including:

[0032] Receiving authentication request information sent by a target client and scanned identification information, wherein the authentication request information includes first attribute information and identification information, wherein the first attribute information and identification information in the authentication request information are obtained by the target client parsing the received short-range communication signal;

[0033] Acquire second attribute information corresponding to the scanned identification information according to the scanned identification information, and acquire first attribute information from the authentication request information including the scanned identification information;

[0034] comparing whether the first attribute information and the second attribute information obtained are consistent;

[0035] If the first attribute information obtained is found to be consistent with the second attribute information, generating authentication success information;

[0036] If the comparison shows that the first attribute information and the second attribute information obtained are inconsistent, authentication failure information is generated.

[0037] Optionally, the second attribute information includes user identification information and / or device identification information.

[0038] Optionally, the authentication request information further includes first time information;

[0039] The method further comprises:

[0040] If the first attribute information and the second attribute information obtained are compared to be consistent, determining whether the time difference between the current second time information and the first time information in the authentication request information including the scanned identification information is less than or equal to a set time threshold;

[0041] If it is determined that the time difference is less than or equal to the set time threshold, executing the step of generating authentication success information;

[0042] If it is determined that the time difference is greater than the set time threshold, authentication failure information is generated.

[0043] Optionally, after receiving the authentication request information sent by the target client and the scanned identification information, the method further includes:

[0044] The encrypted identification information, first attribute information and first time information are decrypted to obtain the identification information, the first attribute information and the first time information.

[0045] Optionally, it also includes:

[0046] Query whether the authentication request information and the scanned identification information are received;

[0047] If it is found that the scanned identification information is received and the authentication request information is not received, obtaining second attribute information corresponding to the scanned identification information according to the scanned identification information;

[0048] Querying whether a preset user whitelist includes the second attribute information;

[0049] If the preset user whitelist is found to include the second attribute information, authentication success information is generated;

[0050] If it is found that the preset user whitelist does not include the second attribute information, authentication failure information is generated.

[0051] On the other hand, an embodiment of the present specification provides an information processing method based on a short-range communication signal, including:

[0052] The user terminal generates and displays an identification code; if the identification code is monitored, generates a short-range communication signal, the short-range communication signal includes first attribute information and identification information of the identification code; and sends the short-range communication signal;

[0053] The target client scans the identification code displayed by the user terminal to obtain identification information of the identification code; receives a short-range communication signal sent by the user terminal; parses the first attribute information and the identification information from the short-range communication signal; sends the identification information and authentication request information to the server, wherein the authentication request information includes the first attribute information and the identification information;

[0054] The server obtains second attribute information corresponding to the scanned identification information based on the scanned identification information, and obtains first attribute information from authentication request information including the scanned identification information; compares whether the first attribute information obtained is consistent with the second attribute information; if the comparison shows that the first attribute information obtained is consistent with the second attribute information, generates authentication success information; if the comparison shows that the first attribute information obtained is inconsistent with the second attribute information, generates authentication failure information.

[0055] On the other hand, an embodiment of the present specification provides an information processing device based on a short-range communication signal, including:

[0056] A first generating module, used to generate an identification code;

[0057] A display module, used to display the identification code;

[0058] A first monitoring module, used for monitoring the identification code;

[0059] A second generating module is configured to generate a short distance communication signal when the first monitoring module monitors the identification code, wherein the short distance communication signal includes first attribute information and identification information of the identification code;

[0060] The signal output module is used to send the short-range communication signal.

[0061] Optionally, the short-range communication signal further includes first time information;

[0062] The first generation module specifically includes:

[0063] An encryption submodule, used for encrypting the identification information, the first attribute information and the first time information;

[0064] The generating submodule is used to generate the short-range communication signal according to the encrypted identification information, the second attribute information and the first time information.

[0065] Optionally, the signal output module is further configured to stop sending the short-range communication signal if the first monitoring module monitors that the page where the identification code is located is closed.

[0066] On the other hand, an embodiment of the present specification provides an information processing device based on a short-range communication signal, including:

[0067] A scanning module, used to scan the identification code displayed by the user terminal to obtain identification information of the identification code;

[0068] A signal receiving module, configured to receive a short-distance communication signal sent by a user terminal, wherein the short-distance communication signal includes the first attribute information and the identification information;

[0069] A parsing module, used to parse the first attribute information and the identification information from the short-range communication signal;

[0070] A sending module is used to send the identification information and the authentication request information to a server.

[0071] Optionally, the authentication request information further includes first time information;

[0072] The parsing module is further configured to parse the first attribute information and the identification information from the short-distance communication signal, and parse the first time information from the short-distance communication signal.

[0073] Optionally, it also includes:

[0074] A second monitoring module is used to monitor whether the signal receiving module receives the short-range communication signal within a set time period, wherein the starting time point of the set time period is the time point when scanning the identification code displayed by the user terminal starts; if it is monitored that the short-range communication signal is received within the set time period, the parsing module is triggered to execute the step of parsing the first attribute information and the identification information from the short-range communication signal;

[0075] The sending module is further configured to send the identification information to the server if the second monitoring module detects that the short-range communication signal is not received within a set time period.

[0076] On the other hand, an embodiment of the present specification provides an information processing device based on a short-range communication signal, including:

[0077] A receiving module, configured to receive identification information and authentication request information sent by a target client, wherein the authentication request information includes first attribute information and identification information, wherein the first attribute information and the identification information are obtained by parsing the target client from a received short-range communication signal;

[0078] an acquisition module, configured to acquire second attribute information corresponding to the scanned identification information according to the scanned identification information, and acquire first attribute information from authentication request information including the scanned identification information;

[0079] A comparison module, used for comparing whether the first attribute information and the second attribute information obtained are consistent;

[0080] The third generation module is used to generate authentication success information if the comparison module compares the first attribute information obtained and the second attribute information to be consistent; if the comparison module compares the first attribute information obtained and the second attribute information to be inconsistent, generate authentication failure information.

[0081] Optionally, the authentication request information further includes first time information;

[0082] The device also includes:

[0083] a judgment module, configured to judge whether a time difference between the current second time information and the first time information in the authentication request information including the scanned identification information is less than or equal to a set time threshold if the comparison module compares and finds that the first attribute information and the second attribute information are consistent; and trigger the third generation module to execute the step of generating authentication success information if it is judged that the time difference is less than or equal to the set time threshold;

[0084] The third generating module is further configured to generate authentication failure information if the judging module determines that the time difference is greater than the set time threshold.

[0085] Optionally, it also includes:

[0086] The decryption module is used to decrypt the encrypted identification information, the first attribute information and the first time information to obtain the identification information, the first attribute information and the first time information.

[0087] Optionally, it also includes:

[0088] A first query module, used for querying whether the receiving module has received the authentication request information and the scanned identification information;

[0089] The acquisition module is further configured to acquire second attribute information corresponding to the scanned identification information according to the scanned identification information if the first query module queries that the scanned identification information is received and the authentication request information is not received;

[0090] A second query module, used to query whether a preset user whitelist includes the second attribute information;

[0091] The third generation module is also used to generate authentication success information if the second query module queries that the preset user whitelist includes the second attribute information; if the second query module queries that the preset user whitelist does not include the second attribute information, generate authentication failure information.

[0092] On the other hand, an embodiment of the present specification provides an information processing system based on a short-range communication signal, including:

[0093] The user terminal is configured to generate and display an identification code; if the identification code is monitored, generate a short-range communication signal, the short-range communication signal including first attribute information and identification information of the identification code; and send the short-range communication signal;

[0094] A target client is used to scan the identification code displayed by the user terminal to obtain the identification information of the identification code; receive the short-range communication signal sent by the user terminal; parse the first attribute information and the identification information from the short-range communication signal; send the identification information and the authentication request information to the server, wherein the authentication request information includes the first attribute information and the identification information;

[0095] The server is used to obtain second attribute information corresponding to the scanned identification information based on the scanned identification information, and obtain first attribute information from authentication request information including the scanned identification information; compare whether the first attribute information obtained is consistent with the second attribute information; if the comparison shows that the first attribute information obtained is consistent with the second attribute information, generate authentication success information; if the comparison shows that the first attribute information obtained is inconsistent with the second attribute information, generate authentication failure information.

[0096] On the other hand, an embodiment of the present specification provides a storage medium, which includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above-mentioned information processing method based on the short-range communication signal.

[0097] On the other hand, an embodiment of the present specification provides a user terminal, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the above-mentioned information processing method based on short-range communication signals are implemented.

[0098] On the other hand, an embodiment of the present specification provides a target client, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the above-mentioned information processing method based on short-range communication signals are implemented.

[0099] On the other hand, an embodiment of the present specification provides a server, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the above-mentioned information processing method for short-range communication signals are implemented.

[0100] In the technical solution provided in the embodiments of this specification, if the user terminal sends a short-range communication signal when it monitors an identification code, the target client parses the first attribute information and identification information from the received short-range communication signal, and sends the authentication request information including the parsed first attribute information and identification information and the scanned identification information to the server. The server obtains the second attribute information based on the scanned identification information, obtains the first attribute information from the authentication request information including the scanned identification information, and realizes security authentication during offline operations by comparing the second attribute information with the first attribute information to see if they are consistent, thereby reducing the risk of offline operations and improving the security of offline operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0101] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0102] Figure 1 This is a schematic diagram of the structural framework of the information processing system based on the short-range communication signal in the embodiment of this specification;

[0103] Figure 2 A flowchart of an information processing method based on a short-range communication signal provided in an embodiment of this specification;

[0104] Figure 3 A flowchart of another information processing method based on a short-range communication signal provided in an embodiment of this specification;

[0105] Figure 4 A flowchart of another information processing method based on a short-range communication signal provided in an embodiment of this specification;

[0106] Figure 5 A flowchart of another information processing method based on a short-range communication signal provided in an embodiment of this specification;

[0107] Figure 6 A flowchart of another information processing method based on a short-range communication signal provided in an embodiment of this specification;

[0108] Figure 7 A flowchart of another information processing method based on a short-range communication signal provided in an embodiment of this specification;

[0109] Figure 8 for Figure 7 Schematic diagram of the application of information processing methods;

[0110] Fig. 9 A schematic diagram of the structure of an information processing device based on a short-range communication signal provided in an embodiment of this specification;

[0111] Fig.10 A schematic diagram of the structure of another information processing device based on short-range communication signals provided in an embodiment of this specification;

[0112] Fig.11 A schematic diagram of the structure of another information processing device based on short-range communication signals provided in an embodiment of this specification;

[0113] Fig.12 is a schematic diagram of a user terminal provided in an embodiment of this specification;

[0114] Fig.13 is a schematic diagram of a target client provided in an embodiment of this specification;

[0115] Fig.14 It is a schematic diagram of a server provided in an embodiment of this specification. DETAILED DESCRIPTION

[0116] In order to better understand the technical solution of this specification, the embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0117] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0118] The terms used in the embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms "a", "said" and "the" used in the embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0119] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0120] Figure 1 FIG. 1 is a schematic diagram of a structural framework of an information processing system based on a short-range communication signal in an embodiment of this specification. Figure 1 As shown, the system may include a user terminal, a target client, and a server. For example, the user terminal may include a mobile phone, a tablet computer, a laptop computer, or a wearable device. The target client may include a point of sale (POS), a mobile phone, a tablet computer, a laptop computer, or a desktop computer. As an optional solution, the target client uses a POS machine, which has a higher recognition rate when scanning a code than other types of clients.

[0121] like Figure 1 As shown, a signal output module is provided in the user terminal, and correspondingly, a signal receiving module is provided in the target client. In the embodiment of this specification, the signal output module in the user terminal is used to output the short-distance communication signal, and the signal receiving module in the target client is used to receive the short-distance communication signal output by the signal output module of the user terminal.

[0122] In the embodiments of this specification, the short-distance communication signal includes a sound wave signal, a Bluetooth signal, an infrared signal, or a Near Field Communication (NFC) signal.

[0123] like Figure 1 As shown, when the short-range communication signal includes a sound wave signal, the signal output module can be an audio output module, for example, the audio output module can include a speaker. Usually, the user terminal is provided with an audio output module, so when implementing the solution of the embodiment of this specification, the signal output module can directly use the original audio output module in the user terminal, without adding or modifying the audio output module in the user terminal, thereby reducing the equipment cost; if the audio output module is not provided in the user terminal, then in order to implement the solution of the embodiment of this specification, it is necessary to add an audio output module in the user terminal. The signal receiving module can be an audio receiving module. If the audio receiving module is not provided in the target client, then in order to implement the solution of the embodiment of this specification, it is necessary to add an audio receiving device in the target client. If the audio receiving module is already provided in the target client, the original audio receiving module in the target client can be directly used, for example, the audio receiving module can include a microphone.

[0124] like Figure 1 As shown, when the short-range communication signal includes a Bluetooth signal, the signal output module and the signal receiving module are both Bluetooth communication modules.

[0125] like Figure 1 As shown, when the short-range communication signal includes an infrared signal, the signal output module and the signal receiving module are both infrared communication modules.

[0126] like Figure 1 As shown, when the short-distance communication signal includes an NFC signal, the signal output module and the signal receiving module are both NFC modules.

[0127] In practical applications, the short-range communication signal may also be other communication signals, and accordingly, the signal output module and the signal receiving module may also be other communication modules, which are not listed one by one here.

[0128] based on Figure 1 The various devices in the system shown in the embodiment of this specification provide an information processing method based on short-range communication signals. When a user terminal and a target client perform offline scene operations, the security authentication of the offline operation can be achieved through the information in the short-range communication signal sent by the user terminal to the target client, thereby reducing the risk of offline operations and improving the security of offline operations.

[0129] Figure 2 A flowchart of an information processing method based on a short-range communication signal provided in one embodiment of this specification. Figure 2 The information processing method shown in Figure 1 The user terminal in Figure 2 As shown, the method includes:

[0130] Step 102: Generate and display an identification code.

[0131] Step 104: If the identification code is monitored, a short-range communication signal is generated, and the short-range communication signal includes the first attribute information and identification information of the identification code.

[0132] Step 106: Send a short-range communication signal.

[0133] In the embodiments of this specification, the identification code includes a two-dimensional code or a one-dimensional code. The identification information includes a barcode value. If the identification code includes a two-dimensional code, the barcode value includes a two-dimensional code value; if the identification code includes a one-dimensional code, the barcode value includes a one-dimensional code value. The solution of the embodiments of this specification can be applied to the field of offline transactions, and the identification code can include a payment code or a verification code, for example: a payment operation or a verification operation is implemented by displaying the identification code on a user terminal.

[0134] In the embodiment of the present specification, in step 102, when the user needs to display the identification code on the user terminal, the user can input the identification code generation operation into the user terminal, for example, the user can click the "payment button" on the user terminal to input the identification code generation operation, and the user terminal can generate the identification code according to the input identification code generation operation. Since the identification code is usually displayed in the form of a page, the user terminal usually generates a page including the identification code to realize the generation of the identification code.

[0135] In the embodiment of the present specification, in step 102, the identification code can be displayed on the user terminal in the form of a page. The user terminal displays the page where the identification code is located to display the identification code to the target client. The page where the identification code is located may include a two-dimensional code and / or a one-dimensional code. For example, if the page where the identification code is located includes both a two-dimensional code and a one-dimensional code, a one-dimensional code may be set in the upper half of the page, and a two-dimensional code may be set in the lower half of the page. Although the two-dimensional code and the one-dimensional code in the page are two different identification codes, the two-dimensional code and the one-dimensional code may include the same information.

[0136] In the embodiments of this specification, the first attribute information may include user identification information and / or device identification information. The user identification information can uniquely identify a user account, and the user identification information may be a user ID; the device identification information may be information that uniquely identifies a device, and the device identification information may be a device ID.

[0137] In the embodiment of this specification, in step 104, the user terminal can monitor the identification code. When the identification code is monitored, it indicates that the user needs to conduct an offline transaction through the identification code. At this time, the generation of a short-distance communication signal can be triggered to implement the authentication process through various information in the short-distance communication signal. Further, the short-distance communication signal may include first time information, and the first time information is the time recorded when the user terminal generates the short-distance communication signal.

[0138] In the embodiment of this specification, when the target client needs to scan the identification code, the user terminal generates and displays the identification code for the target client to scan the identification code displayed by the user terminal; at this time, when the user terminal generates the identification code itself, the identification code can be monitored, that is, the user terminal monitors the generated identification code. In the embodiment of this specification, the short-range communication signal is generated and sent only when the identification code is monitored, thereby reducing the CPU consumption of the user terminal and saving the power of the user terminal.

[0139] In the embodiment of this specification, if the short-distance communication signal includes the first attribute information and the identification information of the identification code, generating the short-distance communication signal in step 104 may specifically include: generating the short-distance communication signal according to the first attribute information and the identification information of the identification code. Taking the short-distance communication signal including the sound wave signal as an example, step 104 may include: encoding the second attribute information and the identification information of the identification code according to the sound wave encoding rule to generate the sound wave signal.

[0140] In the embodiments of this specification, as an optional solution, if the short-distance communication signal includes the first attribute information and the identification information of the identification code, the generation of the short-distance communication signal in step 104 may specifically include: encrypting the first attribute information and the identification information of the identification code; generating the short-distance communication signal according to the encrypted second attribute information and the identification information of the identification code. Taking the example that the short-distance communication signal includes a sound wave signal, step 104 may include: encoding the encrypted first attribute information and the identification information of the identification code according to the sound wave encoding rules to generate a sound wave signal. In this solution, the identification information of the first attribute information and the identification code is encrypted, and the first attribute information and the identification information of the identification code are transmitted in the form of ciphertext during the data transmission process, thereby improving the security of data transmission.

[0141] In the embodiment of this specification, if the short-distance communication signal includes the first attribute information, the identification information of the identification code, and the first time information, step 104 may include: generating the short-distance communication signal according to the second attribute information, the identification information of the identification code, and the first time information. Taking the short-distance communication signal including the sound wave signal as an example, step 104 may include: encoding the first attribute information, the identification information of the identification code, and the first time information according to the sound wave encoding rule to generate the sound wave signal.

[0142] In the embodiments of this specification, as an optional solution, if the short-distance communication signal includes the first attribute information, the identification information of the identification code and the first time information, the generation of the short-distance communication signal in step 104 may specifically include: encrypting the first attribute information and the first time information; generating the short-distance communication signal according to the encrypted first attribute information, the identification information of the identification code and the first time information. Taking the example that the short-distance communication signal includes a sound wave signal, step 104 may include: encoding the encrypted first attribute information, the identification information of the identification code and the first time information according to the sound wave encoding rule to generate a sound wave signal. In this solution, the first attribute information, the identification information of the identification code and the first time information are encrypted, and the first attribute information, the identification information of the identification code and the first time information are transmitted in the form of ciphertext during the data transmission process, thereby improving the security of data transmission.

[0143] In the above scheme, a symmetric encryption algorithm or an asymmetric encryption algorithm may be used to encrypt the first attribute information and the identification information of the identification code, or a symmetric encryption algorithm or an asymmetric encryption algorithm may be used to encrypt the first attribute information, the identification information of the identification code and the first time information. For example: when a symmetric encryption algorithm is used to encrypt the first attribute information and the identification information of the identification code, the first attribute information and the identification information of the identification code may be encrypted by an encryption key; for another example: when a non-encryption algorithm is used to encrypt the first attribute information and the identification information of the identification code, the first attribute information and the identification information of the identification code may be encrypted by a public key. When the user logs in to the server at the user terminal, the user terminal may obtain the encryption key or the public key from the server.

[0144] In an embodiment of the present specification, if the sound wave signal includes a sub-ultrasonic signal or an ultrasonic signal, step 104 may also include: setting the frequency of the sound wave signal to a set frequency, so that the sound wave signal includes a sub-ultrasonic signal or an ultrasonic signal, wherein the set frequency of the sub-ultrasonic signal may be greater than or equal to 16KHz and less than 20KHz, and the set frequency of the ultrasonic signal may be greater than 20KHz. As an optional scheme, the frequency is set to 18KHz. The above-mentioned sound wave signal is inaudible to the human ear and the sound wave signal in this band has less noise interference. In particular, when a sound wave signal with a set frequency of 18KHz is used, not only is it inaudible to the human ear, but it also further avoids the interference of noise at the site of offline operations on the sound wave signal in this band.

[0145] In the embodiment of the present specification, the user terminal may continuously monitor the identification code, and if it is detected that the page where the identification code is located is closed, the user terminal stops sending the short-range communication signal.

[0146] In the embodiment of this specification, as an optional solution, if the short-range communication signal includes a sound wave signal, then in step 106, the audio output module of the user terminal plays the sound wave signal to send the sound wave signal, so that the target client can receive the sound wave signal.

[0147] In the technical solution of the information processing method provided in the embodiments of this specification, if an identification code is monitored, a short-range communication signal is generated and sent, so that security authentication during offline operations can be achieved through the information in the short-range communication signal, thereby reducing the risks of offline operations and improving the security of offline operations.

[0148] Figure 3 A flowchart of another information processing method based on short-range communication signals provided in one embodiment of this specification. Figure 3 The information processing method shown in Figure 1 The target client in Figure 3 As shown, the method includes:

[0149] Step 202: Scan the barcode displayed by the user terminal to obtain identification information of the identification code.

[0150] Step 204: Receive a short-distance communication signal sent by the user terminal, where the short-distance communication signal includes first attribute information and identification information of an identification code.

[0151] Step 206: parse the first attribute information and identification information from the short-range communication signal.

[0152] Step 208: Send the authentication request information and the scanned identification information to the server, where the authentication request information includes the parsed first attribute information and identification information.

[0153] In an embodiment of the present specification, in step 202, if the page where the identification code displayed by the user terminal is located includes only a QR code, the target client directly scans the QR code to scan the identification code displayed by the user terminal; if the page where the identification code displayed by the user terminal is located includes only a one-dimensional code, the target client directly scans the one-dimensional code to scan the identification code displayed by the user terminal; if the page where the identification code displayed by the user terminal is located includes both a QR code and a one-dimensional code, the target client can scan the QR code or the one-dimensional code to scan the identification code displayed by the user terminal.

[0154] In the embodiment of this specification, the target client can scan the identification code through the scanning module to obtain the identification information of the identification code. The identification information of the identification code includes a barcode value, that is, the target client can obtain the barcode value by scanning the identification code. The barcode value can be used to determine the user identification information, and the barcode value corresponds to the user identification information.

[0155] Among them, the scanning module may include a barcode scanner or a camera.

[0156] In the embodiment of this specification, as an optional solution, if the short-range communication signal includes a sound wave signal, then in step 204, the audio receiving module of the target client receives the sound wave signal. Since the frequency of the sound wave signal is the set frequency, the target client can extract the sound wave signal of the set frequency from the received sound wave signals of different frequencies to achieve the reception of the short-range communication signal. Among them, the sound wave signals of different frequencies include not only the sound wave signal of the set frequency, but also the noise signal of the operation site.

[0157] In the embodiment of this specification, after step 202, the following steps are further included:

[0158] Step 203a, monitor whether a short-range communication signal is received within a set time period, wherein the start time point of the set time period is the time point when scanning the identification code displayed by the user terminal begins. If yes, execute step 206; if not, execute step 203b.

[0159] When the target client starts scanning the identification code displayed by the user terminal, it starts monitoring the signal receiving module to monitor whether the signal receiving module receives the short-range communication signal within a set time period.

[0160] In the embodiment of this specification, the set time period is the time for waiting to receive the short-range communication signal sent by the user terminal. The set time period can be set as needed, for example: the set time period may include 5s.

[0161] Step 203b: Send the scanned identification information to the server.

[0162] If the short-distance communication signal is not received within the set time period, it is determined that the target client has not received the short-distance communication signal sent by the user terminal, and the scanned identification information can be sent to the server. For example, the reason for not receiving the short-distance communication signal is as follows: the signal output module of the user terminal is damaged or there is signal interference in the short-distance communication signal.

[0163] In the embodiment of this specification, if the short-distance communication signal includes the first attribute information and the identification information of the identification code, taking the short-distance communication signal including the sound wave signal as an example, step 206 may include: decoding the short-distance communication signal according to the sound wave decoding rule to generate the first attribute information and the identification information of the identification code, so as to parse the first attribute information and the identification information of the identification code from the sound wave signal. The first attribute information and the identification information may include plain text information or cipher text information, and when the first attribute information and the identification information include cipher text information, the first attribute information and the identification information generated after decoding are encrypted.

[0164] In the embodiment of this specification, if the short-distance communication signal includes the first attribute information, the identification information of the identification code and the first time information, the execution of step 206 also includes parsing the first time information from the short-distance communication signal, that is, parsing the first attribute information, the identification information of the identification code and the first time information from the short-distance communication signal. Taking the short-distance communication signal including the sound wave signal as an example, step 206 may include: decoding the short-distance communication signal according to the sound wave decoding rule to generate the first attribute information, the identification information of the identification code and the first time information, so as to achieve parsing the first attribute information, the identification information of the identification code and the first time information from the sound wave signal. Among them, the first attribute information, the identification information of the identification code and the first time information may include plain text information or cipher text information. When the first attribute information, the identification information of the identification code and the first time information include cipher text information, what is generated after decoding is the encrypted first attribute information, the identification information of the identification code and the first time information.

[0165] In the embodiment of this specification, if the short-range communication signal includes the first attribute information, in step 208, when the first attribute information and the identification information of the identification code include ciphertext information, the authentication request information includes the encrypted first attribute information and the identification information of the identification code.

[0166] In an embodiment of the present specification, if the short-range communication signal includes first attribute information, identification information of the identification code and first time information, in step 208, when the first attribute information, identification information of the identification code and the first time information include ciphertext information, the authentication request information includes the encrypted first attribute information, identification information of the identification code and the first time information.

[0167] In the technical solution of the information processing method provided in the embodiments of this specification, the first attribute information and identification information are parsed from the short-range communication signal, and the scanned identification information and the authentication request information including the parsed first attribute information and identification information are sent to the server, so that the security authentication during the offline operation process can be achieved through the information in the received short-range communication signal, thereby reducing the risk of offline operations and improving the security of offline operations.

[0168] Figure 4 A flowchart of another information processing method based on short-range communication signals provided in an embodiment of this specification. Figure 4 The information processing method shown in Figure 1 Servers in Figure 4 As shown, the method includes:

[0169] Step 302: Receive authentication request information sent by the target client and the scanned identification information, where the authentication request information includes first attribute information and identification information.

[0170] In the embodiment of this specification, the first attribute information and identification information in the authentication request information are obtained by parsing the target client from the received short-range communication signal.

[0171] In an embodiment of the present specification, if the first attribute information and identification information in the authentication request information are encrypted first attribute information and identification information, in other words, when the authentication request information includes encrypted first attribute information and identification information, the method further includes: decrypting the encrypted first attribute information and identification information to obtain the first attribute information and identification information.

[0172] Specifically, if the first attribute information and identification information are encrypted by a symmetric encryption algorithm, the encrypted first attribute information and identification information can be decrypted by the encryption key to obtain the first attribute information and identification information; if the first attribute information and identification information are encrypted by an asymmetric encryption algorithm, the encrypted first attribute information and identification information can be decrypted by the private key to obtain the first attribute information and identification information.

[0173] In the embodiment of this specification, if the encrypted first attribute information and identification information are decrypted successfully, the first attribute information and identification information are obtained; if the encrypted first attribute information and identification information are decrypted unsuccessfully, step 310 is executed.

[0174] Step 304: Acquire second attribute information corresponding to the scanned identification information according to the scanned identification information, and acquire first attribute information from the authentication request information including the scanned identification information.

[0175] In the embodiments of the present specification, the second attribute information and the first attribute information may include the same type of information, for example, the second attribute information includes user identification information and / or device identification information.

[0176] In the embodiments of this specification, when a user registers on a server, the server may obtain and store the user's second attribute information. For example, the server may store user identification information and device identification information. The user identification information may be used to uniquely identify a user account, i.e., the user identification information is information that uniquely identifies a user account; the device identification information may be used to identify a user terminal, i.e., the device identification information is information that uniquely identifies a device. The device identification information may include identification information of a device bound to the user identification information, i.e., the user identification information corresponds to the device identification information.

[0177] In the embodiment of this specification, the scanned identification information may include a barcode value. Since the barcode value corresponds to the user identification information, the server can obtain the corresponding unique user identification information by obtaining the barcode value. That is, the server can determine the unique user account by obtaining the barcode value.

[0178] As an optional solution, user identification information corresponding to the barcode value is obtained based on the scanned barcode value, and the obtained user identification information is used as the second attribute information to obtain the second attribute information corresponding to the scanned identification information based on the scanned identification information. At this time, the second attribute information includes the user identification information.

[0179] As another optional scheme, user identification information corresponding to the barcode value is obtained according to the scanned barcode value, device identification information corresponding to the user identification information is queried according to the obtained user identification information, and the device identification information is used as the second attribute information to obtain the second attribute information corresponding to the scanned identification information according to the scanned identification information. At this time, the second attribute information includes the device identification information.

[0180] As another optional scheme, user identification information corresponding to the barcode value is obtained according to the scanned barcode value, device identification information corresponding to the user identification information is queried according to the obtained user identification information, and the user identification information and the device identification information are used as the second attribute information to obtain the second attribute information corresponding to the scanned identification information according to the scanned identification information. At this time, the second attribute information includes the user identification information and the device identification information.

[0181] In the embodiment of this specification, if the server receives multiple authentication request information, it is necessary to search for the authentication request information including the scanned identification information from the multiple authentication request information based on the scanned identification information, and then extract the first attribute information from the authentication request information including the scanned identification information.

[0182] Step 306 , compare whether the first attribute information and the second attribute information are consistent, if so, execute step 308 ; if not, execute step 310 .

[0183] For example, if the first attribute information includes user identification information and the second attribute information includes user identification information, then step 306 specifically includes comparing whether the user identification information of the first attribute information and the user identification information of the second attribute information are consistent.

[0184] For another example, if the first attribute information includes device identification information and the second attribute information includes device identification information, step 306 specifically includes comparing whether the device identification information of the first attribute information and the device identification information of the second attribute information are consistent.

[0185] For another example: the first attribute information includes user identification information and device identification information, and the second attribute information includes user identification information and device identification information, then step 306 specifically includes: comparing whether the user identification information of the first attribute information and the user identification information of the second attribute information are consistent, and comparing whether the device identification information of the second attribute information and the device identification information of the second attribute information are consistent.

[0186] In this step, if the first attribute information and the second attribute information are compared and found to be consistent, it means that the user terminal and the target client are performing offline transaction operations within a certain distance range, and the user identified by the second attribute information is the same user as the user identified by the first attribute information in the short-range communication signal, and / or the user terminal that generates the identification code and the user terminal that sends the short-range communication signal are the same terminal device, thereby avoiding the risk of mobile payments such as remote offline scene payments to obtain high marketing subsidies and fraudsters obtaining identification codes and using the obtained identification codes to conduct offline transactions, thereby indicating that the authentication is successful.

[0187] In this step, if the comparison shows that the first attribute information and the second attribute information are inconsistent, it means that the user identified by the second attribute information is not the same user as the user identified by the first attribute information in the short-range communication signal, and / or that the user terminal that generates the identification code and the user terminal that sends the short-range communication signal are not the same terminal device. In this case, it is impossible to avoid operational risks such as remote offline payment to obtain high marketing subsidies and fraudsters obtaining identification codes and using the obtained identification codes to conduct offline transactions, thereby indicating that the authentication has failed.

[0188] Step 308: Generate authentication success information.

[0189] Step 310: Generate authentication failure information.

[0190] In the technical solution of the information processing method provided in the embodiments of this specification, the second attribute information is obtained based on the scanned identification information, and the first attribute information is obtained from the authentication request information including the scanned identification information. By comparing the second attribute information and the first attribute information to see if they are consistent, security authentication is achieved during offline operations, thereby reducing the risks of offline operations and improving the security of offline operations.

[0191] Figure 5 A flowchart of another information processing method based on short-range communication signals provided in an embodiment of this specification. Figure 5 The information processing method shown in Figure 1 Servers in Figure 5 As shown, the method includes:

[0192] Step 402: Receive authentication request information sent by the target client and the scanned identification information, where the authentication request information includes first attribute information, identification information, and first time information.

[0193] Step 404: Acquire second attribute information corresponding to the scanned identification information according to the scanned identification information, and acquire first attribute information and first time information from the authentication request information including the scanned identification information.

[0194] In the embodiments of this specification, the specific description of step 404 can refer to the specific description of the above step 304.

[0195] Step 406 , compare whether the first attribute information and the second attribute information are consistent, if so, execute step 408 ; if not, execute step 412 .

[0196] In an embodiment of the present specification, if the first attribute information, identification information and first time information in the authentication request information are encrypted first attribute information, identification information and first time information, in other words, when the authentication request information includes encrypted first attribute information, identification information and first time information, before executing step 404, it also includes: decrypting the encrypted first attribute information, identification information and first time information to obtain the first attribute information, identification information and first time information.

[0197] Specifically, if the first attribute information, identification information and first time information are encrypted by a symmetric encryption algorithm, the encrypted first attribute information, identification information and first time information can be decrypted by the encryption key to obtain the first attribute information, identification information and first time information; if the first attribute information, identification information and first time information are encrypted by an asymmetric encryption algorithm, the encrypted first attribute information, identification information and first time information can be decrypted by the private key to obtain the first attribute information, identification information and first time information.

[0198] In the embodiment of this specification, if the encrypted first attribute information, identification information and first time information are decrypted successfully, the first attribute information, identification information and first time information are obtained; if the encrypted first attribute information, identification information and first time information are decrypted unsuccessfully, step 412 is executed.

[0199] Step 408 , determine whether the time difference between the current second time information and the first time information is less than or equal to the set time threshold, if so, execute step 410 ; if not, execute step 412 .

[0200] In the embodiment of this specification, the second time information is the current system time recorded by the server. For example, the set time threshold may be 3s. In practical applications, the set time threshold may be set as needed, for example, the set time threshold may be appropriately increased in consideration of network transmission delay.

[0201] In this step, if it is determined that the time difference between the second time information and the first time information is less than or equal to the set time threshold, the authentication is determined to be successful, further avoiding the risk of mobile payment, thereby further ensuring that the terminal for offline transactions is the user terminal that generates barcode information and sends short-range communication signals.

[0202] Step 410: Generate authentication success information.

[0203] Step 412: Generate authentication failure information.

[0204] In the embodiments of the present specification, further, the target client parses the first time information from the short-range communication signal, and the server determines whether the time difference between the current second time information and the first time information is less than or equal to the set time threshold, thereby achieving further security authentication during offline operations, thereby further reducing the risks of offline operations and further improving the security of offline operations.

[0205] Figure 6 A flowchart of another information processing method based on short-range communication signals provided in one embodiment of this specification. Figure 6 The information processing method shown in Figure 1 Servers in Figure 6 As shown, the method includes:

[0206] Step 502, query whether the authentication request information and the scanned identification information sent by the target client are received, the authentication request information includes the first attribute information, the identification information and the first time information. If the authentication request information and the scanned identification information are received, execute step 504; if the scanned identification information is received and the authentication request information is not received, execute step 510.

[0207] Step 504: Acquire second attribute information according to the scanned identification information, and acquire first attribute information and first time information from the authentication request information including the scanned identification information.

[0208] In the embodiments of this specification, the specific description of step 504 can refer to the specific description of the above step 304.

[0209] Step 506 , compare whether the first attribute information and the second attribute information are consistent, if so, execute step 508 ; if not, execute step 516 .

[0210] The description of step 506 can be found in step 406 and will not be repeated here.

[0211] Step 508 , determine whether the time difference between the current second time information and the first time information is less than or equal to the set time threshold, if so, execute step 514 ; if not, execute step 516 .

[0212] The description of step 508 can be found in step 408 and will not be repeated here.

[0213] Step 510: Obtain second attribute information corresponding to the scanned identification information according to the scanned identification information.

[0214] In the embodiments of this specification, the specific description of step 510 can refer to the specific description of the above step 304.

[0215] Step 512: Query whether the preset user whitelist includes the second attribute information. If so, execute step 514; if not, execute step 516.

[0216] In the embodiment of the present specification, before step 512, the process also includes: setting a user whitelist, collecting attribute information of user terminals that meet the adding conditions, and adding the attribute information of the user terminals to the user whitelist.

[0217] Specifically, collecting the attribute information of the user terminal that meets the adding conditions specifically includes:

[0218] In the process of executing the information processing method at least once before executing the information processing method based on the short-distance communication signal, if the server inquires that the identification information is received and the authentication request information is not received, the location information of the user terminal is obtained; it is determined whether the location information of the user terminal is within the set location range of the target client, wherein the set location range of the target client may include a location set with the target client as the center position and within a certain distance from the center position; if it is determined that the location information is within the set location range of the target client, it is determined that the user terminal meets the adding condition and the attribute information of the user terminal is obtained. For example, the server can obtain the location information of the user terminal through Bluetooth positioning technology, WIFI positioning technology or base station positioning technology. In the process of obtaining the location information of the user terminal through the above technology, the collected information can be cleaned offline, and then the location information of the user terminal can be calculated based on the information after the offline data cleaning. This situation shows that although the user terminal cannot complete the authentication process through the short-distance communication signal, the user terminal is indeed near the target client, which ensures the security of the user terminal performing offline operations. Therefore, if it is determined once or multiple times that the user terminal meets the adding condition, the attribute information of the user terminal can be added to the user whitelist. The attribute information of the user terminal may include user identification information and / or device identification information.

[0219] Step 514: Generate authentication success information.

[0220] Step 516: Generate authentication failure information.

[0221] It should be noted that: Figure 4 , Figure 5 and Figure 6 In the illustrated embodiment, if the query shows that the barcode information is not received and the authentication request information is not received, the process ends; if the query shows that the identification information is not received and the authentication request information is received, the process ends.

[0222] In the technical solution of the information processing method provided in the embodiment of this specification, the second attribute information is obtained according to the scanned identification information, and the first attribute information is obtained from the authentication request information including the scanned identification information. By comparing whether the second attribute information is consistent with the first attribute information, the security authentication during the offline operation is realized, thereby reducing the risk of offline operation and improving the security of offline operation. Furthermore, by judging whether the time difference between the current second time information and the first time information is less than or equal to the set time threshold, further security authentication during the offline operation is realized, thereby further reducing the risk of offline operation and further improving the security of offline operation. In the embodiment of this specification, if it is queried that the identification information is received and the authentication request information is not received, the security authentication process can be completed by querying whether the pre-set user whitelist includes the second attribute information, thereby completing the security authentication without receiving the authentication request information, further reducing the risk of offline operation and further improving the security of offline operation.

[0223] The embodiments of this specification also provide an information processing method based on short-range communication signals applied in the field of transactions. Figure 7 A flowchart of another information processing method based on a short-range communication signal provided in an embodiment of this specification, Figure 8 for Figure 7 The application diagram of the information processing method in Figure 7 and Figure 8 As shown, the method includes:

[0224] Step 602: The user terminal generates and displays an identification code.

[0225] When a user purchases goods at a merchant and pays using a mobile payment method, the user, as the payer, can click a "payment button" on the user terminal to enable the user terminal to generate and display an identification code.

[0226] Step 604: When the user terminal monitors the identification code, a short-range communication signal is generated, and the short-range communication signal includes first attribute information, identification information of the identification code, and first time information.

[0227] In this embodiment, the identification information of the identification code includes a barcode value.

[0228] Step 606: The user terminal sends a short-range communication signal.

[0229] Step 608: The target client scans the identification code displayed by the user terminal to obtain identification information.

[0230] When a user purchases a product at a merchant, the merchant's staff enters the transaction amount on the target client, and uses the target client's scanning module to scan the identification code displayed on the user terminal to obtain the barcode value. Furthermore, the target client can also obtain payment channel information by scanning the identification code, for example: the payment channel information may include information on the Alipay channel, and the Alipay channel information may include the address of the server.

[0231] Step 610: The target client receives the short-range communication signal.

[0232] Step 612: The target client parses the short-range communication signal to obtain first attribute information, identification information, and first time information.

[0233] Step 614: The target client sends the scanned identification information, transaction amount and authentication request information to the server, where the authentication request information includes the first attribute information, identification information and first time information.

[0234] For example, the target client can send the scanned barcode value, transaction amount and authentication request information to the server corresponding to the payment channel information according to the payment channel information. At the same time, the target client also sends the merchant identification information to the server.

[0235] Step 616: The server obtains second attribute information corresponding to the scanned identification information based on the scanned identification information, and obtains first attribute information from the authentication request information including the scanned identification information.

[0236] Step 618: The server compares the first attribute information and the second attribute information and finds that they are consistent, and executes step 620.

[0237] If the server finds that the first attribute information and the second attribute information are inconsistent, it generates authentication failure information, refuses to execute the transaction, and notifies the target client and the user terminal of the transaction failure.

[0238] Step 620: The server determines that the time difference between the current second time information and the first time information is less than or equal to the set time threshold, and executes step 622.

[0239] If the server determines that the time difference between the current second time information and the first time information is greater than the set time threshold, it generates authentication failure information, refuses to execute the transaction, and notifies the target client and the user terminal of the transaction failure.

[0240] Step 622: The server generates authentication success information.

[0241] Step 624: The server completes the transaction based on the identification information and the transaction amount.

[0242] Specifically, the server obtains user identification information according to the barcode value, completes the transaction according to the user identification information, the obtained merchant identification information and the transaction amount, and notifies the target client and the user terminal respectively of the completion of the transaction.

[0243] Fig. 9 This is a schematic diagram of the structure of an information processing device based on short-range communication signals provided in an embodiment of this specification. Fig. 9 The information processing device in the embodiment can be applied to a user terminal, such as Fig. 9 As shown, the device includes: a first generating module 11, a display module 12, a first monitoring module 13, a second generating module 14 and a signal output module 15.

[0244] The first generating module 11 is used to generate an identification code.

[0245] The display module 12 is used to display the identification code.

[0246] The first monitoring module 13 is used to monitor the identification code.

[0247] The second generating module 14 is used for generating a short distance communication signal when the first monitoring module 13 monitors the identification code, wherein the short distance communication signal includes the first attribute information and identification information of the identification code.

[0248] The signal output module 15 is used to send the short distance communication signal.

[0249] Furthermore, the short-range communication signal also includes first time information. Then the first generating module 11 specifically includes: an encryption submodule 111 and a generating submodule 112 .

[0250] The encryption submodule 111 is used to encrypt the identification information, the first attribute information and the first time information.

[0251] The generating submodule 112 is used to generate the short distance communication signal according to the encrypted identification information, the first attribute information and the first time information.

[0252] Furthermore, the signal output module 15 is also used to stop sending the short-range communication signal if the first monitoring module 13 monitors that the page where the identification code is located is closed.

[0253] In the technical solution of the information processing device provided in the embodiments of this specification, if an identification code is monitored, a short-range communication signal is generated and sent, so that security authentication during offline operations can be achieved through the information in the short-range communication signal sent to the target client, thereby reducing the risks of offline operations and improving the security of offline operations.

[0254] Fig.10 This is a schematic diagram of the structure of another information processing device based on short-range communication signals provided in an embodiment of this specification. Fig.10 The information processing device in can be applied to a target client, such as Fig.10 As shown, the device includes: a scanning module 21, a signal receiving module 22, a parsing module 23 and a sending module 24.

[0255] The scanning module 21 is used to scan the identification code displayed by the user terminal to obtain identification information of the identification code.

[0256] The signal receiving module 22 is used to receive a short distance communication signal sent by a user terminal, where the short distance communication signal includes first attribute information and identification information.

[0257] The parsing module 23 is used to parse the first attribute information and the identification information from the short-range communication signal.

[0258] The sending module 24 is used to send the identification information and the authentication request information to the server.

[0259] Furthermore, the authentication request information further includes first time information. The parsing module 23 is further configured to parse the first attribute information and the identification information from the short-distance communication signal and parse the first time information from the short-distance communication signal.

[0260] Furthermore, the device also includes: a second monitoring module 25.

[0261] The second monitoring module 25 is used to monitor whether the signal receiving module 22 receives the short-range communication signal within a set time period, wherein the starting time point of the set time period is the time point when scanning the identification code displayed by the user terminal starts; if it is monitored that the short-range communication signal is received within the set time period, the parsing module 23 is triggered to execute the step of parsing the first attribute information and the identification information from the short-range communication signal;

[0262] The sending module 24 is further configured to send the identification information to the server if the second monitoring module 25 monitors that the short-range communication signal is not received within a set time period.

[0263] In the technical solution of the information processing device provided in the embodiments of this specification, the first attribute information and identification information are parsed from the short-range communication signal, and the scanned identification information and the authentication request information including the first attribute information and the identification information are sent to the server, so that security authentication during offline operations can be achieved through the information in the received short-range communication signal, thereby reducing the risks of offline operations and improving the security of offline operations.

[0264] Fig.11 This is a schematic diagram of the structure of another information processing device based on short-range communication signals provided in an embodiment of this specification. Fig.11 The information processing device in the embodiment can be applied to a server, such as Fig.11 As shown, the device includes: a receiving module 31, an acquiring module 32, a comparing module 33 and a third generating module 34.

[0265] The receiving module 31 is used to receive identification information and authentication request information sent by the target client, wherein the authentication request information includes first attribute information and identification information, wherein the first attribute information and identification information are parsed by the target client from the received short-range communication signal.

[0266] The acquisition module 32 is used to acquire the second attribute information corresponding to the scanned identification information according to the scanned identification information, and acquire the first attribute information from the authentication request information including the scanned identification information.

[0267] The comparison module 33 is used to compare whether the first attribute information and the second attribute information are consistent.

[0268] The third generating module 34 is used to generate authentication success information if the comparison module 33 compares and finds that the first attribute information and the second attribute information are consistent; if the comparison module 33 compares and finds that the first attribute information and the second attribute information are inconsistent, generate authentication failure information.

[0269] Furthermore, the authentication request information also includes first time information. The device also includes: a judgment module 35.

[0270] The judgment module 35 is used to judge whether the time difference between the current second time information and the first time information in the authentication request information including the scanned identification information is less than or equal to the set time threshold if the comparison module 33 compares the first attribute information and the second attribute information and finds that they are consistent; if it is judged that the time difference is less than or equal to the set time threshold, trigger the third generation module 34 to execute the step of generating the authentication success information.

[0271] The third generating module 34 is further configured to generate authentication failure information if the judging module 35 judges that the time difference is greater than the set time threshold.

[0272] Furthermore, the device also includes: a decryption module 36.

[0273] The decryption module 36 is used to decrypt the encrypted identification information, the first attribute information and the first time information to obtain the identification information, the first attribute information and the first time information.

[0274] Furthermore, the device also includes: a first query module 37 and a second query module 38.

[0275] The first query module 37 is used to query whether the receiving module 31 has received the authentication request information and the scanned identification information.

[0276] The acquisition module 32 is further configured to acquire the second attribute information according to the scanned identification information if the first query module 37 queries that the scanned identification information is received but the authentication request information is not received.

[0277] The second query module 38 is used to query whether the preset user whitelist includes the second attribute information.

[0278] The third generation module 34 is also used to generate authentication success information if the second query module 38 queries that the preset user whitelist includes the second attribute information; if the second query module 38 queries that the preset user whitelist does not include the second attribute information, generate authentication failure information.

[0279] In the technical solution of the information processing device provided in the embodiments of this specification, the second attribute information is obtained based on the scanned identification information, and the first attribute information is obtained from the authentication request information including the scanned identification information. By comparing the second attribute information and the first attribute information to see if they are consistent, security authentication is achieved during offline operations, thereby reducing the risks of offline operations and improving the security of offline operations.

[0280] The embodiments of this specification provide an information processing system based on short-range communication signals, such as Figure 1As shown, the system includes a user terminal, a target client and a server.

[0281] The user terminal is used to generate and display an identification code; if the identification code is monitored, a short-range communication signal is generated, and the short-range communication signal includes first attribute information and identification information of the identification code; and the short-range communication signal is sent.

[0282] A target client is used to scan the identification code displayed by the user terminal to obtain the identification information of the identification code; receive the short-range communication signal sent by the user terminal; parse the first attribute information and the identification information from the short-range communication signal; and send the identification information and the authentication request information to the server, wherein the authentication request information includes the first attribute information and the identification information.

[0283] The server is used to obtain second attribute information corresponding to the scanned identification information based on the scanned identification information, and obtain first attribute information from authentication request information including the scanned identification information; compare whether the first attribute information obtained is consistent with the second attribute information; if the comparison shows that the first attribute information obtained is consistent with the second attribute information, generate authentication success information; if the comparison shows that the first attribute information obtained is inconsistent with the second attribute information, generate authentication failure information.

[0284] In the technical solution of the information processing system provided in the embodiments of this specification, if the user terminal sends a short-range communication signal when it monitors the identification code, the target client parses the first attribute information and identification information from the received short-range communication signal, and sends the authentication request information including the parsed first attribute information and identification information and the scanned identification information to the server. The server obtains the second attribute information based on the scanned identification information, obtains the first attribute information from the authentication request information including the scanned identification information, and realizes security authentication during offline operations by comparing the second attribute information with the first attribute information to see if they are consistent, thereby reducing the risk of offline operations and improving the security of offline operations.

[0285] The embodiment of the present specification provides a storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above Figure 2 The steps of the embodiment of the information processing method based on the short-range communication signal shown in FIG. Figure 2 An embodiment of an information processing method based on a short-range communication signal is shown.

[0286] The embodiment of the present specification provides another storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above Figure 3The steps of the embodiment of the information processing method based on the short-range communication signal shown in FIG. Figure 3 An embodiment of an information processing method based on a short-range communication signal is shown.

[0287] The embodiment of the present specification provides another storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above Figures 4 to 6 The steps of each embodiment of the information processing method based on short-range communication signals shown in FIG. Figures 4 to 6 Various embodiments of the information processing method based on short-range communication signals are shown.

[0288] An embodiment of the present specification provides a user terminal, including a memory and a processor, the memory is used to store information including program instructions, the processor is used to control the execution of the program instructions, and the program instructions, when loaded and executed by the processor, implement the steps of the embodiment of the above-mentioned information processing method based on short-range communication signals. For a specific description, please refer to the embodiment of the above-mentioned information processing method based on short-range communication signals.

[0289] Fig.12 is a schematic diagram of a user terminal provided in an embodiment of this specification. Fig.12 As shown, the user terminal 40 of this embodiment includes: a processor 41, a memory 42, and a computer program 43 stored in the memory 42 and executable on the processor 41. When the computer program 43 is executed by the processor 41, Figure 2 Alternatively, when the computer program is executed by the processor 41, the functions of each model / unit in the authentication device based on the short-distance communication signal in the embodiment are realized, and to avoid repetition, they are not described one by one here.

[0290] The user terminal 40 may include, but is not limited to, a processor 41 and a memory 42. Those skilled in the art will appreciate that Fig.12 It is only an example of the user terminal 40 and does not constitute a limitation of the user terminal 40. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the user terminal 40 may also include input and output devices, network access devices, buses, etc.

[0291] The processor 41 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0292] The memory 42 may be an internal storage unit of the user terminal 40, such as a hard disk or memory of the user terminal 40. The memory 42 may also be an external storage device of the user terminal 40, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the user terminal 40. Further, the memory 42 may also include both an internal storage unit of the user terminal 40 and an external storage device. The memory 42 is used to store computer programs and other programs and data required by the computer device. The memory 42 may also be used to temporarily store data that has been output or is to be output.

[0293] An embodiment of the present specification provides a target client, including a memory and a processor, the memory is used to store information including program instructions, the processor is used to control the execution of the program instructions, and the program instructions, when loaded and executed by the processor, implement the steps of the embodiment of the above-mentioned information processing method based on short-range communication signals. For a specific description, please refer to the embodiment of the above-mentioned information processing method based on short-range communication signals.

[0294] Fig.13 is a schematic diagram of a target client provided in an embodiment of this specification. Fig.13 As shown, the target client 50 of this embodiment includes: a processor 51, a memory 52, and a computer program 53 stored in the memory 52 and executable on the processor 51. When the computer program 53 is executed by the processor 51, Figure 3 Alternatively, when the computer program is executed by the processor 51, the functions of each model / unit in the information processing device based on the short-distance communication signal in the embodiment are realized, and to avoid repetition, they are not described one by one here.

[0295] The target client 50 may include, but is not limited to, a processor 51 and a memory 52. ​​Those skilled in the art will appreciate that Fig.13 It is only an example of the target client 50 and does not constitute a limitation of the target client 50. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the target client 50 may also include input and output devices, network access devices, buses, etc.

[0296] The processor 51 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0297] The memory 52 may be an internal storage unit of the target client 50, such as a hard disk or memory of the target client 50. The memory 52 may also be an external storage device of the target client 50, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the target client 50. Further, the memory 52 may also include both an internal storage unit of the target client 50 and an external storage device. The memory 52 is used to store computer programs and other programs and data required by the computer device. The memory 52 may also be used to temporarily store data that has been output or is to be output.

[0298] An embodiment of the present specification provides a server, including a memory and a processor, the memory is used to store information including program instructions, the processor is used to control the execution of the program instructions, and the program instructions, when loaded and executed by the processor, implement the steps of the embodiment of the above-mentioned information processing method based on short-range communication signals. For a specific description, please refer to the embodiment of the above-mentioned information processing method based on short-range communication signals.

[0299] Fig.14 Schematic diagram of a server provided in an embodiment of this specification. Fig.14As shown, the server 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the computer program 63 is executed by the processor 61, Figure 4 Alternatively, when the computer program is executed by the processor 61, the functions of each model / unit in the information processing device based on the short-distance communication signal in the embodiment are realized, and to avoid repetition, they are not described one by one here.

[0300] The server 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Fig.14 It is only an example of the server 60 and does not constitute a limitation of the server 60. The server 60 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the server 60 may also include input and output devices, network access devices, buses, etc.

[0301] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0302] The memory 62 may be an internal storage unit of the server 60, such as a hard disk or memory of the server 60. The memory 62 may also be an external storage device of the server 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the server 60. Further, the memory 62 may also include both an internal storage unit of the server 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is to be output.

[0303] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0304] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0305] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0306] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0307] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

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

Claims

1. An information processing method based on a short-range communication signal, comprising: Generate and display an identification code, wherein the identification code is used for a target client to scan and obtain identification information of the identification code; If the identification code is monitored, a short-range communication signal is generated, wherein the short-range communication signal includes first attribute information and identification information of the identification code, wherein the identification information includes a barcode value; The short range communication signal is transmitted.

2. According to the method of claim 1, the first attribute information includes user identification information and / or device identification information. The method according to claim 1 , wherein the short-range communication signal further comprises first time information.

4. The method according to claim 3, wherein generating a short-range communication signal comprises: encrypting the identification information, the first attribute information and the first time information; The short distance communication signal is generated according to the encrypted identification information, the first attribute information and the first time information.

5. The method according to claim 1, further comprising: If it is detected that the page where the identification code is located is closed, the sending of the short-range communication signal is stopped. 6 . The method according to claim 1 , wherein the short-range communication signal comprises a sound wave signal, a Bluetooth signal, an infrared signal or an NFC signal. 7 . The method according to claim 1 , wherein the short-range communication signal comprises a sound wave signal, and the sound wave signal is a sub-ultrasonic signal or an ultrasonic signal.

8. An information processing device based on short-range communication signals, comprising: A first generating module, used to generate an identification code, wherein the identification code is used for a target client to scan to obtain identification information of the identification code; A display module, used to display the identification code; A first monitoring module, used for monitoring the identification code; A second generating module is configured to generate a short-range communication signal when the first monitoring module monitors the identification code, wherein the short-range communication signal includes first attribute information and identification information of the identification code, and the identification information includes a barcode value; The signal output module is used to send the short-range communication signal.

9. The information processing device based on the short-distance communication signal according to claim 8, wherein the short-distance communication signal further includes first time information; The first generation module specifically includes: An encryption submodule, used for encrypting the identification information, the first attribute information and the first time information; The generating submodule is used to generate the short-range communication signal according to the encrypted identification information, the second attribute information and the first time information.

10. The information processing device based on the short-distance communication signal according to claim 8, wherein the signal output module is further configured to stop sending the short-distance communication signal if the first monitoring module monitors that the page where the identification code is located is closed.

11. A storage medium comprising a stored program, wherein: When the program is running, the device where the storage medium is located is controlled to execute the information processing method based on short-range communication signals as described in any one of claims 1 to 7.

12. A user terminal, comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the information processing method based on short-range communication signals as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Realizing method and system for electronic discount coupons

    CN104217345A

  • Graphic code interaction method, electronic device and storage device

    CN109858580A