Application scene variable two-dimensional code processing method and device, equipment and medium

By updating the scene type and coding fields of the initial two -dimensional code on the server side, the QR code that adapts to the target application scenarios is generated, and the problem of cumbersome application scenarios in existing technologies has been solved, and the two -dimensional code generation efficiency is improved.

CN119377506APending Publication Date: 2025-01-28四川中仑数科科技有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411263680.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

During the production of existing QR codes, the application scenario changes are complicated, which affects the effective generation of QR codes.

Method used

By obtaining a QR code restricted by the initial unspeaks from the server, obtain the types and coding fields of the target application scenario, establish a binding relationship, and update the scene type type and encoding field to the server to generate the QR code that adapts to the target application scenario Essence

Benefits of technology

Simplify the production process of the QR code, improve the efficiency of application scenarios, and ensure the flexibility and maintenance of the QR code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119377506A_ABST
    Figure CN119377506A_ABST
Patent Text Reader

Abstract

The invention provides an application scene variable two-dimensional code processing method and device, equipment and a medium, and the method comprises the steps: obtaining an initial two-dimensional code from a server, the initial two-dimensional code being used for describing a two-dimensional code which is not limited by an application scene, and the server storing a scene type field and a scene code field corresponding to the initial two-dimensional code; obtaining a target type field and a target coding field corresponding to the target application scene; establishing a binding relationship among the initial two-dimensional code, a target type field corresponding to the target application scene and a target coding field; sending a target type field and a target coding field corresponding to the target application scene to a server, so that the server updates a scene type field and a scene coding field corresponding to the initial two-dimensional code based on the target type field and the target coding field corresponding to the target application scene; and determining a target two-dimensional code in response to a field updating instruction of the server. Therefore, the generation efficiency of the two-dimensional code is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the technical field of two-dimensional code production, and in particular, to a two-dimensional code processing method, device, equipment and medium applicable to variable application scenarios. Background Art

[0002] In the daily operation of supermarkets or catering industries, QR codes have become an indispensable part. These QR codes are used for various purposes such as customer registration, event promotion, and ordering services. For the above purposes, the usage scenarios need to be fixed in advance before the QR code is used, and fixed types and parameters need to be generated for subsequent processes.

[0003] Each link of the QR code generation, design, production, printing and posting is crucial. In the related technology, if a QR code for a new usage scenario needs to be re-produced, multiple processes such as generation, design, production, printing and posting need to be repeated.

[0004] However, with the existing method, the application scenarios of the QR code are limited. When the application scenario needs to be changed, the QR code production process is relatively cumbersome, which affects the effective generation of the QR code. Summary of the invention

[0005] The embodiments described herein provide a two-dimensional code processing method, apparatus, device, and medium with variable application scenarios, which overcome the above-mentioned problems.

[0006] In a first aspect, according to the content of the present disclosure, a two-dimensional code processing method with variable application scenarios is provided, comprising:

[0007] Obtaining an initial QR code from a server, where the initial QR code is used to describe a QR code without application scenario restrictions, where the server stores a scene type field and a scene code field corresponding to the initial QR code, and both the scene type field and the scene code field corresponding to the initial QR code are empty fields;

[0008] Get the target type field and target code field corresponding to the target application scenario;

[0009] Establishing a binding relationship between the initial QR code, the target type field and the target code field corresponding to the target application scenario;

[0010] Sending a target type field and a target code field corresponding to the target application scenario to the server, so that the server updates the scene type field and the scene code field corresponding to the initial two-dimensional code based on the target type field and the target code field corresponding to the target application scenario;

[0011] In response to the field update indication from the server, determining a target QR code;

[0012] The target two-dimensional code is used to describe the two-dimensional code restricted by the target application scenario, and the target type field and target encoding field corresponding to the target two-dimensional code are stored in the current state of the server.

[0013] Optionally, the target type field and target code field corresponding to the target application scenario are obtained, including:

[0014] Receiving merchant operation information sent by a first merchant, wherein the merchant operation information includes: an operation type of the first merchant;

[0015] Determining a corresponding target application scenario based on the operation type of the first merchant;

[0016] Determine the target type field and the target code field corresponding to the target application scenario from the field database.

[0017] Optionally, after determining the target QR code in response to the field update indication of the server, the method further includes:

[0018] Receiving an information scanning request for the target QR code from an offline user;

[0019] In response to an offline user's information scanning request for the target two-dimensional code, the target application scenario is displayed in a user display interface corresponding to the target two-dimensional code.

[0020] Optionally, also include:

[0021] In response to the information scanning request of the offline user for the target QR code, obtaining a QR code link corresponding to a second merchant associated with the target application scenario;

[0022] The QR code link corresponding to the second merchant is displayed in the user display interface corresponding to the target QR code.

[0023] Optionally, the obtaining a QR code link corresponding to a second merchant associated with the target application scenario includes:

[0024] Acquire multiple candidate merchants associated with the target application scenario;

[0025] Based on the location distance between each of the candidate merchants and the first merchant, and the operational association relationship between each of the candidate merchants and the first merchant, the second merchant is determined from the plurality of candidate merchants to obtain a QR code link corresponding to the second merchant.

[0026] Optionally, also include:

[0027] In response to the offline user triggering an operation on the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, the current display interface is jumped from the user display interface corresponding to the target QR code to the user display interface associated with the QR code link corresponding to the second merchant;

[0028] Among them, the user display interface associated with the QR code link corresponding to the second merchant displays the QR code link corresponding to the first merchant and the QR code link corresponding to the third merchant associated with the target application scenario, and the QR code link corresponding to the first merchant is used to describe the data link of the target QR code.

[0029] Optionally, also include:

[0030] Detecting whether the offline user generates consumption data in a user display interface associated with the QR code link corresponding to the second merchant;

[0031] If the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant, determining navigation route information for moving from the first merchant to the second merchant based on the location coordinates of the first merchant and the location coordinates of the second merchant;

[0032] Navigation route information for moving from the first merchant to the second merchant is sent to a user equipment of the offline user.

[0033] In a second aspect, according to the content of the present disclosure, a two-dimensional code processing device with variable application scenarios is provided, comprising:

[0034] A first acquisition module is used to acquire an initial QR code from a server, where the initial QR code is used to describe a QR code without application scenario restrictions, and the server stores a scene type field and a scene code field corresponding to the initial QR code, where both the scene type field and the scene code field corresponding to the initial QR code are empty fields;

[0035] The second acquisition module is used to acquire the target type field and the target code field corresponding to the target application scenario;

[0036] An establishment module, used to establish a binding relationship between the initial two-dimensional code, the target type field and the target code field corresponding to the target application scenario;

[0037] A sending module, used for sending a target type field and a target code field corresponding to the target application scenario to the server, so that the server updates the scene type field and the scene code field corresponding to the initial two-dimensional code based on the target type field and the target code field corresponding to the target application scenario;

[0038] A determination module, configured to determine a target QR code in response to a field update indication from the server;

[0039] The target two-dimensional code is used to describe the two-dimensional code restricted by the target application scenario, and the target type field and target encoding field corresponding to the target two-dimensional code are stored in the current state of the server.

[0040] In a third aspect, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the QR code processing method with variable application scenarios as in any of the above embodiments are implemented.

[0041] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a two-dimensional code processing method with variable application scenarios as in any of the above embodiments are implemented.

