Identification code display method and electronic device

Using electronic equipment to scan the entry image and generate an identification code solves the time-consuming problem of multiple people scanning the code in sequence, improves the efficiency of code scanning, and reduces congestion at the entrance of the venue.

CN115190440BActive Publication Date: 2024-10-29VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210868605.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2024-10-29
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

When multiple people enter a venue, the process of displaying admission vouchers one after another consumes a lot of time, leading to congestion at the entrance of the venue.

Method used

Use electronic devices to scan admission images to generate identification codes, and send target information, including image information or trigger information, to relevant groups to obtain user information and generate joint identification codes to avoid multiple code scanning operations.

Benefits of technology

It improves the efficiency of scanning codes, reduces crowding at the entrance of the venue, and simplifies the admission process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190440B_ABST
    Figure CN115190440B_ABST
Patent Text Reader

Abstract

The present application discloses a method and electronic device for displaying an identification code, which belongs to the field of communication technology. The specific scheme includes: when it is detected that a first user performs a scanning operation on a first image through a first electronic device, a first identification code generated after scanning is obtained, and group information of the first user is obtained; when the first user is in a target group related to the first identification code, target information is sent in the target group, wherein the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information is used to trigger the acquisition of user information of users in the target group; the second electronic device corresponding to the user in the target group is used to obtain the identification code corresponding to the user according to the target information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a method for displaying an identification code and an electronic device. Background Art

[0002] Usually, people may need to show their admission credentials when entering some important places, for example, admission to important meetings, admission to infectious disease prevention and control, etc.

[0003] In the related art, when multiple people need to enter a place, each person needs to show their admission credentials in turn. For example, when entering a place for infectious disease prevention and control, each person needs to scan and show the place code of the place.

[0004] However, the process of showing one's admission ticket one by one takes a lot of time and can easily cause congestion at the entrance of the venue. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a method for displaying an identification code and an electronic device, which can solve the problem that it takes a lot of time for multiple people to display their admission credentials in turn.

[0006] In a first aspect, an embodiment of the present application provides a method for displaying an identification code, the method comprising: when a first user is detected to have scanned a first image through a first electronic device, obtaining a first identification code generated after the scan, and obtaining group information of the first user; when the first user is in a target group related to the first identification code, sending target information in the target group, wherein the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information being used to trigger the acquisition of user information of users in the target group; a second electronic device corresponding to the user in the target group being used to obtain an identification code corresponding to the user based on the target information.

[0007] In the second aspect, an embodiment of the present application also provides a method for displaying an identification code, including: receiving target information sent by a first electronic device; if the target information includes the trigger information, obtaining user information of a second user corresponding to the second electronic device, the user information including at least one of the following: user identification, user health status information, user travel information; sending the user information of the second user to a server, so that the server generates a joint identification code based on the user information; and displaying the joint identification code when the joint identification code sent by the server is received.

[0008] In a third aspect, an embodiment of the present application provides a device for displaying an identification code, comprising: a first acquisition module and a first communication module; the first acquisition module is used to, when detecting that a first user has scanned a first image through a first electronic device, obtain a first identification code generated after scanning and obtain group information in which the first user is located; the first communication module is used to, when the first user is in a target group associated with the first identification code, send target information in the target group, wherein the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information being used to trigger the acquisition of user information of users in the target group; the second electronic device corresponding to the user in the target group is used to obtain an identification code corresponding to the user based on the target information.

[0009] In a fourth aspect, an embodiment of the present application provides a device for displaying an identification code, comprising: a second communication module, a second acquisition module and a second display module; the second communication module is used to receive target information sent by a first electronic device; the second acquisition module is used to obtain user information of a second user corresponding to the second electronic device if the target information includes the trigger information, and the user information includes at least one of the following: user identification, user health status information, and user travel information; the second communication module is also used to send the user information of the second user to a server, so that the server generates a joint identification code based on the user information; the second display module is used to display the joint identification code when the joint identification code sent by the server is received.

[0010] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0011] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0012] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect or the second aspect.

