Method for aggregating identification codes, apparatus for aggregating identification codes, and electronic device

Generating a general QR code through the aggregation identification code method solves the problem of poor universality of the identification code on the business processing platform, realizes multi-code integration and one-code universality, simplifies user operations and improves data sharing and mutual recognition capabilities.

CN113656782BActive Publication Date: 2025-07-22工银科技有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110973785.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-24
Publication Date
2025-07-22
Estimated Expiration
2041-08-24

AI Technical Summary

Technical Problem

The identification codes of existing business processing platforms are poorly versatile, and the identification code generation standards of each platform are not easy to be unified, resulting in cumbersome user operations and the inability to share and mutual recognition of information.

Method used

A method of aggregating identification codes is provided, and the identification code includes user identity association information is generated by receiving identification code requests through the first server side, and decoding is performed based on decoding rules, to realize identification code aggregation of different business platforms, and to generate a general QR code.

Benefits of technology

It simplifies the user's business processing process, realizes the integration of multiple codes and the universality of one code, solves the problems of multiple codes coexistence, poor universality, and data cannot be shared and mutually recognized, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113656782B_ABST
    Figure CN113656782B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for aggregating identification codes, an apparatus for aggregating identification codes, and an electronic device, which can be used in the field of Internet of Things or the financial field. The method includes: receiving an identification code request from a first client, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; and in response to the identification code request, if the token is valid and the matching result of the user among the historical users corresponding to the service information is empty, sending a first identification code including the user's user identity association information to the first client, and the information of the first identification code can be decoded based on a first decoding rule so that a second server side can determine the user identity association information from the first identification code based on the first decoding rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical fields of artificial intelligence and finance, and more particularly, to a method for aggregating identification codes, an apparatus for aggregating identification codes, and an electronic device. Background Art

[0002] In the related art, in order to facilitate users to handle services, an organization can open a service handling platform and issue identification codes for handling services to the clients of each user, so as to improve the convenience of service handling.

[0003] In the process of implementing the concept of the present disclosure, the applicant found that there are at least the following problems in the related art: at least some service handling platforms have their own identification codes respectively, resulting in poor generality of the identification codes of at least some service handling platforms, and it is not easy to unify the generation standards of the identification codes of each service handling platform. Summary of the Invention

[0004] In view of this, the present disclosure provides a method for aggregating identification codes, an apparatus for aggregating identification codes, and an electronic device, so as to at least partially solve the problems that the generality of the identification codes of at least some service handling platforms is poor, and it is not easy to unify the generation standards of the identification codes of each service handling platform.

[0005] One aspect of the present disclosure provides a method for aggregating identification codes executed by a first server side, including: receiving an identification code request from a first client, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; and in response to the identification code request, if the token is valid and the matching result of the user among the historical users corresponding to the service information is empty, sending a first identification code including the user identity association information of the user to the first client, and the information of the first identification code can be decoded based on a first decoding rule, so that a second server side can determine the user identity association information from the first identification code based on the first decoding rule.

[0006] In some embodiments, the above method further includes: in response to the token being valid, if the matching result of the user among the historical users corresponding to the service information is non-empty, sending a second identification code including the user identity association information of the user to the first client, where the second identification code is an identification code generated based on a second decoding rule of the identification code of the service corresponding to the service information, the information of the second identification code can be decoded based on the second decoding rule, and the first decoding rule is different from the second decoding rule.

[0007] In some embodiments, the first decoding rule includes determining user identity associated information from the information of the first identification code according to a first preset format, where the first preset format includes user identity associated information arranged in a first specific order and at least one of the following: time information, terminal device information, or a random number; and / or, the second decoding rule includes determining user identity associated information from the information of the second identification code according to a second preset format, where the second preset format includes user identity associated information arranged in a second specific order and at least one of the following: time information, terminal device information, or a random number.

[0008] In some embodiments, the above method further includes: receiving an identity resolution request from a second server, the identity resolution request including an identification code type, where the identification code type includes: a first type to which the first identification code belongs and a second type to which the second identification code belongs; in response to the identity resolution request, determining a first decoding rule based on a first mapping relationship and the first type; or, in response to the identity resolution request, determining a second decoding rule based on a second mapping relationship and the second type; determining user identity associated information from the first identification code based on the first decoding rule, or determining user identity associated information from the second identification code based on the second decoding rule; and sending the user identity associated information to the second server so that the second server performs service processing based on the user identity associated information.

[0009] In some embodiments, the above method further includes: receiving an identity resolution request from a second server, the identity resolution request including an identification code type, where the identification code type includes: a first type to which the first identification code belongs and a second type to which the second identification code belongs; in response to the identity resolution request, determining a first decoding rule based on a first mapping relationship and the first type; or, in response to the identity resolution request, determining a second decoding rule based on a second mapping relationship and the second type; and sending the first decoding rule or the second decoding rule to the second server so that the second server determines user identity associated information from the first identification code based on the first decoding rule, or determines user identity associated information from the second identification code based on the second decoding rule, and performs service processing based on the user identity associated information.

[0010] In some embodiments, the token is issued to the first client when the authentication result of the third server for user identity authentication passes, and the token has a time limit; and / or the second identification code is the service identification code with the highest usage frequency among the historical identification codes used by the user; and / or the information of the first identification code or the second identification code is encrypted before transmission; and / or the first server assigns permissions to the second server, and the first server audits the transmission information between the first server and the second server.

[0011] One aspect of the present disclosure provides a method for aggregating identification codes executed by a first client, including: receiving a first operation for the first client, the first operation being used to display an identification code on the first client for business processing based on the displayed identification code; in response to the first operation, sending an identification code request to a first server, the identification code request including a token indicating that the identity authentication result for the user is passed and business information; receiving a first identification code from the first server, the first identification code being the identification code sent by the first server to the first client when the token is valid and the matching result of the user in the historical users corresponding to the business information is empty, the first identification code including the user's user identity association information and being decodable based on a first decoding rule; and displaying the first identification code so that a second server can determine the user identity association information from the first identification code through a second client, and the user identity association information is determined by the first server based on the first identification code and the first decoding rule from the second server.

[0012] In some embodiments, the above method further includes: receiving a second identification code from the first server, the second identification code being an identification code generated based on a second decoding rule of the identification code corresponding to the business information, the information of the second identification code being decodable based on the second decoding rule, and the first decoding rule being different from the second decoding rule; and displaying the second identification code so that the second server can determine the user identity association information from the second identification code; wherein, the user identity association information is determined by the first server based on the second identification code and the second decoding rule from the second server; or, the user identity association information is determined by the second server based on the second identification code from the second client and the second decoding rule from the first server.

[0013] One aspect of the present disclosure provides a method for aggregating identification codes executed by a second server, including: receiving a first identification code from a second client, the first identification code being an identification code obtained by the second client scanning the first identification code displayed on the first client, and the first identification code displayed on the first client being an identification code from the first server, the first identification code including the user's user identity association information determined by the first server when the token from the first client is valid and the matching result of the user in the historical users corresponding to the business information is empty; in response to the first identification code, sending the type of the first identification code to the first server so that the first server can determine a first decoding rule corresponding to the type of the first identification code; and receiving the user identity association information from the first server; or receiving the first decoding rule from the first server, wherein the information of the first identification code is decodable based on the first decoding rule, so that the second server can determine the user identity association information from the first identification code based on the first decoding rule.

