Order information providing method and apparatus using dynamic qr code

CN123036615APending Publication Date: 2026-11-03AKI SHOUI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202480088879.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-03-07
Filing Date
2024-05-29
Publication Date
2026-11-03

AI Technical Summary

Technical Problem

现有技术中,QR码终端与中继装置的网络连接问题导致服务延迟,且需要多个高规格中继装置以覆盖大量终端,增加了系统构建和维护成本。

Method used

The QR code terminal generates a dynamic QR code containing a one-time password through its built-in processor. The password is generated and verified using an encryption algorithm. The user terminal obtains Internet resource address information by scanning the QR code. The order information providing device verifies the validity of the password and provides access permissions, realizing dynamic updates without a network connection.

Benefits of technology

It enables the generation of different QR codes without a network connection, preventing unauthorized third parties from accessing order information and reducing system construction and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123036615A_ABST
    Figure CN123036615A_ABST
Patent Text Reader

Abstract

Provided is an order information providing method and device using a dynamic QR code. The order information providing method using a dynamic QR code according to an embodiment of the present application is executed by a computing device, and includes: a step of obtaining a one-time password from a first URL in response to a protocol request of a user terminal; a step of verifying the validity of the one-time password; and a step of providing the user terminal with internet resource address information corresponding to the one-time password based on the one-time password when the one-time password is valid. The user terminal can obtain the first URL by recognizing a QR code displayed on a QR code terminal, send a protocol request to a location specified by the first URL, and access order information using the internet resource address information provided in response to the protocol request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method and apparatus for providing order information using dynamic QR codes. More specifically, it relates to a method and apparatus for providing temporary access paths to order information for stores, etc., using dynamic QR codes that change over time. Background Technology

[0002] A QR code (Quick Response Code) is a method of displaying information in the form of a two-dimensional matrix. QR codes can store various types of information, including text, URIs (Uniform Resource Identifiers), web pages, images, videos, and audio data.

[0003] The information stored in a QR code can be obtained by taking a picture of it with a camera or by reading it with an optical recognition device. With the widespread use of mobile devices such as smartphones and tablets, internet services utilizing QR codes are gradually increasing. For example, when customers order food at a restaurant, they can use their smartphones to scan the QR code on the table and access a webpage for ordering food via the internet address contained in the scanned QR code.

[0004] On the other hand, in situations where shops and other establishments use QR codes to provide services, it may be necessary to update the QR codes hourly, depending on the circumstances, or at a specific period. For example, when the target customers change, such as when the customers at a particular table in a coffee shop change, the QR code for that table can be changed so that order information can only be accessed through the updated QR code.

[0005] This approach has the advantage of preventing unauthorized third parties from accessing order information, but it also presents several challenges. For instance, changing a QR code requires a relay device to transmit the updated code to each table's QR code terminal in real time. If network connectivity issues arise between the relay device and the QR code terminal, the QR code cannot be changed immediately, potentially causing service delays. Furthermore, when a large number of QR code terminals are deployed in a store, multiple relay devices or high-specification relay devices are needed to cover all of them. Summary of the Invention

[0006] Technical issues The technical problem to be solved by the present invention is to provide a method and apparatus for providing order information using dynamic QR codes, which enables easy non-face-to-face ordering using QR code terminals installed in stores.

[0007] Another technical problem to be solved by the present invention is to provide a method and apparatus for providing order information using dynamic QR codes, which can prompt customers of different QR codes even when there is no network connection with the relay device or no updated new QR code is received from the relay device.

[0008] Another technical problem to be solved by the present invention is to provide a method and apparatus for providing order information using dynamic QR codes by eliminating the need for communication means (e.g., gateways) for connecting QR code terminals and relay devices, thereby reducing the cost of system construction.

[0009] The technical problems to be solved by the present invention are not limited to those described above. Other technical problems not mentioned can be clearly understood by those skilled in the art based on the following description.

[0010] Technical solution To address the aforementioned technical problem, an order information provision method utilizing dynamic QR codes according to an embodiment of the present invention is executed by a computing device, comprising: a step of obtaining a one-time password from a first URL (uniform resource locator) in response to a protocol request from a user terminal; a step of verifying the validity of the one-time password; and a step of providing Internet resource address information corresponding to the one-time password to the user terminal when the one-time password is valid; wherein the user terminal can obtain the first URL by recognizing the QR code displayed on the QR code terminal, send the protocol request to the location specified by the first URL, and access order information using the Internet resource address information provided in response to the protocol request.

[0011] As one embodiment, the QR code terminal can generate the QR code independently without data communication with other external devices.

[0012] As one embodiment, the QR code terminal can generate the one-time password using a predetermined encryption algorithm, and generate the QR code based on the generated one-time password.

[0013] As an example, the predetermined encryption algorithm may be a hash function-based algorithm that outputs the one-time password by taking a timestamp value as at least one input value.

[0014] As one embodiment, the step of verifying the validity of the one-time password may include: generating a reference password based on a secret key and a timestamp value pre-shared with the QR code terminal; and determining that the one-time password is valid when the one-time password matches the reference password.