[0042] The embodiment of the present application provides a method for processing a QR code with variable application scenarios, which obtains an initial QR code from a server, the initial QR code being used to describe a QR code without application scenario restrictions, the server storing a scene type field and a scene coding field corresponding to the initial QR code, and the scene type field and the scene coding field corresponding to the initial QR code are both empty fields; obtains a target type field and a target coding field corresponding to a target application scenario; establishes a binding relationship between the initial QR code and the target type field and the target coding field corresponding to the target application scenario; sends the target type field and the target coding field corresponding to the target application scenario to the server, so that the server updates the scene type field and the scene coding field corresponding to the initial QR code based on the target type field and the target coding field corresponding to the target application scenario; determines the target QR code in response to a field update indication from the server; wherein the target QR code is used to describe a QR code restricted by the target application scenario, and the target type field and the target coding field corresponding to the target QR code are stored in the current state of the server. In this way, by obtaining the initial QR code without application scenario restrictions from the server, and binding the initial QR code with the target type field and target coding field corresponding to the target application scenario on the terminal, it is convenient to update the scene type field and scene coding field of the initial QR code on the server side to obtain the target QR code for a fixed application scenario, thereby effectively improving the efficiency of QR code generation.

[0043] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure, wherein:

[0045] Figure 1 It is a flowchart of a two-dimensional code processing method with variable application scenarios provided by the present invention.

[0046] Figure 2 It is a structural schematic diagram of a two-dimensional code processing device with variable application scenarios provided by the present disclosure.

[0047] Figure 3 It is a structural schematic diagram of a computer device provided by the present disclosure.

[0048] It should be noted that the elements in the drawings are schematic and not drawn to scale. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.

[0050] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by a person skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together directly or through one or more intermediate components.

[0051] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0052] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists, A and B exist at the same time, and B exists. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. Terms such as "first" and "second" are only used to distinguish one component (or a part of a component) from another component (or another part of a component).

[0053] In the description of the present application, unless otherwise specified, "plurality" means more than two (including two), and similarly, "multiple groups" means more than two groups (including two).

[0054] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0055] Figure 1 is a flow chart of a two-dimensional code processing method with variable application scenarios provided by an embodiment of the present disclosure, such as Figure 1 As shown, the specific process of the QR code processing method with variable application scenarios includes:

[0056] S110: Obtain an initial QR code from a server, where the server stores a scene type field and a scene code field corresponding to the initial QR code.

[0057] Among them, the initial QR code is used to describe a QR code without application scenario restrictions, and the scene type field and scene code field corresponding to the initial QR code are both empty fields.

[0058] The initial QR code can be created in the server. For example, enter the merchant management system (server), configure the creation rules of the initial QR code in the server, and generate the completed initial QR code. The creation rules can include compatible platforms, production quantity, production style, etc.

[0059] It should be noted that the initial QR code referred to in this embodiment is an interface call and configuration in a third-party platform through a common link QR code, and the scene type field and scene code field of the unrestricted application scene are brought into the configuration interface link and stored in the server. It is convenient to obtain the initial QR code from the server to update the scene type field and scene code field when converting the unrestricted scene into a specific scene.

[0060] S120. Obtain a target type field and a target code field corresponding to the target application scenario.

[0061] The target type field is used to describe the usage type corresponding to the target application scenario, such as catering, supermarkets, etc. The target code field is used to describe the digital representation of the target application scenario in the server, and is used to record the specific application situation / application environment of the target application scenario.

[0062] In some embodiments, obtaining a target type field and a target code field corresponding to a target application scenario includes:

[0063] Receive merchant operation information sent by the first merchant, the merchant operation information including: the operation type of the first merchant; determine the corresponding target application scenario based on the operation type of the first merchant; and determine the target type field and the target code field corresponding to the target application scenario from a field database.

[0064] Among them, the operation type of the first merchant can be used to describe the specific business scope of the first merchant, such as catering, supermarkets, etc.

[0065] The field database stores business type fields and business code fields corresponding to multiple business application scenarios. Determining the target type field and target code field corresponding to the target application scenario from the field database may include: matching the target application scenario with each business application scenario based on the target application scenario; and determining the business type field and business code field corresponding to a business application scenario that best matches the target application scenario as the target type field and target code field corresponding to the target application scenario.