[0014] In some embodiments, the above method further includes: in response to user identity association information, performing service processing based on the user identity association information to obtain a service processing result; and sending the service processing result to the first client.

[0015] One aspect of the present disclosure provides an apparatus for aggregating identification codes, which is disposed on the first server side. The apparatus includes: an identification code request receiving module, configured to receive an identification code request from the first client, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; and a first identification code sending module, configured to, in response to the identification code request, if the token is valid and the matching result of the user in the historical users corresponding to the service information is empty, send a first identification code including the user's user identity association information to the first client, and the information of the first identification code can be decoded based on a first decoding rule, so that the second server side can determine the user identity association information from the first identification code based on the first decoding rule.

[0016] One aspect of the present disclosure provides an apparatus for aggregating identification codes, which is disposed on the first client side and includes: an operation receiving module, configured to receive a first operation on the first client, where the first operation is used to display an identification code on the first client for handling services based on the displayed identification code; an identification code request sending module, configured to, in response to the first operation, send an identification code request to the first server side, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; a first identification code receiving module, configured to receive a first identification code from the first server side, where the first identification code is sent by the first server side to the first client when the token is valid and the matching result of the user in the historical users corresponding to the service information is empty, the first identification code includes the user's user identity association information, and can be decoded based on a first decoding rule; and a first identification code display module, configured to display the first identification code so that the second server side can determine the user identity association information from the first identification code through the second client, and the user identity association information is determined by the first server side based on the first identification code from the second server side and the first decoding rule.

[0017] One aspect of the present disclosure provides an apparatus for aggregating identification codes, which is disposed on a second server side and includes: a transcoded first identification code receiving module configured to receive a first identification code from a second client, where the first identification code is an identification code obtained by the second client scanning a first identification code displayed by a first client, and the first identification code displayed by the first client is an identification code from a first server side, and is a first identification code including user identity association information of a user determined by the first server side in response to a token from the first client being valid and the matching result of the user in historical users corresponding to the service information being empty; a first decoding rule determining module configured to send the type of the first identification code to the first server side in response to the first identification code, so that the first server side determines a first decoding rule corresponding to the type of the first identification code; and an identity information or decryption rule receiving module configured to receive user identity association information from the first server side; or receive the first decoding rule from the first server side, where the information of the first identification code can be decoded based on the first decoding rule, so that the second server side determines user identity association information from the first identification code based on the first decoding rule.

[0018] One aspect of the present disclosure provides a system for aggregating identification codes, including: a first client configured to receive a first operation on the first client, and in response to the first operation, send an identification code request to a first server side, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; a first server side configured to, in response to the token being valid and the matching result of the user in historical users corresponding to the service information being empty, send a first identification code including user identity association information of the user to the first client, so that the first client displays the first identification code, and the information of the first identification code can be decoded based on a first decoding rule; a second client configured to scan the first identification code displayed by the first client and send the first identification code to a second server side; and a second server side configured to, in response to the first identification code, send the type of the first identification code to the first server side, so that the first server side determines a first decoding rule corresponding to the type of the first identification code, determines user identity association information based on the first decoding rule, and the second server side receives user identity association information from the first server side; or the second server side receives the first decoding rule from the first server side and determines user identity association information from the first identification code based on the first decoding rule.

[0019] Another aspect of the present disclosure provides an electronic device including one or more processors and a storage device, where the storage device is configured to store executable instructions, and when the executable instructions are executed by the processor, the method for aggregating identification codes as described above is implemented.

[0020] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are used to implement the method for aggregating identification codes as described above.

[0021] Another aspect of the present disclosure provides a computer program that includes computer-executable instructions that, when executed, are used to implement the method for aggregating identification codes as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, the above and other objects, features, and advantages of the present disclosure will become clearer. In the drawings:

[0023] Figure 1 Schematically shows an application scenario diagram of a method for applying an aggregated identification code, an apparatus for an aggregated identification code, and an electronic device according to an embodiment of the present disclosure;

[0024] Figure 2 Schematically shows an exemplary system architecture of a method for applying an aggregated identification code and an apparatus for an aggregated identification code according to an embodiment of the present disclosure;

[0025] Figure 3 Schematically shows a flowchart of a method for an aggregated identification code according to an embodiment of the present disclosure;

[0026] Figure 4 Schematically shows a logical diagram of outputting an identification code according to an embodiment of the present disclosure;

[0027] Figure 5 Schematically shows a logical diagram of determining user identity association information according to an embodiment of the present disclosure;

[0028] Figure 6 Schematically shows a flowchart of a method for an aggregated identification code according to another embodiment of the present disclosure;

[0029] Figure 7 Schematically shows a flowchart of a method for an aggregated identification code according to another embodiment of the present disclosure;

[0030] Figure 8 Schematically shows a block diagram of an apparatus for an aggregated identification code according to an embodiment of the present disclosure;

[0031] Figure 9 Schematically shows a block diagram of an apparatus for an aggregated identification code according to another embodiment of the present disclosure;

[0032] Figure 10 Schematically shows a block diagram of an apparatus for an aggregated identification code according to another embodiment of the present disclosure;

[0033] Figure 11A block diagram schematically showing a system for aggregating identification codes according to an embodiment of the present disclosure;

[0034] Figure 12 A logical schematic diagram schematically showing a system for aggregating identification codes according to an embodiment of the present disclosure; and

[0035] Figure 13 A block diagram schematically showing an electronic device according to an embodiment of the present disclosure. Detailed implementation manners

[0036] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, many specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.

[0037] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0038] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0039] In the case of using expressions such as "at least one of A, B, or C, etc.", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include, but is not limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).

[0040] In various types of related applications (abbreviated as apps), such as government service apps, etc., related government affairs, such as medical insurance (medical insurance), social insurance (social security), financial payment, and other multiple different business functions, each has its own independent two-dimensional code page. Users need to switch different pages multiple times to obtain two-dimensional codes when handling different matters, which is cumbersome in operation, affects the user experience, and user information cannot be shared and mutually recognized.

[0041] To facilitate understanding of the technical solutions of the embodiments of the present disclosure, some terms will be described first.

[0042] Transcoding platform: A system for realizing multi-code integration, including a first server end.

[0043] Department and bureau business system: Refers to the technical business system of each department and bureau for business handling operations, such as the second server end.

[0044] Unified identity authentication: Refers to a system for user identity authentication generally available on applications (apps), such as the third server end. The third server end can be a part of the second server end or an independent server end.

[0045] Token: Refers to an encrypted string generated by unified identity authentication that contains basic user information (such as name, mobile phone number, etc.).

[0046] The method for aggregating identification codes, the device for aggregating identification codes, and the electronic device provided by the embodiments of the present disclosure. The method executed by the first server end includes a request receiving process and an identification code aggregation process. In the request receiving process, an identification code request from a first client is received. The identification code request includes a token indicating that the identity authentication result for the user is passed and service information. After the request receiving process is completed, the identification code aggregation process is entered. In response to the identification code request, if the token is valid and the matching result of the user among the historical users corresponding to the service information is empty, a first identification code including the user's user identity association information is sent to the first client. The information of the first identification code can be decoded based on the first decoding rule so that the second server end can determine the user identity association information from the first identification code based on the first decoding rule.