[0015] As an example, the one-time password and the reference password may be a TOTP (Time-based One-Time Password) that changes at predetermined time intervals.

[0016] As one embodiment, the step of providing the Internet resource address information to the user terminal may involve calculating one or more reference passwords with reference to a predetermined identification table, then retrieving the row containing the reference password that has the same value as the one-time password from the one or more reference passwords, querying the second URL from the retrieved row, and then providing the queried second URL as the Internet resource address information to the user terminal.

[0017] As one embodiment, the step of providing the Internet resource address information to the user terminal may include providing the session key used to access the order information together with the Internet resource address information.

[0018] As one embodiment, the session key may be a newly generated or selected value in response to the protocol request.

[0019] As one embodiment, the Internet resource address information includes the address of the Internet resource device on the Internet that provides the order information to the user terminal and processes the order request of the user terminal. The user terminal prompts the session key to the Internet resource device in order to prove its access rights. The Internet resource device verifies the validity of the prompted session key and can only process the order request of the user terminal when the session key is valid.

[0020] To address the aforementioned technical problem, an order information providing device utilizing dynamic QR codes according to an embodiment of the present invention includes: a processor; a memory loading a computer program executed by the processor; and a storage device storing the computer program; wherein the computer program includes instructions for performing the following actions: obtaining a one-time password from a first URL in response to a protocol request from a user terminal, verifying the validity of the one-time password, and providing Internet resource address information corresponding to the one-time password to the user terminal when the one-time password is valid; the user terminal can obtain the first URL by recognizing a QR code displayed on a QR code terminal, send the protocol request to the location specified by the first URL, and access order information using the Internet resource address information provided in response to the protocol request.

[0021] Beneficial effects According to the embodiments of the present invention described above, non-face-to-face order requests can be easily made using QR code terminals installed in stores, and the validity of each request can be verified by a one-time password contained in the QR code, thereby preventing unauthorized third parties from making order requests.

[0022] Furthermore, the QR code terminal according to the present invention generates a QR code that changes over time without relying on an external device. Therefore, even if there is no network connection between the QR code terminal and the relay device, or if the QR code terminal does not receive an updated new QR code from the relay device, it can still provide different QR codes to customers of each service recipient.

[0023] Furthermore, since there is no need for gateways or other devices to connect QR code terminals and relay devices, the cost of building the entire system can be reduced, and the system can be built and maintained more easily. Attached Figure Description

[0024] Figure 1 This is a diagram illustrating the entire system in which an order information provision method utilizing dynamic QR codes according to an embodiment of the present invention operates.

[0025] Figure 2 This is an example representation Figure 1 A block diagram showing the detailed configuration of the order information providing device 100.

[0026] Figure 3 This is an example representation Figure 1 The diagram shows a detailed configuration of the QR code terminal 200.

[0027] Figure 4 This diagram is used to supplement the explanation of the specific method for generating and verifying a one-time password in the method for providing order information using a dynamic QR code according to the present invention.

[0028] Figure 5 This diagram illustrates the overall operation process of a method for providing order information using dynamic QR codes according to an embodiment of the present invention.

[0029] Figure 6 This is a diagram used to supplement the exemplary form of the first URL.

[0030] Figure 7 This is a diagram used to supplement the exemplary form of the identification table.

[0031] Figure 8 This is a flowchart illustrating a method for providing order information using dynamic QR codes according to an embodiment of the present invention.

[0032] Figure 9This is a block diagram illustrating, exemplarily, the hardware configuration of a computing device for implementing various embodiments of the present invention. Detailed Implementation

[0033] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The advantages and features of the present invention, as well as methods of implementing them, will become clear from the embodiments described in detail below in conjunction with the accompanying drawings. When labeling the constituent elements of the various drawings with reference numerals, it should be noted that even if the same constituent elements are shown in different drawings, they should be given the same reference numerals as much as possible. Furthermore, in describing the present invention, detailed descriptions of relevant well-known structures or functions will be omitted when it is determined that a detailed description of those structures or functions might obscure the essence of the present invention.

[0034] Unless otherwise defined, all terms (including technical and scientific terms) used in this specification are to be used in the sense that can be commonly understood by one of ordinary skill in the art to which this invention pertains. Furthermore, commonly used terms, as defined in dictionaries, should not be idealized or over-interpreted unless explicitly specifically defined. The terminology used in this specification is for illustrative purposes and is not intended to limit the invention. In this specification, the singular form includes the plural form unless specifically stated otherwise.

[0035] Furthermore, when describing the constituent elements of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are only used to distinguish the corresponding constituent element from other constituent elements, and the nature, order, or sequence of the corresponding constituent elements are not limited by the above terms. When it is stated that a constituent element is "connected," "combined," or "connected" to another constituent element, it should be understood that the constituent element may be directly connected or connected to the other constituent element, but there may also be other constituent elements that are "connected," "combined," or "connected" to it.

[0036] On the other hand, in the following description, the order information providing device using dynamic QR codes can be simply referred to as "order information providing device", and the order information providing method using dynamic QR codes can be simply referred to as "order information providing method".