[0066] Therefore, by determining the operation type of the first merchant, it is convenient to effectively determine its corresponding target application scenario, and then quickly match the target type field and target code field corresponding to the target application scenario from the field database.

[0067] S130: Establish an initial QR code and a binding relationship between a target type field and a target code field corresponding to a target application scenario.

[0068] Among them, a binding relationship between the initial QR code, the target type field and the target coding field corresponding to the target application scenario can be established in the terminal. For example, the same data identifier can be set for the initial QR code, the target type field and the target coding field corresponding to the target application scenario, respectively, to facilitate the effective binding of the initial QR code, the target type field and the target coding field corresponding to the target application scenario.

[0069] S140. Send the target type field and the target code field corresponding to the target application scenario to the server, so that the server updates the scene type field and the scene code field corresponding to the initial QR code based on the target type field and the target code field corresponding to the target application scenario.

[0070] Among them, when the server updates the scene type field and scene code field corresponding to the initial QR code based on the target type field and target code field corresponding to the target application scenario, the initial QR code field can be updated by replacing the scene type field corresponding to the initial QR code with the target type field corresponding to the target application scenario, and replacing the scene code field corresponding to the initial QR code with the target code field corresponding to the target application scenario.

[0071] S150. Determine a target QR code in response to a field update instruction from the server.

[0072] The target QR code is used to describe the QR code restricted by the target application scenario. The server currently stores the target type field and target code field corresponding to the target QR code. The target QR code is the QR code obtained by updating and filling the scene type field and scene code field corresponding to the initial QR code.

[0073] In addition, in an actual scenario, if the first merchant needs to convert the application scenario of the target QR code, the method of this embodiment may also include: sending other type fields and other coding fields corresponding to other application scenarios to the server, so that the server updates the target type field and target coding field corresponding to the target QR code based on the other type fields and other coding fields corresponding to other application scenarios, so as to quickly obtain other QR codes corresponding to other application scenarios that are different from the target application scenarios.

[0074] Correspondingly, other types of fields and other encoding fields corresponding to other QR codes are stored in the current state of the server.

[0075] In this embodiment, an initial QR code is obtained from a server, the initial QR code is used to describe a QR code without application scenario restrictions, and the server stores a scene type field and a scene coding field corresponding to the initial QR code, and the scene type field and the scene coding field corresponding to the initial QR code are both empty fields; the target type field and the target coding field corresponding to the target application scenario are obtained; a binding relationship between the initial QR code and the target type field and the target coding field corresponding to the target application scenario is established; the target type field and the target coding field corresponding to the target application scenario are sent to the server, so that the server updates the scene type field and the scene coding field corresponding to the initial QR code based on the target type field and the target coding field corresponding to the target application scenario; in response to the server's field update indication, the target QR code is determined; wherein, the target QR code is used to describe the QR code restricted by the target application scenario, and the target type field and the target coding field corresponding to the target QR code are stored in the current state of the server. In this way, by obtaining the initial QR code without application scenario restrictions from the server, and binding the initial QR code with the target type field and target coding field corresponding to the target application scenario on the terminal, it is convenient to update the scene type field and scene coding field of the initial QR code on the server side to obtain the target QR code for a fixed application scenario, thereby effectively improving the efficiency of QR code generation.

[0076] In summary, the QR code production (the process of the system generating the QR code) in this embodiment is a non-scene-restricted one, that is, when the system generates it, it will not deliberately mark what scene it is used in, and it does not carry the type (parameter) of a specific scene. On the contrary, the existing QR code will fix the usage scene from the beginning, and add the corresponding type, scene value, etc. to the QR code. In this embodiment, if you want to change the scene associated with a QR code, you only need to update the information stored on the server. Such a system design ensures the flexibility and maintainability of the QR code, and also simplifies the operation process of the merchant.