[0047] The embodiments of the present disclosure provide a multi-code integration solution mainly based on citizens' personal basic information, and add specific data information of various different service two-dimensional codes such as epidemic prevention health codes, electronic health cards, electronic social security cards, medical insurance electronic vouchers, wallet payment codes, and bus ride two-dimensional codes on the basis of this code to realize the aggregation of different service two-dimensional codes, facilitate the public to use in various scenarios that require code display such as medical treatment, registration, medicine purchase, payment, and bus ride, ensure the realization of "multi-code integration" and "one code for all", and effectively solve the current problems of multiple codes coexisting, acting independently, and the inability to share and mutually recognize relevant data.

[0048] In the technical solution of the present disclosure, the acquisition, storage, and application of the user's personal information involved all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs.

[0049] Figure 1 Schematically shows an application scenario diagram of the method for applying an aggregated identification code, the device for aggregating identification codes, and the electronic device according to the embodiments of the present disclosure.

[0050] As Figure 1 shown in the figure above, the user has used multiple business identification codes (such as business QR codes) to handle business. Figure 1 In the figure above, user A has used the QR code for medical insurance 3 times, the QR code for provident fund 10 times, and the QR code for taking the bus 26 times. The system can select a QR code decoding rule for one of these business QR codes to generate a business QR code based on this QR code decoding rule as the user's general QR code. For example, the system for aggregating identification codes selects the QR code for taking the bus, which has the highest usage frequency among the public, from the QR codes for medical insurance, provident fund, and taking the bus as the general QR code. The user can display this general QR code so that at least one of the interfaces corresponding to the medical insurance business, the provident fund business, and the taking-the-bus business can be called. For example, when handling the provident fund business, the user can present the QR code for taking the bus. After the terminal device for handling the provident fund business scans this QR code for taking the bus, the server side of the provident fund business can send a request to the system for aggregating identification codes to obtain the user identity association information corresponding to this QR code for taking the bus, such as name, ID number, mobile phone number, the user's business account, and other information. This facilitates determining the user's account in the provident fund business system based on this user identity association information, so as to handle the provident fund-related business for this user.

[0051] Figure 1 The service of aggregating identification codes can also be provided for newly registered users. As Figure 1 in the system selects the QR code for taking the bus, which has the highest usage frequency among the public, from the QR codes for medical insurance, provident fund, and taking the bus as the general QR code. User B has not used the QR code for taking the bus. To facilitate the user to use the general QR code, a general QR code can be generated based on the user identity association information (such as the identity information obtained from the registration information, the identity association information manually entered by the user, etc.), so that when the user handles the above-mentioned business, the general QR code can be displayed on the personal terminal device to handle the business.

[0052] It should be noted that the above-mentioned business, business handling process, QR code generation process, etc. are only examples and should not be construed as limitations on the technical solutions of the present disclosure.

[0053] Figure 2 Schematically shows an exemplary system architecture of a method and a device for aggregating identification codes that can be applied according to an embodiment of the present disclosure. It should be noted that, Figure 2The illustration below is only an example of the system architecture to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure. However, it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios. It should be noted that the method for aggregating identification codes, the device for aggregating identification codes, and the electronic device provided by the embodiments of the present disclosure can be used in the related aspects of aggregating identification codes in the Internet of Things field, and can also be used in various fields other than the Internet of Things field, such as the field of aggregating identification codes. In addition, it can also be applied in the financial field. The application fields of the method for aggregating identification codes, the device for aggregating identification codes, and the electronic device provided by the embodiments of the present disclosure are not limited.

[0054] As Figure 2 shown, the system architecture 200 according to this embodiment may include terminal devices 201, 202, 203, a network 204, and a server 205. The network 204 may include multiple gateways, routers, hubs, network cables, etc., for providing a medium for communication links between the terminal devices 201, 202, 203 and the server 205. The network 204 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0055] Users can use the terminal devices 201, 202, 203 to interact with other terminal devices and the server 205 through the network 204 to receive or send information, such as sending service requests, service data, user identity associated information, etc. The terminal devices 201, 202, 203 may be installed with various communication client applications. For example, web browser applications, banking applications, e-commerce applications, search applications, office applications, instant messaging tools, email clients, social platform software, and other applications (only as examples).

[0056] The terminal devices 201, 202, 203 include but are not limited to smart phones, augmented reality devices, tablet computers, laptop portable computers, and electronic devices with functions such as barcode scanners that can support Internet access, web interaction, etc. The terminal device can collect information, such as at least one of login device attribute information, user attribute information, and service operation information.

[0057] The server 205 can receive requests for aggregating identification codes, etc., and process the requests. For example, the server 205 may be a background management server, a server cluster, etc. The background management server can analyze and process the received service requests, information requests, etc., and feedback the processing results (such as general QR codes) to the terminal devices.

[0058] It should be noted that the method for aggregating identification codes provided by the embodiments of the present disclosure can be executed by the server 205 or the terminal devices 201, 202, and 203. Correspondingly, the apparatus for aggregating identification codes provided by the embodiments of the present disclosure can be disposed in the terminal devices 201, 202, 203 or the server 205. It should be understood that the numbers of terminal devices, networks, and servers are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers.

[0059] Figure 3 Schematically shows a flowchart of the method for aggregating identification codes according to an embodiment of the present disclosure.

[0060] As Figure 3 shown, the method for aggregating identification codes may include operation S310 to operation S320.

[0061] In operation S310, receive an identification code request from a first client, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information.

[0062] In this embodiment, the first client may be the user's personal terminal, having a display screen for displaying the identification code, such as a smart phone, a tablet computer, etc. The token may be a token issued to the user by the authentication platform after the user's identity authentication is passed. For example, the user identity authentication may adopt multi-level authentication, such as the authentication method of user account password + SMS verification code, or the authentication method of user account password + SMS verification code + face recognition. The authentication platform may be an enterprise-level one or a higher-level authentication platform. The identification code may be a one-dimensional code, a two-dimensional code, etc.

[0063] In operation S320, in response to the identification code request, if the token is valid and the matching result of the user in the historical users corresponding to the service information is empty, send a first identification code including the user's user identity association information to the first client. The information of the first identification code can be decoded based on the first decoding rule, so that the second server side can determine the user identity association information from the first identification code based on the first decoding rule.

[0064] In this embodiment, the first identification code may be a two-dimensional code encapsulated by the first server side in a specific format based on user-related information, etc. The second server side may be a server side for handling services, such as a server side providing at least one of housing provident fund service handling, social security service handling, payment service handling, bus riding service, etc. If the matching result of the user information in the historical user information of a certain service is non-empty, it indicates that the user has used the service two-dimensional code of this service, and there are records and user identity-related information of this user stored in the first server side. On the contrary, it indicates that the user has not used the service two-dimensional code of this service, and there is no user identity-related information about this user in the server side of this service.

