CN117670333A - Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product - Google Patents

Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product Download PDF

Info

Publication number
CN117670333A
CN117670333A CN202311692672.9A CN202311692672A CN117670333A CN 117670333 A CN117670333 A CN 117670333A CN 202311692672 A CN202311692672 A CN 202311692672A CN 117670333 A CN117670333 A CN 117670333A
Authority
CN
China
Prior art keywords
graphic code
code
information
graphic
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311692672.9A
Other languages
Chinese (zh)
Inventor
余乐
杨超瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202311692672.9A priority Critical patent/CN117670333A/en
Publication of CN117670333A publication Critical patent/CN117670333A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a graphic code binding method, a graphic code binding device, an electronic device, a storage medium and a product, wherein the method comprises the following steps: and acquiring second graphic code information, the first user information and the second user information through the graphic code binding device. And sending a first request for acquiring a first credential corresponding to the first user information to a server of the second graphic code through the graphic code binding device according to the first user information and the second graphic code information. And responding to the first request, and returning the first certificate to the graphic code binding device through the server side of the second graphic code. And sending a second request for acquiring the first graphic code information held by the user to a code sender of the first graphic code according to the second user information through the graphic code binding device. And responding to the second request, and returning the first graphic code information through the code sender of the first graphic code. The first credentials are associated with the first graphics code information by a graphics code binding device. According to the embodiment of the application, multi-code fusion is realized, and the cost of manpower and material resources is reduced.