[0077] In some embodiments, in response to the field update instruction of the server, after determining the target QR code, the method further includes:

[0078] Receive an offline user's information scanning request for a target QR code; in response to the offline user's information scanning request for the target QR code, display a target application scenario in a user display interface corresponding to the target QR code.

[0079] Among them, the offline user's information scanning request for the target QR code is a request initiated by the offline user to scan the target QR code through a third-party platform.

[0080] After the offline user scans the target QR code, the target application scenario can be displayed in the user display interface corresponding to the target QR code, so that the offline user can intuitively view the target application scenario corresponding to the target QR code.

[0081] In some embodiments, the method of this embodiment further includes:

[0082] In response to an offline user's information scanning request for a target QR code, a QR code link corresponding to a second merchant associated with the target application scenario is obtained; and the QR code link corresponding to the second merchant is displayed in a user display interface corresponding to the target QR code.

[0083] Among them, the operation scenario corresponding to the second merchant is the same as the operation scenario corresponding to the first merchant, and both are target application scenarios.

[0084] Before displaying the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, it may also include: detecting the browsing time of offline users in the user display interface corresponding to the target QR code, if the browsing time of offline users in the user display interface corresponding to the target QR code is greater than the preset time, then executing the operation of displaying the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code.

[0085] Therefore, when it is determined that the offline user's browsing time in the user display interface corresponding to the target QR code is greater than the preset time, in this case, it can be considered that the offline user has no browsing interest (or consumption interest) in the first merchant. At this time, by displaying the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, it is convenient to provide offline users with more merchant choices, so that users can select products according to their personal wishes.

[0086] In some embodiments, obtaining a QR code link corresponding to a second merchant associated with the target application scenario includes:

[0087] Acquire multiple candidate merchants associated with the target application scenario; determine a second merchant from the multiple candidate merchants based on the location distance between each candidate merchant and the first merchant and the operational association relationship between each candidate merchant and the first merchant to obtain a QR code link corresponding to the second merchant.

[0088] Wherein, based on the location distance between each candidate merchant and the first merchant and the operational association relationship between each candidate merchant and the first merchant, determining the second merchant from multiple candidate merchants may include: based on the operational association relationship between each candidate merchant and the first merchant, selecting at least two candidate merchants with a relatively close operational association relationship with the first merchant from multiple candidate merchants; based on the location distance between the at least two candidate merchants and the first merchant, selecting a candidate merchant with the closest location distance from the at least two candidate merchants as the second merchant. This facilitates offline users to continue browsing similar merchants online.

[0089] The operational association relationship may be the similarity between the types of shops operated by the candidate merchant and the first merchant. The higher the similarity between the types of shops operated by the candidate merchant and the first merchant, the closer the operational association relationship between the candidate merchant and the first merchant.

[0090] For example, the candidate merchants are Merchant A and Merchant B, and the types of shops they operate are hot pot restaurants and coffee shops respectively. The type of shop operated by the first merchant is Malatang restaurant. The candidate merchant that has a close operational relationship with the first merchant is Merchant A.

[0091] In some embodiments, the method of this embodiment may further include:

[0092] In response to the offline user triggering the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, the current display interface jumps from the user display interface corresponding to the target QR code to the user display interface associated with the QR code link corresponding to the second merchant.

[0093] Among them, the user display interface associated with the QR code link corresponding to the second merchant displays the QR code link corresponding to the first merchant and the QR code link corresponding to the third merchant associated with the target application scenario. The QR code link corresponding to the first merchant is used to describe the data link of the target QR code.

[0094] In the user display interface corresponding to the target QR code, the offline user can trigger the QR code link corresponding to the second merchant by single-clicking, double-clicking, sliding, etc.