[0065] In some embodiments, the first decoding rule includes determining user identity-related information from the information of the first identification code according to a first preset format, where the first preset format includes user identity-related information arranged in a first specific order and at least one of the following: time information, terminal device information, or random number. Among them, the time information may be a timestamp. The terminal device information may be hardware information, such as CPU identification, hard disk identification, Media Access Control Address (MAC address), etc.

[0066] In some embodiments, the above method may further include: in response to the token being valid, if the matching result of the user in the historical users corresponding to the service information is non-empty, then send a second identification code including the user's user identity-related information to the first client. The second identification code is an identification code generated based on the second decoding rule of the identification code of the service corresponding to the service information. The information of the second identification code can be decoded based on the second decoding rule, and the first decoding rule is different from the second decoding rule.

[0067] In some embodiments, the second identification code is the service identification code of the service with the highest usage frequency among multiple services. Or, the second identification code is the service identification code with the highest usage frequency among the historical identification codes used by the user.

[0068] Reference Figure 1 As shown, if the bus riding service two-dimensional code is the one with the most uses by the public among multiple service identification codes, then the two-dimensional code generated based on the decoding rule of the bus riding service two-dimensional code can be used as the general two-dimensional code. For example, since most users often use the bus riding service two-dimensional code, it indicates that the bus riding service two-dimensional code has the most usage scenarios. Using it as the first identification code helps to improve the response speed of handling services using the first identification code, reduce the number of transmissions of decoding rules and / or user identity-related information between servers, and reduce resource consumption.

[0069] In some embodiments, the second decoding rule includes determining user identity associated information from the information of the second identification code according to a second preset format, where the second preset format includes user identity associated information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

[0070] Figure 4 Schematically shows a logical diagram of an output identification code according to an embodiment of the present disclosure.

[0071] As Figure 4 shown, a general two-dimensional code with general attributes can be returned to the user in the following manner. Figure 4 The bright code terminal in it can be the first client. The transcoding platform can be the first server side. The main code system can be a component of the second server side. The unified identity authentication platform can be the third server side, and the third server side can be a component of the second server side or an independent server side, such as a platform for unified identity authentication services provided by a government agency.

[0072] Figure 4 In it, the user performs an operation of displaying a two-dimensional code on the bright code terminal, and the bright code terminal will respond to this operation and send an identification code request to the transcoding platform. The identification request may include a token assigned by the unified identity authentication platform. The transcoding platform responds to the identification code request, performs token verification in the unified identity authentication translation to verify the token, and returns user information to the transcoding platform. If the token is in a legal state, the main code two-dimensional code (i.e., the second identification code, such as a two-dimensional code encoded according to the decoding rule of the business two-dimensional code used by the user) will be obtained. If the main code two-dimensional code is obtained, the main code two-dimensional code can be returned to the first client. If the main code two-dimensional code is not obtained, a general two-dimensional code (i.e., the first identification code) can be generated according to information such as user identity information, timestamp, device information, and / or random number in a specific format and based on the first decoding rule (such as in the way of the inverse operation of the decoding algorithm), and the general two-dimensional code is returned. It should be noted that if the authentication result of the unified identity authentication is that the token is illegal, an error can be returned, and a prompt message can be output, such as prompting the user to log in again, etc.

[0073] In some embodiments, the first server side can obtain user identity associated information from the identification code according to the decoding rule.

[0074] Figure 5 Schematically shows a logical diagram of determining user identity associated information according to an embodiment of the present disclosure.

[0075] Specifically, referring to Figure 5 shown, the above method may further include the following operations.

[0076] First, receive an identity resolution request from a second server end. The identity resolution request includes an identification code type, and the identification code type includes: a first type to which a first identification code belongs and a second type to which a second identification code belongs. In addition, the identity resolution request may include an identification code to be resolved, enabling the first server end to independently determine the type of the identification code.

[0077] Then, in response to the identity resolution request, determine a first decoding rule based on a first mapping relationship and the first type; or, in response to the identity resolution request, determine a second decoding rule based on a second mapping relationship and the second type. Figure 5 The master code mapping may be a mapping relationship between the type of the second identification code and the second decoding rule. Figure 5 The general code mapping may be a mapping relationship between the type of the first identification code and the first decoding rule.

[0078] Next, determine user identity - associated information from the first identification code based on the first decoding rule, or determine user identity - associated information from the second identification code based on the second decoding rule. This facilitates determining the required user dimension from the user identity - associated information.

[0079] Then, send the user identity - associated information to the second server end so that the second server end can perform business processing based on the user identity - associated information.

[0080] In some embodiments, the second server end may obtain user identity - associated information from the identification code according to the decoding rule.

[0081] Specifically, the above - mentioned method may further include the following operations.

[0082] First, receive an identity resolution request from a second server end. The identity resolution request includes an identification code type, and the identification code type includes: a first type to which a first identification code belongs and a second type to which a second identification code belongs.

[0083] In response to the identity resolution request, determine a first decoding rule based on a first mapping relationship and the first type; or, in response to the identity resolution request, determine a second decoding rule based on a second mapping relationship and the second type.

[0084] Send the first decoding rule or the second decoding rule to the second server end so that the second server end can determine user identity - associated information from the first identification code based on the first decoding rule, or determine user identity - associated information from the second identification code based on the second decoding rule, and perform business processing based on the user identity - associated information.

[0085] In some embodiments, when the authentication result of the third server for authenticating a user passes, a token is a string issued to the first client, and the token has a time limit.

[0086] For example, the transcoding platform is connected to the unified identity authentication platform to authenticate the users who request two-dimensional codes. At the same time, device verification is introduced to ensure the legitimacy of two-dimensional code users. By verifying the validity period of the two-dimensional code, the time window for the leakage of the two-dimensional code is reduced. By introducing random numbers into the general code, the randomness of the two-dimensional code is increased.

[0087] In some embodiments, the information of the first identification code or the second identification code is encrypted before transmission.

[0088] For example, the two-dimensional code generated by the transcoding platform contains user personal information such as name, mobile phone number, ID number, extended fields, etc. When transmitting, an encryption algorithm is used to encrypt the user information. When each department and other systems (i.e., the second server) call the transcoding platform, the information is encrypted based on the communication keys reserved by both parties when accessing and opening the service. At the same time, the https mechanism (encrypted transmission through the SSL protocol) is adopted during all data transmissions, and the service is deployed in a separate government affairs network environment.

[0089] In some embodiments, the first server assigns permissions to the second server, and the first server audits the transmission information between the first server and the second server.

[0090] For example, tenant numbers are assigned to different business systems that call the transcoding platform for permission control and log auditing to prevent malicious attacks from the channel side, and at the same time, it can be used for access volume data statistics and problem tracing.

[0091] In a specific embodiment, transcoding and business processing: after receiving the two-dimensional code, the business system of the department checks whether the two-dimensional code is a two-dimensional code of the transcoding platform (i.e., the first identification code). If not, normal business processing is performed; if so, the two-dimensional code is used to request the transcoding platform for parsing. The transcoding platform parses the two-dimensional code (main code or general code) to generate various user information required for business processing by the department and returns it to the business system of the department.

