A method for generating a merchant QR code

By generating a QR code containing regional links, the problem of merchant QR code links is solved, and a higher recognition rate and stronger security is achieved.

CN119782639APending Publication Date: 2025-04-08SUNYARD SYST ENG CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410597139.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing merchant QR code links are too long and complex, which reduces the accuracy of customers' scanning codes on their mobile phones to identify. At the same time, the merchant's sensitive information is exposed to the QR code links, which has the problem of low security.

Method used

Enter the necessary information through the registered merchant user, and the client processes and generates a QR code containing a regional link. The QR code link only contains the system-defined QR code number. The backend system obtains other information through this number and returns to the client.

Benefits of technology

This greatly reduces the length of the QR code link, improves the recognition rate of the QR code, and enhances the security and confidentiality of the QR code by hiding sensitive merchant information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119782639A_ABST
    Figure CN119782639A_ABST
Patent Text Reader

Abstract

The present invention discloses a method for generating a merchant QR code, comprising the following steps: S01, registering a merchant user terminal and inputting necessary information; S02, the client collects the necessary information and stores it to form first data; S03, processing the necessary information according to a predetermined algorithm, and generating a QR code containing a regional link that can be recognized by the client; S04, creating a private key for accessing the first data according to the regional link. The merchant QR code generation method provided by the invention shortens the QR code link length, reduces the complexity of the QR code after generation, and increases the efficiency of customer scanning and recognition; and sensitive information such as the merchant number and merchant name is not directly exposed in the QR code link, thereby increasing the security and confidentiality of the QR code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of two-dimensional code payment, and in particular to a method for generating a merchant two-dimensional code. Background Art

[0002] QR code payment is a new generation of wireless payment solution based on an account system. Under this payment solution, merchants can compile transaction information such as account number and product price into a QR code and print it on various newspapers, magazines, advertisements, books and other media.

[0003] Users can scan the QR code through the mobile client or the merchant can use the electronic payment tool to scan the user's payment code to complete the payment settlement with the merchant account. Finally, the merchant can deliver the goods and complete the transaction based on the user's receipt and contact information in the payment transaction information.

[0004] The QR code link of the current merchant aggregate payment QR code consists of the merchant number, merchant name, store number, store name + clerk number and clerk name, which causes the following problems: The QR code link is long and the QR code is complex after generation, which reduces the recognition rate of customers' mobile phone scanning; Sensitive merchant information such as merchant number and merchant name is directly exposed in plain text, which has low security. Summary of the invention

[0005] The purpose of the present invention is to provide a method for generating a merchant QR code to solve the above problems.

[0006] In order to achieve the above object, the present invention provides the following technical solution: a method for generating a merchant QR code, comprising the following steps: S01. Register the merchant client and enter the necessary information; S02. The client collects and stores the necessary information to form first data; S03, processing the necessary information according to a predetermined algorithm, and generating a QR code containing a regional link that can be recognized by the client; S04. Create a private key for accessing the first data according to the regional link.

[0007] Preferably, the necessary information includes merchant number, merchant name, store number, store name + clerk number and clerk name.

[0008] Preferably, the client identifies the QR code based on qrcodeId.

[0009] Preferably, the regional link of the QR code containing the regional link is https: / / domain name.qrcodeId=xxxxxxxx.

[0010] Preferably, the method for generating a two-dimensional code comprises the following steps: S31, determining the positions of the positioning points of at least four vertex corners, connecting the positioning points of the four vertex corners with virtual points to form a rectangular wireframe, and determining the center of the inner circle under the rectangular wireframe; S32, a plurality of peripheral positioning patterns, wherein the plurality of peripheral positioning patterns are distributed on the circumference of the same circle; S33, a center positioning figure, the center positioning figure is located at the center of the circle, and the center positioning figure defines an angle, and the angle points to one of the peripheral positioning points; S34, multiple data graphics, the multiple data graphics are distributed on multiple data lines respectively, each data line corresponds to one peripheral positioning graphic, so that the peripheral positioning graphic corresponding to the regional link is connected to the central positioning graphic.

[0011] Preferably, the method for generating a private key for accessing the first data under the regional link includes: S41, identifying the QR code when the client accesses the network; S42, obtaining the region link under the QR code and performing network access to obtain the necessary information.

[0012] Preferably, the method for generating a private key for accessing the first data includes: S43, using the ID address of the merchant user terminal that enters the necessary information and the data entry time as a seed share, wherein the time is specific to seconds; S43, inputting into a hash function based on the seed share to generate a data item; S44. Generate an HMAC value into the HMAC function based on the data item.

[0013] In the above technical solution, the method for generating a merchant QR code provided by the present invention has the following beneficial effects: the generated QR code element only includes the QR code number defined by the system for the merchant, and other information is returned to the client after being obtained by the backend system through the number, which greatly reduces the length of the QR code link. In addition, the QR code number is the only mark of the merchant's payment code, and the QR code link only consists of the QR code number, and sensitive information such as the merchant number and merchant name are not directly exposed in the QR code link, which increases the security and confidentiality of the QR code. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0015] Figure 1 A flowchart of an embodiment of the present invention is provided. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0017] like Figure 1 As shown, a method for generating a merchant QR code includes the following steps: S01. Register the merchant client and enter the necessary information; S02. The client collects and stores necessary information to form first data; S03. Process the necessary information according to a predetermined algorithm and generate a QR code containing a regional link that can be recognized by the client; S04. Create a private key for accessing the first data according to the regional link.

[0018] Among them: necessary information includes merchant number, merchant name, store number, store name clerk number and clerk name.

[0019] Secondly, the client in the above embodiment identifies the QR code based on qrcodeId.