[0037] Figure 1 This is a simplified illustration of an order information provision system utilizing dynamic QR codes according to an embodiment of the present invention, and the apparatus constituting the system.

[0038] Reference Figure 1 The entire system may include an order information providing device 100, a QR code terminal 200, a user terminal 300, and an Internet resource device 400.

[0039] QR code terminal 200 generates and displays a QR code containing a one-time password that changes over time. To do this, after storing a secret key in its internal memory, QR code terminal 200 inputs the secret key and a timestamp of the current time into an encryption algorithm and obtains a hash code as its output value. Then, the one-time password is obtained from the obtained hash code according to a predetermined rule.

[0040] As one embodiment, the predetermined rules can be determined in various ways. For example, the predetermined rules may include: using the hash code directly as a one-time password; extracting a predetermined number of digits from the hash code and using that value as a one-time password; or processing the hash code to convert it into a predetermined number of digits or characters.

[0041] The one-time password thus obtained has a different value each time the timestamp used as the input value changes. After obtaining the one-time password, the QR code terminal 200 generates a QR code containing the one-time password, and then displays it on the display device (e.g., an OLED display) of the QR code terminal 200.

[0042] As one embodiment, after storing the first address information of the order information providing device 100 on the Internet, the QR code terminal 200 can combine the first address information with a one-time password generated by a secret key to generate a first URL, and then display the QR code containing the first URL after generating it.

[0043] For example, if the first address information is "http: / www.redirect.com" and the secret key is "cat", the QR code terminal 200 generates a one-time password "489523" based on the secret key and the timestamp. It combines the generated one-time password with the first address information to generate the first URL "http: / www.redirect.com / 489523", and can generate and display a QR code containing the first URL.

[0044] As one embodiment, the secret key is a key shared by the QR code terminal 200 and the order information providing device 100, and can be a value uniquely assigned to each QR code terminal 200.

[0045] For example, suppose a store is equipped with 10 QR code terminals, where the secret key of the first QR code terminal is "cat". In this case, the secret key "cat" is shared beforehand with the order information providing device 100. Furthermore, when the first QR code terminal makes a service request, it uses "cat" to generate a one-time password and then sends a protocol request containing this one-time password to the order information providing device 100. In response to the sent protocol request, the order information providing device 100 generates a corresponding reference password for each secret key stored in the order information providing device 100, and determines whether there is a reference password among the generated reference passwords that matches the one-time password. If a matching reference password exists, the order information providing device 100 confirms which secret key was used to generate the corresponding reference password, and thus can determine that the corresponding protocol request was sent from the first QR code terminal.

[0046] User terminal 300 is a terminal used by a user who wants to access order information, such as a portable terminal held by a customer sitting at a table in a store. After the user terminal 300 takes a picture of the QR code generated by the QR code terminal 200 with a camera or senses it with other optical recognition devices, it reads the first URL contained in the QR code and sends a protocol request to the location specified by the first URL (i.e., the order information providing device).

[0047] Here, the protocol request can be an HTTP (Hypertext Transfer Protocol) or HTTPS (HTTP Secure) request, and can be a request to provide resources such as text, web pages, images, videos, and audio data to the first URL contained in the QR code. Alternatively, the protocol request can also be a request implemented by performing the following actions with computer-readable instructions: sending a message to the first URL contained in the QR code requesting the production or transportation of goods, or the provision of services.

[0048] In response to the protocol request, the user terminal 300 receives the Internet resource address information provided by the order information providing device 100 and sends a service request to the location specified by the Internet resource address information (i.e., the Internet resource device).

[0049] Furthermore, in response to the service request, the user terminal 300 receives and displays the order information provided by the Internet resource device, and executes a non-face-to-face order for goods or services based on user input.

[0050] As one embodiment, the user terminal 300 is a computing device capable of communicating with the order information providing device 100. For example, it can be any of a smartphone, mobile phone, navigator, computer, laptop, digital broadcasting terminal, PDA (Personal Digital Assistants), PMP (Portable Multimedia Player), and / or tablet PC, but is not limited thereto. For example, any device among terminal devices with data communication capabilities can become the user terminal 300.

[0051] The order information providing device 100 receives a protocol request from the user terminal 300. After verifying the validity of the protocol request, if the protocol request is valid, it provides the user terminal 300 with the Internet resource address information used to access the Internet resource device 400. The Internet resource address information may include a second URL indicating the location of the Internet resource device 400 on the Internet network.

[0052] As one embodiment, the order information providing device 100 can verify the validity of a protocol request by verifying a one-time password contained in a first URL of the protocol request. Specifically, after identifying the first URL from the protocol request, the order information providing device 100 extracts the one-time password from the first URL according to a predetermined rule. Furthermore, after obtaining a timestamp of the current time, the order information providing device 100 inputs the obtained timestamp along with a pre-shared secret key list into an encryption algorithm and obtains a hash code as its output value. Moreover, a reference password list is obtained from the obtained hash code according to a predetermined rule. After comparing the reference password list with the one-time password, if a reference password matching the one-time password exists, the protocol request is determined to be valid; otherwise, the protocol request is determined to be invalid.

[0053] At this time, the encryption algorithm and predetermined rules used to obtain the reference password can be the same as the encryption algorithm and predetermined rules used by the QR code terminal 200 to obtain the one-time password.

[0054] The Internet Resource Device 400 is a device for storing resources such as text, web pages, images, videos, and audio data, and processes service requests sent by the user terminal 300 via Internet resource address information. For example, when the user terminal 300 sends a service request, the Internet Resource Device 400 processes the operation corresponding to the request and provides the result or resources it holds to the user terminal 300. The results or resources provided by the Internet Resource Device 400 to the user terminal 300 may include information about goods or services offered by a store, and / or web pages used to process users' non-face-to-face orders, etc.

[0055] As one embodiment, after validating the service request from the user terminal 300, the Internet resource device 400 can process the corresponding job only if the service request is valid. In this case, the validity verification of the service request can be performed by verifying the validity of the session key provided by the user terminal 300 along with the service request. For example, if the session key provided by the user terminal 300 is valid, the Internet resource device 400 considers the corresponding service request valid, processes the job corresponding to the request, and provides the result; however, if the session key provided by the user terminal 300 is invalid, the service request is considered invalid, and the corresponding service request can be rejected.

[0056] On the other hand, although not shown in the accompanying drawings, devices 100, 200, 300, and 400 can be interconnected via a communication network (not shown) in a wired or wireless manner. The communication network can be, depending on the installation environment, comprised of wired networks such as Ethernet, Power Line Communication, telephone line communication devices and RS-serial communication, mobile communication networks, Wireless LAN (WLAN), Wi-Fi, Bluetooth, and ZigBee, or combinations thereof.

[0057] according to Figure 1 The system shown can generate time-varying QR codes even when the QR code terminal 200 is not in a communication connection with the order information providing device 100. Therefore, even without receiving QR code updates from the order information providing device 100, the QR code terminal 200 can provide different QR codes to customers of each service recipient. Furthermore, since the QR code contains a time-varying one-time password, verifying this one-time password can prevent unauthorized third parties from accessing order information.

[0058] Figure 2 This is an example representation Figure 1 A block diagram showing the detailed configuration of the order information providing device 100.

[0059] Reference Figure 2 The order information providing device 100 includes a control unit 110, a URL parser 120, a time calculation unit 130, a password calculation unit 140, a session key management unit 150, and / or a database 160. Figure 2 The components 110, 120, 130, 140, and 150 of the order information providing device 100 shown may be software modules, but are not limited thereto.

[0060] The control unit 110 controls the overall operation of the order information providing device 100. For example, the control unit 110 controls the calling and operation of functions that drive other components 120, 130, 140, 150, and 160 of the order information providing device 100, or controls the operation of various components included in the order information providing device 100, such as the CPU, memory, and communication device.

[0061] URL parser 120 identifies a first URL from the protocol request of user terminal 300 and extracts a one-time password from the first URL. The extracted one-time password is provided to password calculation unit 140.

[0062] The time calculation unit 130 uses a timer built into the order information providing device 100 to calculate the timestamp of the current time.

[0063] As one embodiment, the time calculation unit 130 can be configured to calculate timestamps that vary according to each time interval, based on a predetermined time interval. For example, if the predetermined time interval is 5 seconds, the time calculation unit 130 can calculate timestamps with different values ​​for each time interval within the 5-second interval.

[0064] The cryptographic calculation unit 140 generates a reference password list based on the pre-shared secret key and the timestamp provided by the time calculation unit 130. It verifies the validity of the one-time password by checking if a reference password exists in the reference password list that matches the one-time password extracted by the URL parser 120. If the reference password matches the one-time password, the cryptographic calculation unit 140 determines that the one-time password (or protocol request) is valid; otherwise, it determines that the one-time password (or protocol request) is invalid.

[0065] On the other hand, since the reference password is calculated using the current time's timestamp, it is possible to prevent third parties from accessing the order information providing device 100 using pre-stored past QR codes. That is, the one-time password contained in a past QR code is generated based on a past timestamp and therefore will not match the reference password generated based on the current time's timestamp. Thus, requests based on past QR codes can be considered abnormal requests and rejected.

[0066] As an example, if the reference password and the one-time password are inconsistent, the cryptographic calculation unit 140 can calculate the sub-reference password based on the timestamp of the previous time interval, compare the sub-reference password with the one-time password, and determine that the one-time password (or protocol request) is valid when the two are consistent.

[0067] This is to compensate for the problem that even normal requests are deemed invalid when the time the protocol request is received from user terminal 300 falls within the boundaries of various time intervals. Specifically, with a predetermined time interval of 5 seconds, if QR code terminal 200 generates a QR code at 12:00:05, and user terminal 100 scans the QR code and sends the protocol request at 12:00:06, the timestamp used to generate the one-time password will be between 12:00:00 and 12:00:05, while the timestamp used to generate the reference password will be between 12:00:06 and 12:00:10. These two timestamps may differ. In this case, even a normal request may be rejected. Therefore, during validity verification, the one-time password is first compared with the reference password; if they do not match, the one-time password is then compared with the sub-reference password, thus compensating for the error in determining validity when the protocol request falls within the time interval boundaries.