[0092] Another aspect of the present disclosure provides a method for aggregating identification codes executed by the first client.

[0093] Figure 6 A flowchart of a method for aggregating identification codes according to another embodiment of the present disclosure is schematically shown.

[0094] As Figure 6 shown, the method for aggregating identification codes may include operation S610 to operation S640.

[0095] In operation S610, a first operation for the first client is received. The first operation is used to display an identification code on the first client so that the user can handle business based on the displayed identification code.

[0096] In this embodiment, the first client may be the user's terminal device, which has a display screen, such as a touch display screen, and can perform human-computer interaction with the user. The first client can display the identification code so that the terminal device of the business outlet can obtain user identity-related information and the like by means of scanning the code.

[0097] In operation S620, in response to the first operation, an identification code request is sent to the first server. The identification code request includes a token indicating that the user's identity authentication result is passed and business information.

[0098] The first operation includes, but is not limited to: clicking, long pressing, swiping, gazing, etc. The token can refer to the relevant scheme content.

[0099] In operation S630, a first identification code from the first server is received. The first identification code is the identification code sent by the first server to the first client when the token is valid and the matching result of the user in the historical users corresponding to the business information is empty. The first identification code includes the user's identity-related information of the user and can be decoded based on the first decoding rule.

[0100] The first decoding rule can refer to the relevant content above.

[0101] In operation S640, the first identification code is displayed so that the second server can determine the user's identity-related information from the first identification code obtained by the second client. Among them, the user's identity-related information is determined by the first server or the second server based on the first identification code and the first decoding rule.

[0102] In some embodiments, the above method may further include the following operations.

[0103] First, a second identification code from the first server is received. The second identification code is an identification code generated based on a second decoding rule for the identification code of the business corresponding to the business information. The information of the second identification code can be decoded based on the second decoding rule, and the first decoding rule is different from the second decoding rule.

[0104] Then, the second identification code is displayed so that the second server can determine the user's identity-related information from the second identification code.

[0105] Among them, the user identity associated information is determined by the first server based on the second identification code and the second decoding rule from the second server; or, the user identity associated information is determined by the second server based on the second identification code from the second client and the second decoding rule from the first server.

[0106] For example, when handling a specific business, after the scanner of the acceptance end scans the code, it verifies the legality of the two-dimensional code information and transmits the scanned information to the corresponding department business system.

[0107] For example, when a user is in the hall for handling provident fund business, the user opens the aggregated identification code application and uses the terminal device to display the ride two-dimensional code, which is convenient for the user to handle the provident fund business by presenting the two-dimensional code.

[0108] In a specific embodiment, regarding the process of showing the code: The user applies for a two-dimensional code on the code showing terminal (such as the app side). The code showing terminal calls the code conversion platform with information such as the user's name, mobile phone number, and ID number. The code conversion platform generates a main code or a general code according to the user information and returns it.

[0109] Another aspect of the present disclosure provides a method for aggregated identification codes executed by a second server.

[0110] Figure 7 Schematically shows a flowchart of a method for aggregated identification codes according to another embodiment of the present disclosure.

[0111] As Figure 7 shown, the method for aggregated identification codes may include operation S710 to operation S730.

[0112] In operation S710, receive a first identification code from a second client. The first identification code is an identification code obtained by the second client scanning the first identification code displayed by the first client. The first identification code displayed by the first client is an identification code from the first server, which is determined by the first server when the token from the first client is valid and the matching result of the user in the historical users corresponding to the service information is empty, and includes the user's user identity associated information.

[0113] Among them, the second client may be a terminal device with a scanning function and a shooting function. Such as an electronic device with a scanner (device) and / or a camera.

[0114] In operation S720, in response to the first identification code, send the type of the first identification code to the first server so that the first server can determine the first decoding rule corresponding to the type of the first identification code.

[0115] Refer to Figure 5As shown, the decoding rule can be determined based on the primary code mapping or the general code mapping.

[0116] In operation S730, receive user identity association information from the first server; or receive a first decoding rule from the first server, where the information of the first identification code can be decoded based on the first decoding rule, so that the second server can determine the user identity association information from the first identification code based on the first decoding rule.

[0117] In some embodiments, the above method may further include the following operations.

[0118] First, in response to the user identity association information, perform service processing based on the user identity association information to obtain a service processing result.

[0119] Then, send the service processing result to the first client.

[0120] In this way, after the user presents the general QR code, the second server for performing service processing can perform service processing based on the user association information included in the general QR code, such as performing provident fund service processing, performing social security service processing, etc.

[0121] Another aspect of the present disclosure also provides an apparatus for aggregating identification codes, which is provided on the first server.

[0122] Figure 8 Schematically shows a block diagram of the apparatus for aggregating identification codes according to an embodiment of the present disclosure.

[0123] As Figure 8 shown, the above apparatus 800 may include: an identification code request receiving module 810 and a first identification code sending module 820.

[0124] The identification code request receiving module 810 is configured to receive an identification code request from the first client, and the identification code request includes a token indicating that the identity authentication result for the user is passed and service information.

[0125] The first identification code sending module 820 is configured to, in response to the identification code request, if the token is valid and the matching result of the user in the historical users corresponding to the service information is empty, send a first identification code including the user identity association information of the user to the first client, and the information of the first identification code can be decoded based on the first decoding rule, so that the second server can determine the user identity association information from the first identification code based on the first decoding rule.

[0126] Another aspect of the present disclosure also provides an apparatus for aggregating identification codes, which is provided on the first client.

[0127] Figure 9A block diagram of an apparatus for aggregating identification codes according to another embodiment of the present disclosure is schematically shown.

[0128] As Figure 9 shown, the apparatus 900 for aggregating identification codes may include: an operation receiving module 910, an identification code request sending module 920, a first identification code receiving module 930, and a first identification code display module 940.

[0129] The operation receiving module 910 is configured to receive a first operation for a first client, where the first operation is used to display an identification code on the first client so as to handle a service based on the displayed identification code.

[0130] The identification code request sending module 920 is configured to, in response to the first operation, send an identification code request to a first server side, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information.

[0131] The first identification code receiving module 930 is configured to receive a first identification code from the first server side. The first identification code is an identification code sent by the first server side to the first client when the token is valid and the matching result of the user in the historical users corresponding to the service information is empty. The first identification code includes user identity association information of the user and can be decoded based on a first decoding rule.

[0132] The first identification code display module 940 is configured to display the first identification code so that a second server side can determine user identity association information from the first identification code obtained by a second client, where the user identity association information is determined by the first server side or the second server side based on the first identification code and the first decoding rule.

[0133] Another aspect of the present disclosure further provides an apparatus for aggregating identification codes, which is disposed on a second server side.

[0134] Figure 10 A block diagram of an apparatus for aggregating identification codes according to another embodiment of the present disclosure is schematically shown.

[0135] As Figure 10 shown, the apparatus 1000 for aggregating identification codes may include: a transcoded first identification code receiving module 1010, a first decoding rule determining module 1020, and an identity information or decryption rule receiving module 1030.