[0095] Therefore, when it is detected that an offline user triggers the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, it indicates that the offline user has an online demand to browse the second merchant. The current display interface will be jumped from the user display interface corresponding to the target QR code to the user display interface associated with the QR code link corresponding to the second merchant, so as to facilitate the user's immersive merchant browsing.

[0096] In some embodiments, the method of this embodiment may further include:

[0097] Detect whether the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant; if the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant, determine the navigation route information from the first merchant to the second merchant based on the location coordinates of the first merchant and the location coordinates of the second merchant; send the navigation route information from the first merchant to the second merchant to the user device of the offline user.

[0098] Among them, when the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant, at this time, since the offline user jumps to the user display interface associated with the QR code link corresponding to the second merchant through the interface, the location of the offline user is still the location coordinates of the first merchant.

[0099] The navigation route information may include: the travel time required to move from the first merchant to the second merchant, and the accurate travel route from the first merchant to the second merchant.

[0100] Thus, when it is determined that the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant, the navigation route information from the first merchant to the second merchant is determined based on the location coordinates of the first merchant and the location coordinates of the second merchant, and the navigation route information from the first merchant to the second merchant is sent to the user device of the offline user. The navigation route information from the first merchant to the second merchant is promptly informed to the offline user, so that the user can quickly find the second merchant to extract the goods.

[0101] Figure 2 A structural schematic diagram of a QR code processing device with variable application scenarios provided in this embodiment, the QR code processing device with variable application scenarios may include: a first acquisition module 210, a second acquisition module 220, an establishment module 230, a sending module 240 and a determination module 250.

[0102] The first acquisition module 210 is used to obtain an initial QR code from a server. The initial QR code is used to describe a QR code without application scenario restrictions. The server stores a scene type field and a scene coding field corresponding to the initial QR code. The scene type field and the scene coding field corresponding to the initial QR code are both empty fields.

[0103] The second acquisition module 220 is used to acquire a target type field and a target code field corresponding to a target application scenario.

[0104] The establishment module 230 is used to establish an initial two-dimensional code and a binding relationship between a target type field and a target code field corresponding to a target application scenario.

[0105] The sending module 240 is used to send the target type field and target code field corresponding to the target application scenario to the server, so that the server updates the scene type field and scene code field corresponding to the initial QR code based on the target type field and target code field corresponding to the target application scenario.

[0106] The determination module 250 is used to determine the target QR code in response to the field update instruction of the server.

[0107] The target QR code is used to describe the QR code restricted by the target application scenario, and the target type field and target encoding field corresponding to the target QR code are stored in the current state of the server.

[0108] In this embodiment, optionally, the second acquisition module 220 is specifically configured to:

[0109] Receive merchant operation information sent by the first merchant, the merchant operation information including: the operation type of the first merchant; determine the corresponding target application scenario based on the operation type of the first merchant; and determine the target type field and the target code field corresponding to the target application scenario from a field database.

[0110] In this embodiment, optionally, it also includes: a receiving module and a display module.

[0111] The receiving module is used to receive information scanning requests for target QR codes from offline users.

[0112] The display module is used to respond to an offline user's information scanning request for the target QR code and display the target application scenario in a user display interface corresponding to the target QR code.

[0113] In this embodiment, optionally, it also includes: a third acquisition module.

[0114] The third acquisition module is used to respond to the offline user's information scanning request for the target QR code and obtain the QR code link corresponding to the second merchant associated with the target application scenario.

[0115] The display module is also used to display the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code.

[0116] In this embodiment, optionally, the third acquisition module is specifically used to:

[0117] Acquire multiple candidate merchants associated with the target application scenario; determine a second merchant from the multiple candidate merchants based on the location distance between each candidate merchant and the first merchant and the operational association relationship between each candidate merchant and the first merchant to obtain a QR code link corresponding to the second merchant.

[0118] In this embodiment, optionally, it also includes: a jump module.

[0119] The jump module is used to respond to the offline user's triggering operation on the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, and jump the current display interface from the user display interface corresponding to the target QR code to the user display interface associated with the QR code link corresponding to the second merchant.