[0068] The session key management unit 150 generates or determines a session key and provides it. The session key is the key required to access the Internet resource device 400 and obtain service provision. If a correct session key is not provided, the Internet resource device 400 may treat the corresponding request as an abnormal request and reject it.

[0069] As one embodiment, the session key management unit 150 can generate or determine and provide session keys in various ways. For example, the session key management unit 150 can directly determine a one-time password extracted from the first URL as a session key and provide it, or it can generate and provide a session key in real time in response to a protocol request, or it can select and provide a session key from a plurality of predetermined session keys in a round-robin manner.

[0070] Database 160 stores an identification table containing multiple pre-shared secret keys and multiple Internet resource address information. The identification table is used by the order information providing device 100 to query the Internet resource address information to be replied to to the user terminal 300. For example, upon receiving a protocol request from the user terminal 300, the order information providing device 100 refers to the identification table stored in database 160, calculates multiple reference passwords corresponding to the multiple secret keys in the identification table, and confirms the reference password that is the same as the one-time password included in the protocol request. Then, it can query the Internet resource address information corresponding to the confirmed reference password (i.e., located in the same row as the confirmed reference password) and provide it to the user terminal 300.

[0071] Figure 3 This is an example representation Figure 1 The diagram shows a detailed configuration of the QR code terminal 200.

[0072] Reference Figure 3 The QR code terminal 200 includes a control unit 210, a time calculation unit 220, a QR code generation unit 230, a storage unit 240, and / or a display unit 250. Figure 3 The components 210, 220, and 230 of the QR code terminal 200 shown may be software modules, but are not limited to them.

[0073] The control unit 210 controls the overall operation of the QR code terminal 200. For example, the control unit 210 controls the calling and operation of functions used to drive other components 220, 230, 240, and 250 of the QR code terminal 200, or controls the operation of various components included in the QR code terminal 200, such as the CPU and communication device.

[0074] The time calculation unit 220 calculates the timestamp of the current time using a timer built into the QR code terminal 200. The specific structure and operation of the time calculation unit 220 are similar to those in... Figure 2 The structure and operation of the time calculation unit 130 described in the previous section are essentially the same, so a detailed description of it is omitted here.

[0075] The QR code generation unit 230 combines the secret key of the QR code terminal 200, the timestamp provided by the time calculation unit 220, and the first address information of the order information providing device 100 on the Internet to generate a first URL, and then generates a QR code representing the first URL. The generated QR code is provided to the display unit 250 and can be displayed in the form of a QR code image.

[0076] The storage unit 240 is configured to provide data storage means for the QR code terminal 200. For example, it can store the secret key of the QR code terminal 200 or temporarily store the QR code generated by the QR code generation unit 230.

[0077] The display unit 250 is configured to display the QR code generated by the QR code generation unit 230 to the outside. For example, it may include any one of various display methods such as LCD (Liquid Crystal Display), LED (Light Emitting Diode), OLED (Organic Light Emitting Diode), E-PAPER, etc.

[0078] Figure 4 This diagram is used to supplement the explanation of the specific method for generating and verifying a one-time password in the method for providing order information using a dynamic QR code according to the present invention.

[0079] exist Figure 4In this embodiment, apart from the initial step of sharing a secret key, the QR code terminal 200 and the order information providing device 100 can independently generate their own passwords 15 and 25. The following is a detailed description with reference to the accompanying drawings.

[0080] In order to generate the same passwords 15 and 25 within the same time interval, the QR code terminal 200 and the order information providing device 100 share the same secret key. The sharing of the secret key can be performed by transmitting the secret key held by either the QR code terminal 200 or the order information providing device 100 to the other via a temporary communication connection, or by having an administrator directly input the secret key into either the QR code terminal 200 or the order information providing device 100.

[0081] First, the method for generating a one-time password 25 on the QR code terminal 200 side will be explained. The QR code terminal 200 inputs a timestamp 22 obtained based on the current time along with the previously shared secret key 21 into the encryption algorithm 23 as input values. Here, the timestamp 22, as mentioned earlier, can vary according to each time interval based on a predetermined time interval.

[0082] Encryption algorithm 23 performs encryption operations on the two input values ​​21 and 22 to output a first hash code 24 based on the input values ​​21 and 22. Encryption algorithm 23 is an algorithm based on a hash function, such as HMAC-SHA1, but is not limited to this.

[0083] After obtaining the first hash code 24, a one-time password 25 is obtained based on it according to a predetermined rule. The description of the predetermined rule is omitted here as it has already been explained in detail above.

[0084] When the one-time password 25 is generated in this manner, it is transmitted in the form of a QR code and sent to the order information providing device 100 via the user terminal 300. The order information providing device 100 generates a reference password 15 to verify the validity of the transmitted one-time password 25. The method for generating the reference password 15 is similar to the method for generating the one-time password 25.