[0136] The transcoded first identification code receiving module 1010 is configured to receive a first identification code from a second client. The first identification code is an identification code obtained by the second client scanning the first identification code displayed by the first client. The first identification code displayed by the first client is an identification code from a first server end, and is determined by the first server end when the token from the first client is valid and the matching result of the user in the historical users corresponding to the service information is empty. The first identification code includes the user identity association information of the user.

[0137] The first decoding rule determining module 1020 is configured to send the type of the first identification code to the first server end in response to the first identification code, so that the first server end determines a first decoding rule corresponding to the type of the first identification code.

[0138] The identity information or decryption rule receiving module 1030 is configured to receive the user identity association information from the first server end; or receive the first decoding rule from the first server end, where the information of the first identification code can be decoded based on the first decoding rule, so that the second server end determines the user identity association information from the first identification code based on the first decoding rule.

[0139] Another aspect of the present disclosure also provides a system for aggregating identification codes.

[0140] Figure 11 Schematically shows a block diagram of a system for aggregating identification codes according to an embodiment of the present disclosure.

[0141] As Figure 11 shown, the system 1100 for aggregating identification codes may include: a first client 1110, a first server end 1120, a second client 1130, and a second server end 1140.

[0142] The first client 1110 is configured to receive a first operation on the first client, and in response to the first operation, send an identification code request to the first server end. The identification code request includes a token indicating that the identity authentication result for the user is passed and service information.

[0143] The first server end 1120 is configured to send a first identification code including the user identity association information of the user to the first client when the token is valid and the matching result of the user in the historical users corresponding to the service information is empty, so that the first client displays the first identification code, and the information of the first identification code can be decoded based on the first decoding rule.

[0144] The second client 1130 is configured to scan the first identification code displayed by the first client and send the first identification code to the second server end.

[0145] The second server 1140 is configured to send the type of the first identification code to the first server in response to the first identification code, so that the first server can determine the first decoding rule corresponding to the type of the first identification code, determine the user identity association information based on the first decoding rule, and the second server receives the user identity association information from the first server; or the second server receives the first decoding rule from the first server and determines the user identity association information from the first identification code based on the first decoding rule.

[0146] Figure 12 FIG. schematically shows a logical diagram of a system for aggregating identification codes according to an embodiment of the present disclosure.

[0147] As Figure 12 shown, the bright code terminal sends an identification code request to the transcoding platform, and the transcoding platform requests the main code (a two-dimensional code generated based on the decoding rule of the service two-dimensional code used by the user) from the main code system. If the main code exists, the main code (universal code) can be returned. If the main code does not exist, a universal code can be generated based on the user identity association information, etc., and the universal code is returned. The bright code terminal displays the universal two-dimensional code returned by the transcoding platform. The scanning terminal scans the universal code displayed by the bright code terminal, makes a service call, and sends the universal two-dimensional code to the service system. The service system determines the category of the universal two-dimensional code. If it is the main code, the original service is processed. If it is the first two-dimensional code generated based on the user identity association information, the service system can request the required user information from the transcoding platform. The transcoding platform determines the decoding rule corresponding to the first two-dimensional code based on the mapping relationship, and determines the user identity association information (such as the user identity information required for the service system to handle services) from the first two-dimensional code based on the decoding rule. The transcoding platform sends the user identity association information to the service system so that the service can handle services based on the user identity association information.

[0148] The embodiment of the present disclosure establishes a fusion code system based on "main code + universal code", where the main code is the service's own two-dimensional code, and the service two-dimensional code with the highest usage frequency can be selected according to the actual situation, or a certain service two-dimensional code can be selected as the main code according to other rules; the universal code is a two-dimensional code generated by the platform based on user information, etc. when the user does not meet the conditions for using the main code. The idea of combining the two-dimensional codes of different service systems into one two-dimensional code and presenting it to the user can greatly simplify the user's service handling operations, reduce the cumbersome two-dimensional code application and handling processes during service handling, and effectively solve the current problems of coexistence of multiple codes, poor universality, and inability to share and mutually recognize relevant data. At the same time, permission control and log auditing can be performed on the handling channels of different service users, which is convenient for management and problem tracing. Finally, aggregating different service two-dimensional codes together and implementing them through one page can reduce the workload of operation, publicity, and promotion.

[0149] It should be noted that the implementation manners, the technical problems solved, the functions achieved, and the technical effects achieved by each module / unit, etc. in the device partial embodiments are the same as or similar to those of the corresponding steps in the method partial embodiments, and will not be elaborated herein one by one.

[0150] Any number of the modules and units according to the embodiments of the present disclosure, or at least part of the functions of any number of them, can be implemented in one module. Any one or more of the modules and units according to the embodiments of the present disclosure can be split into multiple modules for implementation. Any one or more of the modules and units according to the embodiments of the present disclosure can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system in a package, an application specific integrated circuit (ASIC), or can be implemented by any other reasonable manner of integrating or packaging the circuit, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, one or more of the modules and units according to the embodiments of the present disclosure can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding functions can be executed.

[0151] For example, any number of the identification code request receiving module 810 and the first identification code sending module 820 can be combined and implemented in one module, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to the embodiments of the present disclosure, at least one of the identification code request receiving module 810 and the first identification code sending module 820 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system in a package, an application specific integrated circuit (ASIC), or can be implemented by any other reasonable manner of integrating or packaging the circuit, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, at least one of the identification code request receiving module 810 and the first identification code sending module 820 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding functions can be executed.

[0152] Figure 13 A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. Figure 13 The shown electronic device is only an example and should not bring any limitation to the functions and the usage scope of the embodiments of the present disclosure.

[0153] As shown Figure 13 in FIG. 1, the electronic device 1300 according to an embodiment of the present disclosure includes a processor 1301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1302 or a program loaded from a storage section 1308 into a random access memory (RAM) 1303. The processor 1301 may include, for example, a general-purpose microprocessor (e.g., CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (e.g., an application specific integrated circuit (ASIC)), and so on. The processor 1301 may also include on-board memory for caching purposes. The processor 1301 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0154] In the RAM 1303, various programs and data required for the operation of the electronic device 1300 are stored. The processor 1301, the ROM 1302, and the RAM 1303 are communicatively connected to each other via a bus 1304. The processor 1301 performs various operations of the method flow according to an embodiment of the present disclosure by executing programs in the ROM 1302 and / or the RAM 1303. It should be noted that the program may also be stored in one or more memories other than the ROM 1302 and the RAM 1303. The processor 1301 may also perform various operations of the method flow according to an embodiment of the present disclosure by executing programs stored in one or more memories.

[0155] According to an embodiment of the present disclosure, the electronic device 1300 may further include an input / output (I / O) interface 1305, and the input / output (I / O) interface 1305 is also connected to the bus 1304. The electronic device 1300 may further include one or more of the following components connected to the I / O interface 1305: an input portion 1306 including a keyboard, a mouse, etc.; an output portion 1307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1308 including a hard disk, etc.; and a communication portion 1309 including a network interface card such as a LAN card, a modem, etc. The communication portion 1309 performs communication processing via a network such as the Internet. A drive 1310 is also connected to the I / O interface 1305 as needed. A removable medium 1311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1310 as needed so that a computer program read therefrom can be installed into the storage portion 1308 as needed.