[0120] Among them, the user display interface associated with the QR code link corresponding to the second merchant displays the QR code link corresponding to the first merchant and the QR code link corresponding to the third merchant associated with the target application scenario. The QR code link corresponding to the first merchant is used to describe the data link of the target QR code.

[0121] In this embodiment, optionally, it also includes: a detection module.

[0122] The detection module is used to detect whether the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant.

[0123] The determination module 250 is also used to determine the navigation route information from the first merchant to the second merchant based on the location coordinates of the first merchant and the location coordinates of the second merchant if the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant.

[0124] The sending module 240 is further configured to send navigation route information from the first merchant to the second merchant to the user equipment of the offline user.

[0125] The two-dimensional code processing device with variable application scenarios provided by the present disclosure can execute the above method embodiments. Its specific implementation principles and technical effects can be found in the above method embodiments, and the present disclosure will not repeat them here.

[0126] The present application also provides a computer device. Figure 3 , Figure 3 This is a basic structural block diagram of the computer device in this embodiment.

[0127] The computer device includes a memory 310 and a processor 320 that are connected to each other through a system bus. It should be noted that the figure only shows a computer device with a memory 310 and a processor 320, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0128] Computer devices can be computing devices such as desktop computers, notebooks, PDAs, and cloud servers. Computer devices can interact with users through keyboards, mice, remote controls, touch pads, or voice control devices.

[0129] The memory 310 includes at least one type of readable storage medium, and the readable storage medium includes a non-volatile memory or a volatile memory, for example, a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc., and the RAM may include a static RAM or a dynamic RAM. In some embodiments, the memory 310 may be an internal storage unit of a computer device, for example, a hard disk or a memory of the computer device. In other embodiments, the memory 310 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card (FlashCard) equipped on the computer device. Of course, the memory 310 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 310 is generally used to store the operating system and various application software installed on the computer device, such as the program code of the above method. In addition, the memory 310 may also be used to temporarily store various data that have been output or are to be output.

[0130] The processor 320 is generally used to perform the overall operation of the computer device. In this embodiment, the memory 310 is used to store program codes or instructions, the program code includes computer operation instructions, and the processor 320 is used to execute the program codes or instructions stored in the memory 310 or process data, such as running the program code of the above method.

[0131] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus system can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0132] Another embodiment of the present application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads a computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or a combination of steps in the above method; and generate a device for implementing the functional actions specified in each block or a combination of blocks in the block diagram.

[0133] Computer-readable media include but are not limited to electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any appropriate combination of the foregoing, the memory is used to store program codes or instructions, the program codes include computer operating instructions, and the processor is used to execute the program codes or instructions of the above methods stored in the memory.

[0134] For the definitions of memory and processor, please refer to the description of the aforementioned computer device embodiment and will not be repeated here.

[0135] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and 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.

[0136] Each functional unit or module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0137] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0138] In the claims, any reference symbols placed between brackets shall not be construed as limiting the claims. The word "comprising" described in the present application does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented with the aid of hardware comprising several different elements and with the aid of a suitably programmed computer. In a unit claim that lists a number of devices, several units of these devices may be embodied by the same hardware item. The use of first, second, and third, etc. does not indicate any order, and these words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

[0139] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A two-dimensional code processing method with variable application scenarios, characterized in that: include: Obtaining an initial QR code from a server, where the initial QR code is used to describe a QR code without application scenario restrictions, where the server stores a scene type field and a scene code field corresponding to the initial QR code, and both the scene type field and the scene code field corresponding to the initial QR code are empty fields; Get the target type field and target code field corresponding to the target application scenario; Establishing a binding relationship between the initial QR code, the target type field and the target code field corresponding to the target application scenario; Sending a target type field and a target code field corresponding to the target application scenario to the server, so that the server updates the scene type field and the scene code field corresponding to the initial two-dimensional code based on the target type field and the target code field corresponding to the target application scenario; In response to the field update indication from the server, determining a target QR code; The target two-dimensional code is used to describe the two-dimensional code restricted by the target application scenario, and the target type field and target encoding field corresponding to the target two-dimensional code are stored in the current state of the server.