[0085] Specifically, the order information providing device 100 inputs a timestamp 12 obtained based on the current time, along with the previously shared secret key 11, into the encryption algorithm 13 as input values. Here, the timestamp 12 varies according to each time interval based on a predetermined time interval, and may be the same value as the timestamp 22.

[0086] Encryption algorithm 13 performs encryption operations based on the two input values ​​11 and 12 to output a second hash code 14 based on the input values ​​11 and 12. Encryption algorithm 13 is the same as encryption algorithm 23, and the input values ​​11 and 12 and encryption algorithm 13 used to calculate the second hash code 14 are the same as the input values ​​and encryption algorithm used to calculate the first hash code 24. Therefore, the second hash code 14 has the same value as the first hash code 24.

[0087] After obtaining the second hash code 14, the reference password 15 is obtained according to the same rules as for the first hash code 24. After obtaining the reference password 15, the one-time password 25 is compared with the reference password 15. If they match, the authentication is considered successful; otherwise, the authentication is considered to have failed.

[0088] Figure 5 This diagram illustrates the overall operation process of a method for providing order information using dynamic QR codes according to an embodiment of the present invention. Figure 5 In the explanation, regarding the reference above... Figures 1 to 4 For content that is identical in description, detailed explanations will be omitted to avoid repetition.

[0089] Reference Figure 5 A one-time password is generated at the QR code terminal 200, and a first URL is generated based on the one-time password. Furthermore, the QR code terminal 200 generates and displays a QR code containing the first URL based on the generated first URL. On the other hand, to further explain the exemplary form of the first URL, see [reference needed]. Figure 6 .

[0090] Figure 6 As an example of the first URL, the combination of address information A and one-time password B is shown. One-time password B is the previously generated one-time password, and address information A is the address of the order information providing device 100 on the Internet, which is the address where the user terminal 300 will send the protocol request.

[0091] Return to Figure 5 The user terminal 300 captures or scans the QR code displayed on the QR code terminal 200 to read the QR code. Furthermore, after recognizing the first URL contained in the QR code, a protocol request is sent to the location pointed to by the first URL (i.e., the order information providing device).

[0092] The order information providing device 100 receives a protocol request, identifies a first URL from it, and then parses it to extract a one-time password. Furthermore, the order information providing device 100 generates a reference password list based on a pre-shared secret key list and timestamps, and verifies the validity of the one-time password by comparing the reference password list with the one-time password.

[0093] Upon verification, if the one-time password is valid, the order information providing device 100 queries the identification table for Internet resource address information matching the one-time password requested in the protocol request, determines the session key, and sends the Internet resource address information and session key as a response to the protocol request. On the other hand, to further illustrate the exemplary form of the identification table, refer to... Figure 7 .

[0094] Figure 7 As an exemplary form of the identification table, an example is shown that includes a secret key field f1, a reference password field f2, an Internet resource address information field f3, and a session key field f4.

[0095] The secret key field f1 is a field that records the secret key that is pre-shared with each QR code terminal. Each QR code terminal can have its own unique secret key that distinguishes it from other QR code terminals.

[0096] The reference password field f2 is a field that records the reference password corresponding to each secret key. The reference password field f2 can have a variable value each time a protocol request is received from the user terminal. For example, when a protocol request is received from the user terminal, after calculating the reference password corresponding to each secret key based on the current timestamp value, the value of the reference password field f2 can be updated or assigned accordingly.

[0097] The Internet resource address information field f3 is a field that records the second URL indicating the location of the Internet resource device 400 on the Internet network. The second URL can point to a web page address used to receive non-face-to-face orders from stores equipped with QR code terminals 200.

[0098] The session key field f4 is a field that records a session key used to prove access rights to the Internet resource device 400. The session key can be determined differently for each protocol request or each time interval.

[0099] The order information providing device 100 can query the Internet resource address information corresponding to the one-time password based on the one-time password included in the first URL, referring to an identification table. For example, after retrieving the row containing the reference password 31 that has the same value as the one-time password ("489523") identified from the first URL, the order information providing device 100 queries the second URL 32 from the retrieved row and can provide the queried second URL 32 as the Internet resource address information to the user terminal. At this time, the session key 33 queried in the corresponding row can be provided together with the session key corresponding to the Internet resource address information.

[0100] On the other hand, Figure 7 In the embodiments described, although the identification table includes a reference password field f2, the scope of the invention is not limited thereto. For example, the invention can be operated as follows: upon receiving a protocol request, a corresponding reference password is calculated for each secret key in the secret key field f1, but the calculated reference password is stored only in a separate storage medium (e.g., RAM) and not recorded in the identification table. If a reference password consistent with the one-time password exists, after confirming the secret key corresponding to the corresponding reference password, the second URL of the row containing the corresponding secret key is queried from the identification table and provided as Internet resource address information. In this case, the identification table may not include the reference password field f2.

[0101] In addition, Figure 7 In the embodiments described, although the identification table includes a session key field f4 as an example, the scope of the invention is not limited thereto. For example, the identification table may not include a session key field f4, and a new session key may be generated and provided on-the-spot each time a protocol request is received.

