WO2019184594A1 - 二维码的展示、识别方法及装置 - Google Patents
二维码的展示、识别方法及装置 Download PDFInfo
- Publication number
- WO2019184594A1 WO2019184594A1 PCT/CN2019/074112 CN2019074112W WO2019184594A1 WO 2019184594 A1 WO2019184594 A1 WO 2019184594A1 CN 2019074112 W CN2019074112 W CN 2019074112W WO 2019184594 A1 WO2019184594 A1 WO 2019184594A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dimensional
- dimensional code
- dimensional codes
- codes
- time interval
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0036—Checkout procedures
- G07G1/0045—Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/204—Point-of-sale [POS] network systems comprising interface for record bearing medium or carrier for electronic funds transfer or payment credit
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/208—Input by product or record sensing, e.g. weighing or scanner processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3274—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/80—Recognising image objects characterised by unique random patterns
Definitions
- One or more embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method and apparatus for displaying and identifying a two-dimensional code.
- QR codes displayed on the terminal device (eg, mobile phone, tablet) to initiate payment, pay for orders, take the bus and subway.
- the terminal device eg, mobile phone, tablet
- One or more embodiments of the present specification describe a method and apparatus for displaying and identifying a two-dimensional code, which prevents the user's two-dimensional code from being copied and used by displaying and recognizing the user's dynamic two-dimensional code.
- a method for displaying a two-dimensional code comprising: receiving an instruction of a user to display a two-dimensional code; acquiring a plurality of two-dimensional codes corresponding to the user; and sequentially displaying the two according to a predetermined time interval. a plurality of two-dimensional codes, such that the plurality of two-dimensional codes form a dynamic two-dimensional code in the display page, wherein a ratio of the predetermined time interval to an effective time of each of the plurality of two-dimensional codes is less than The threshold is predetermined.
- acquiring the plurality of two-dimensional codes corresponding to the user comprises: sending a first request to the server, the first request is for requesting the plurality of two-dimensional codes; receiving the receiving from the server A plurality of two-dimensional codes are described.
- the first request is further used to request the predetermined time interval.
- the acquiring the plurality of two-dimensional codes corresponding to the user comprises: generating the plurality of two-dimensional codes according to the seed data acquired in advance from the server.
- the plurality of two-dimensional codes comprise a plurality of sets of two-dimensional codes, each of the plurality of sets of two-dimensional codes comprises a first number of two-dimensional codes; and the plurality of two-dimensional codes are sequentially displayed at predetermined time intervals
- the plurality of two-dimensional codes includes: displaying the first number of two-dimensional codes in each group according to the first time interval, and displaying the two-dimensional codes between the groups according to the second time interval.
- a method for recognizing a two-dimensional code includes: sequentially reading a predetermined number of two-dimensional codes from a dynamic two-dimensional code displayed on a display page to obtain corresponding two-dimensional code data, where The dynamic two-dimensional code includes a plurality of two-dimensional codes sequentially displayed according to a predetermined time interval; and the two-dimensional code data is sent to the server to cause the server to pair each of the predetermined number of two-dimensional codes The dimension code is verified.
- the reading a predetermined number of two-dimensional codes sequentially from the dynamic two-dimensional code displayed on the display page comprises: continuously reading the dynamic two-dimensional code for at least a predetermined duration until the predetermined time is read The number of QR codes.
- the reading a predetermined number of two-dimensional codes from the dynamic two-dimensional code displayed on the display page includes: reading the dynamic two-dimensional code according to a preset third time interval until reading The predetermined number of two-dimensional codes are obtained.
- a display device for displaying a two-dimensional code includes: a receiving unit, configured to receive an instruction of a user to display a two-dimensional code; and an acquiring unit, configured to acquire a plurality of two-dimensional codes corresponding to the user; a display unit, configured to sequentially display the plurality of two-dimensional codes according to a predetermined time interval, so that the plurality of two-dimensional codes form a dynamic two-dimensional code in the display page, wherein the predetermined time interval and the plurality of The ratio of the effective time of each two-dimensional code in the two-dimensional code is less than a predetermined threshold.
- a device for identifying a two-dimensional code comprising: a reading unit, configured to sequentially read a predetermined number of two-dimensional codes from a dynamic two-dimensional code displayed on a display page to obtain a corresponding two-dimensional code Code data, wherein the dynamic two-dimensional code includes a plurality of two-dimensional codes sequentially displayed according to a predetermined time interval; and a sending unit, configured to send the two-dimensional code data to the server, so that the server side Each of the predetermined number of two-dimensional codes is verified.
- a computer readable storage medium having stored thereon a computer program for causing a computer to perform the method of the first aspect or the second aspect when the computer program is executed in a computer.
- a computing device includes a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, implementing the first aspect or the Two ways.
- the method for displaying and identifying a two-dimensional code provided by the embodiment of the present specification, on the one hand, when receiving an instruction for displaying a two-dimensional code by a user, acquiring a plurality of two-dimensional codes, and sequentially displaying the acquired information according to a predetermined time interval.
- a predetermined number of two-dimensional codes are sequentially read from the dynamic display page of the two-dimensional code to obtain a corresponding two Dimensioning data, and then transmitting the two-dimensional code data to the server, so that the server verifies each of the predetermined number of two-dimensional codes, and only when the predetermined number of two-dimensional codes When the codes all pass the verification, it is determined that the two-dimensional code data passes the verification.
- the two-dimensional code displayed in the display page can be effectively prevented from being copied and used, and the accuracy of the identification and verification results can be improved, thereby avoiding loss of the user and/or the service party.
- FIG. 1 is a schematic diagram of an implementation scenario of an embodiment disclosed in the present specification
- FIG. 2 shows a flow chart of a method of displaying a two-dimensional code in accordance with one embodiment
- FIG. 3 is a schematic diagram showing a display page of a two-dimensional code according to an example
- FIG. 4 shows a flow chart of a method of identifying a two-dimensional code in accordance with one embodiment
- FIG. 5 is a schematic diagram showing an application process of a payment code according to an example
- Figure 6 shows a schematic block diagram of a display device for a two-dimensional code, according to one embodiment
- Figure 7 shows a schematic block diagram of an identification device for a two-dimensional code, according to one embodiment.
- FIG. 1 is a schematic diagram of an implementation scenario of an embodiment disclosed in the present specification.
- the user can log in to the client (eg, Alipay) through the terminal (eg, smart phone, tablet, etc.) to enter the display page of the two-dimensional code, and the two-dimensional code displayed on the display page can be used by the user.
- the client obtains the online request from the server, and can also be generated offline by the user's client, and the two-dimensional codes correspond to the account information of the user in the client (for example, an Alipay account).
- the service provider system (eg, the merchant system) can scan the two-dimensional code displayed in the user terminal by using a two-dimensional code scanning device (eg, POS machine, scanner, etc.), and scan the obtained two-dimensional code data and service.
- the party's own information is uploaded to the server (for example, Alipay server).
- the server can check the QR code data received from the servant system, and if the verification is successful, enter the subsequent process (such as the payment process), and the results related to the checksum subsequent process processing (such as , the verification success or the verification failure) is notified to the user and/or the service party.
- the method of the embodiment of the present specification can be used to display and identify the two-dimensional code.
- the method is mainly based on such observation and statistics: usually, the two-dimensional code is set with a validity period of a long time, for example, the user's payment code, in the display page, according to the validity period of the two-dimensional code (for example, 60s)
- Update the QR code which means that each QR code is displayed for a long time and can be easily copied. For example, a criminal can steal the two-dimensional code displayed on the display page during the validity period of the two-dimensional code. For example, taking a picture of the display page of the two-dimensional code and using the two-dimensional code, the user will be caused.
- the identity information is fraudulently used or the account funds are lost; or, the user can take a screenshot of the display page of the two-dimensional code to obtain a two-dimensional code picture during the validity period of the two-dimensional code, and actively share the two-dimensional code picture to Others can enable others to use the QR code to enjoy the services provided by the service provider during the validity period of the QR code. This will result in the service party not being able to count the correct user information or cause the loss of the service party funds.
- a plurality of two-dimensional codes corresponding to the user are acquired, and then acquired according to a predetermined time interval.
- a plurality of two-dimensional codes are sequentially displayed, so that a plurality of two-dimensional codes form a visually dynamic two-dimensional code in the display page, that is, a person's eyes perceive a two-dimensional code from the display page.
- the change shows that the pattern of each QR code cannot be clearly distinguished.
- the two-dimensional code when the two-dimensional code is recognized, not only one piece is scanned and read, but a predetermined number of two-dimensional codes are sequentially read from the dynamic display page of the two-dimensional code to obtain corresponding two-dimensional code data. Then, the obtained two-dimensional code data is sent to the server for verification, and only when the two-dimensional code data corresponding to the predetermined number of two-dimensional codes are all verified, can the two-dimensional code data be successfully passed. Check, otherwise it is determined that the QR code data has not passed the verification. In this way, when the user uses the two-dimensional code through the display page of the two-dimensional code, the two-dimensional code displayed on the display page can be effectively prevented from being copied and used, thereby avoiding loss of the user and/or the service party.
- the specific execution process of the above method will be described below.
- the execution body of the method may be a client that displays a user's two-dimensional code, or a plug-in in the client, or a terminal on which the client is installed.
- the method includes: step S21, receiving an instruction of a user to display a two-dimensional code; step S22, acquiring a plurality of two-dimensional codes corresponding to the user; and step S23, sequentially displaying the second-order code according to a predetermined time interval.
- the plurality of two-dimensional codes are described such that the plurality of two-dimensional codes form a dynamic two-dimensional code in the display page. The manner in which the above steps are performed will be described below with reference to specific examples.
- step S21 the user's instruction to display the two-dimensional code is received.
- the received instruction may be an instruction entered by the user to enter the two-dimensional code display page.
- the two-dimensional code that is required to be displayed may correspond to different categories of information depending on the actual application.
- the client may have a payment function
- the corresponding displayed QR code may be a payment code including user account information, for example, a payment code in Alipay.
- the client may have a display function of identity information
- the corresponding displayed QR code may be an identity code including user identity information.
- step S22 a plurality of two-dimensional codes corresponding to the user are acquired.
- the acquired plurality of two-dimensional codes respectively correspond to the requesting user, that is, each of the plurality of two-dimensional codes corresponds to the user information, for example, corresponding to the identifier that the user has in the client. (eg, the user's Alipay account), the bound bank card account, and so on.
- the user information for example, corresponding to the identifier that the user has in the client. (eg, the user's Alipay account), the bound bank card account, and so on.
- the process of obtaining a plurality of two-dimensional codes may be obtained by acquiring a two-dimensional code online from a server, or generating a two-dimensional code locally by a client.
- acquiring the plurality of two-dimensional codes corresponding to the user may include: sending a first request for requesting the plurality of two-dimensional codes to the server, and receiving the plurality of two-dimensional from the server. code.
- acquiring the plurality of two-dimensional codes may include: generating a plurality of two-dimensional codes according to the seed data acquired in advance from the server. More specifically, in an example, generating the plurality of two-dimensional codes may include: generating a plurality of two-dimensional codes by using a security algorithm (eg, a hash algorithm) according to the identification information of the user in the client, the current time, and the seed data. .
- the pre-acquired seed data may include a token received from the server when the client is online.
- step S23 the plurality of two-dimensional codes are sequentially displayed at predetermined time intervals, so that the plurality of two-dimensional codes form a visually dynamic two-dimensional code in the display page.
- the time interval may be preset according to actual needs, so that multiple two-dimensional codes can form a dynamic two-dimensional code when sequentially displayed in the display page according to the time interval, that is, when people see the display page.
- the QR code is perceived to continuously change in the QR code.
- the ratio of the above time interval to the effective time of each two-dimensional code is less than a predetermined threshold, for example, the predetermined threshold may be 0.0005 or 0.001.
- the time interval is set to the order of milliseconds, which is much less than the validity of the two-dimensional code (typically 60 s). More specifically, in one example, in combination with the characteristics of people's visual systems, such as the current use of 30HZ (corresponding time interval of 33ms) or more to continuously play pictures, people will think that the picture is continuous For motion (that is, dynamically changing), the predetermined time can be set to 30ms ( ⁇ 33ms). Further, in order to allow the human eye to clearly distinguish each of the two-dimensional codes displayed on the display page with the naked eye, the predetermined time interval can be set to a shorter period, such as 20 ms. Or, in another example, to reduce the resources consumed by the server and/or the client to generate the two-dimensional code, the time interval is set to, for example, 100 ms.
- a dynamic display of a plurality of two-dimensional codes is schematically illustrated.
- the predetermined time interval is 20 ms
- the two-dimensional code acquired in step S22 is five
- the five two-dimensional codes can be sequentially displayed at intervals of 20 ms, since 20 ms is a short one.
- Time interval in the process of continuous display, the two-dimensional code in the display page that people see is moving, and it is impossible to clearly distinguish each two-dimensional code, and it is impossible to determine the two-dimensional code displayed on the display page. The number.
- the predetermined time interval used in step S23 may be received from the server, for example, in step S22, while requesting multiple QR codes from the server, requesting the location
- the predetermined time interval correspondingly, the data returned by the server to the client may include the predetermined time interval.
- the predetermined time interval may be pre-configured and stored in a program of the client. Accordingly, when the two-dimensional code needs to be displayed, the time interval may be directly read.
- the predetermined time interval for displaying the two-dimensional code and the validity period of the two-dimensional code are two completely different parameters, and the time interval (in milliseconds, for example, 30 ms) for displaying the two-dimensional code is much smaller than each of the two two-dimensional codes.
- the validity period of the dimension code (on the order of seconds or minutes, for example, 60s). This is completely different from the way conventional technologies are presented.
- the display time of the two-dimensional code reaches its expiration date, a new two-dimensional code is generated and displayed, so the time interval of the display is consistent with the validity period of the two-dimensional code.
- a plurality of two-dimensional codes are displayed at extremely short time intervals (far less than the expiration date) for forming a visually dynamic two-dimensional code, thereby preventing the two-dimensional code from being easily copied.
- the plurality of two-dimensional codes are sequentially generated one by one at a higher frequency (or a lower time interval) (generated by the server or generated offline by the client) and displayed at predetermined time intervals. It can be understood that the time interval for generating a plurality of two-dimensional codes needs to be less than or equal to a predetermined time interval for displaying the two-dimensional code. Moreover, the above two time intervals are far less than the validity period of the two-dimensional code.
- the plurality of two-dimensional codes are acquired in units of groups, that is, the plurality of two-dimensional codes comprise a plurality of sets of two-dimensional codes, each set comprising a predetermined number N of two-dimensional codes.
- the server generates a set of N (for example, 10) two-dimensional codes to be returned to the client at a time in response to the request of the client, or the client generates a set of N two-dimensional codes at a time according to the seed data acquired in advance.
- the set of two-dimensional codes is displayed in accordance with the predetermined time interval described above. Before the end of the display of the two-dimensional code, the next set of N two-dimensional codes is obtained, and after the previous set of two-dimensional codes is displayed, the next set of N two-dimensional codes is displayed.
- N two-dimensional codes within each group are displayed at the same predetermined time interval, so that a plurality of consecutive multiple sets of two-dimensional codes are continuously displayed at a constant speed, the user It is not possible to distinguish between the end of a group and the beginning of another group.
- N two-dimensional codes within each group are displayed at a first time interval, and two consecutive groups are displayed at a second time interval, the first time interval being similar to the second time interval.
- the first time interval may be 20 ms and the second time interval may be 25 ms.
- the second time interval can reserve more time margin for reading and preparing the next set of two-dimensional codes.
- the plurality of two-dimensional codes when receiving an instruction for displaying a two-dimensional code by a user, by acquiring a plurality of two-dimensional codes, and sequentially displaying the acquired plurality of two-dimensional codes according to a predetermined time interval, the plurality of two-dimensional codes are displayed.
- the dynamic two-dimensional code is formed in the page, which can effectively prevent the two-dimensional code displayed on the display page from being copied and used, thereby avoiding loss of the user and/or the service party.
- the execution body of the method may be a server system or the like for scanning and identifying a two-dimensional code, including a scanner, a gate, and the like.
- the method includes: Step S41: sequentially reading a predetermined number of two-dimensional codes from the dynamic two-dimensional code displayed on the display page to obtain corresponding two-dimensional code data, wherein the dynamic two-dimensional code And including a plurality of two-dimensional codes sequentially displayed at predetermined time intervals; and step S42, transmitting the two-dimensional code data to the server, so that the server performs calibration on each of the predetermined number of two-dimensional codes. Test.
- step S41 a predetermined number of two-dimensional codes are sequentially read from the dynamic two-dimensional code displayed on the display page to obtain corresponding two-dimensional code data, wherein the dynamic two-dimensional code includes multiple successively displayed according to predetermined time intervals.
- a two-dimensional code is sequentially read from the dynamic two-dimensional code displayed on the display page to obtain corresponding two-dimensional code data, wherein the dynamic two-dimensional code includes multiple successively displayed according to predetermined time intervals.
- step S41 the dynamic two-dimensional code is continuously read for at least a predetermined length of time until a predetermined number of two-dimensional codes are read.
- the predetermined duration can be set according to the time interval displayed by the dynamic two-dimensional code.
- the time interval of the two-dimensional code display is 30 ms
- the predetermined number is five two-dimensional codes, so that the predetermined time length can be set to at least 150 ms.
- the dynamic two-dimensional code is read at a certain time interval (referred to herein as a third time interval) until a predetermined number of two-dimensional codes are read.
- the third time interval described above may be determined depending on the time interval of the dynamic two-dimensional code display.
- the third time interval described above may be equal to the time interval exhibited by the two-dimensional code, ie, the aforementioned predetermined time interval.
- the third time interval may also be different from the time interval displayed by the two-dimensional code, for example, the displayed time interval is 20 ms, and the read time interval is 40 ms, that is, one reading is performed for each display.
- the third time interval may be based on Show time intervals for more flexible settings.
- the predetermined duration of reading the two-dimensional code and/or the third time interval may be obtained in advance from the server; in another embodiment, the predetermined duration and/or the third time interval may also be served. Pre-configured in the party system.
- the predetermined number of the read two-dimensional codes may be acquired in advance from the server, or the predetermined number may be pre-written in the relevant interface program of the server system, and when the two-dimensional code is read, Call this predetermined number directly.
- the predetermined number of settings can be set according to the scan time that the user can accept and the predetermined time interval displayed by the two-dimensional code. For example, it is desirable that the display duration of the two-dimensional code can be controlled within 1 s, and assuming that the predetermined time interval is 20 ms, the predetermined number can be set to 10, and 200 ms ⁇ 1 s.
- the scan time can be controlled within a range that the user can receive, and at the same time, the number of the plurality of two-dimensional codes displayed on the dynamic display page can be not less than the predetermined number, thereby ensuring that a predetermined number of two-dimensional codes can be read.
- the subsequent information may be based on relevant feedback data, such as the number of complaint events that occur due to the theft of the user's two-dimensional code or the amount of calculation when the server verifies the predetermined number of two-dimensional codes. The data is adjusted.
- the obtained corresponding two-dimensional code data includes data corresponding to each of the two-dimensional codes of the predetermined number of two-dimensional codes read.
- the two-dimensional code data may include respective digital sequences corresponding to the respective two-dimensional codes, and each of the digital sequences may include corresponding user information, token information, and the like, and a time stamp of the two-dimensional code.
- step S42 the two-dimensional code data is transmitted to the server, so that the server verifies each two-dimensional code in the predetermined number of two-dimensional codes.
- the server may perform verification on each two-dimensional code in a predetermined number of two-dimensional codes according to the received two-dimensional code data, only when each two-dimensional code passes the verification, that is, a predetermined number.
- the verification of each two-dimensional code includes a check of its validity period.
- a predetermined number of two-dimensional codes are sequentially read from a dynamic display page of the two-dimensional code to obtain corresponding two-dimensional code data, and then Transmitting, to the server, the two-dimensional code data, so that the server verifies each two-dimensional code in the predetermined number of two-dimensional codes, and only when a predetermined number of two-dimensional codes pass the verification When it is determined, the two-dimensional code data is verified. In this way, the accuracy of the identification and verification results can be improved, thereby avoiding the loss of the user and/or the service party.
- the method for generating, displaying, identifying, and verifying the two-dimensional code is described above.
- the method provided in the embodiment of the present specification is further introduced in conjunction with the application scenario of FIG. 5, which is to use the two-dimensional code to the line.
- Specific examples of merchant payments are included in this embodiment of the present disclosure.
- the server used for generating the two-dimensional code and verifying the two-dimensional code data in the server may be an integrated server or a different server.
- the server is Alipay system, where the first server is used to generate a two-dimensional code, and the second server is used to interact with the merchant to perform data verification and order payment.
- the user's Alipay client in Figure 5 is online. As shown in FIG. 5, the method may include:
- step S510 the merchant salesperson places an order with the merchant cash register system.
- step S511 the merchant cash register system generates an order, and the order includes the amount of the payment.
- Step S512 the Alipay client receives an instruction of the user to display the payment code.
- Step S513 the Alipay client sends a first request to the first server, where the first request is used to request multiple payment codes.
- Step S514 the Alipay client receives a plurality of payment codes from the first server.
- Step S515 the Alipay client displays a dynamic display page of the payment code, and the dynamic display page displays a plurality of payment codes in sequence according to a predetermined time interval.
- Step S516 the merchant cash register system sequentially reads a predetermined number of payment codes from the dynamic display page of the payment code, and obtains corresponding payment code data.
- Step S517 the merchant cash register system sends a payment request to the second server, where the payment request includes the payment amount and the obtained payment code data.
- Step S519 the first server may check each payment code in the predetermined number of payment codes according to the received payment code data.
- the first server may compare the received payment code data with the two-dimensional code data generated by the user to verify the accuracy of the two-dimensional code.
- the first server can also verify the validity period of the two-dimensional code. Only when each payment code passes the verification, that is, the predetermined number of payment codes all pass the verification, it is determined that the verification is successful.
- Step S520 the first server returns a notification of successful verification to the second server.
- Step S521 the second server deducts the corresponding amount from the user's account according to the payment amount in the payment request, and transfers the account to the account of the merchant.
- Step S522 the second server sends a successful receipt of the payment to the merchant cash register system.
- Step S523 the second server sends a payment receipt to the Alipay client.
- the Alipay client when the Alipay client receives the instruction of the user to display the payment code, the plurality of payment codes are obtained from the Alipay server, and the obtained plurality of payment codes are sequentially displayed according to the predetermined time interval, so that the plurality of payment The code forms a dynamic payment code in the display page; on the other hand, the merchant cash register system sequentially reads a predetermined number of payment codes from the dynamic display page of the payment code to obtain corresponding payment code data, and then sends the payment to the Alipay server. Determining payment code data, so that the server verifies each payment code in the predetermined number of payment codes, and determines that the payment code data passes the verification only when a predetermined number of payment codes all pass the verification. . In this way, the payment code displayed on the display page can be effectively prevented from being copied and used, and the accuracy of the identification and verification result is improved, thereby avoiding the loss of the user.
- a display device for a two-dimensional code is also provided.
- Figure 6 shows a schematic block diagram of a display device for a two-dimensional code, according to one embodiment. As shown in FIG. 6, the display device 600 includes:
- the receiving unit 610 is configured to receive an instruction of the user to display the two-dimensional code
- the obtaining unit 620 is configured to acquire a plurality of two-dimensional codes corresponding to the user;
- the displaying unit 630 is configured to sequentially display the plurality of two-dimensional codes according to a predetermined time interval, so that the plurality of two-dimensional codes form a dynamic two-dimensional code in the display page, wherein the predetermined time interval and the plurality of The ratio of the effective time of each two-dimensional code in the two-dimensional code is less than a predetermined threshold.
- the obtaining unit 620 is specifically configured to: send a first request to the server, where the first request is used to request the plurality of two-dimensional codes; and receive the plurality of two-dimensional codes from the server code.
- the first request in the obtaining unit 620 is further used to request the predetermined time interval.
- the obtaining unit 620 is specifically configured to: generate the plurality of two-dimensional codes according to seed data acquired in advance from a server.
- the plurality of two-dimensional codes acquired by the acquiring unit 620 include a plurality of sets of two-dimensional codes, each of the plurality of sets of two-dimensional codes includes a first number of two-dimensional codes;
- the unit 630 is specifically configured to: display the first number of two-dimensional codes in each group according to the first time interval, and display the two-dimensional codes between the groups according to the second time interval.
- the receiving unit 610 receives an instruction for the user to display the two-dimensional code; then, the obtaining unit 620 acquires a plurality of two-dimensional codes; then, the displaying unit 630 sequentially displays the acquired plurality of times according to a predetermined time interval.
- the two-dimensional code enables a plurality of two-dimensional codes to form a dynamic two-dimensional code in the display page, which can effectively prevent the two-dimensional code displayed in the display page from being copied and used, thereby avoiding loss of the user and/or the service party.
- an identification device for a two-dimensional code is also provided.
- Figure 7 shows a schematic block diagram of an identification device for a two-dimensional code, according to one embodiment. As shown in FIG. 7, the identification device 700 includes:
- the reading unit 710 is configured to sequentially read a predetermined number of two-dimensional codes from the dynamic two-dimensional code displayed on the display page to obtain corresponding two-dimensional code data, wherein the dynamic two-dimensional code includes the predetermined time interval. a plurality of two-dimensional codes displayed in sequence;
- the sending unit 720 is configured to send the two-dimensional code data to the server, so that the server verifies each of the predetermined number of two-dimensional codes.
- the reading unit 710 is specifically configured to: continuously read the dynamic two-dimensional code for at least a predetermined duration until the predetermined number of two-dimensional codes are read.
- the reading unit 710 is specifically configured to: read the dynamic two-dimensional code according to a preset third time interval until the predetermined number of two-dimensional codes are read.
- the reading unit 710 sequentially reads a predetermined number of two-dimensional codes from the dynamic display page of the two-dimensional code to obtain corresponding two-dimensional code data, and then the transmitting unit 720 transmits to the server.
- the two-dimensional code data so that the server verifies each of the predetermined number of two-dimensional codes, and only when a predetermined number of two-dimensional codes pass the verification
- the dimension code data is verified. In this way, the accuracy of the identification and verification results can be improved, thereby avoiding the loss of the user and/or the service party.
- a computer readable storage medium having stored thereon a computer program for causing a computer to perform the method described in connection with FIG. 2 or FIG. 4 when the computer program is executed in a computer.
- a computing device comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, implementing the combination of FIG. 2 or FIG. 4 Said method.
- the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
- the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Toxicology (AREA)
- General Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- Multimedia (AREA)
- Development Economics (AREA)
- Economics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
二维码的展示、识别方法及装置。其中,二维码的展示方法包括:首先,接收用户的展示二维码的指令(21),并获取与该用户对应的多个二维码(22);接着,按照预定的时间间隔依次展示多个二维码,使得多个二维码在显示页面中形成动态二维码(23),其中预定的时间间隔与多个二维码中各个二维码的有效时间的比例小于预定阈值。二维码的识别方法包括:首先,从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据(41),其中动态二维码包括按照预定的时间间隔依次展示的多张二维码;然后,向服务端发送二维码数据,以使服务端对预定数目的二维码中的各个二维码进行校验(42)。
Description
本说明书一个或多个实施例涉及计算机技术领域,尤其涉及二维码的展示、识别方法及装置。
随着互联网技术的发展,二维码在人们生活中的应用越来越广泛。例如,人们可以使用终端设备(如,手机、平板电脑)中显示的二维码发起收款、支付订单、乘坐公交和地铁等。
然而,目前存在用户的二维码被复制使用的情况,如用户的二维码被盗取而造成用户资金损失,或者,用户主动将其二维码分享给他人使用造成服务方资金损失。因此,需要提供一种合理的方案,避免因二维码被复制使用而造成用户或服务方的资金损失。
发明内容
本说明书一个或多个实施例描述了一种二维码的展示、识别方法及装置,通过展示和识别用户的动态二维码,防止用户的二维码被复制使用。
根据第一方面,提供了一种二维码的展示方法,包括:接收用户的展示二维码的指令;获取与所述用户对应的多个二维码;按照预定的时间间隔依次展示所述多个二维码,使得所述多个二维码在显示页面中形成动态二维码,其中所述预定的时间间隔与所述多个二维码中各个二维码的有效时间的比例小于预定阈值。
根据一个实施例,获取与所述用户对应的多个二维码包括:向服务端发送第一请求,所述第一请求用于请求所述多个二维码;从所述服务端接收所述多个二维码。
进一步地,所述第一请求还用于请求所述预定的时间间隔。
根据一个实施例,所述获取与所述用户对应的多个二维码,包括:根据预先从服务端获取的种子数据,生成所述多个二维码。
根据一个实施例,所述多个二维码包括多组二维码,所述多组二维码中各组二维码包括第一数目的二维码;所述按照预定的时间间隔依次展示所述多个二维码包括:按照第一时间间隔展示各组中第一数目的二维码,按照第二时间间隔展示各组间的二维码。
根据第二方面,提供了一种二维码的识别方法,包括:从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中所述动态二维码包括按照预定的时间间隔依次展示的多个二维码;向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验。
根据一个实施例,所述从显示页面上展示的动态二维码中依次读取预定数目的二维码,包括:持续读取所述动态二维码至少预定时长,直到读取到所述预定数目的二维码。
根据一个实施例,所述从显示页面上展示的动态二维码中依次读取预定数目的二维码,包括:按照预设的第三时间间隔,读取所述动态二维码,直到读取到所述预定数目的二维码。
根据第三方面,提供一种二维码的展示装置,包括:接收单元,用于接收用户的展示二维码的指令;获取单元,用于获取与所述用户对应的多个二维码;展示单元,用于按照预定的时间间隔依次展示所述多个二维码,使得所述多个二维码在显示页面中形成动态二维码,其中所述预定的时间间隔与所述多个二维码中各个二维码的有效时间的比例小于预定阈值。
根据第四方面,提供一种二维码的识别装置,包括:读取单元,用于从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中所述动态二维码包括按照预定的时间间隔依次展示的多个二维码;发送单元,用于向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验。
根据第五方面,提供了一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机中执行时,令计算机执行第一方面或第二方面的方法。
根据第六方面,提供了一种计算设备,包括存储器和处理器,其特征在于,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,实现第一方面或第二方面的方法。
通过本说明书实施例提供的二维码的展示、识别方法及装置,一方面,当接收用户展示二维码的指令时,获取多个二维码,并按照预定的时间间隔依次展示所获取的多个二维码,使得多个二维码在显示页面中形成动态二维码;另一方面,从二维码的动态显示页面中依次读取预定数目的二维码,以获得对应的二维码数据,然后,向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验, 而且只有当预定数目的二维码全部通过校验时,才判定二维码数据通过校验。如此,能够有效地防止显示页面中所展示的二维码被复制使用,同时提高识别和校验结果的准确度,从而避免造成用户和/或服务方的损失。
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本说明书披露的一个实施例的实施场景示意图;
图2示出根据一个实施例的二维码的展示方法的流程图;
图3示出根据一个例子的二维码的显示页面的示意图;
图4示出根据一个实施例的二维码的识别方法的流程图;
图5示出根据一个例子的付款码的应用过程示意图;
图6示出根据一个实施例的二维码的展示装置的示意性框图;
图7示出根据一个实施例的二维码的识别装置的示意性框图。
下面结合附图,对本说明书提供的方案进行描述。
图1为本说明书披露的一个实施例的实施场景示意图。如图所示,用户可以通过终端(如,智能手机、平板电脑等)登录其客户端(如,支付宝)以进入二维码的显示页面,显示页面中所展示的二维码可以由用户的客户端向服务端在线请求而获取,也可以由用户的客户端离线生成,且这些二维码均与用户在客户端中的账户信息(如,支付宝账号)相对应。服务方系统(如,商家系统)可以通过二维码扫描设备(如,POS机、扫码器等)对用户终端中展示的二维码进行扫描,并将扫描得到的二维码数据和服务方自身的信息上传至服务端(例如,支付宝服务器)。服务端可以对从服务方系统接收到的二维码数据进行校验,在校验成功的情况下,进入后续流程(例如支付流程),并将与校验和后续流程处理相关的结果(如,校验成功或校验失败)通知给用户和/或服务方。
在图1所示的场景下,可以采用本说明书实施例的方法来进行二维码的展示和识别。所述方法主要是基于这样的观察和统计:通常情况下,二维码设置有一定时长的有效期,例如用户的付款码,在其显示页面中,会根据二维码的有效期(如,60s)对二维码进行更新展示,这就意味着每张二维码的展示时间较长,容易被复制使用。比如说,不法分子可以在二维码的有效期内,盗取显示页面中所展示的二维码,例如,对二维码的显示页面进行拍照,并对二维码进行使用,如此会造成用户身份信息被冒用或账户资金的损失;或者,用户可以在二维码的有效期内,通过对二维码的显示页面进行截屏等操作以获取二维码图片,主动将二维码图片分享给他人,使他人也可以在二维码的有效期内使用此二维码来享受服务方提供的服务等,如此会造成服务方无法统计正确的用户信息或造成服务方资金的损失。
为了防止二维码被复制使用,在本说明书实施例的方法中,在接收用户的展示二维码的指令之后,获取与用户对应的多个二维码,再按照预定的时间间隔对获取的多个二维码进行依次展示,使得多个二维码在显示页面中形成视觉上动态的二维码,也就是说,人们的眼睛从显示页面中所感知到的是二维码在不断的变化显示,无法清晰分辨每一张二维码的图案。相应地,在对二维码进行识别时,不是只扫描读取一张,而是从二维码的动态显示页面中依次读取预定数目的二维码,以获得对应的二维码数据。然后,将获得的二维码数据发送至服务端进行校验,只有当这些与预定数目的二维码相对应的二维码数据,全部通过校验时,才能判定二维码数据成功通过校验,否则判定二维码数据没有通过校验。如此,在用户通过二维码的显示页面使用二维码的时候,能够有效地防止显示页面中所展示的二维码被复制使用,从而避免造成用户和/或服务方的损失。下面描述上述方法的具体执行过程。
图2示出根据一个实施例的二维码的展示方法的流程图。所述方法的执行主体可以为对用户二维码进行展示的客户端、或者所述客户端中的插件、或者安装有所述客户端的终端等。如图2所示,该方法包括:步骤S21,接收用户的展示二维码的指令;步骤S22,获取与所述用户对应的多个二维码;步骤S23,按照预定的时间间隔依次展示所述多个二维码,使得所述多个二维码在显示页面中形成动态二维码。下面结合具体例子描述以上各步骤的执行方式。
首先在步骤S21,接收用户的展示二维码的指令。
在一个实施例中,所接收的指令,可以为用户所输入的进入二维码显示页面的指令。
在一个实施例中,所需展示的二维码可以根据实际的应用情况而对应不同类别的信 息。在一个例子中,客户端可以具有支付功能,相应展示的二维码可以为包括用户账户信息的付款码,例如,支付宝中的付款码。在另一个例子中,客户端可以具有身份信息的展示功能,相应展示的二维码可以为包括用户身份信息的身份码。
接着,在步骤S22,获取与用户对应的多个二维码。
具体地,获取的多个二维码均与请求用户相对应,也就是说,多个二维码中的各个二维码均与用户信息相对应,例如对应于用户在客户端中具有的标识(如,用户的支付宝账号),绑定的银行卡账号,等等。
上述获取多个二维码的过程既可以为从服务端在线获取二维码,也可以为由客户端本地生成二维码。
相应地,在一个实施例中,获取与用户对应的多个二维码,可以包括:向服务端发送用于请求多个二维码的第一请求,并从服务端中接收多个二维码。在另一实施例中,获取多个二维码可以包括:根据预先从服务端获取的种子数据,生成多个二维码。更具体而言,在一个例子中,生成多个二维码可以包括:根据客户端中用户的标识信息、当前时间和种子数据,采用安全算法(如,哈希算法)生成多个二维码。其中,预先获取的种子数据可以包括当客户端在线时,从服务端接收的令牌(token)。
以上获取多个二维码以后,然后,在步骤S23,按照预定的时间间隔依次展示多个二维码,使得所述多个二维码在显示页面中形成视觉上动态的二维码。
具体地,可以根据实际需要对时间间隔进行预先设定,使得多个二维码按照此时间间隔在显示页面中依次展示时可以形成动态二维码,也就是说,当人们看到显示页面中的二维码时,感知到二维码在连续不断地变化。一般地,上述时间间隔与各个二维码的有效时间的比例小于预定阈值,例如预定阈值可以为0.0005或0.001。
在一个实施例中,上述时间间隔被设定为毫秒量级,远远小于二维码的有效期(一般为60s)。更具体地,在一个例子中,结合人们视觉系统的特性,比如目前普遍认为采用30HZ(所对应的时间间隔为33ms)以上的频率对图片进行连续播放,人们会认为所看到的画面是连续运动的(也就是动态变化的),可以将预定的时间按间隔设置为30ms(<33ms)。更进一步地,为了让人们用肉眼无法清晰地分辨显示页面中所显示的每一个二维码,可以将预定的时间间隔设置成更短的周期,如20ms。或者,在另一例子中,为了减少服务端和/或客户端生成二维码所消耗的资源,将时间间隔设置为例如100ms。
根据一个例子,并结合图3,对动态展示多个二维码进行示意性说明。如图3所示, 假定预定的时间间隔为20ms,在步骤S22中获取的二维码为5个,则可以按照20ms的时间间隔依次展示这5个二维码,因20ms是一个较短的时间间隔,在连续展示的过程中,人们所看到的显示页面中的二维码是运动的,无法清晰地分辨出每个二维码,也无法确定出显示页面中所展示的二维码的个数。
由上,可以实现对获取的多个二维码的动态展示。
需要说明的是,在一个实施例中,步骤S23中使用的预定的时间间隔,可以是从服务端接收的,例如,在步骤S22中,向服务端请求多个二维码的同时,请求所述预定的时间间隔,相应地,服务端向客户端返回的数据中可以包括所述预定的时间间隔。或者,上述预定的时间间隔还可以预先配置,存储在客户端的程序中,相应地,当需要展示二维码时,可以直接读取出所述时间间隔。
此外,上述展示二维码的预定时间间隔与二维码的有效期是两个完全不同的参数,且展示二维码的时间间隔(毫秒量级,例如30ms)远远小于多张二维码中各二维码的有效期(秒或分钟量级,例如,60s)。这与常规技术的展示方式是完全不同的。常规技术中,在二维码的展示时间达到其有效期的情况下,才会生成并展示新的二维码,因此其展示的时间间隔与二维码有效期是对应一致的。而在以上实施例中,以极短的时间间隔(远远小于有效期)展示多个二维码,用于形成视觉上动态的二维码,从而防止二维码被轻易地复制。
在一个实施例中,上述多个二维码以较高的频率(或较低的时间间隔)依次逐个生成(由服务端生成或由客户端离线生成),并按照预定时间间隔进行展示。可以理解,生成多个二维码的时间间隔需小于或等于展示二维码的预定时间间隔。并且,上述两个时间间隔均远远小于二维码的有效期。
根据另一个实施例,上述多个二维码以组为单位获取,即该多个二维码包括多组二维码,每组包含预定数目N个二维码。例如,服务器响应于客户端的请求,一次生成一组N个(例如10个)二维码返回给客户端,或者,客户端根据预先获取的种子数据,一次生成一组N个二维码。接着,按照上述预定的时间间隔展示这组二维码。在这组二维码展示结束之前,获取下一组N个二维码,并在上一组二维码展示完之后,展示该下一组N个二维码。
在一个实施例中,每组之内的N个二维码之间,以及连续两个组之间,按照相同的预定时间间隔展示,如此,连续多组多个二维码匀速持续展示,用户无法区分一组的结 束和另一组的开始。在另一实施例中,每组之内的N个二维码之间以第一时间间隔展示,连续两个组之间以第二时间间隔展示,第一时间间隔与第二时间间隔相近。例如,第一时间间隔可以是20ms,第二时间间隔可以是25ms。在第一时间间隔和第二时间间隔本身均比较小,且相差不大(例如小于一预设比例)的情况下,用户肉眼仍然难以区分组与组之间的切换,不过相对较长的第二时间间隔可以为读取和准备下一组二维码预留更多的时间余量。
综合以上的实施例,当接收用户展示二维码的指令时,通过获取多个二维码,并按照预定的时间间隔依次展示所获取的多个二维码,使得多个二维码在显示页面中形成动态二维码,能够有效地防止显示页面中所展示的二维码被复制使用,从而避免造成用户和/或服务方的损失。
上述结合图2和图3对本说明书实施例中二维码的展示方法进行了介绍,接下来,对识别按照上述方法所展示的二维码的方法进行介绍。
图4示出根据一个实施例的二维码的识别方法的流程图。所述方法的执行主体可以为对二维码进行扫描识别的服务方系统等,包括扫码器,闸机等。如图4所示,该方法包括:步骤S41,从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中所述动态二维码包括按照预定的时间间隔依次展示的多张二维码;步骤S42,向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验。
首先在步骤S41,从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中动态二维码包括按照预定的时间间隔依次展示的多张二维码。
在一个实施例中,在步骤S41,持续读取所述动态二维码至少预定时长,直到读取到预定数目的二维码。该预定时长可以根据动态二维码展示的时间间隔来设定。例如,在一个例子中,二维码展示的时间间隔为30ms,预定数目为5张二维码,如此可以将预定时长设置为至少150ms。
在另一实施例中,在步骤S41,按照一定的时间间隔(在此称为第三时间间隔)读取所述动态二维码,直到读取到预定数目的二维码。上述第三时间间隔可以依赖于动态二维码展示的时间间隔而确定。例如,在一个例子中,上述第三时间间隔可以等于二维码展示的时间间隔,即前述的预定时间间隔。在另一例子中,上述第三时间间隔也可以 不同于二维码展示的时间间隔,例如展示的时间间隔为20ms,读取的时间间隔为40ms,即每展示2张读取一张。在动态二维码分组生成,且多组二维码的展示不完全匀速(例如前述的实施例中预定时间间隔包括第一时间间隔和第二时间间隔)的情况下,第三时间间隔可以根据展示的时间间隔进行更灵活的设置。
在一个实施例中,读取二维码的预定时长和/或上述第三时间间隔可以从服务端预先获取;在另一实施例中,上述预定时长和/或第三时间间隔也可以在服务方系统中预先配置。
在一个实施例中,所读取的二维码的预定数目可以从服务端预先获取,或者此预定数目可以被预先写在服务方系统的相关接口程序中,在读取二维码时,可以直接调用此预定数目。此外,对预定数目的设定,可以根据用户所所能接受的扫码时间和二维码展示的预定时间间隔进行设定。例如,人们希望对二维码的展示时长能控制在1s以内,假定所述预定的时间间隔为20ms,则可以将预定数目设置为10张,此时200ms<1s。如此,可以将扫码时间控制在用户能够接收的范围内,同时,还能使动态显示页面展示的多张二维码的数量不小于所述预定数目,从而保证能够读取到预定数目的二维码。更进一步地,后续可以根据相关的反馈数据,如因用户二维码被盗取而发生的投诉事件的数量或者服务端对预定数目的二维码的进行校验时的运算量等,对预定数据进行调整。
在一个实施例中,所获得的对应的二维码数据包括所读取的预定数目的二维码中各二维码所对应的数据。在一个实施例中,二维码数据可以包括与各个二维码对应的各个数字序列,各个数字序列中可以包括对应的用户信息、令牌(token)信息等和二维码的时间戳等。
接着,在步骤S42,向服务端发送二维码数据,以使服务端对预定数目的二维码中的各个二维码进行校验。
需要说明的是,服务端可以根据接收的二维码数据,对预定数目的二维码中的各个二维码进行校验,只有当各个二维码均通过校验时,也就是预定数目的二维码全部通过校验时,才判定二维码数据通过校验,否则判定所述二维码数据未通过校验。在一个实施例中,对各个二维码的校验包括对其有效期的校验。
由上可知,在本说明书实施例提供的二维码的识别方法中,首先,从二维码的动态显示页面中依次读取预定数目的二维码,以获得对应的二维码数据,然后,向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验, 而且只有当预定数目的二维码全部通过校验时,才判定二维码数据通过校验。如此,能够提高识别和校验结果的准确度,进而避免造成用户和/或服务方的损失。
以上介绍了二维码的生成、展示、识别及校验的方法,下面,结合图5的应用场景,对本说明书实施例提供的方法进行进一步地介绍,该应用场景为使用二维码向线下商家付款的具体例子。当然,本说明书实施例提供的方法还可以应用于先享后付,或者身份验证等场景,图5所示的例子对本说明书实施例的应用场景并不进行限定。
需要说明的是,服务端中用于生成二维码和校验二维码数据的服务器可以为一个集成的服务器,也可以为不同的服务器,图5中以后一种情况为例,服务端为支付宝系统,其中的第一服务器用于生成二维码,第二服务器用于与商户交互,进行数据校验和订单支付。此外,图5中用户的支付宝客户端处于在线状态。如图5所示,所述方法可以包括:
步骤S510,商户营业员向商户收银系统下单。
步骤S511,商户收银系统产生订单,此订单中包括收款金额。
步骤S512,支付宝客户端接收用户的展示付款码的指令。
步骤S513,支付宝客户端向第一服务器发送第一请求,所述第一请求用于请求多个付款码。
步骤S514,支付宝客户端从第一服务器接收多个付款码。
步骤S515,支付宝客户端显示付款码的动态显示页面,且动态显示页面按照预定的时间间隔依次展示多张付款码。
步骤S516,商户收银系统从付款码的动态显示页面中依次读取预定数目的付款码,并获得对应的付款码数据。
步骤S517,商户收银系统向第二服务器发送支付请求,该支付请求中包括收款金额,以及获取的付款码数据。
步骤S518,第二服务器向第一服务器发送付款码数据,请求校验。
步骤S519,第一服务器可以根据接收的付款码数据,对预定数目的付款码中的各个付款码进行校验。
具体地,第一服务器可以将接收的付款码数据与其针对该用户生成的二维码数据进行比对,以验证二维码的准确性。第一服务器还可以对二维码的有效期进行校验。只有 当各个付款码均通过校验时,也就是预定数目的付款码全部通过校验时,才判定此次校验成功。
步骤S520,第一服务器向第二服务器返回校验成功的通知。
步骤S521,第二服务器根据支付请求中的收款金额,从用户的账户中扣除相应的金额,以转入商户的账户中。
步骤S522,第二服务器向商户收银系统发送收款成功的回执。
步骤S523,第二服务器向支付宝客户端发送付款成功的回执。
如此,则完成了用户通过付款码向商家付款的过程。
由上可知,一方面,当支付宝客户端接收用户展示付款码的指令时,从支付宝服务端获取多个付款码,并按照预定的时间间隔依次展示所获取的多个付款码,使得多个付款码在显示页面中形成动态付款码;另一方面,商家收银系统从付款码的动态显示页面中依次读取预定数目的付款码,以获得对应的付款码数据,然后,向支付宝服务端发送所述付款码数据,以使所述服务端对所述预定数目的付款码中的各个付款码进行校验,而且只有当预定数目的付款码全部通过校验时,才判定付款码数据通过校验。如此,能够有效地防止显示页面中所展示的付款码被复制使用,同时提高识别和校验结果的准确度,进而避免造成用户的损失。
根据另一方面的实施例,还提供一种二维码的展示装置。图6示出根据一个实施例的二维码的展示装置的示意性框图。如图6所示,该展示装置600包括:
接收单元610,用于接收用户的展示二维码的指令;
获取单元620,用于获取与所述用户对应的多个二维码;
展示单元630,用于按照预定的时间间隔依次展示所述多个二维码,使得所述多个二维码在显示页面中形成动态二维码,其中所述预定的时间间隔与所述多个二维码中各个二维码的有效时间的比例小于预定阈值。
根据一个实施例,所述获取单元620具体用于:向服务端发送第一请求,所述第一请求用于请求所述多个二维码;从所述服务端接收所述多个二维码。
进一步地,所述获取单元620中的第一请求还用于请求所述预定的时间间隔。
根据一个实施例,所述获取单元620具体用于:根据预先从服务端获取的种子数据,生成所述多个二维码。
根据一个实施例,所述获取单元620所获取的多个二维码包括多组二维码,所述多组二维码中各组二维码包括第一数目的二维码;所述展示单元630具体用于:按照第一时间间隔展示各组中第一数目的二维码,按照第二时间间隔展示各组间的二维码。
通过以上的展示装置600,首先,接收单元610接收用户展示二维码的指令;接着,获取单元620获取多个二维码;然后,展示单元630按照预定的时间间隔依次展示所获取的多个二维码,使得多个二维码在显示页面中形成动态二维码,能够有效地防止显示页面中所展示的二维码被复制使用,从而避免造成用户和/或服务方的损失。
根据又一方面的实施例,还提供一种二维码的识别装置。图7示出根据一个实施例的二维码的识别装置的示意性框图。如图7所示,该识别装置700包括:
读取单元710,用于从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中所述动态二维码包括按照预定的时间间隔依次展示的多个二维码;
发送单元720,用于向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验。
根据一个实施例,所述读取单元710具体用于:持续读取所述动态二维码至少预定时长,直到读取到所述预定数目的二维码。
根据另一个实施例,所述读取单元710具体用于:按照预设的第三时间间隔,读取所述动态二维码,直到读取到所述预定数目的二维码。
通过以上的识别装置700,首先,读取单元710从二维码的动态显示页面中依次读取预定数目的二维码,以获得对应的二维码数据,然后,发送单元720向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验,而且只有当预定数目的二维码全部通过校验时,才判定二维码数据通过校验。如此,能够提高识别和校验结果的准确度,进而避免造成用户和/或服务方的损失。
根据再一方面的实施例,还提供一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机中执行时,令计算机执行结合图2或图4所描述的方法。
根据再一方面的实施例,还提供一种计算设备,包括存储器和处理器,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,实现结合图2或图4所述的方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。
Claims (18)
- 一种二维码的展示方法,其特征在于,包括:接收用户的展示二维码的指令;获取与所述用户对应的多个二维码;按照预定的时间间隔依次展示所述多个二维码,使得所述多个二维码在显示页面中形成动态二维码,其中所述预定的时间间隔与所述多个二维码中各个二维码的有效时间的比例小于预定阈值。
- 根据权利要求1所述的方法,其特征在于,获取与所述用户对应的多个二维码包括:向服务端发送第一请求,所述第一请求用于请求所述多个二维码;从所述服务端接收所述多个二维码。
- 根据权利要求2所述的方法,其特征在于,所述第一请求还用于请求所述预定的时间间隔。
- 根据权利要求1所述的方法,其特征在于,所述获取与所述用户对应的多个二维码,包括:根据预先从服务端获取的种子数据,生成所述多个二维码。
- 根据权利要求1-4中任一项所述的方法,其特征在于,所述多个二维码包括多组二维码,所述多组二维码中各组二维码包括第一数目的二维码;所述按照预定的时间间隔依次展示所述多个二维码包括:按照第一时间间隔展示各组中第一数目的二维码,按照第二时间间隔展示各组间的二维码。
- 一种二维码的识别方法,其特征在于,包括:从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中所述动态二维码包括按照预定的时间间隔依次展示的多个二维码;向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验。
- 根据权利要求6所述的方法,其特征在于,所述从显示页面上展示的动态二维码中依次读取预定数目的二维码,包括:持续读取所述动态二维码至少预定时长,直到读取到所述预定数目的二维码。
- 根据权利要求6所述的方法,其特征在于,所述从显示页面上展示的动态二维码中依次读取预定数目的二维码,包括:按照预设的第三时间间隔,读取所述动态二维码,直到读取到所述预定数目的二维 码。
- 一种二维码的展示装置,其特征在于,包括:接收单元,用于接收用户的展示二维码的指令;获取单元,用于获取与所述用户对应的多个二维码;展示单元,用于按照预定的时间间隔依次展示所述多个二维码,使得所述多个二维码在显示页面中形成动态二维码,其中所述预定的时间间隔与所述多个二维码中各个二维码的有效时间的比例小于预定阈值。
- 根据权利要求9所述的装置,其特征在于,所述获取单元具体用于:向服务端发送第一请求,所述第一请求用于请求所述多个二维码;从所述服务端接收所述多个二维码。
- 根据权利要求10所述的装置,其特征在于,所述获取单元中的第一请求还用于请求所述预定的时间间隔。
- 根据权利要求9所述的装置,其特征在于,所述获取单元具体用于:根据预先从服务端获取的种子数据,生成所述多个二维码。
- 根据权利要求9-12中任一项所述的装置,其特征在于,所述获取单元所获取的多个二维码包括多组二维码,所述多组二维码中各组二维码包括第一数目的二维码;所述展示单元具体用于:按照第一时间间隔展示各组中第一数目的二维码,按照第二时间间隔展示各组间的二维码。
- 一种二维码的识别装置,其特征在于,包括:读取单元,用于从显示页面上展示的动态二维码中依次读取预定数目的二维码,以获得对应的二维码数据,其中所述动态二维码包括按照预定的时间间隔依次展示的多个二维码;发送单元,用于向服务端发送所述二维码数据,以使所述服务端对所述预定数目的二维码中的各个二维码进行校验。
- 根据权利要求14所述的装置,其特征在于,所述读取单元具体用于:持续读取所述动态二维码至少预定时长,直到读取到所述预定数目的二维码。
- 根据权利要求14所述的装置,其特征在于,所述读取单元具体用于:按照预设的第三时间间隔,读取所述动态二维码,直到读取到所述预定数目的二维码。
- 一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机中执行时,令计算机执行权利要求1-8中任一项的所述的方法。
- 一种计算设备,包括存储器和处理器,其特征在于,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,实现权利要求1-8中任一项所述的方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SG11202006206VA SG11202006206VA (en) | 2018-03-29 | 2019-01-31 | Methods and apparatuses for displaying and recognizing two-dimensional code |
US16/886,029 US11074424B2 (en) | 2018-03-29 | 2020-05-28 | Displaying and recognizing two-dimensional code |
US17/239,144 US11250229B2 (en) | 2018-03-29 | 2021-04-23 | Displaying and recognizing two-dimensional code |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810274082.7 | 2018-03-29 | ||
CN201810274082.7A CN108681896A (zh) | 2018-03-29 | 2018-03-29 | 二维码的展示、识别方法及装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/886,029 Continuation US11074424B2 (en) | 2018-03-29 | 2020-05-28 | Displaying and recognizing two-dimensional code |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019184594A1 true WO2019184594A1 (zh) | 2019-10-03 |
Family
ID=63799682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/074112 WO2019184594A1 (zh) | 2018-03-29 | 2019-01-31 | 二维码的展示、识别方法及装置 |
Country Status (5)
Country | Link |
---|---|
US (2) | US11074424B2 (zh) |
CN (1) | CN108681896A (zh) |
SG (1) | SG11202006206VA (zh) |
TW (1) | TWI734948B (zh) |
WO (1) | WO2019184594A1 (zh) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108681896A (zh) * | 2018-03-29 | 2018-10-19 | 阿里巴巴集团控股有限公司 | 二维码的展示、识别方法及装置 |
CN110012048B (zh) * | 2018-11-22 | 2021-11-12 | 创新先进技术有限公司 | 信息识别码生成方法、装置、电子设备及计算机存储介质 |
CN111523626A (zh) * | 2019-02-02 | 2020-08-11 | 腾讯科技(深圳)有限公司 | 一种电子码的显示方法以及相关装置 |
CN110472967B (zh) * | 2019-07-31 | 2022-04-29 | 腾讯科技(深圳)有限公司 | 一种校验方法、识别端及用户端 |
CN110659899B (zh) * | 2019-08-08 | 2022-05-27 | 深圳汇商通盈科技有限公司 | 一种离线支付方法、装置及设备 |
CN112580762B (zh) * | 2019-09-29 | 2024-07-16 | 北京沃东天骏信息技术有限公司 | 动态二维码及其识别方法和识别装置 |
US11893570B1 (en) * | 2019-11-22 | 2024-02-06 | United Services Automobile Association (Usaa) | Token based demand and remand system |
CN111831941B (zh) * | 2020-07-20 | 2023-09-26 | 腾讯科技(深圳)有限公司 | 二维码的识别方法和装置、存储介质及电子装置 |
CN111860726B (zh) * | 2020-07-30 | 2023-12-22 | 深圳前海微众银行股份有限公司 | 二维码显示方法、验证方法、设备及计算机可读存储介质 |
CN113807854B (zh) * | 2020-12-29 | 2024-02-09 | 京东科技控股股份有限公司 | 用于电子支付的方法、装置、系统、电子设备和介质 |
CN114595853B (zh) * | 2022-04-26 | 2022-09-06 | 阿里健康科技(杭州)有限公司 | 图形码数据的发送和展示方法、装置、设备和介质 |
CN114862387B (zh) * | 2022-07-04 | 2022-11-04 | 成都桐领智能科技有限公司 | 一种基于可信条码的支付方法、系统和装置 |
CN115759150A (zh) * | 2022-11-01 | 2023-03-07 | 合众新能源汽车有限公司 | 汽车信息交互方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593894A (zh) * | 2013-11-14 | 2014-02-19 | 高椿明 | 一种基于手机二维码的双重加密门禁系统 |
CN107172167A (zh) * | 2017-05-27 | 2017-09-15 | 深圳市创维群欣安防科技股份有限公司 | 一种基于移动终端的签到控制方法、系统及存储装置 |
CN107808286A (zh) * | 2017-10-18 | 2018-03-16 | 厦门吉比特网络技术股份有限公司 | 一种二维码的安全验证方法 |
CN108681896A (zh) * | 2018-03-29 | 2018-10-19 | 阿里巴巴集团控股有限公司 | 二维码的展示、识别方法及装置 |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3534250B2 (ja) | 2002-04-23 | 2004-06-07 | 中村 憲生 | 動的バーコード表示装置及び動的バーコード生成方法並びに動的バーコードを生成する記憶媒体。 |
TWI416922B (zh) * | 2008-11-28 | 2013-11-21 | Univ Nat Taiwan Science Tech | 運用圖像式認證碼的認證系統及其方法 |
US20130228624A1 (en) | 2012-03-02 | 2013-09-05 | Mastercard International Incorporated | Method and apparatus for transferring and receiving data using multi-frame bar codes |
CN102760242B (zh) | 2012-05-16 | 2016-09-14 | 孟智平 | 一种三维码的编解码和使用方法 |
US8770484B2 (en) | 2012-09-21 | 2014-07-08 | Alcatel Lucent | Data exchange using streamed barcodes |
JP2014092831A (ja) * | 2012-11-01 | 2014-05-19 | Dainippon Printing Co Ltd | 2次元バーコード表示端末、2次元バーコード表示方法、およびプログラム、並びに、来店証明システム |
US20190188436A1 (en) * | 2014-11-06 | 2019-06-20 | Kuei-Sheng Tsou | Generating method and decoding method for a verification code presented in a form of dynamic recognizable two-dimensional code |
CN104464117B (zh) * | 2014-12-29 | 2017-08-01 | 通邮信息技术有限公司 | 基于动态二维码银行自动柜员机取款方法及系统 |
CN106656908B (zh) * | 2015-10-28 | 2020-02-21 | 阿里巴巴集团控股有限公司 | 一种二维码处理方法和装置 |
CN105373823B (zh) * | 2015-12-08 | 2018-07-13 | 北京意锐新创科技有限公司 | 动态二维码的生成、读取方法及其装置 |
US20170243096A1 (en) * | 2016-02-22 | 2017-08-24 | Jeff Kotowski | Method and apparatus for multi-dimentional code storage and transfer system |
WO2017189820A1 (en) * | 2016-04-27 | 2017-11-02 | Cubic Corporation | 4d barcode |
US10621824B2 (en) * | 2016-09-23 | 2020-04-14 | Igt | Gaming system player identification device |
FR3061974B1 (fr) * | 2017-01-18 | 2020-04-24 | Safran Identity and Security | Procede et dispositif de verification de la validite d'un document electronique |
US11012496B2 (en) * | 2017-08-10 | 2021-05-18 | Citrix Systems, .Inc. | Mobile-optimized file transfer mechanism based on QR code |
CN107704911A (zh) * | 2017-10-17 | 2018-02-16 | 北京小米移动软件有限公司 | 二维码的生成、读取方法及装置 |
CN107798373B (zh) * | 2017-11-24 | 2020-09-29 | 成都智元汇信息技术股份有限公司 | 一种二维码防复制的方法及系统 |
US10901674B2 (en) * | 2017-12-07 | 2021-01-26 | Honeywell International Inc. | Protocol for high integrity personal electronic device applications |
JP7175634B2 (ja) * | 2018-05-30 | 2022-11-21 | キヤノン株式会社 | 通信装置、制御方法およびプログラム |
SG10201806192PA (en) * | 2018-07-19 | 2020-02-27 | Mastercard International Inc | Methods and systems for facilitating payment transactions at point of sale terminals |
TWI660308B (zh) * | 2018-09-03 | 2019-05-21 | 優仕達資訊股份有限公司 | 電子門票入場驗證防偽系統與方法 |
-
2018
- 2018-03-29 CN CN201810274082.7A patent/CN108681896A/zh active Pending
-
2019
- 2019-01-10 TW TW108101010A patent/TWI734948B/zh active
- 2019-01-31 WO PCT/CN2019/074112 patent/WO2019184594A1/zh active Application Filing
- 2019-01-31 SG SG11202006206VA patent/SG11202006206VA/en unknown
-
2020
- 2020-05-28 US US16/886,029 patent/US11074424B2/en active Active
-
2021
- 2021-04-23 US US17/239,144 patent/US11250229B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593894A (zh) * | 2013-11-14 | 2014-02-19 | 高椿明 | 一种基于手机二维码的双重加密门禁系统 |
CN107172167A (zh) * | 2017-05-27 | 2017-09-15 | 深圳市创维群欣安防科技股份有限公司 | 一种基于移动终端的签到控制方法、系统及存储装置 |
CN107808286A (zh) * | 2017-10-18 | 2018-03-16 | 厦门吉比特网络技术股份有限公司 | 一种二维码的安全验证方法 |
CN108681896A (zh) * | 2018-03-29 | 2018-10-19 | 阿里巴巴集团控股有限公司 | 二维码的展示、识别方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
TWI734948B (zh) | 2021-08-01 |
SG11202006206VA (en) | 2020-07-29 |
US11074424B2 (en) | 2021-07-27 |
TW201942794A (zh) | 2019-11-01 |
US20200293734A1 (en) | 2020-09-17 |
US11250229B2 (en) | 2022-02-15 |
US20210240955A1 (en) | 2021-08-05 |
CN108681896A (zh) | 2018-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019184594A1 (zh) | 二维码的展示、识别方法及装置 | |
US20160307179A1 (en) | Data interaction method, verification terminal, server, and system | |
US10439813B2 (en) | Authentication and fraud prevention architecture | |
TWI633506B (zh) | 一種訊息傳輸方法、裝置和系統 | |
US20130046697A1 (en) | Using Mobile Device to Prevent Theft of User Credentials | |
US20170372304A1 (en) | Systems, devices and methods for remote authentication of a user | |
CN112424842B (zh) | 用于安全只读认证的系统和方法 | |
WO2015000365A1 (zh) | 一种基于位置信息的快速支付方法及系统 | |
CN111742314A (zh) | 便携式装置上的生物计量传感器 | |
CN107453871A (zh) | 口令生成方法、口令验证方法、支付方法及装置 | |
CN110071907A (zh) | 二维码的生成方法及装置 | |
KR20200021107A (ko) | 서비스 인증을 위한 방법 및 장치 | |
US20200090139A1 (en) | Voucher verification auxiliary device, voucher verification auxiliary system, and voucher verification auxiliary method | |
CN107292615A (zh) | 一种电子支付的安全保障方法和装置 | |
US9542679B2 (en) | Implementation method for an identification system using dynamic barcode | |
JP7231187B2 (ja) | サービス提供システム、及びそれに用いるコンピュータプログラム | |
CN113487314A (zh) | 一种交易处理方法及装置 | |
TWM512772U (zh) | 採用個人化裝置驗證之交易裝置與交易安全系統 | |
TWI817096B (zh) | 一種代碼化掃碼支付系統、方法及電腦可讀媒介 | |
KR101691172B1 (ko) | 단말기 및 이를 이용한 정보 처리 방법 | |
JP3198589U (ja) | 可変なバーコードを身分認証に用いるシステム | |
TWI579724B (zh) | 一種以變化的條碼作為身份辨識的系統之實施方法 | |
JP7563658B1 (ja) | チケット確認装置、情報処理方法、及びプログラム | |
US20180137511A1 (en) | System for authenticating an electronic device by means of an authentication server | |
CN117132281A (zh) | 支付增强验证的方法、装置、服务器、系统及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19778354 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19778354 Country of ref document: EP Kind code of ref document: A1 |