[0156] According to an embodiment of the present disclosure, the method flow according to the embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1309, and / or installed from the removable medium 1311. When the computer program is executed by the processor 1301, the above functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described system, device, apparatus, module, unit, etc. can be implemented by computer program modules.

[0157] The present disclosure also provides a computer-readable storage medium, which may be included in the device / device / system described in the above embodiment; or may exist separately without being assembled into the device / device / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0158] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the above-described ROM 1302 and / or RAM 1303 and / or one or more memories other than ROM 1302 and RAM 1303.

[0159] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program includes program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to cause the electronic device to implement the image model training method or the method of aggregating identification codes provided by the embodiment of the present disclosure.

[0160] When the computer program is executed by the processor 1301, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described system, device, module, unit, etc. can be implemented by computer program modules.

[0161] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices and magnetic storage devices. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1309, and / or installed from the removable medium 1311. The program code included in the computer program may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0162] According to embodiments of the present disclosure, the program code for executing the computer program provided by the embodiments of the present disclosure may be written in any combination of one or more programming languages. Specifically, these computing programs may be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include but are not limited to, for example, Java, C++, Python, the "C" language, or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).

[0163] Those skilled in the art can understand that the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly recited in the present disclosure. These embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the various embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and these substitutions and modifications should all fall within the scope of the present disclosure.

Claims

1. A method for aggregating identification codes executed by a first server, comprising: Receiving an identification code request from a first client, the identification code request including a token indicating that the authentication result for the user is passed and service information; And Responding to the identification code request, if the token is valid and the matching result of the user among the historical users corresponding to the service information is empty, sending a first identification code including the user's user identity association information to the first client, the first identification code being an identification code generated based on a first decoding rule, the first decoding rule including determining user identity association information from the information of the first identification code according to a first preset format, wherein the first preset format includes user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information, or a random number; Wherein, the method further includes: Responding to the token being valid, if the matching result of the user among the historical users corresponding to the service information is non-empty, sending a second identification code including the user's user identity association information to the first client, the second identification code being an identification code generated based on a second decoding rule of the identification code corresponding to the service information, the second identification code being the service identification code of the service with the highest usage frequency among multiple services, or the second identification code being the service identification code with the highest usage frequency among the historical identification codes used by the user, the second decoding rule including determining user identity association information from the information of the second identification code according to a second preset format, wherein the second preset format includes user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

2. The method according to claim 1, further comprising: Receiving an identity resolution request from a second server, the identity resolution request including an identification code type, the identification code type including: a first type to which the first identification code belongs and a second type to which the second identification code belongs; Responding to the identity resolution request, determining a first decoding rule based on a first mapping relationship and the first type; or, responding to the identity resolution request, determining a second decoding rule based on a second mapping relationship and the second type; Determining user identity association information from the first identification code based on the first decoding rule, or determining user identity association information from the second identification code based on the second decoding rule; and Sending the user identity association information to the second server for the second server to perform service processing based on the user identity association information.

3. The method according to claim 1, further comprising: Receiving an identity resolution request from a second server, the identity resolution request including an identification code type, the identification code type including: a first type to which the first identification code belongs and a second type to which the second identification code belongs; In response to the identity resolution request, determine a first decoding rule based on the first mapping relationship and the first type; or, in response to the identity resolution request, determine a second decoding rule based on the second mapping relationship and the second type; and Send the first decoding rule or the second decoding rule to the second server side, so that the second server side determines user identity association information from the first identification code based on the first decoding rule, or determines user identity association information from the second identification code based on the second decoding rule, and performs service processing based on the user identity association information.

4. The method according to any one of claims 1 to 3, wherein The token is a string issued to the first client when the authentication result of the third server side for the user passes the authentication, and the token has timeliness; and / or The information of the first identification code or the second identification code is encrypted before transmission; and / or The first server side assigns permissions to the second server side, and the first server side audits the transmission information between the first server side and the second server side.

5. A method for aggregating identification codes executed by a first client, comprising: Receiving a first operation on the first client, the first operation being used to display an identification code on the first client so that a user can handle services based on the displayed identification code; In response to the first operation, sending an identification code request to the first server side, the identification code request including a token indicating that the authentication result for the user passes and service information; Receiving a first identification code from the first server side, the first identification code being an identification code generated based on a first decoding rule, the first identification code being the identification code sent by the first server side to the first client when the token is valid and the matching result of the user in the historical users corresponding to the service information is empty, the first identification code including the user identity association information of the user, the first decoding rule including determining the user identity association information from the information of the first identification code according to a first preset format, wherein the first preset format includes user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information or random number; and Displaying the first identification code so that the second server side determines user identity association information from the first identification code obtained by the second client, wherein the user identity association information is determined by the first server side or the second server side based on the first identification code and the first decoding rule, wherein the method further includes: Receive a second identification code from the first server side. The second identification code is an identification code generated based on a second decoding rule for the identification code of the service corresponding to the service information. The second identification code is the identification code sent by the first server side to the first client in response to the token being valid and the matching result of the user in the historical users of the service corresponding to the service information being non-empty. The second identification code includes the user identity association information of the user. The second identification code is the service identification code of the service with the highest usage frequency among multiple services, or the second identification code is the service identification code with the highest usage frequency among the historical identification codes used by the user. The second decoding rule includes determining the user identity association information from the information of the second identification code according to a second preset format, where the second preset format includes the user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

6. The method according to claim 5, further comprising: Display the second identification code so that the second server side can determine the user identity association information from the second identification code; wherein the user identity association information is determined by the first server side based on the second identification code from the second server side and the second decoding rule; or the user identity association information is determined by the second server side based on the second identification code from the second client and the second decoding rule from the first server side.

7. A method for aggregating identification codes executed by a second server side, comprising: Receive a first identification code from a second client. The first identification code is an identification code generated based on a first decoding rule. The first identification code is the identification code obtained by the second client by scanning the first identification code displayed by the first client. The first identification code displayed by the first client is an identification code from the first server side, which is determined by the first server side to include the user identity association information of the user in response to the token from the first client being valid and the matching result of the user in the historical users of the service corresponding to the service information being empty. The first decoding rule includes determining the user identity association information from the information of the first identification code according to a first preset format, where the first preset format includes the user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information, or a random number; In response to the first identification code, send the type of the first identification code to the first server side so that the first server side can determine the first decoding rule corresponding to the type of the first identification code; and Receive the user identity association information from the first server side; or receive the first decoding rule from the first server side, where the information of the first identification code can be decoded based on the first decoding rule so that the second server side can determine the user identity association information from the first identification code based on the first decoding rule. Wherein, the method further includes: Receiving a second identification code from a second client, where the second identification code is an identification code generated based on a second decoding rule of an identification code of a service corresponding to the service information. The second identification code is an identification code obtained by the second client scanning a second identification code displayed by the first client. The second identification code displayed by the first client is an identification code from a first server side. The first server side determines, in response to the token from the first client being valid and the matching result of the user among the historical users of the service corresponding to the service information being non-empty, a second identification code including the user's user identity association information. The second identification code is the service identification code of the service with the highest usage frequency among multiple services, or the second identification code is the service identification code with the highest usage frequency among the historical identification codes used by the user. The second decoding rule includes determining user identity association information from the information of the second identification code according to a second preset format, where the second preset format includes user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

8. The method according to claim 7, further including: In response to the user identity association information, performing service processing based on the user identity association information to obtain a service processing result; And Sending the service processing result to the first client.

9. An apparatus for aggregating identification codes, disposed on a first server side, the apparatus includes: An identification code request receiving module, configured to receive an identification code request from a first client, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; And A first identification code sending module, configured to, in response to the identification code request, if the token is valid and the matching result of the user among the historical users of the service corresponding to the service information is empty, send a first identification code including the user's user identity association information to the first client. The first identification code is an identification code generated based on a first decoding rule, and the first decoding rule includes determining user identity association information from the information of the first identification code according to a first preset format, where the first preset format includes user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information, or a random number. Wherein, the first identification code sending module is further configured to: in response to the token being valid, if the matching result of the user among the historical users of the service corresponding to the service information is non-empty, send a second identification code including the user identity association information of the user to the first client, where the second identification code is an identification code generated based on a second decoding rule of the identification code of the service corresponding to the service information, the second identification code is the service identification code of the service with the highest usage frequency among multiple services, or the second identification code is the service identification code with the highest usage frequency among the historical identification codes used by the user, and the second decoding rule includes determining the user identity association information from the information of the second identification code according to a second preset format, where the second preset format includes the user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

10. An apparatus for aggregating identification codes, which is disposed on a first client and includes: An operation receiving module, configured to receive a first operation on the first client, where the first operation is used to display an identification code on the first client for handling a service based on the displayed identification code; An identification code request sending module, configured to, in response to the first operation, send an identification code request to a first server, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; A first identification code receiving module, configured to receive a first identification code from the first server, where the first identification code is an identification code generated based on a first decoding rule, and the first identification code is the identification code sent by the first server to the first client in response to the token being valid and the matching result of the user among the historical users of the service corresponding to the service information being empty. The first identification code includes the user identity association information of the user, and the first decoding rule includes determining the user identity association information from the information of the first identification code according to a first preset format, where the first preset format includes the user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information, or a random number; and A first identification code display module, configured to display the first identification code so that a second server can determine the user identity association information from the first identification code obtained by the second client, where the user identity association information is determined by the first server or the second server based on the first identification code and the first decoding rule. Among them, the first identification code receiving module is further configured to: receive a second identification code from the first server end, where the second identification code is an identification code generated based on a second decoding rule for the identification code of the service corresponding to the service information, and the second identification code is an identification code sent by the first server end to the first client when the token is valid and the matching result of the user in the historical users of the service corresponding to the service information is non-empty. The second identification code includes the user identity association information of the user. The second identification code is the service identification code of the service with the highest usage frequency among multiple services, or the second identification code is the service identification code of the service with the highest usage frequency among the historical identification codes used by the user. The second decoding rule includes determining the user identity association information from the information of the second identification code according to a second preset format, where the second preset format includes the user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

11. An apparatus for aggregating identification codes, which is set on the second server end and includes: A transcoded first identification code receiving module, configured to receive a first identification code from a second client, where the first identification code is an identification code generated based on a first decoding rule, and the first identification code is an identification code obtained by the second client by scanning the first identification code displayed by the first client. The first identification code displayed by the first client is an identification code from the first server end, which is determined by the first server end when the token from the first client is valid and the matching result of the user in the historical users of the service corresponding to the service information is empty, and includes the user identity association information of the user. The first decoding rule includes determining the user identity association information from the information of the first identification code according to a first preset format, where the first preset format includes the user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information, or random number; A first decoding rule determining module, configured to send the type of the first identification code to the first server end in response to the first identification code, so that the first server end determines a first decoding rule corresponding to the type of the first identification code; and An identity information or decryption rule receiving module, configured to receive the user identity association information from the first server end; or receive the first decoding rule from the first server end, where the information of the first identification code can be decoded based on the first decoding rule, so that the second server end determines the user identity association information from the first identification code based on the first decoding rule. Among them, the transcoded first identification code receiving module is further configured to: receive a second identification code from a second client, where the second identification code is an identification code generated based on a second decoding rule of an identification code of a service corresponding to the service information, the second identification code is an identification code obtained by the second client scanning a second identification code displayed by the first client, the second identification code displayed by the first client is an identification code from a first server, and is determined by the first server in response to the token from the first client being valid and the matching result of the user in the historical users of the service corresponding to the service information being non-empty, and includes the user identity association information of the user, the second identification code is the service identification code of the service with the highest usage frequency among multiple services, or the second identification code is the service identification code with the highest usage frequency among the historical identification codes used by the user, and the second decoding rule includes determining user identity association information from the information of the second identification code according to a second preset format, where the second preset format includes user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

12. A system for aggregating identification codes, comprising: A first client, configured to receive a first operation on the first client, and in response to the first operation, send an identification code request to a first server, where the identification code request includes a token indicating that the identity authentication result for the user is passed and service information; A first server, configured to, in response to the token being valid and the matching result of the user in the historical users of the service corresponding to the service information being empty, send a first identification code including the user identity association information of the user to the first client, where the first identification code is an identification code generated based on a first decoding rule, so that the first client displays the first identification code, and the first decoding rule includes determining user identity association information from the information of the first identification code according to a first preset format, where the first preset format includes user identity association information arranged in a first specific order and at least one of the following: time information, terminal device information, or a random number; A second client, configured to scan the first identification code displayed by the first client and send the first identification code to a second server; and A second server, configured to, in response to the first identification code, send the type of the first identification code to the first server, so that the first server determines a first decoding rule corresponding to the type of the first identification code, determines user identity association information based on the first decoding rule, and the second server receives the user identity association information from the first server; or the second server receives the first decoding rule from the first server and determines user identity association information from the first identification code based on the first decoding rule. Wherein, the first server is further configured to: in response to the token being valid, if the matching result of the user among the historical users corresponding to the service information is non-empty, send a second identification code including the user identity association information of the user to the first client. The second identification code is an identification code generated based on a second decoding rule of the identification code of the service corresponding to the service information. The second identification code is the service identification code of the service with the highest usage frequency among multiple services, or the second identification code is the service identification code of the service with the highest usage frequency among the historical identification codes used by the user. The second decoding rule includes determining the user identity association information from the information of the second identification code according to a second preset format, where the second preset format includes the user identity association information arranged in a second specific order and at least one of the following: time information, terminal device information, or service information.

13. An electronic device, comprising: One or more processors; A storage device for storing executable instructions, which when executed by the processor, implement the method for aggregating identification codes according to any one of claims 1 to 4, or implement the method for aggregating identification codes according to any one of claims 5 to 6, or implement the method for aggregating identification codes according to any one of claims 7 to 8.

14. A computer-readable storage medium, on which executable instructions are stored, and when the instructions are executed by a processor, implement the method for aggregating identification codes according to any one of claims 1 to 4, or implement the method for aggregating identification codes according to any one of claims 5 to 6, or implement the method for aggregating identification codes according to any one of claims 7 to 8.

Citation Information

Patent Citations

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

    CN113011864A