[0102] Return to Figure 5 User terminal 300 accesses Internet resource device 400 using the sent Internet resource address information and session key. Internet resource device 400 verifies whether user terminal 300 is a valid user by verifying the session key. If a valid user is found, it provides product or service information to user terminal 300, or provides an interface for ordering products or services. User terminal 300 then uses the provided information or interface to send an order for the desired products and services to Internet resource device 400.

[0103] Figure 8 This is a flowchart illustrating a method for providing order information using dynamic QR codes according to an embodiment of the present invention. Figure 8 The embodiments are illustrated in the form of flowcharts. Figure 7 The action method is explained in the text.

[0104] In step S110, the QR code terminal 200 generates a QR code.

[0105] In step S120, the QR code terminal 200 displays the generated QR code.

[0106] In step S130, the user terminal 300 captures or scans the displayed QR code to read the QR code.

[0107] In step S140, the user terminal 300 sends a protocol request to the order information providing device 100 using the first URL obtained by reading the QR code.

[0108] In step S150, the order information providing device 100 parses the first URL in response to the protocol request of the user terminal 300.

[0109] In step S160, the order information providing device 100 obtains a one-time password from the first URL.

[0110] In step S170, the order information providing device 100 verifies the validity of the acquired one-time password. Specifically, upon receiving a protocol request, the order information providing device 100 obtains a timestamp at that time, generates multiple reference passwords based on the obtained timestamp and multiple pre-shared secret keys, and verifies the validity of the one-time password by confirming whether there is a reference password among the multiple reference passwords that matches the one-time password.

[0111] In step S180, if the one-time password is valid, the order information providing device 100 queries the identification table for the Internet resource address information corresponding to the one-time password. Conversely, if the one-time password is invalid, the order information providing device 100 rejects or ignores the protocol request from the user terminal 300.

[0112] In step S190, the order information providing device 100 determines the session key corresponding to the Internet resource address information.

[0113] In step S200, the order information providing device 100 provides the queried Internet resource address information and the determined session key to the user terminal 300.

[0114] In step S210, the user terminal 300 uses the provided Internet resource address information and session key to access the Internet resource device 400 and request services.

[0115] In step S220, Internet Resource Device 400 verifies the validity of the session key.

[0116] In step S230, the Internet Resource Device 400 provides order information to the user terminal 300 when the session key is valid. Conversely, if the session key is invalid, the Internet Resource Device 400 rejects or ignores the service request from the user terminal 300.

[0117] In step S240, the user terminal 300 displays the provided order information to the user and sends the order request to the Internet resource device 400 based on the subsequent user input.

[0118] In step S250, the Internet resource device 400 processes the sent order request.

[0119] According to the embodiments of the present invention described above, users can easily request non-face-to-face orders using QR code terminals configured in-store, and verify the validity of each request through a one-time password contained in the QR code, thereby preventing unauthorized third parties from making order requests. Furthermore, since the QR code terminal generates its own time-varying QR codes without relying on external devices, even if there is no network connection between the QR code terminal and the relay device, or if the QR code terminal does not receive an updated QR code from the relay device, it can still display different QR codes to each customer. Moreover, since no gateway or similar device is needed to connect the QR code terminal and the relay device, the cost of building the entire system can be reduced, and the system's construction and maintenance can be made easier.

[0120] The following is for reference Figure 9 An exemplary computing device 500 implemented using the methods described in various embodiments of the present invention will be described. For example, Figure 9 The computing device 500 can be Figure 1 The order information providing device 100, QR code terminal 200 or user terminal 300.

[0121] Figure 9 This is an exemplary hardware configuration diagram representing a computing device 500.

[0122] like Figure 9 As shown, the computing device 500 may include one or more processors 510, a bus 550, a communication interface 570, a memory 530 loaded with a computer program 591 executed by the processor 510, and a storage device 590 storing the computer program 591. However, Figure 9 Only the constituent elements relevant to embodiments of the present invention are shown. Therefore, those skilled in the art will understand that, in addition to... Figure 9 In addition to the constituent elements shown, other general constituent elements may be further included.

[0123] The processor 510 controls the overall operation of each component of the computing device 500. The processor 510 may be configured as at least one of a CPU (Central Processing Unit), MPU (Micro Processor Unit), MCU (Micro Controller Unit), GPU (Graphics Processing Unit), or any type of processor well known in the art. Furthermore, the processor 510 can execute operations for running at least one application program or program that performs methods / actions according to various embodiments of the present invention. The computing device 500 may have more than one processor.

[0124] The memory 530 stores various data, commands, and / or information. To perform methods / actions according to various embodiments of the present invention, the memory 530 can load one or more programs 591 from the storage device 590. Examples of the memory 530 may be RAM, but it is not limited thereto.

[0125] Bus 550 provides communication functionality between the components of computing device 500. Bus 550 can be implemented using various bus types, such as address bus, data bus, and control bus.

[0126] The communication interface 570 supports wired or wireless Internet communication with the computing device 500. The communication interface 570 can also support various communication methods other than Internet communication. Therefore, the communication interface 570 can be configured using communication modules well-known in the art.

[0127] Storage device 590 can non-temporarily store one or more computer programs 591. Storage device 590 may include non-volatile memory such as ROM (Read Only Memory), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), flash memory, hard disk, removable disk, or any form of computer-readable recording medium known in the art to which this invention pertains.

[0128] Computer program 591 may include one or more instructions that implement the methods / actions according to various embodiments of the present invention.

[0129] For example, computer program 591 may include instructions to perform the following actions: obtaining a one-time password from a first URL in response to a protocol request from a user terminal; verifying the validity of the one-time password; and, when the one-time password is valid, providing the user terminal with corresponding Internet resource address information based on the one-time password. In this case, the user terminal can obtain the first URL by recognizing a QR code displayed on a QR code terminal, send the protocol request to the location specified by the first URL, and access order information using the Internet resource address information provided in response to the protocol request.

[0130] When computer program 591 is loaded into memory 530, processor 510 can execute methods / actions according to various embodiments of the present invention by executing one or more instructions.

[0131] The technical concept of the present invention described above can be implemented in computer-readable code on a computer-readable medium. The computer-readable recording medium may be, for example, a portable recording medium (CD, DVD, Blu-ray disc, USB storage device, portable hard drive) or a fixed recording medium (ROM, RAM, computer internal hard drive). The computer program recorded on the computer-readable recording medium can be transmitted to other computing devices via networks such as the Internet and installed on those other computing devices, thereby enabling its use on those other computing devices.

[0132] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, those skilled in the art should understand that the present invention can be implemented in other specific forms without changing its technical concept or essential features. Therefore, the embodiments described above should be understood in all respects as exemplary rather than limiting. The scope of protection of the present invention should be interpreted through the following claims, and all technical concepts within the same scope should be interpreted as being included within the scope of the technical concepts defined by the present invention.

Claims

1. A method for providing order information using a dynamic QR code, wherein the method is executed by a computing device, comprising: The step of obtaining a one-time password from a first URL in response to a protocol request from a user terminal; The steps for verifying the validity of the one-time password; as well as When the one-time password is valid, the step of providing the user terminal with Internet resource address information corresponding to the one-time password; The user terminal obtains the first URL by recognizing the QR code displayed on the QR code terminal, sends the protocol request to the location specified by the first URL, and accesses the order information using the Internet resource address information provided in response to the protocol request.

2. The method for providing order information using dynamic QR codes according to claim 1, wherein, The QR code terminal generates the QR code independently without data communication with other external devices.

3. The method for providing order information using dynamic QR codes according to claim 1, wherein, The QR code terminal generates the one-time password using a predetermined encryption algorithm, and generates the QR code based on the generated one-time password.

4. The method for providing order information using dynamic QR codes according to claim 3, wherein, The predetermined encryption algorithm is a hash function-based algorithm that outputs the one-time password by taking the timestamp value as at least one input value.

5. The method for providing order information using dynamic QR codes according to claim 1, wherein, The steps for verifying the validity of the one-time password include: The steps of generating a reference cipher based on a secret key and timestamp value pre-shared with the QR code terminal; and, The step of determining that the one-time password is valid when it matches the reference password.

6. The method for providing order information using dynamic QR codes according to claim 5, wherein, The one-time password and the reference password are TOTPs that change at predetermined time intervals.

7. The method for providing order information using dynamic QR codes according to claim 1, wherein, The steps for providing the Internet resource address information to the user terminal are as follows: calculate one or more reference passwords with reference to a predetermined identification table, then retrieve the row containing the reference password that has the same value as the one-time password from the one or more reference passwords, query the second URL from the retrieved row, and then provide the queried second URL as the Internet resource address information to the user terminal.

8. The method for providing order information using dynamic QR codes according to claim 1, wherein, The step of providing the Internet resource address information to the user terminal is as follows: providing the session key used to access the order information together with the Internet resource address information.

9. The method for providing order information using dynamic QR codes according to claim 8, wherein, The session key is a newly generated or selected value in response to the protocol request.

10. The method for providing order information using dynamic QR codes according to claim 8, wherein, The Internet resource address information includes the address of the Internet resource device on the Internet network that provides the order information to the user terminal and processes the order request of the user terminal. The user terminal presents the session key to the Internet resource device in order to prove its access rights. The Internet resource device verifies the validity of the session key provided and processes the order request from the user terminal only if the session key is valid.

11. An order information providing device utilizing a dynamic QR code, comprising: processor; Memory loaded with computer programs executed by the processor; as well as, Storage device for storing the computer program; The computer program includes instructions for performing the following actions: obtaining a one-time password from a first URL in response to a protocol request from a user terminal; verifying the validity of the one-time password; and providing Internet resource address information corresponding to the one-time password to the user terminal when the one-time password is valid. The user terminal obtains the first URL by recognizing the QR code displayed on the QR code terminal, sends the protocol request to the location specified by the first URL, and accesses the order information using the Internet resource address information provided in response to the protocol request.