[0020] Furthermore, the regional link of the QR code containing the regional link is https: / / domain name.qrcodeId=xxxxxxxx.

[0021] As the best embodiment provided by the present invention, the method for generating a two-dimensional code comprises the following steps: S31, determining the positions of at least four vertices' positioning points, connecting the four vertices' positioning points with virtual points to form a rectangular wireframe, and determining the center of the inner circle under the rectangular wireframe; S32, multiple peripheral positioning patterns, the multiple peripheral positioning patterns are distributed on the circumference of the same circle; S33, a center positioning figure, the center positioning figure is located at the center of the circle, and the center positioning figure defines an angle, and the angle points to one of the peripheral positioning points; S34, multiple data graphics, the multiple data graphics are distributed on multiple data lines respectively, each data line corresponds to a peripheral positioning graphic, so that the peripheral positioning graphics and the central positioning graphics corresponding to the regional links are contained.

[0022] As the best embodiment provided by the present invention, a method for generating a private key for accessing first data under a regional link includes: S41, when the client accesses the network, identifying the QR code; S42. Obtain the regional link contained in the QR code and access the network to obtain necessary information.

[0023] As the best embodiment provided by the present invention, the method for generating a private key for accessing first data includes: S43, the ID address of the merchant user terminal that enters the necessary information and the data entry time are used as the seed share, where the time is specific to seconds; S43, inputting into a hash function based on the seed share to generate a data item; S44. Generate an HMAC value into the HMAC function based on the data item.

[0024] In the above technology, the generated QR code element only includes the QR code number defined by the system for the merchant, and other information is obtained by the backend system through the number and returned to the client, which greatly reduces the length of the QR code link. In addition, the QR code number is the only symbol of the merchant's payment code, and the QR code link only consists of the QR code number. Sensitive information such as the merchant number and merchant name are not directly exposed in the QR code link, which increases the security and confidentiality of the QR code.

[0025] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0026] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0027] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0028] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0029] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0030] The embodiments of the present application also provide a specific implementation of an electronic device capable of implementing all steps of the method in the above embodiments, and the electronic device specifically includes the following contents: Processor, memory, communications interface and bus; Wherein, the processor, memory, and communication interface communicate with each other via the bus; The processor is used to call the computer program in the memory, and when the processor executes the computer program, all the steps in the method in the above embodiment are implemented.

[0031] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the method in the above embodiments, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, all the steps of the method in the above embodiments are implemented.

[0032] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Although the embodiment of this specification provides the method operation steps as described in the embodiment or flowchart, more or fewer operation steps may be included based on conventional or non-creative means. The order of steps listed in the embodiment is only one way of executing the order of many steps, and does not represent the only execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiment or the accompanying drawings (for example, a parallel processor or a multi-threaded processing environment, or even a distributed data processing environment). The term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the embodiments of this specification, the functions of each module can be implemented in the same or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0033] Those skilled in the art should understand that the embodiments of this specification can be provided as methods, systems or computer program products. Therefore, the embodiments of this specification can be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of this specification can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification.

[0034] In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradicting each other. The above is only an embodiment of the embodiment of this specification and is not intended to limit the embodiment of this specification. For those skilled in the art, the embodiment of this specification may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiment of this specification shall be included in the scope of the claims of the embodiment of this specification.

Claims

1. A method for generating a merchant QR code, characterized in that: The following steps are involved: S01. Register the merchant client and enter the necessary information; S02. The client collects and stores the necessary information to form first data; S03, processing the necessary information according to a predetermined algorithm, and generating a QR code containing a regional link that can be recognized by the client; S04. Create a private key for accessing the first data according to the regional link.

2. A method for generating a merchant QR code according to claim 1, characterized in that: The necessary information includes merchant number, merchant name, store number, store name, clerk number and clerk name.

3. The method for generating a merchant QR code according to claim 1, characterized in that: The client identifies the QR code based on qrcodeId.

4. The method for generating a merchant QR code according to claim 1, characterized in that: The regional link of the QR code containing the regional link is https: / / domain name.qrcodeId=xxxxxxxx.

5. The method for generating a merchant QR code according to claim 1, characterized in that: The method for generating a two-dimensional code comprises the following steps: S31, determining the positions of the positioning points of at least four vertex corners, connecting the positioning points of the four vertex corners with virtual points to form a rectangular wireframe, and determining the center of the inner circle under the rectangular wireframe; S32, a plurality of peripheral positioning patterns, wherein the plurality of peripheral positioning patterns are distributed on the circumference of the same circle; S33, a center positioning figure, the center positioning figure is located at the center of the circle, and the center positioning figure defines an angle, and the angle points to one of the peripheral positioning points; S34, multiple data graphics, the multiple data graphics are distributed on multiple data lines respectively, each data line corresponds to one peripheral positioning graphic, so that the peripheral positioning graphic corresponding to the regional link is connected to the central positioning graphic.

6. A method for generating a merchant QR code according to claim 1, characterized in that: The method for generating a private key for accessing the first data under the regional link comprises: S41, identifying the QR code when the client accesses the network; S42, obtaining the region link under the QR code and performing network access to obtain the necessary information.

7. A method for generating a merchant QR code according to claim 1, characterized in that: The method of generating a private key for accessing the first data includes: S43, using the ID address of the merchant client that enters the necessary information and the data entry time as a seed share, wherein the time is specific to seconds; S43, inputting into a hash function based on the seed share to generate a data item; S44. Generate an HMAC value into the HMAC function based on the data item.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method for generating a merchant QR code according to any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for generating a merchant QR code as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Two-dimensional code generation method and device, equipment and storage medium

    CN121234975A