Description

Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product
Technical Field
The application belongs to the field of graphic codes, and particularly relates to a graphic code binding method, a graphic code binding device, electronic equipment, a storage medium and a product.
Background
Through multi-code fusion, a user can use the same graphic code to scan codes in different scenes, namely: take public transit, take subway, pharmacy purchase medicine, hospital registration etc. need not to switch different graphic codes in different occasions.
In the prior art, information of different graphic codes is acquired, the information of the different graphic codes is integrated on the same code, a universal graphic code is generated, multi-code fusion is realized, and when different code scanning gate machines are identified, information needed by the gate machine can be acquired through identifying the information in the universal graphic code.
However, since the information that can be carried by the graphic code is limited, and one type of graphic code is added each time, and when the graphic code information is integrated into the general graphic code, the general graphic code is updated, and the graphic code identification end for identifying the general graphic code is updated correspondingly. Therefore, the graphic code information which can be integrated by the general graphic code is limited, so that the problem that the graphic code can not be continuously integrated is caused, and the process of updating the graphic code identification end also can cost a great deal of manpower and material resources.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment, a storage medium and a product for binding graphic codes, which can solve the problem that graphic codes cannot be continuously integrated in a multi-code fusion process and the problem of higher cost.
In one aspect, an embodiment of the present application provides a method for binding a graphic code, where the method includes:
acquiring second graphic code information of a second graphic code which is required to be bound with the first graphic code by a user, first user information which is required to be associated with the second graphic code by the user and second user information which is required to be associated with the first graphic code by the user through a graphic code binding device;
sending a first request for acquiring a first credential corresponding to the first user information to a server of the second graphic code according to the first user information and the second graphic code information through a graphic code binding device;
responding to the first request, and returning a first certificate to the graphic code binding device through a server side of the second graphic code;
sending a second request for acquiring the first graphic code information held by the user to a code sender of the first graphic code according to the second user information through the graphic code binding device;
responding to the second request, and returning first graphic code information through a code sender of the first graphic code;
And associating the first credentials with the first graphic code information through the graphic code binding device to complete binding of the first graphic code and the second graphic code.
In another aspect, an embodiment of the present application provides a graphic code binding apparatus, including:
the acquisition module is used for acquiring second graphic code information of a second graphic code which is required to be bound with the first graphic code by a user, first user information which is required to be associated with the second graphic code by the user and second user information which is required to be associated with the first graphic code by the user through the graphic code binding device;
the first request sending module is used for sending a first request for obtaining a first credential corresponding to the first user information to a server side of the second graphic code according to the first user information and the second graphic code information through the graphic code binding device;
the first return module is used for responding to the first request and returning a first certificate to the graphic code binding device through the server side of the second graphic code;
the second request sending module is used for sending a second request for acquiring the first graphic code information held by the user to a code sender of the first graphic code according to the second user information through the graphic code binding device;
the second return module is used for responding to the second request and returning the first graphic code information through the code sender of the first graphic code;
And the binding module is used for associating the first credentials with the first graphic code information through the graphic code binding device so as to complete the binding of the first graphic code and the second graphic code.
In still another aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory storing computer program instructions;
the processor implements the above-described graphics code binding method when executing computer program instructions.
In yet another aspect, an embodiment of the present application provides a computer readable storage medium, where computer program instructions are stored, which when executed by a processor, implement the above-mentioned method for binding graphics codes.
In yet another aspect, embodiments of the present application provide a computer program product, which when executed by a processor of an electronic device, causes the electronic device to perform the above-described method of graphic code binding.
The graphic code binding method, the device, the electronic equipment, the storage medium and the product can send a request for acquiring the first credentials corresponding to the first user information to the second graphic code server after acquiring the second graphic code information and the first user information, send a request for acquiring the first graphic code information to the first graphic code sender and bind the returned first credentials and the first graphic code information. Through the binding of the first graphic code information and the first credential, when the first graphic code is acquired, the bound first credential can be determined through the first graphic code information of the first graphic code, and then the binding of the first graphic code and the second graphic code is realized through the association of the first credential to the second graphic code. Therefore, the multi-code fusion can be realized by establishing the binding relation between the first graphic code and the second graphic code, the problem that the first graphic code cannot continuously integrate the second graphic code is avoided, the problem that the graphic code identification end is updated because the first graphic code is frequently updated is avoided, and the cost of manpower and material resources is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
FIG. 1 is a timing diagram of a method for binding graphics codes according to an embodiment of the present application;
FIG. 2 is a timing diagram of a method for binding graphics codes according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a graphic code binding apparatus according to an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application are described in detail below to make the objects, technical solutions and advantages of the present application more apparent, and to further describe the present application in conjunction with the accompanying drawings and the detailed embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative of the application and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by showing examples of the present application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
In order to solve the problems in the prior art, the embodiment of the application provides a graphic code binding method, a graphic code binding device, electronic equipment, a storage medium and a product.
The following first describes a graphic code binding method provided in the embodiments of the present application.
Fig. 1 shows a timing diagram of a graphic code binding method according to an embodiment of the present application, as shown in fig. 1, where the method includes the following steps:
step 101: and acquiring second graphic code information of a second graphic code which is required to be bound with the first graphic code by the user, first user information which is required to be associated with the second graphic code by the user and second user information which is required to be associated with the first graphic code by the user through the graphic code binding device.
In some embodiments, the first graphic code is a graphic code of a user, the first graphic code already exists before the first graphic code and the second graphic code are bound, the first graphic code and the user are in one-to-one relation, each user corresponds to one first graphic code, and the first graphic codes corresponding to different users are different. The second user information may be a first graphic code ID (IDentity) of the user, where the first graphic code and the second user information are in one-to-one relationship, and each second user information corresponds to a first graphic code, and the first graphic codes corresponding to different second user information are different. Each user can have a plurality of second graphic codes, and each first graphic code can be bound with the plurality of second graphic codes, and the second graphic codes stored in the server of the second graphic codes by the user can be found out through the first user information. The second graphic code information is the second graphic code basic information of the server side of the second graphic code which needs to be bound with the first graphic code. The second graphic code information may also be access connection information of the server side of the second graphic code, that is: an access address, protocol, or interface, etc. of the server connected to the second graphics code. The graphic code may be a two-dimensional code, a bar code, or the like that can be recognized by the electronic device.
In some embodiments, before step 101 is performed, a third request for binding the first and second graphics codes is sent to the graphics code binding device by the user terminal in response to a user selecting the second graphics code from the list of candidate second graphics codes supporting binding with the first graphics code and a user inputting the first user information.
In this embodiment, the graphic code binding device manages a government responsible for multi-code fusion, and a manager of a server of a second graphic code applies for binding the second graphic code of the server with a first graphic code of a user on the graphic code binding device, so as to realize fusion of the second graphic code and the first graphic code, and in the application process, the manager needs to fill in list information for applying for fusion of the second graphic code, where the list may include: basic information of the second graphic code, access connection information of the server side of the second graphic code, and necessary information that the user needs to be associated with the second graphic code stored in the server side of the second graphic code, for example: assuming that the second graphic code is a subway train taking code, the basic information of the second graphic code may be a name of a subway company, an address of the subway company, the access connection information of the service end of the second graphic code may be an access address, a protocol, an interface, or the like connected to a system for managing the subway train taking code by the subway company, and the necessary information of the user to be associated with the second graphic code stored in the service end of the second graphic code may be a subway card number, that is: under the condition that the subway card number of the user is required to be obtained, the subway riding code corresponding to the user can be inquired in a subway company management subway riding code system according to the subway card number of the user. After receiving the application, the manager in charge of managing the graphic code binding device in the government reviews the application, and if the information in the list is correct, the manager in charge of managing the graphic code binding device in the government agrees to the application, and the manager in charge of managing the graphic code binding device in the government also needs to maintain the list, for example: when the server system of the second graphic code is updated to change the access connection information of the server of the second graphic code, a manager responsible for managing the graphic code binding device in the corresponding government needs to confirm and update the access connection information of the server of the second graphic code in the list.
The user can perform binding operation of the first graphic code and the second graphic code through an application program, an applet and the like in a mobile phone terminal or a website and the like in a computer terminal, firstly obtains a candidate second graphic code list, the list comprises basic information of all second graphic codes which are applied through fusion of the second graphic codes, after the user selects the second graphic code which needs to be bound with the first graphic code, the user obtains information of the second graphic code, then inputs necessary information which is associated with the second graphic code stored in a server side of the second graphic code, obtains the first user information, the necessary information is specified by the server side of the second graphic code, obtains the second user information of the user, and after the user determines that the second graphic code to be bound with the first graphic code is bound, sends a request for binding the first graphic code and the second graphic code to a graphic code binding device, and the request comprises the second graphic code information, the first user information and the second user information. The graphic code binding device acquires the second graphic code information, the first user information and the second user information by receiving the request. In an example, when a subway company applies to the graphic code binding device to pass an application request for fusing a subway riding code with a first graphic code, and a hospital applies to the graphic code binding device to pass an application request for fusing a diagnosis code with the first graphic code, a user selects a multi-code fusion process on a page of an electronic device, and an operation page of the user selects a subway company name and a hospital name, namely: the candidate second graphic code list comprises a subway company name and a hospital name, after a user selects a subway company, an operation page prompts the user to input a subway card number, after the user finishes inputting, the user applies for binding the first graphic code and the subway car code through the operation page, a user terminal generates a binding request and sends the binding request to a graphic code binding device, and the binding request carries the subway card number, the subway company name and the user first graphic code ID.
It can be appreciated that, in this embodiment, by acquiring the first user information and the second user information, it is possible to conveniently determine the second graphic code corresponding to the first user information, the first graphic code information corresponding to the second user information, and binding the first graphic code and the second graphic code by binding the first credential of the second graphic code and the first graphic code information.
Step 102: and sending a first request for acquiring a first credential corresponding to the first user information to a server of the second graphic code through the graphic code binding device according to the first user information and the second graphic code information.
The graphic code binding device receives a request of a user for binding a first graphic code and a second graphic code, acquires second graphic code information to be bound through the request, inquires a list filled in the application fusion process of a service end of the second graphic code information in the graphic code binding device through the second graphic code information, determines access connection information of the service end of the second graphic code information through the list, realizes connection of the graphic code binding device and the service end of the second graphic code information through the access connection information, and facilitates the subsequent graphic code binding device to send the first request to the service end of the second graphic code information.
Step 103: and responding to the first request, and returning the first certificate to the graphic code binding device through the server side of the second graphic code.
In some embodiments of the present application, the first request carries first user information, the server side of the second graphic code information may find a second graphic code stored by the user in the server side of the second graphic code according to the first user information, and obtain a first credential associated with the second graphic code according to the second graphic code.
In some embodiments of the present application, step 102 further comprises:
responding to the first request, and inquiring the corresponding second graphic code by the server side of the second graphic code based on the information of the second graphic code;
and performing data desensitization processing on the second graphic code to obtain a first certificate.
In this embodiment, data desensitization refers to the deformation of data of some sensitive information through desensitization rules, so as to achieve reliable protection of sensitive privacy data. The first credentials may be graphic codes or characters after data desensitization. The first credentials are in one-to-one correspondence with the second graphics codes, and the first credentials of the different second graphics codes are different.
It can be appreciated that in this embodiment, the second graphic code is subjected to data desensitization and the first credential is generated, so that other devices or apparatuses can be prevented from acquiring confidential information of the server side of the second graphic code or privacy information of the user to which the second graphic code belongs through the second graphic code, and information security of the server side of the second graphic code and the user is protected.
Step 104: and sending a second request for acquiring the first graphic code information held by the user to a code sender of the first graphic code according to the second user information through the graphic code binding device.
In the embodiment of the application, the first graphic code of the user is generated by the code sender of the first graphic code, which may be an online device, through which the user may view, acquire or generate the first graphic code through an application program, an applet or the like in the mobile phone terminal or a website or the like in the computer terminal, and the code sender of the first graphic code may be managed by a government responsible for multi-code fusion. The first graphic code information includes: the technical information may be channel information where the first graphic code is located, such as an application program, an applet, a website, etc., the service information may be information for recording a second graphic code bound to the first graphic code, and the identification information is information for identifying the first graphic code.
Step 105: and responding to the second request, and returning the first graphic code information through the code sender of the first graphic code.
In the embodiment of the application, the code sender of the first graphic code can inquire the corresponding first graphic code information through the second user information, and returns the first graphic code information to the graphic code binding device.
Step 106: and associating the first credentials with the first graphic code information through the graphic code binding device to complete binding of the first graphic code and the second graphic code.
In the embodiment of the application, when the graphic code binding device receives the first graphic code information sent by the code sender of the first graphic code and the first certificate sent by the server of the second graphic code, an association relationship between the first certificate and the first graphic code information is established, and when the first graphic code information of a user is obtained, the first certificate associated with the first graphic code information can be found, and then the first certificate is associated with the second graphic code, so that the binding of the first graphic code and the second graphic code is realized.
In the embodiment of the application, after the second graphic code information and the first user information are acquired, a request for acquiring the first credential corresponding to the first user information is sent to the second graphic code server, a request for acquiring the first graphic code information is sent to the first graphic code sender, and the returned first credential and the first graphic code information are bound. Through the binding of the first graphic code information and the first credential, when the first graphic code is acquired, the bound first credential can be determined through the first graphic code information of the first graphic code, and then the binding of the first graphic code and the second graphic code is realized through the association of the first credential to the second graphic code. Therefore, the multi-code fusion can be realized by establishing the binding relation between the first graphic code and the second graphic code, the problem that the first graphic code cannot continuously integrate the second graphic code is avoided, the problem that the graphic code identification end is updated because the first graphic code is frequently updated is avoided, and the cost of manpower and material resources is reduced.
Fig. 2 is a timing diagram of a graphic code binding method according to another embodiment of the present application, where, as shown in fig. 2, after the graphic code binding device associates the first credential with the first graphic code information to complete binding of the first graphic code and the second graphic code, the method further includes:
step 201: scanning the first graphic code through a code scanning end, and sending a fourth request for analyzing the first graphic code to obtain first graphic code information to a code sender of the first graphic code;
step 202: responding to the fourth request, and obtaining first graphic code information through the first graphic code of the sending code Fang Jiexi of the first graphic code;
step 203: transmitting a query request for querying a bound second graphic code corresponding to the first graphic code information to a graphic code binding device according to the first graphic code information by a code sender of the first graphic code;
step 204: responding to the inquiry request, and inquiring a first certificate bound with the second graphic code according to the first graphic code information through the graphic code binding device;
step 205: sending a fifth request for acquiring the bound second graphic code corresponding to the first credential to a server of the second graphic code through the graphic code binding device according to the first credential;
step 206: responding to the fifth request, and returning the bound second graphic code through the server side of the second graphic code;
Step 207: returning the bound second graphic code to the code scanning end;
step 208: the code scanning end identifies the bound second graphic code.
In the embodiment of the present application, the code scanning end is an identifying device for identifying the second graphic code, for example: the gate, the scanning gun and the like can also be on-line equipment connected with the identification equipment, and the code scanning end cannot acquire the information required by the code scanning end by identifying the first graphic code, so that the information required by the code scanning end can be acquired by replacing the first graphic code with the second graphic code bound with the first graphic code, and the operation corresponding to the second graphic code is executed. After the code scanning end scans the first graphic code, the first graphic code is sent to a code sender of the first graphic code capable of identifying the first graphic code, the code sender Fang Jiexi of the first graphic code is requested to obtain first graphic code information, the code scanning end information is carried in the sending process, and the second graphic code required by the code scanning end in a plurality of second graphic codes bound with the first graphic code can be determined through the code scanning end information.
After a code sender of the first graphic code receives a code scanning end request, the first graphic code is analyzed to obtain first graphic code information, and a request for inquiring a second graphic code needed by the code scanning end is sent to a graphic code binding device, wherein the request carries the first graphic code information and the code scanning end information. After the graphic code binding device receives a request sent by a code sender of a first graphic code, determining first credentials corresponding to all second graphic codes bound with the first graphic code information according to the first graphic code information, and finding first credentials corresponding to the second graphic codes needed by the code scanning end from the first credentials corresponding to all second graphic codes according to the code scanning end information. The graphic code binding device sends a request to a server side of a second graphic code required by the code scanning end, the request is used for acquiring the second graphic code required by the code scanning end, the request carries a first credential, and the second graphic code required by the code scanning end can be found through the first credential. The server side of the second graphic code receives the request of the graphic code binding device, and finds the second graphic code needed by the code scanning end through the first certificate carried by the request. The server of the second graphic code sends the second graphic code to the graphic code binding device, the graphic code binding device sends the second graphic code to the code sender of the first graphic code, the code sender of the first graphic code sends the second graphic code to the code scanning end, the code scanning end identifies the second graphic code, and the operation corresponding to the second graphic code is executed.
In other embodiments, the data of the first graphic code identified by the code scanning end can be further sent to a code sender of the first graphic code, and the code sender of the first graphic code obtains the first graphic code information by analyzing the data.
In other embodiments of the present application, after the server side of the second graphic code finds the second graphic code required by the code scanning end through the first credential, the server side of the second graphic code may directly send the second graphic code to the code scanning end.
In other embodiments of the present application, after the server side of the second graphic code finds the second graphic code required by the code scanning end through the first credential, the server side of the second graphic code may send the second graphic code to the graphic code binding device, and the graphic code binding device directly sends the second graphic code to the code scanning end.
In other embodiments of the present application, after the first credentials corresponding to the second graphics code needed by the code scanning end are found in the first credentials corresponding to all the second graphics codes, the graphics code binding device may send the first credentials to the code sender of the first graphics code, the code sender of the first graphics code sends the first credentials to the code scanning end, and the code scanning end identifies the first credentials and executes the operation corresponding to the second graphics code.
It can be understood that in the embodiment of the present application, the association relationship between the first graphic code information and the first credential is used to find the second graphic code bound to the first graphic code through the first graphic code, so as to implement multi-code fusion, so that the code scanning end can obtain the second graphic code required by the code scanning end through the first graphic code.
In other embodiments of the present application, scanning a first graphic code through a code scanning end includes:
the code scanning end acquires the scanned graphic code;
judging whether a preset mark exists in the graphic code or not;
and under the condition that the preset mark exists, the code scanning end determines that the first graphic code is scanned.
In this embodiment, a user may send a request for obtaining a first graphic code to a code sender of the first graphic code through an application program, an applet, etc. of a mobile terminal such as a mobile phone, etc., the code sender of the first graphic code receives the request and returns the first graphic code to the application program, applet, etc. of the mobile terminal such as the mobile phone of the user, etc., the user presents the first graphic code to a code scanning end, the code scanning end scans the graphic code presented by the user, and determines whether the graphic code is the first graphic code, and whether a preset identifier exists in the graphic code in a manner of determining whether the graphic code exists, and the first graphic code information is obtained by identifying the first graphic code, and whether the first graphic code information carries the identifier information is determined. If the first graphic code is scanned by the code scanning end, the first graphic code is ignored by the code scanning end if the first graphic code is not carried with the identification information. The code scanning end belongs to the second graphic code system, so that the first graphic code identified by the code scanning end can be ciphertext, but the identification information of the first graphic code can be acquired through the identified ciphertext because the identification information is not required to be kept secret.
It can be appreciated that in this embodiment, by determining whether the first graphic code information carries the identification information, the code scanning end is prevented from transmitting the graphic code that is not the first graphic code to the code sender of the first graphic code, which wastes the computing power of the code sender of the first graphic code.
It should be noted that, the various optional embodiments described in the embodiments of the present application may be implemented in combination with each other without collision, or may be implemented separately, which is not limited to the embodiments of the present application.
Fig. 3 is a schematic structural diagram of a graphic code binding apparatus according to an embodiment of the present application, where, as shown in fig. 3, the apparatus includes:
an obtaining module 301, configured to obtain, by using a graphic code binding device, second graphic code information of a second graphic code that a user needs to bind to a first graphic code, first user information that the user needs to be associated with the second graphic code, and second user information that the user is associated with the first graphic code;
a first request sending module 302, configured to send, by using a graphic code binding device, a first request for obtaining a first credential corresponding to the first user information to a server of the second graphic code according to the first user information and the second graphic code information;
A first returning module 303, configured to respond to the first request, and return, through the server side of the second graphic code, the first credential to the graphic code binding device;
a second request sending module 304, configured to send, by using the graphic code binding device according to the second user information, a second request for obtaining the first graphic code information held by the user to a sender of the first graphic code;
a second return module 305, configured to return, in response to the second request, the first graphic code information through the sender of the first graphic code;
a binding module 306, configured to associate the first credential with the first graphic code information through the graphic code binding device, so as to complete binding of the first graphic code and the second graphic code.
Through the embodiment of the application, after the obtaining module 301 obtains the second graphic code information and the first user information, the first request sending module 302 sends a request for obtaining the first credential corresponding to the first user information to the second graphic code server, the second request sending module 304 sends a request for obtaining the first graphic code information to the first graphic code sender, the first credential returned by the first returning module 303 and the second returning module 305 return to bind the first graphic code information, and the binding of the first graphic code information and the first credential is achieved through the binding module 306. When the first graphic code is acquired, the first credential bound can be determined through the first graphic code information of the first graphic code, and then the first credential is associated to the second graphic code, so that the binding of the first graphic code and the second graphic code is realized. Therefore, the multi-code fusion can be realized by establishing the binding relation between the first graphic code and the second graphic code, the problem that the first graphic code cannot continuously integrate the second graphic code is avoided, the problem that the graphic code identification end is updated because the first graphic code is frequently updated is avoided, and the cost of manpower and material resources is reduced.
As an alternative embodiment, the graphic code binding apparatus further comprises the following modules:
and a fifth request transmitting module for transmitting a third request for binding the first graphic code and the second graphic code to the graphic code binding device through the user terminal in response to the operation of selecting the second graphic code from the candidate second graphic code list supporting the binding with the first graphic code by the user terminal and the operation of inputting the first user information by the user terminal.
The acquisition module 301 further comprises the following sub-modules:
the first acquisition sub-module is used for responding to the third request and acquiring the second graphic code information, the first user information and the second user information through the graphic code binding device.
As an alternative embodiment, the graphic code binding apparatus further comprises the following modules:
the scanning module is used for scanning the first graphic code through the code scanning end and sending a fourth request for analyzing the first graphic code to obtain first graphic code information to a code sender of the first graphic code;
the analysis module is used for responding to the fourth request, and obtaining first graphic code information through the first graphic code of the sending code Fang Jiexi of the first graphic code;
the third request sending module is used for sending a query request for querying a bound second graphic code corresponding to the first graphic code information to the graphic code binding device according to the first graphic code information through a sender of the first graphic code;
The inquiry module is used for responding to the inquiry request and inquiring the first certificate bound with the second graphic code according to the first graphic code information through the graphic code binding device;
a fourth request sending module, configured to send, by using the graphic code binding device according to the first credential, a fifth request for obtaining a bound second graphic code corresponding to the first credential to a server of the second graphic code;
the third return module is used for responding to the fifth request and returning the bound second graphic code through the server side of the second graphic code;
the fourth return module is used for returning the bound second graphic code to the code scanning end;
the identification module is used for identifying the bound second graphic code by the code scanning end.
As an alternative embodiment, the first acquisition sub-module further comprises the following sub-modules:
the second acquisition sub-module is used for acquiring the scanned graphic code by the code scanning end;
the judging submodule is used for judging whether a preset mark exists in the graphic code or not;
and the determining submodule determines that the code scanning end scans the first graphic code under the condition that the preset mark exists.
As an alternative embodiment, the first return module 303 further comprises the following elements:
the inquiring sub-module is used for responding to the first request, and the server side of the second graphic code inquires the corresponding second graphic code based on the second graphic code information;
And the desensitization sub-module is used for carrying out data desensitization processing on the second graphic code to obtain the first certificate.
Fig. 4 shows a schematic hardware structure of an electronic device according to an embodiment of the present application.
A processor 401 may be included in an electronic device as well as a memory 402 in which computer program instructions are stored.
In particular, the processor 401 described above may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid state memory.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to methods in accordance with aspects of the present disclosure.
The processor 401 implements any of the graphic code binding methods of the above embodiments by reading and executing computer program instructions stored in the memory 402.
In one example, the electronic device may also include a communication interface 403 and a bus 410. As shown in fig. 4, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 and perform communication with each other.
The communication interface 403 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiments of the present application.
Bus 410 includes hardware, software, or both, coupling components of the electronic device to one another. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 410 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
In addition, in combination with the graphic code binding method in the above embodiment, the embodiment of the application may be implemented by providing a computer readable storage medium. The computer readable storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the graphics code binding methods of the above embodiments.
The present application provides a computer program product, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the above-described graphic code binding method.
It should be clear that the present application is not limited to the particular arrangements and processes described above and illustrated in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions, or change the order between steps, after appreciating the spirit of the present application.
The functional blocks shown in the above block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be different from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, which are intended to be included in the scope of the present application.