[0013] In an eighth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect or the second aspect.

[0014] In the embodiment of the present application, when it is detected that the first user performs a scanning operation on the first image through the first electronic device, the first identification code generated after the scanning is obtained, and the group information of the first user is obtained; when the first user is in the target group related to the first identification code, the target information is sent in the target group; wherein the target information includes at least one of the following: the image information of the first image, or the trigger information, the trigger information is used to trigger the acquisition of the user information of the user in the target group; the second electronic device corresponding to the user in the target group is used to obtain the identification code corresponding to the user according to the target information. Through this scheme, after the first user performs a code scanning operation on the first image through the first electronic device, the first identification code generated after the scanning is obtained, and the target information is sent to the target group related to the first identification code where the first user is located. When the target information is the image information of the first image, the users in the target group can complete the code scanning operation based on the image information of the first image, thereby avoiding the problem that the users need to stay at the door of the venue to scan the code; when the target information is the trigger information, since the trigger information can trigger the acquisition of the user information of the users in the target group, it can avoid the problem that multiple users need to scan the code in sequence, thereby improving the efficiency of code scanning and avoiding the problem of congestion of people at the door of the venue. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is one of the flow charts of the method for displaying the identification code provided in the embodiment of the present application;

[0016] Figure 2 This is the second flow chart of the method for displaying the identification code provided in the embodiment of the present application;

[0017] Figure 3 This is a schematic diagram of the interface display of the joint identification code provided in the embodiment of the present application;

[0018] Figure 4 It is a structural schematic diagram of an identification code display device provided in an embodiment of the present application;

[0019] Figure 5 It is a structural schematic diagram of another identification code display device provided in an embodiment of the present application;

[0020] Figure 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0021] Figure 7 It is a hardware schematic diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0024] An embodiment of the present application provides a system for displaying an identification code. The system for displaying an identification code includes a first electronic device, at least one second electronic device, and a server.

[0025] When the first user and at least one second user want to team up to enter a target place, the first user can scan the first image through the first electronic device, and the first image can be an image of an identification code corresponding to the target place. After the first electronic device scans the first image, the first electronic device can obtain the first identification code generated after the scan, and obtain the group information of the first user. Afterwards, the first electronic device can determine the target group based on the first identification code and the group information, and send target information in the target group. The target information may include at least one of the following: image information of the first image, or trigger information, and the trigger information is used to trigger the acquisition of user information of users in the target group.

[0026] The second electronic device can receive the target information sent by the first electronic device in the target group. When the target information is the image information of the first image, the second electronic device can scan the image information of the first image to obtain the corresponding user information of the second user, and display the identification code corresponding to the second user according to the user information; when the target information is trigger information, the second electronic device can automatically obtain the corresponding user information of the second user and send the user information of the second user to the server. Therefore, the second user can obtain his own user information through the first image in advance and generate an identification code.

[0027] The server can receive user information of all users in the target group, and determine whether the user information of each user in the target group meets the preset regulations. If the user information of the users in the target group meets the preset regulations, the server can generate a joint identification code in the first display state; if the user information of at least one user in the target group does not meet the preset regulations, the server can generate a joint identification code in the second display state, and then the server can send the generated joint identification code to the target group. Finally, the first electronic device and the second electronic device can receive the joint identification code in the target group and display the joint identification code.

[0028] The following is a detailed description of the identification code display method provided in the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0029] like Figure 1 As shown, an embodiment of the present application provides a method for displaying an identification code, which is applied to a first electronic device in the above identification code display system. The method may include steps 101 and 102:

[0030] Step 101: When a scanning operation of a first image by a first user is detected through a first electronic device, the first electronic device obtains a first identification code generated after the scanning, and acquires group information of the first user.

[0031] When a first user and at least one second user want to form a team to enter a target place, the first user can scan the first image through the first electronic device. After detecting the scanning operation of the first electronic device on the first image, the first electronic device can obtain the first identification code generated after the scan and obtain the group information of the first user.