2. The method according to claim 1, characterized in that The target type field and target code field corresponding to the target application scenario are obtained, including: Receiving merchant operation information sent by a first merchant, wherein the merchant operation information includes: an operation type of the first merchant; Determining a corresponding target application scenario based on the operation type of the first merchant; Determine the target type field and the target code field corresponding to the target application scenario from the field database.

3. The method according to claim 2, characterized in that After determining the target QR code in response to the field update instruction of the server, the method further includes: Receiving an information scanning request for the target QR code from an offline user; In response to an offline user's information scanning request for the target two-dimensional code, the target application scenario is displayed in a user display interface corresponding to the target two-dimensional code.

4. The method according to claim 3, characterized in that Also includes: In response to the information scanning request of the offline user for the target QR code, obtaining a QR code link corresponding to a second merchant associated with the target application scenario; The QR code link corresponding to the second merchant is displayed in the user display interface corresponding to the target QR code.

5. The method according to claim 4, characterized in that The obtaining of a QR code link corresponding to a second merchant associated with the target application scenario includes: Acquire multiple candidate merchants associated with the target application scenario; Based on the location distance between each of the candidate merchants and the first merchant, and the operational association relationship between each of the candidate merchants and the first merchant, the second merchant is determined from the plurality of candidate merchants to obtain a QR code link corresponding to the second merchant.

6. The method according to claim 5, characterized in that Also includes: In response to the offline user triggering an operation on the QR code link corresponding to the second merchant in the user display interface corresponding to the target QR code, the current display interface is jumped from the user display interface corresponding to the target QR code to the user display interface associated with the QR code link corresponding to the second merchant; Among them, the user display interface associated with the QR code link corresponding to the second merchant displays the QR code link corresponding to the first merchant and the QR code link corresponding to the third merchant associated with the target application scenario, and the QR code link corresponding to the first merchant is used to describe the data link of the target QR code.

7. The method according to claim 6, characterized in that Also includes: Detecting whether the offline user generates consumption data in a user display interface associated with the QR code link corresponding to the second merchant; If the offline user generates consumption data in the user display interface associated with the QR code link corresponding to the second merchant, determining navigation route information for moving from the first merchant to the second merchant based on the location coordinates of the first merchant and the location coordinates of the second merchant; Navigation route information for moving from the first merchant to the second merchant is sent to the user equipment of the offline user.

8. A two-dimensional code processing device with variable application scenarios, characterized in that: include: A first acquisition module is used to acquire an initial QR code from a server, where the initial QR code is used to describe a QR code without application scenario restrictions, and the server stores a scene type field and a scene code field corresponding to the initial QR code, where both the scene type field and the scene code field corresponding to the initial QR code are empty fields; The second acquisition module is used to acquire the target type field and the target code field corresponding to the target application scenario; An establishment module, used to establish a binding relationship between the initial two-dimensional code, the target type field and the target code field corresponding to the target application scenario; A sending module, used for sending a target type field and a target code field corresponding to the target application scenario to the server, so that the server updates the scene type field and the scene code field corresponding to the initial two-dimensional code based on the target type field and the target code field corresponding to the target application scenario; A determination module, configured to determine a target QR code in response to a field update indication from the server; The target two-dimensional code is used to describe the two-dimensional code restricted by the target application scenario, and the target type field and target encoding field corresponding to the target two-dimensional code are stored in the current state of the server.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, a two-dimensional code processing method with variable application scenarios as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for processing a two-dimensional code with variable application scenarios as described in any one of claims 1 to 7 is implemented.