Claims (11)

1. A method of graphic code binding, comprising:
acquiring second graphic code information of a second graphic code which is required to be bound with a first graphic code by a user, first user information which is required to be associated with the second graphic code by the user and second user information which is required to be associated with the first graphic code by the user through a graphic code binding device;
sending a first request for acquiring a first credential corresponding to the first user information to a server side of a second graphic code according to the first user information and the second graphic code information through the graphic code binding device;
Responding to the first request, and returning the first credentials to the graphic code binding device through the service end of the second graphic code;
sending a second request for acquiring the first graphic code information held by the user to a code sender of the first graphic code according to the second user information through a graphic code binding device;
responding to the second request, and returning the first graphic code information through a code sender of the first graphic code;
and associating the first certificate with the first graphic code information through the graphic code binding device so as to complete the binding of the first graphic code and the second graphic code.
2. The method of claim 1, wherein before the obtaining, by the graphic code binding device, second graphic code information of a second graphic code that a user needs to bind to a first graphic code, first user information that a user needs to associate to the second graphic code, and second user information that the user associates to the first graphic code, the method further comprises:
sending a third request for binding the first graphic code and the second graphic code to the graphic code binding device by a user terminal in response to the operation of selecting the second graphic code from a candidate second graphic code list supporting the binding with the first graphic code by the user and the operation of inputting the first user information by the user;
The method for obtaining, by the graphic code binding device, second graphic code information of a second graphic code which is required to be bound with a first graphic code by a user, first user information which is required to be associated with the second graphic code by the user, and second user information which is required to be associated with the first graphic code by the user includes:
and responding to the third request, and acquiring the second graphic code information, the first user information and the second user information through the graphic code binding device.
3. The method of claim 1, wherein after associating the first credential with the first graphics code information by a graphics code binding device to complete binding of the first graphics code and the second graphics code, the method further comprises:
scanning a first graphic code through a code scanning end, and sending a fourth request for analyzing the first graphic code to obtain first graphic code information to a code sender of the first graphic code;
responding to the fourth request, and analyzing the first graphic code through a code sender of the first graphic code to obtain first graphic code information;
sending a query request for querying a bound second graphic code corresponding to the first graphic code information to the graphic code binding device according to the first graphic code information by a code sender of the first graphic code;
Responding to the inquiry request, and inquiring the first certificate of the bound second graphic code according to the first graphic code information through the graphic code binding device;
sending a fifth request for acquiring the bound second graphic code corresponding to the first credential to a server side of the second graphic code through the graphic code binding device according to the first credential;
responding to the fifth request, and returning the bound second graphic code through the server side of the second graphic code;
returning the bound second graphic code to the code scanning end;
and the code scanning end identifies the bound second graphic code.
4. A method according to claim 3, wherein scanning the first graphic code through the code scanning terminal comprises:
the code scanning end acquires scanned graphic codes;
judging whether a preset mark exists in the graphic code or not;
and under the condition that the preset identifier exists, the code scanning end determines that the first graphic code is scanned.
5. The method of claim 1, wherein the returning the first credential to the graphics code binding device via the server of the second graphics code in response to the first request comprises:
Responding to the first request, and inquiring the corresponding second graphic code by the server side of the second graphic code based on the second graphic code information;
and performing data desensitization processing on the second graphic code to obtain the first certificate.
6. A graphic code binding apparatus, comprising:
the acquisition module is used for acquiring second graphic code information of a second graphic code which is required to be bound with the first graphic code by a user through the graphic code binding device, first user information which is required to be associated with the second graphic code by the user and second user information which is required to be associated with the first graphic code by the user;
the first request sending module is used for sending a first request for acquiring a first credential corresponding to the first user information to a server side of a second graphic code according to the first user information and the second graphic code information through the graphic code binding device;
the first return module is used for responding to the first request and returning the first credentials to the graphic code binding device through the service end of the second graphic code;
a second request sending module, configured to send, by using a graphic code binding device, a second request for obtaining first graphic code information held by the user to a sender of the first graphic code according to the second user information;
The second return module is used for responding to the second request and returning the first graphic code information through the code sender of the first graphic code;
and the binding module is used for associating the first certificate with the first graphic code information through a graphic code binding device so as to complete the binding of the first graphic code and the second graphic code.
7. The apparatus according to claim 6, comprising:
the scanning module is used for scanning the first graphic code through the code scanning end and sending a fourth request for analyzing the first graphic code to obtain the first graphic code information to a code sender of the first graphic code;
the analysis module is used for responding to the fourth request and analyzing the first graphic code through a code sender of the first graphic code to obtain the first graphic code information;
a third request sending module, configured to send, by a code sender of the first graphic code, a query request for querying a bound second graphic code corresponding to the first graphic code information to the graphic code binding device according to the first graphic code information;
the inquiry module is used for responding to the inquiry request and inquiring the first certificate of the bound second graphic code according to the first graphic code information through the graphic code binding device;
A fourth request sending module, configured to send, by using the graphic code binding device according to the first credential, a fifth request for obtaining the bound second graphic code corresponding to the first credential to a server of the second graphic code;
the third return module is used for responding to the fifth request and returning the bound second graphic code through the server side of the second graphic code;
the fourth return module is used for returning the bound second graphic code to the code scanning end;
and the identification module is used for identifying the bound second graphic code by the code scanning end.
8. The apparatus of claim 6, wherein the first return module further comprises:
the inquiring sub-module is used for responding to the first request, and the server side of the second graphic code inquires the corresponding second graphic code based on the second graphic code information;
and the desensitization sub-module is used for carrying out data desensitization processing on the second graphic code to obtain the first certificate.
9. A graphic code binding apparatus, the apparatus comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a graphics code binding method as claimed in any one of claims 1-5.
10. A computer readable storage medium having stored thereon computer program instructions which when executed by a processor implement the graphic code binding method according to any of claims 1-5.
11. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the graphic code binding method according to any one of claims 1-5.
CN202311692672.9A 2023-12-11 2023-12-11 Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product Pending CN117670333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311692672.9A CN117670333A (en) 2023-12-11 2023-12-11 Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311692672.9A CN117670333A (en) 2023-12-11 2023-12-11 Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product