[0032] Optionally, the first image may be an image of an identification code corresponding to the target place, for example, the first image may be an image of a place code of the target place.

[0033] Optionally, the first electronic device obtains the group information of the first user means that the first electronic device traverses the group information of all groups that the first user has joined. If the group information of any group is not searched, the first electronic device can directly respond to the scanning operation of the first image and display the first identification code, that is, the personal identification code of the first user; if the group information of at least one group is searched, the first electronic device can obtain the first identification code and determine the target group related to the first identification code from the at least one group based on the first identification code.

[0034] It can be understood that the first identification code includes information indicated by the first image, for example, the first identification code includes the name information of a place, and then it can be determined whether there is a target group related to the first identification code based on the name information of the place. Specifically, a group whose group name includes the place name, or a group whose place name is mentioned in the group chat record, can be determined as the target group.

[0035] It should be noted that the first identification code can be used to indicate whether the user information of the first user complies with the preset regulations. The user information in the embodiment of the present application may include at least one of the following: user identity, user travel information, and user health status information.

[0036] Optionally, the above-mentioned user identity identification may include at least one of the following: user avatar, user nickname, user ID number, user name, etc.

[0037] Optionally, the above-mentioned user health status information can be determined based on first information, and the first information may include at least one of the following: user vaccination records, user health check records, user travel information, etc.

[0038] Specifically, when the first user has not joined any group, if the first user scans the place code of a place through the first electronic device, the first electronic device can obtain the user information of the first user, and determine whether the user information complies with preset regulations, and finally display the judgment result through different display states of the first identification code.

[0039] Example 1, taking the user information including the user health status information as an example. After the first electronic device obtains the user information of the first user, it can determine whether the user health status information belongs to the standard health level. If the user health status information belongs to the standard health level, the first identification code can be displayed as a display state that allows entry to the target place; if the user health status information does not belong to the standard health level, the first identification code can be displayed as a display state that does not allow entry to the target place.

[0040] Example 2, taking the case where the user information includes a user identity identifier as an example. After the first electronic device obtains the user information of the first user, it can determine whether the user identity identifier belongs to the list of persons to be included in the meeting. If it belongs to the list of persons to be included in the meeting, the first identification code can be displayed as a display state that allows entry to the target place; if it does not belong to the list of persons to be included in the meeting, the first identification code can be displayed as a display state that does not allow entry to the target place.

[0041] Optionally, the different display states of the first identification code may include: displaying different prompt marks on the first identification code, displaying the first identification code according to different display effects, and the display effect may include at least one of the following: color, transparency, brightness, size, lightness, etc. For example, the display state of allowing entry to the target place may be displaying the first identification code in a first color, and the display state of not allowing entry to the target place may be displaying the first identification code in a second color.

[0042] It should be noted that the user travel information in the embodiment of the present application may include information such as the location of the place, the time of scanning the code, and the place identification.

[0043] It should be noted that the persons in the target group may include the first user and the at least one second user. That is, the target group may be a group of persons who want to form a team to enter the target place.

[0044] Step 102: When the first user is in a target group associated with the first identification code, the first electronic device sends target information in the target group.

[0045] Among them, the above-mentioned target information may include at least one of the following: image information of the first image, or trigger information, the trigger information is used to trigger the acquisition of user information of users in the target group, and the second electronic device corresponding to the users in the target group is used to obtain an identification code corresponding to the user based on the target information.

[0046] Optionally, when the target information is image information of the first image, the second electronic device can scan the image information of the first image, obtain user information of the corresponding second user, and display an identification code corresponding to the second user based on the user information; when the target information is trigger information, the second electronic device can obtain user information of the corresponding second user, and obtain a joint identification code generated based on the user information of all users in the target group.

[0047] Optionally, the target group being associated with the first identification code means that: the group identifier of the target group is associated with the first identification code, or the group identifier of the target group is associated with a location identifier of the target location, or the chat record of the target group includes location identifier information of the target location.

[0048] Optionally, the first electronic device may send image information of the first image in the target group when the number of users in the target group is greater than a first threshold; or send the trigger information in the target group when the number of users in the target group is less than or equal to the first threshold.

[0049] It should be noted that, since the trigger information can be used to trigger the acquisition of user information of users in the target group, and the time for acquiring user information will increase with the increase in the number of users, when the number of users in the target group is greater than the first threshold, the first electronic device can send image information of the first image in the target group.

[0050] Based on the above scheme, since the content of the target information can be determined according to the number of users in the target group, when the number of users is greater than the first threshold, the users can perform scanning operations based on the image information of the first image respectively. When the number of users is less than or equal to the first threshold, the user information of the users in the target group can be directly obtained through the trigger information, thereby improving the scanning and recognition efficiency of the users in the target group.

[0051] Optionally, before determining the target group associated with the first identification code, the first electronic device may receive a first input from the first user, and in response to the first input, create the target group, and add the second user within the preset area to the target group. In this way, users within the preset area can be added to the target group, thereby providing a prerequisite for the first electronic device to send target information to the target group.

[0052] Optionally, the first input may be an input of a second identification code of a second user in a preset area scanned in sequence by the first user, and the second identification code may be a personal identification code of the user.

[0053] Specifically, when the first user and at least one second user want to form a team to enter a target location, the first user can first set the group range of the target group on the first electronic device according to the number of second users. For example, the group range can be within a range with a radius of 5 meters centered on the first electronic device. Afterwards, the first user can scan the personal identification code of each second user in turn through the first electronic device, thereby adding the at least one second user to the target group.

[0054] In an embodiment of the present application, after the first user scans the first image through the first electronic device, a first identification code generated after the scan can be obtained, and target information can be sent to a target group related to the first identification code and to which the first user is located. When the target information is image information of the first image, users in the target group can complete the scanning operation based on the image information of the first image, thereby avoiding the problem that users need to stay at the entrance of the venue to scan the code; when the target information is trigger information, since the trigger information can trigger the acquisition of user information of users in the target group, the problem that multiple users need to scan the code in turn can be avoided, thereby improving the scanning efficiency and avoiding congestion at the entrance of the venue.

[0055] like Figure 2 As shown, the embodiment of the present application further provides a method for displaying an identification code, which is applied to a second electronic device in the above identification code display system. The method may include steps 201 to 204:

[0056] Step 201: The second electronic device receives target information sent by the first electronic device.

[0057] Step 202: If the target information includes the trigger information, the second electronic device obtains user information of a second user corresponding to the second electronic device.

[0058] Optionally, after the second electronic device receives the trigger information, the corresponding second user can make a second input for the trigger information, the second electronic device can receive the second input, and in response to the second input, display a first request information, where the first request information is used to request permission to query user information. If the second user agrees to query his or her own user information, the third input can be made for the first request information. The second electronic device can receive the second user's third input for the first request information, and in response to the third input, obtain the second user's user information.

[0059] For example, the second input is a click input, and the third input is a click input for the control "yes". After the second electronic device displays the trigger information, the second user can click the trigger information, and the second electronic device can respond to the click input by displaying the first request information. The display interface of the first request information may include: "Whether to allow obtaining information query authority", the control "yes", and the control "no". If the second user clicks the control "yes", the second electronic device can respond to the click input to obtain the user information of the second user.

[0060] Based on the above solution, since the user information of the second user can be obtained with the permission of the second user, it can not only provide a premise for triggering information to obtain user information, but also improve the security of user information.

[0061] It should be noted that, since the trigger information is sent to the target group, each user in the target group can enable the electronic device to obtain personal user information through the above method, which will not be described in detail here.

[0062] Step 203: The second electronic device sends the user information of the second user to the server, so that the server generates a joint identification code according to the user information.

[0063] Optionally, the above-mentioned joint identification code is generated by the server based on user information of users in the target group. The joint identification code may include a first display state and a second display state. The first display state is used to indicate that the user information of users in the target group all complies with the preset regulations, and the second display state is used to indicate that there is at least one user in the target group whose user information does not comply with the preset regulations.

[0064] Optionally, the first display state and the second display state may differ in at least one of the following: a different prompt mark displayed on the joint identification code, a different display effect of the joint identification code, and the display effect may include at least one of the following: color, transparency, brightness, size, lightness, etc.

[0065] Optionally, the target group includes a first user and at least one second user. After receiving the user information of all users in the target group, the server can determine whether the user information of each user complies with preset regulations. If the user information of each user in the target group complies with the preset regulations, a joint identification code for the first display state is generated; if there is at least one user in the target group whose user information does not comply with the preset regulations, a joint identification code for the second display state is generated.

[0066] Example 3, taking the case where the user information includes user travel information, the first display state is to display the joint identification code in green, and the second display state is to display the joint identification code in red as an example. If the user travel information of each user in the target group does not include the preset place, the server can generate a green joint identification code based on the user information, and if there is at least one user in the target group whose user travel information includes the preset place, the server can generate a red joint identification code based on the user information.

[0067] Optionally, the server may generate a joint identification code for multiple users based on the received user information when a first rule is satisfied. The first rule may include at least one of the following: the continuous reception time of the user information is equal to a second threshold, the time starting point of the continuous reception time is the time point when the user information of the first user in the target group is received, the number of users corresponding to the user information is greater than or equal to a third threshold, and the third threshold is less than or equal to the total number of users in the target group.

[0068] Step 204: Upon receiving the joint identification code sent by the server, the second electronic device displays the joint identification code.

[0069] Optionally, when the target information is trigger information, the first electronic device may display the joint identification code after sending the target information in the target group.

[0070] Specifically, after the first electronic device sends the target information to the target group, the first electronic device can send the user information of the first user to the server, and the second electronic device can send the user information of the second user to the server, so that the server generates a joint identification code based on the received user information. Thereafter, the server can send the generated joint identification code to the target group, and after receiving the joint identification code, the first electronic device can display the joint identification code.

[0071] Based on the above scheme, since the joint identification code can be displayed and the joint identification code includes a first display state and a second display state, it is possible to determine whether the user information of the users in the target group complies with the preset regulations according to the display state of the joint identification code, thereby avoiding the problem of users having to scan the code one by one and causing congestion at the entrance of the venue.

[0072] Optionally, when receiving the joint identification code sent by the server, the second electronic device may also display the joint identification code. That is, the users in the target group can all determine whether the user information of the users meets the preset regulations through the joint identification code.

[0073] Optionally, if the target information includes image information of the first image, the second electronic device may recognize the image information of the first image and display a recognized interface, wherein the recognized interface includes an identification code corresponding to the second user.

[0074] Specifically, after the first user scans the image information of the first image through the first electronic device, the electronic device can obtain the image information of the first image based on the scanning operation, and send the image information as target information to the target group. The second electronic device can complete the scanning of the first image based on the image information and display the recognized interface. The recognized interface may include the identification code of the second user corresponding to the second electronic device, that is, the personal identification code of the second user.

[0075] Optionally, the second electronic device can automatically recognize the image information of the first image. For example, the second electronic device can automatically recognize the image information of the first image when it detects that the network status meets the network requirements for recognizing the graphic code; the second electronic device can also recognize the image information of the first image when triggered by the corresponding second user.

[0076] Based on the above scheme, since the second electronic device can recognize the image information and display the recognized interface when the target information includes the image information of the first image, the second user can complete the scanning operation in advance based on the image information of the first image, thereby avoiding the problem that the second user needs to stay at the door of the venue to scan the code.

[0077] Optionally, the second electronic device may also display user identifiers of multiple users corresponding to the joint identification code. In this way, the user may determine the user corresponding to the joint identification code according to the user identifier.

[0078] For example, Figure 3 As shown, the second electronic device may display the joint identification code in the target group, and display user identifications of multiple users below the joint identification code, where the multiple users may include: Xiao Zhang, Xiao Li, Xiao Chen, and the like.

[0079] In an embodiment of the present application, since the second electronic device can send user information to the server so that the server generates a joint identification code based on the user information, the user can display the scanning results of multiple users through the joint identification code, thereby improving the scanning efficiency of multiple users.

[0080] The identification code display method provided in the embodiment of the present application can be executed by an identification code display device. In the embodiment of the present application, the identification code display method performed by the identification code display device is taken as an example to illustrate the identification code display device provided in the embodiment of the present application.

[0081] like Figure 4 As shown, an embodiment of the present application also provides an identification code display device 400, including: a first acquisition module 401 and a first communication module 402; the first acquisition module 401 is used to obtain a first identification code generated after scanning and obtain group information of the first user when it is detected that the first user performs a scanning operation on the first image through the first electronic device; the first communication module 402 is used to send target information in the target group when the first user is in the target group related to the first identification code, wherein the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information is used to trigger the acquisition of user information of users in the target group; the second electronic device corresponding to the user in the target group is used to obtain the identification code corresponding to the user according to the target information.

[0082] Optionally, the communication module 402 is specifically used to: send image information of the first image in the target group when the number of users in the target group is greater than a first threshold; or send the trigger information in the target group when the number of users in the target group is less than or equal to the first threshold.

[0083] Optionally, the target information is the trigger information, and the device 400 also includes a first display module 403; the first display module 403 is used to display a joint identification code; wherein, the joint identification code is generated based on user information of users in the target group, and the joint identification code includes a first display state and a second display state, the first display state is used to indicate that user information of users in the target group all complies with the preset regulations, and the second display state is used to indicate that there is at least one user in the target group whose user information does not comply with the preset regulations.

[0084] In an embodiment of the present application, after the first user scans the first image through the first electronic device, a first identification code generated after the scan can be obtained, and target information can be sent to a target group related to the first identification code and to which the first user is located. When the target information is image information of the first image, users in the target group can complete the scanning operation based on the image information of the first image, thereby avoiding the problem that users need to stay at the entrance of the venue to scan the code; when the target information is trigger information, since the trigger information can trigger the acquisition of user information of users in the target group, the problem that multiple users need to scan the code in turn can be avoided, thereby improving the scanning efficiency and avoiding congestion at the entrance of the venue.

[0085] like Figure 5 As shown, an embodiment of the present application also provides an identification code display device 500, including: a second communication module 501, a second acquisition module 502 and a second display module 503; the second communication module 501 is used to receive target information sent by a first electronic device; the second acquisition module 502 is used to obtain user information of a second user corresponding to the second electronic device if the target information includes the trigger information, and the user information includes at least one of the following: user identification, user health status information, and user travel information; the second communication module 501 is also used to send the user information of the second user to a server, so that the server generates a joint identification code based on the user information; the second display module 503 is used to display the joint identification code when the joint identification code sent by the server is received.

[0086] Optionally, the device also includes a processing module 504; the processing module 504 is used to identify the image information of the first image if the target information includes the image information of the first image; the second display module 503 is also used to display the identified interface, wherein the identified interface includes an identification code, and the identification code corresponds to the second user.

[0087] In an embodiment of the present application, since the second electronic device can send user information to the server so that the server generates a joint identification code based on the user information, the user can display the scanning results of multiple users through the joint identification code, thereby improving the scanning efficiency of multiple users.

[0088] The display device of the identification code in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0089] The display device of the identification code in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0090] The identification code display device provided in the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0091] Alternatively, if Figure 6 As shown, an embodiment of the present application further provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores a program or instruction that can be executed on the processor 601, and when the program or instruction is executed by the processor 601, each step of the above-mentioned identification code display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0092] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0093] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0094] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0095] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0096] Wherein, when the electronic device is a first electronic device:

[0097] The processor 1010 is configured to, when detecting that a first user performs a scanning operation on a first image through a first electronic device, obtain a first identification code generated after the scanning, and acquire group information to which the first user belongs.

[0098] The radio frequency unit 1001 is used to send target information in the target group when the first user is in the target group associated with the first identification code; wherein the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information is used to trigger the acquisition of user information of the users in the target group; the second electronic device corresponding to the users in the target group is used to obtain the identification code corresponding to the user according to the target information.

[0099] In an embodiment of the present application, after the first user scans the first image through the first electronic device, a first identification code generated after the scan can be obtained, and target information can be sent to a target group related to the first identification code and to which the first user is located. When the target information is image information of the first image, users in the target group can complete the scanning operation based on the image information of the first image, thereby avoiding the problem that users need to stay at the entrance of the venue to scan the code; when the target information is trigger information, since the trigger information can trigger the acquisition of user information of users in the target group, the problem that multiple users need to scan the code in turn can be avoided, thereby improving the scanning efficiency and avoiding congestion at the entrance of the venue.

[0100] Optionally, the radio frequency unit 1001 is specifically used to: send image information of the first image in the target group when the number of users in the target group is greater than a first threshold; or send the trigger information in the target group when the number of users in the target group is less than or equal to the first threshold.

[0101] In an embodiment of the present application, since the content of the target information can be determined based on the number of users in the target group, when the number of users is greater than the first threshold, the users can perform scanning operations based on the image information of the first image respectively. When the number of users is less than or equal to the first threshold, the user information of the users in the target group can be directly obtained through the trigger information, thereby improving the scanning and recognition efficiency of the users in the target group.

[0102] Optionally, the target information is the trigger information, and the display unit 1006 is used to display a joint identification code; wherein the joint identification code is generated based on user information of users in the target group, and the joint identification code includes a first display state and a second display state, the first display state is used to indicate that user information of users in the target group all conforms to the preset regulations, and the second display state is used to indicate that there is at least one user in the target group whose user information does not conform to the preset regulations.

[0103] In the embodiment of the present application, since the joint identification code can be displayed and the joint identification code includes a first display state and a second display state, it is possible to determine whether the user information of the users in the target group complies with the preset regulations based on the display state of the joint identification code, thereby avoiding the problem of users having to scan the code one by one and causing congestion at the entrance of the venue.

[0104] In the case where the electronic device is the second electronic device:

[0105] The radio frequency unit 1001 is used to receive target information sent by the first electronic device.

[0106] Processor 1010 is used to obtain user information of a second user corresponding to the second electronic device if the target information includes the trigger information, and the user information includes at least one of the following: user identification, user health status information, and user travel information.

[0107] The radio frequency unit 1001 is further configured to send the user information of the second user to the server, so that the server generates a joint identification code according to the user information.

[0108] The display unit 1006 is configured to display the joint identification code upon receiving the joint identification code sent by the server.

[0109] In an embodiment of the present application, since the second electronic device can send user information to the server so that the server generates a joint identification code based on the user information, the user can display the scanning results of multiple users through the joint identification code, thereby improving the scanning efficiency of multiple users.

[0110] Optionally, the processor 1010 is configured to identify the image information of the first image if the target information includes the image information of the first image.

[0111] The display unit 1006 is further configured to display an interface after identification, wherein the interface after identification includes an identification code, and the identification code corresponds to the second user.

[0112] In an embodiment of the present application, since the second electronic device can recognize the image information and display the recognized interface when the target information includes the image information of the first image, the second user can complete the scanning operation based on the image information of the first image, thereby avoiding the problem that the second user needs to stay at the door of the venue to scan the code.

[0113] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0114] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0115] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0116] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned identification code display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0117] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0118] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned identification code display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0119] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0120] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned identification code display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0121] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0123] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for displaying an identification code, applied to a first electronic device, characterized in that: include: When detecting that a first user performs a scanning operation on a first image through a first electronic device, obtaining a first identification code generated after the scanning, and acquiring group information to which the first user belongs; In a case where the first user is in a target group associated with the first identification code, sending target information in the target group; Among them, the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information is used to trigger the acquisition of user information of users in the target group; the second electronic device corresponding to the users in the target group is used to obtain an identification code corresponding to the user based on the target information.

2. The identification code display method according to claim 1, characterized in that: The sending of target information in the target group includes: When the number of users in the target group is greater than a first threshold, sending image information of the first image in the target group; Alternatively, when the number of users in the target group is less than or equal to the first threshold, the trigger information is sent in the target group.

3. The method for displaying an identification code according to claim 1, characterized in that: The target information is the trigger information. After sending the target information in the target group, the method further includes: Display the joint identification code; Among them, the joint identification code is generated based on the user information of the users in the target group, and the joint identification code includes a first display state and a second display state, the first display state is used to indicate that the user information of the users in the target group all meets the preset regulations, and the second display state is used to indicate that there is at least one user in the target group whose user information does not meet the preset regulations.

4. A method for displaying an identification code, applied to a second electronic device, characterized in that: include: Receiving target information sent by the first electronic device; If the target information includes trigger information, obtaining user information of a second user corresponding to the second electronic device, the user information including at least one of the following: user identification, user health status information, and user travel information; sending the user information of the second user to the server, so that the server generates a joint identification code according to the user information; Upon receiving the joint identification code sent by the server, displaying the joint identification code; Among them, the target information is information sent in a target group, and the target group is a group including the first user and related to the first identification code, which is determined according to the first identification code after the first user obtains the first identification code by scanning the first image through the first electronic device.

5. The method for displaying an identification code according to claim 4, characterized in that: After receiving the target information sent by the first electronic device, the method further includes: If the target information includes the image information of the first image, the image information of the first image is identified, and an interface after identification is displayed, wherein the interface after identification includes an identification code, and the identification code corresponds to the second user.

6. A display device for an identification code, characterized in that: include: A first acquisition module and a first communication module; The first acquisition module is used to obtain a first identification code generated after scanning when detecting that the first user performs a scanning operation on the first image through the first electronic device, and to obtain group information of the first user; The first communication module is configured to send target information in a target group associated with the first identification code when the first user is in the target group; Among them, the target information includes at least one of the following: image information of the first image, or trigger information, the trigger information is used to trigger the acquisition of user information of users in the target group; the second electronic device corresponding to the users in the target group is used to obtain an identification code corresponding to the user based on the target information.

7. The identification code display device according to claim 6, characterized in that: The first communication module is specifically used for: When the number of users in the target group is greater than a first threshold, the image information of the first image is sent in the target group; or when the number of users in the target group is less than or equal to the first threshold, the trigger information is sent in the target group.

8. The identification code display device according to claim 6, characterized in that: The target information is the trigger information, and the device further includes a first display module; The first display module is used to display the joint identification code; Among them, the joint identification code is generated based on the user information of the users in the target group, and the joint identification code includes a first display state and a second display state, the first display state is used to indicate that the user information of the users in the target group all meets the preset regulations, and the second display state is used to indicate that there is at least one user in the target group whose user information does not meet the preset regulations.

9. A display device for an identification code, characterized in that: include: A second communication module, a second acquisition module and a second display module; The second communication module is used to receive target information sent by the first electronic device; The second acquisition module is used to acquire user information of a second user corresponding to the second electronic device if the target information includes trigger information, the user information including at least one of the following: user identification, user health status information, and user travel information; The second communication module is further used to send the user information of the second user to the server, so that the server generates a joint identification code according to the user information; The second display module is used to display the joint identification code when receiving the joint identification code sent by the server; Among them, the target information is information sent in a target group, and the target group is a group including the first user and related to the first identification code, which is determined according to the first identification code after the first user obtains the first identification code by scanning the first image through the first electronic device.

10. The identification code display device according to claim 9, characterized in that: The device also includes a processing module; The processing module is configured to identify the image information of the first image if the target information includes the image information of the first image; The second display module is further used to display an interface after identification, wherein the interface after identification includes an identification code, and the identification code corresponds to the second user.

Citation Information

Patent Citations

  • Information display apparatus

    CN113791834A

  • Mobile terminal and method for scanning using mobile code and server therefor

    KR1020120053981A