Publications (1)

Publication Number Publication Date
CN117670333A true CN117670333A (en) 2024-03-08

Family

ID=90065874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311692672.9A Pending CN117670333A (en) 2023-12-11 2023-12-11 Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product

Country Status (1)

Country Link
CN (1) CN117670333A (en)

Similar Documents

Publication Publication Date Title
CN104392502A (en) Two-dimensional code attendance checking system based on intelligent cell phone and application method of two-dimensional code attendance checking system based on intelligent cell phone
CN109493087B (en) Method for checking real estate registration information based on two-dimensional code, computer device and computer readable storage medium
CN106060762B (en) Information pushing method, information pushing device and information pushing system
CN112084234A (en) Data acquisition method, apparatus, device and medium
CN112801655A (en) Payment card migration method and device, electronic equipment, server and medium
CN108830562B (en) Attendance card punching method and related equipment
CN102789561A (en) Method and device for utilizing camera in browser
CN104980420A (en) Business processing method, device, terminal and server
CN113852639B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN117670333A (en) Graphic code binding method, graphic code binding device, electronic equipment, storage medium and product
CN116684156A (en) Password-free login authentication method, device, equipment, medium and product
CN105490988B (en) Method, device and system for improving data transmission security
CN115858320A (en) Operation log recording method, apparatus, medium and product
CN114553432B (en) Identity authentication method, device, equipment and computer readable storage medium
CN117667325A (en) Timer management method, device, equipment and computer storage medium
CN112714108B (en) Method, device and equipment for verifying terminal communication number and computer storage medium
CN108989998A (en) A kind of information processing method and device
CN112437427B (en) Card writing method, device, equipment and computer readable storage medium
CN118646583A (en) Binding method, device and equipment for vehicle and computer readable storage medium
JP7499943B2 (en) Authorization Device
CN111212062B (en) Information completion method and device, storage medium and electronic equipment
TW202410057A (en) Information checking method and apparatus, and device, medium and product
CN118741426A (en) Information processing method, device, equipment and storage medium
CN115033534A (en) File processing method, device, equipment and computer readable storage medium
CN116341574A (en) Card writing method, device, equipment, medium and product of electronic card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination