CN115190440A - Display method of identification code and electronic equipment - Google Patents

Display method of identification code and electronic equipment Download PDF

Info

Publication number
CN115190440A
CN115190440A CN202210868605.7A CN202210868605A CN115190440A CN 115190440 A CN115190440 A CN 115190440A CN 202210868605 A CN202210868605 A CN 202210868605A CN 115190440 A CN115190440 A CN 115190440A
Authority
CN
China
Prior art keywords
information
user
identification code
target
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210868605.7A
Other languages
Chinese (zh)
Inventor
陈凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210868605.7A priority Critical patent/CN115190440A/en
Publication of CN115190440A publication Critical patent/CN115190440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a display method of an identification code and electronic equipment, and belongs to the technical field of communication. The specific scheme comprises the following steps: under the condition that scanning operation of a first user on a first image through first electronic equipment is detected, obtaining a first identification code generated after scanning, and obtaining group information where the first user is located; transmitting target information in a target group associated with the first identity code if the first user is in the target group, wherein the target information comprises at least one of: image information of the first image, or trigger information, where the trigger information is used to trigger obtaining of user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.

Description

Display method of identification code and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an identification code display method and electronic equipment.
Background
Often, people entering important locations may need to present admission tickets. For example, important conference entries, infectious disease prevention and control entries, and the like.
In the related art, when a plurality of persons need to enter a place, each person is required to display his own admission voucher in turn. For example, when an infectious disease is prevented and controlled, each person needs to scan and display a site code of a site.
However, the process of sequentially displaying the entrance voucher takes a lot of time, and the problem of people at the entrance of the place being jammed is easily caused.
Disclosure of Invention
The embodiment of the application aims to provide an identification code display method and electronic equipment, and the problem that a lot of time is consumed in the process of displaying the admission certificates of a plurality of people in sequence can be solved.
In a first aspect, an embodiment of the present application provides an identification code display method, where the method includes: under the condition that scanning operation of a first user on a first image through first electronic equipment is detected, obtaining a first identification code generated after scanning, and obtaining group information where the first user is located; transmitting target information in a target group associated with the first identity code if the first user is in the target group, wherein the target information comprises at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.
In a second aspect, an embodiment of the present application further provides a method for displaying an identification code, including: receiving target information sent by first electronic equipment; if the target information includes the trigger information, acquiring user information of a second user corresponding to the second electronic device, where the user information includes at least one of: user identification, user health state information and user travel information; sending the user information of the second user to a server so that the server generates a joint identification code according to the user information; and displaying the joint identification code under the condition of receiving the joint identification code sent by the server.
In a third aspect, an embodiment of the present application provides an apparatus for displaying an identification code, including: the system comprises a first acquisition module and a first communication module; the first obtaining module is used for obtaining a first identification code generated after scanning and obtaining group information of a first user when the scanning operation of the first user on a first image through first electronic equipment is detected; the first communication module is configured to send target information in a target group associated with the first identity code, where the target information includes at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.
In a fourth aspect, an embodiment of the present application provides an apparatus for displaying an identification code, including: the system comprises a second communication module, a second acquisition module and a second display module; the second communication module is used for receiving target information sent by the first electronic equipment; the second obtaining module is configured to obtain user information of a second user corresponding to the second electronic device if the target information includes the trigger information, where the user information includes at least one of the following: user identification, user health state information and user travel information; the second communication module is further configured to send user information of the second user to a server, so that the server generates a joint identification code according to the user information; and the second display module is used for displaying the joint identification code under the condition of receiving the joint identification code sent by the server.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In an eighth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement a method according to the first or second aspect.
In the embodiment of the application, a first identification code generated after scanning can be obtained and group information where a first user is located can be obtained under the condition that the scanning operation of the first user on a first image through first electronic equipment is detected; sending target information in a target group associated with the first identification code if the first user is in the target group; wherein the target information comprises at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information. According to the scheme, the first identification code generated after scanning can be obtained after the first user scans the first image through the first electronic device, the target information is sent to the target group where the first user is located and related to the first identification code, and under the condition that 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, so that the problem that the users need to stay at the door of a place to scan the code is solved; under the condition that the target information is the trigger information, the trigger information can trigger to acquire the user information of the users in the target group, so that the problem that a plurality of users need to scan codes in sequence can be avoided, code scanning efficiency is improved, and the problem that people at the door of a place block up is avoided.
Drawings
Fig. 1 is a schematic flowchart of a method for displaying an identification code according to an embodiment of the present disclosure;
fig. 2 is a second flowchart illustrating a method for displaying an identification code according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface display of a federated identifier provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for displaying an identification code according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of another identification code display device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 7 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The embodiment of the application provides a display system of an identification code, which comprises first electronic equipment, at least one second electronic equipment and a server.
When a first user and at least one second user want to form a team to enter a target site, the first user may scan a first image, which may be an image of an identification code corresponding to the target site, through a first electronic device. After the first electronic device scans the first image, the first electronic device may obtain the first identification code generated after scanning, and obtain group information where the first user is located. Then, the first electronic device may determine a target group according to the first identification code and the group information, and send target information in the target group, where the target information may include at least one of the following: the image information of the first image, or the trigger information, where the trigger information is used to trigger obtaining of the user information of the user in the target group.
The second electronic device may receive, in the target group, target information sent by the first electronic device, and in a case that the target information is image information of the first image, the second electronic device may scan the image information of the first image to obtain user information of a corresponding second user, and display an identification code corresponding to the second user according to the user information; and under the condition that the target information is the trigger information, the second electronic equipment can automatically acquire the user information of the corresponding second user and send the user information of the second user to the server. Therefore, the second user can acquire own user information through the first image in advance and generate the identification code.
The server can receive the user information of all users in the target group and judge whether the user information of each user in the target group conforms to a preset regulation, and if the user information of the users in the target group conforms to the preset regulation, the server can generate a joint identification code in a first display state; if the user information of at least one user in the target group does not meet the preset regulation, the server may generate a joint identification code in the second display state, and then, the server may send the generated joint identification code to the target group. Finally, the first electronic device and the second electronic device may receive the joint identification code in the target group and display the joint identification code.
The method for displaying the identification code provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides an identification code display method, which is applied to a first electronic device in the identification code display system, and the method may include steps 101 to 102:
step 101, under the condition that the scanning operation of a first user on a first image through first electronic equipment is detected, the first electronic equipment obtains a first identification code generated after scanning, and obtains group information where the first user is located.
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 a first image through first electronic equipment, and after the scanning operation of the first image by the first electronic equipment is detected, the first electronic equipment can obtain a first identification code generated after scanning and acquire group information where the first user is located.
Alternatively, the first image may be an image of an identification code corresponding to the target location, for example, the first image may be an image of a location code of the target location.
Optionally, the obtaining, by the first electronic device, of the group information where the first user is located means that the first electronic device traverses the group information of all groups to which the first user has joined, and if the group information of any group is not searched, the first electronic device may directly respond to a code scanning operation on the first image and display a first identification code, that is, a 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 a target group related to the first identification code is determined from the at least one group according to the first identification code.
It can be understood that the first identification code includes information indicated by the first image, for example, the first identification code includes name information of a place, and whether the target group related to the first identification code exists can be determined according to the name information of the place. Specifically, a group including a place name in the group name, or a group referring to the place name in the group chat record may be determined as the target group.
It should be noted that the first identification code may be used to indicate whether the user information of the first user meets a preset specification. The user information in the embodiment of the present application may include at least one of the following: user identification, user travel information, and user health status information.
Optionally, the user identity may include at least one of the following: user head portrait, user nickname, user identification number, user name, etc.
Optionally, the user health status information may be determined according to first information, and the first information may include at least one of the following: user vaccination records, user health detection records, user travel information, and the like.
Specifically, under the condition that the first user does not join any group, if the first user scans the location code of one location through the first electronic device, the first electronic device may acquire the user information of the first user, determine whether the user information meets a preset specification, and finally display the determination result through different display states of the first identification code.
Example 1, take the example that the user information includes user health status information. After the first electronic equipment acquires the user information of the first user, whether the user health state information belongs to the standard health level or not can be judged, and the first identification code can be displayed as a display state allowing the user to enter a target place under the condition that the user health state information belongs to the standard health level; in the case where the user health status information does not belong to the standard health class, the first identification code may be presented as a display status that does not allow entry into the target place.
Example 2, the user information includes a user identity. After the first electronic device obtains the user information of the first user, whether the user identity identification belongs to the list of the people to be attended can be judged, if the user identity identification belongs to the list of the people to be attended, the first identification code can be displayed in a display state that the user is allowed to enter the target place, and if the user identity identification does not belong to the list of the people to be attended, the first identification code can be displayed in a display state that the user is not allowed to enter the target place.
Optionally, the different display states of the first identification code may include: displaying different prompt identifiers on the first identification code, and displaying the first identification code according to different display effects, wherein the display effects may include at least one of the following: color, transparency, brightness, size, shade, etc. For example, the display state in which the entry into the target place is permitted may be the display of the first identification code in a first color, and the display state in which the entry into the target place is not permitted may be the display of the first identification code in a second color.
It should be noted that, the user travel information in the embodiment of the present application may include information such as a location position, a code scanning time, and a location identifier.
It should be noted that the people 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 people who want to team into the target site.
Step 102, when the first user is in a target group related to the first identification code, the first electronic device sends target information in the target group.
Wherein, the target information may include at least one of the following: the image information of the first image, or the trigger information, where the trigger information is used to trigger obtaining of user information of a user in the target group, and the second electronic device corresponding to the user in the target group is used to obtain an identification code corresponding to the user according to the target information.
Optionally, in a case that the target information is image information of a first image, the second electronic device may scan the image information of the first image to obtain user information of a corresponding second user, and display an identification code corresponding to the second user according to the user information; and under the condition that the target information is the trigger information, the second electronic device can acquire the user information of the corresponding second user and obtain the joint identification code generated based on the user information of all the users in the target group.
Optionally, the target group is associated with a first identification code Guan Shizhi: the group identifier of the target group is related to the first identification code, or the group identifier of the target group is related to the location identifier of the target location, or the chat record of the target group includes the location identifier information of the target location.
Optionally, the first electronic device may send the image information of the first image in the target group if the number of users in the target group is greater than a first threshold; or, the trigger information is sent in the target group when the number of users in the target group is less than or equal to the first threshold.
It should be noted that, since the trigger information may be used to trigger the acquisition of the user information of the users in the target group, and the time for acquiring the user information may increase as the number of the users increases, when the number of the users in the target group is greater than the first threshold, the first electronic device may send the image information of the first image in the target group.
Based on the scheme, the content of the target information can be determined according to the number of the users in the target group, so that when the number of the users is larger than a first threshold value, the users can respectively perform code scanning operation based on the image information of the first image, and when the number of the users is smaller than or equal to the first threshold value, the user information of the users in the target group can be directly obtained through the trigger information, so that the code scanning identification efficiency of the users in the target group is improved.
Optionally, before determining the target group associated with the first identification code, the first electronic device may receive a first input of a first user, and in response to the first input, create the target group, and add a second user within a preset area range to the target group. In this way, users within the preset area range can be added to the target group, and therefore, a precondition can be provided for the first electronic device to send the target information to the target group.
Optionally, the first input may be an input of a second identification code of a second user sequentially scanning the preset area range by the first user, and the second identification code may be a personal identification code of the user.
Specifically, when the first user and at least one second user want to form a team to enter the target place, the first user may first set a group range of the target group on the first electronic device according to the number of the second users, for example, the group range may be within a range centered on the first electronic device and having a radius of 5 meters. The first user may then add the at least one second user to the target group by scanning the pin of each second user in turn via the first electronic device.
In the embodiment of the application, after a first user scans a first image through first electronic equipment, a first identification code generated after scanning is obtained, and target information is sent to a target group where the first user is located and related to the first identification code, and under the condition that the target information is image information of the first image, users in the target group can complete code scanning operation based on the image information of the first image, so that the problem that the users need to stay at places and scan codes is avoided; under the condition that the target information is the trigger information, the trigger information can trigger the user information of the users in the target group to be acquired, so that the problem that a plurality of users need to scan codes in sequence can be avoided, code scanning efficiency is improved, and the problem that people at the door of a place are blocked is avoided.
As shown in fig. 2, an embodiment of the present application further provides an identification code display method, which is applied to a second electronic device in the identification code display system, where the method includes steps 201 to 204:
step 201, the second electronic device receives the target information sent by the first electronic device.
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.
Optionally, after the second electronic device receives the trigger information, the corresponding second user may perform second input on the trigger information, the second electronic device may receive the second input, and display, in response to the second input, first request information, where the first request information is used to request a query permission of user information, if the second user agrees to query the user information of the second user, the first request information may be subjected to third input, and the second electronic device may receive, in response to the third input, third input of the second user on the first request information, and acquire, in response to the third input, user information of the second user.
Illustratively, the second input is a click input, and the third input is a click input to the control "yes". After the second electronic device displays the trigger information, the second user may perform a click input on the trigger information, the second electronic device may display the first request information in response to the click input, and the display interface of the first request information may include: the request information of "whether to allow to acquire the information query right", the control "yes", and the control "no", if the second user performs click input on the control "yes", the second electronic device may acquire the user information of the second user in response to the click input.
Based on the scheme, the user information of the second user can be acquired under the permission of the second user, so that the premise can be provided for acquiring the user information by triggering the information, and the safety of the user information can be improved.
It should be noted that, because the trigger information is sent to the target group, each user in the target group can enable the electronic device to obtain the personal user information through the above method, which is not described herein again.
Step 203, the second electronic device sends the user information of the second user to a server, so that the server generates a joint identification code according to the user information.
Optionally, the joint identifier is generated by the server based on the user information of the users in the target group, and the joint identifier may include a first display state and a second display state, where the first display state is used to indicate that the user information of the users in the target group all conforms to the preset specification, and the second display state is used to indicate that the user information of at least one user in the target group does not conform to the preset specification.
Optionally, the first display state and the second display state may differ by at least one of: the prompt identifiers displayed on the joint identification codes are different, the display effects of the joint identification codes are different, and the display effects can include at least one of the following: color, transparency, brightness, size, shade, etc.
Optionally, the target group includes a first user and at least one second user, and after receiving the user information of all users in the target group, the server may determine whether the user information of each user meets a preset specification, and if the user information of each user in the target group meets the preset specification, generate a joint identification code in a first display state; and if the user information of at least one user in the target group does not accord with the preset regulation, generating a joint identification code of a second display state.
Example 3, the user information includes user travel information, the first display state is that the joint identification code is displayed in green, and the second display state is that the joint identification code is displayed in red. If the user travel information of each user in the target group does not include the preset place, the server may generate a green combined identification code based on the user information, and if the user travel information of at least one user in the target group includes the preset place, the server may generate a red combined identification code based on the user information.
Alternatively, the server may generate the joint identification codes of the plurality of users based on the received user information in a case where the first rule is satisfied. The first rule may include at least one of: the continuous receiving time of the user information is equal to a second threshold, the starting time of the continuous receiving time is the time point of receiving the user information of the first user in the target group, 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.
And 204, under the condition that the joint identification code sent by the server is received, displaying the joint identification code by the second electronic equipment.
Optionally, in a case that the target information is the trigger information, the first electronic device may display the joint identification code after sending the target information in the target group.
Specifically, after the first electronic device sends the target information to the target group, the first electronic device may send the user information of the first user to the server, the second electronic device may send the user information of the second user to the server, so that the server generates the joint identification code according to the received user information, and then the server may send the generated joint identification code to the target group, and after receiving the joint identification code, the first electronic device may display the joint identification code.
Based on the scheme, the joint identification code can be displayed and comprises the first display state and the second display state, so that whether the user information of the users in the target group meets the preset regulation or not can be determined according to the display state of the joint identification code, and the problem that the users need to scan the code one by one to cause people at the entrance of a place to be congested is avoided.
Optionally, in the case of 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 determine whether the user information of the users all conform to the preset specification through the joint identification code.
Optionally, if the target information includes image information of a first image, the second electronic device may identify the image information of the first image and display an identified interface, where the identified interface includes an identification code, and the identification code corresponds to the second user.
Specifically, after a first user performs a code scanning operation on image information of a first image through a first electronic device, the electronic device may acquire the image information of the first image based on the scanning operation and send the image information to a target group as target information, a second electronic device may complete scanning of the first image based on the image information and display a recognized interface, where the recognized interface may include an identification code of a second user corresponding to the second electronic device, that is, a personal identification code of the second user.
Optionally, the second electronic device may automatically identify the image information of the first image, for example, the second electronic device may automatically identify the image information of the first image when detecting that the network status meets the network requirement of the identification graph code; the second electronic device may also recognize the image information of the first image under the trigger of the corresponding second user.
Based on the scheme, under the condition that the target information comprises the image information of the first image, the second electronic device can identify the image information and display the identified interface, so that the second user can complete the code scanning operation in advance based on the image information of the first image, and the problem that the second user needs to stay at the door of the place to scan the code is avoided.
Optionally, the second electronic device may further display user identifications of a plurality of users corresponding to the joint identification code. Therefore, the user can determine the user corresponding to the joint identification code according to the user identification.
Illustratively, as shown in fig. 3, the second electronic device may display the joint identification code in the target group and display user identifications of a plurality of users below the joint identification code, and the plurality of users may include: small sheets, xiao Li, xiao Chen, and the like.
In the embodiment of the application, the second electronic device can send the user information to the server, so that the server generates the joint identification code according to the user information, and therefore, the user can display code scanning results of multiple users through the joint identification code, and code scanning efficiency of the multiple users is improved.
According to the display method of the identification code, the execution main body can be a display device of the identification code. In the embodiment of the present application, a method for displaying an identification code performed by an identification code display apparatus is taken as an example, and the identification code display apparatus provided in the embodiment of the present application is described.
As shown in fig. 4, an apparatus 400 for displaying an identification code is further provided in the embodiments of the present application, including: a first obtaining module 401 and a first communication module 402; the first obtaining module 401 is configured to, when it is detected that a first user scans a first image through a first electronic device, obtain a first identification code generated after scanning, and obtain group information where the first user is located; the first communication module 402, configured to send target information in a target group associated with the first identity code, where the target information includes at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.
Optionally, the communication module 402 is specifically configured to: sending image information of the first image in the target group if the number of users in the target group is greater than a first threshold; or, the trigger information is sent in the target group when the number of users in the target group is less than or equal to the first threshold.
Optionally, the target information is the trigger information, and the apparatus 400 further includes a first display module 403; the first display module 403 is configured to display the joint identifier; the joint identification code is generated based on user information of users in the target group, and comprises a first display state and a second display state, wherein the first display state is used for indicating that the user information of the users in the target group all conforms to the preset specification, and the second display state is used for indicating that the user information of at least one user in the target group does not conform to the preset specification.
In the embodiment of the application, after a first user scans a first image through first electronic equipment, a first identification code generated after scanning is obtained, and target information is sent to a target group where the first user is located and related to the first identification code, and under the condition that the target information is image information of the first image, users in the target group can complete code scanning operation based on the image information of the first image, so that the problem that the users need to stay at places and scan codes is avoided; under the condition that the target information is the trigger information, the trigger information can trigger the user information of the users in the target group to be acquired, so that the problem that a plurality of users need to scan codes in sequence can be avoided, code scanning efficiency is improved, and the problem that people at the door of a place are blocked is avoided.
As shown in fig. 5, an embodiment of the present application further provides an apparatus 500 for displaying an identification code, including: a second communication module 501, a second obtaining module 502 and a second display module 503; the second communication module 501 is configured to receive target information sent by a first electronic device; the second obtaining module 502 is configured to obtain user information of a second user corresponding to the second electronic device if the target information includes the trigger information, where the user information includes at least one of the following: user identification, user health state information and user travel information; the second communication module 501 is further configured to send the user information of the second user to a server, so that the server generates a joint identification code according to the user information; the second display module 503 is configured to display the joint identifier when the joint identifier sent by the server is received.
Optionally, the apparatus further comprises a processing module 504; the processing module 504 is configured to identify image information of the first image if the target information includes the image information of the first image; the second display module 503 is further configured to display the identified interface, where the identified interface includes an identification code, and the identification code corresponds to the second user.
In the embodiment of the application, the second electronic device can send the user information to the server, so that the server generates the joint identification code according to the user information, and therefore, the user can display code scanning results of multiple users through the joint identification code, and code scanning efficiency of the multiple users is improved.
The display device of the identification code in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), an assistant, a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The device for displaying 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 (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The device for displaying the identification code provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in an embodiment of the present application, and includes a processor 601 and a memory 602, where a program or an instruction that can be executed on the processor 601 is stored in the memory 602, and when the program or the instruction is executed by the processor 601, the steps of the above method for displaying an identifier are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, in the case that the electronic device is a first electronic device:
the processor 1010 is configured to, when it is detected that a first user scans a first image through a first electronic device, obtain a first identification code generated after scanning, and obtain group information where the first user is located.
A radio frequency unit 1001, configured to send target information in a target group associated with the first identification code if the first user is in the target group; wherein the target information comprises at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.
In the embodiment of the application, after a first user scans a first image through first electronic equipment, a first identification code generated after scanning is obtained, and target information is sent to a target group where the first user is located and related to the first identification code, and under the condition that the target information is image information of the first image, users in the target group can complete code scanning operation based on the image information of the first image, so that the problem that the users need to stay at places and scan codes is avoided; under the condition that the target information is the trigger information, the trigger information can trigger the user information of the users in the target group to be acquired, so that the problem that a plurality of users need to scan codes in sequence can be avoided, code scanning efficiency is improved, and the problem that people at the door of a place are blocked is avoided.
Optionally, the radio frequency unit 1001 is specifically configured to: transmitting image information of the first image in the target group if the number of users in the target group is greater than a first threshold; or, the trigger information is sent in the target group when the number of users in the target group is less than or equal to the first threshold.
In the embodiment of the application, because the content of the target information can be determined according to the number of the users in the target group, when the number of the users is greater than the first threshold value, the users can respectively perform code scanning operation based on the image information of the first image, and when the number of the users is less than or equal to the first threshold value, the user information of the users in the target group can be directly obtained through the trigger information, so that the code scanning identification efficiency of the users in the target group is improved.
Optionally, the target information is the trigger information, and the display unit 1006 is configured to display a joint identification code; the joint identification code is generated based on user information of users in the target group, and comprises a first display state and a second display state, wherein the first display state is used for indicating that the user information of the users in the target group all conforms to the preset specification, and the second display state is used for indicating that the user information of at least one user in the target group does not conform to the preset specification.
In the embodiment of the application, the joint identification code can be displayed and comprises the first display state and the second display state, so that whether the user information of the user in the target group meets the preset regulation or not can be determined according to the display state of the joint identification code, and the problem that the user needs to scan the code one by one to cause people at the entrance of a place to be congested is avoided.
In the case where the electronic device is a second electronic device:
the radio frequency unit 1001 is configured to receive target information sent by the first electronic device.
A processor 1010, configured to acquire user information of a second user corresponding to the second electronic device if the target information includes the trigger information, where the user information includes at least one of the following: user identification, user health state information and user travel information.
The radio frequency unit 1001 is further configured to send user information of the second user to a server, so that the server generates a joint identification code according to the user information.
A display unit 1006, configured to display the joint identifier when receiving the joint identifier sent by the server.
In the embodiment of the application, the second electronic device can send the user information to the server, so that the server generates the joint identification code according to the user information, and therefore, the user can display code scanning results of multiple users through the joint identification code, and code scanning efficiency of the multiple users is improved.
Optionally, the processor 1010 is configured to identify image information of the first image if the target information includes the image information of the first image.
The display unit 1006 is further configured to display an identified interface, where the identified interface includes an identification code, and the identification code corresponds to the second user.
In the embodiment of the application, since the second electronic device can recognize the image information and display the recognized interface under the condition that the target information includes the image information of the first image, the second user can complete the code 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 place to scan the code.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as 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 (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned method for displaying an identifier, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above embodiment of the method for displaying an identification code, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
The present application provides a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the above-mentioned embodiment of the identifier display method, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A display method of an identification code is applied to a first electronic device, and is characterized by comprising the following steps:
under the condition that scanning operation of a first user on a first image through first electronic equipment is detected, obtaining a first identification code generated after scanning, and obtaining group information where the first user is located;
sending target information in a target group associated with the first identification code if the first user is in the target group;
wherein the target information comprises at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.
2. The method for displaying identification codes according to claim 1, wherein the sending target information in the target group comprises:
sending image information of the first image in the target group if the number of users in the target group is greater than a first threshold;
or, the trigger information is sent in the target group when the number of users in the target group is less than or equal to the first threshold.
3. The method for displaying identification codes according to claim 1, wherein the target information is the trigger information, and after the target information is sent in the target group, the method further comprises:
displaying the joint identification code;
the joint identification code is generated based on user information of users in the target group, and comprises a first display state and a second display state, wherein the first display state is used for indicating that the user information of the users in the target group all conforms to the preset specification, and the second display state is used for indicating that the user information of at least one user in the target group does not conform to the preset specification.
4. A display method of an identification code is applied to a second electronic device, and is characterized by comprising the following steps:
receiving target information sent by first electronic equipment;
if the target information includes the trigger information, acquiring user information of a second user corresponding to the second electronic device, where the user information includes at least one of: user identification, user health state information and user travel information;
sending the user information of the second user to a server so that the server generates a joint identification code according to the user information;
and displaying the joint identification code under the condition of receiving the joint identification code sent by the server.
5. The method for displaying the identification code according to claim 4, wherein after receiving the target information sent by the first electronic device, the method further comprises:
if the target information comprises the image information of the first image, identifying the image information of the first image, and displaying an identified interface, wherein the identified interface comprises an identification code, and the identification code corresponds to the second user.
6. An identification code display device, comprising: the system comprises a first acquisition module and a first communication module;
the first obtaining module is used for obtaining a first identification code generated after scanning and obtaining group information of a first user when the scanning operation of the first user on a first image through first electronic equipment is detected;
the first communication module is used for sending target information in a target group related to the first identification code when the first user is in the target group;
wherein the target information comprises at least one of: image information of the first image, or trigger information, wherein the trigger information is used for triggering and acquiring user information of users in the target group; and the second electronic equipment corresponding to the user in the target group is used for obtaining the identification code corresponding to the user according to the target information.
7. The apparatus for displaying an identification code according to claim 6, wherein the first communication module is specifically configured to:
sending image information of the first image in the target group if the number of users in the target group is greater than a first threshold; or, the trigger information is sent in the target group when the number of users in the target group is less than or equal to the first threshold.
8. The apparatus for displaying an identification code according to claim 6, wherein the target information is the trigger information, the apparatus further comprising a first display module;
the first display module is used for displaying the joint identification code;
the joint identification code is generated based on user information of users in the target group, and comprises a first display state and a second display state, wherein the first display state is used for indicating that the user information of the users in the target group all conforms to the preset specification, and the second display state is used for indicating that the user information of at least one user in the target group does not conform to the preset specification.
9. An identification code display device, comprising: the system comprises a second communication module, a second acquisition module and a second display module;
the second communication module is used for receiving the target information sent by the first electronic equipment;
the second obtaining module is configured to obtain user information of a second user corresponding to the second electronic device if the target information includes the trigger information, where the user information includes at least one of the following: user identification, user health state information and user travel information;
the second communication module is further configured to send user information of the second user to a server, so that the server generates a joint identification code according to the user information;
and the second display module is used for displaying the joint identification code under the condition of receiving the joint identification code sent by the server.
10. The apparatus for displaying identification code according to claim 9, wherein said apparatus further comprises a processing module;
the processing module is configured to identify image information of the first image if the target information includes the image information of the first image;
the second display module is further configured to display the identified interface, where the identified interface includes an identification code, and the identification code corresponds to the second user.
CN202210868605.7A 2022-07-22 2022-07-22 Display method of identification code and electronic equipment Pending CN115190440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210868605.7A CN115190440A (en) 2022-07-22 2022-07-22 Display method of identification code and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210868605.7A CN115190440A (en) 2022-07-22 2022-07-22 Display method of identification code and electronic equipment

Publications (1)

Publication Number Publication Date
CN115190440A true CN115190440A (en) 2022-10-14

Family

ID=83520991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210868605.7A Pending CN115190440A (en) 2022-07-22 2022-07-22 Display method of identification code and electronic equipment

Country Status (1)

Country Link
CN (1) CN115190440A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120053981A (en) * 2010-11-18 2012-05-29 삼성전자주식회사 Mobile terminal and method for scanning using mobile code and server therefor
CN112417421A (en) * 2020-11-26 2021-02-26 维沃移动通信有限公司 Scanning method, scanning device, electronic equipment and readable storage medium
CN113791834A (en) * 2021-09-17 2021-12-14 北京百度网讯科技有限公司 Information display apparatus
CN114186575A (en) * 2021-12-16 2022-03-15 北京声智科技有限公司 Image code processing method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120053981A (en) * 2010-11-18 2012-05-29 삼성전자주식회사 Mobile terminal and method for scanning using mobile code and server therefor
CN112417421A (en) * 2020-11-26 2021-02-26 维沃移动通信有限公司 Scanning method, scanning device, electronic equipment and readable storage medium
CN113791834A (en) * 2021-09-17 2021-12-14 北京百度网讯科技有限公司 Information display apparatus
CN114186575A (en) * 2021-12-16 2022-03-15 北京声智科技有限公司 Image code processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP6017004B1 (en) Suspicious person detection system and suspicious person detection method
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112804445B (en) Display method and device and electronic equipment
CN113364668B (en) Message reminding method and device and electronic equipment
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN112533072A (en) Image sending method and device and electronic equipment
CN113282364B (en) Display method, display device and electronic equipment
WO2010058683A1 (en) Electronic data read device and electronic data read method
CN112486387A (en) Application program control method and device
CN113840035B (en) Information sharing method and device, electronic equipment and readable storage medium
CN115190440A (en) Display method of identification code and electronic equipment
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN114374663B (en) Message processing method and message processing device
CN114726662A (en) Group chat session management method and device, electronic equipment and readable storage medium
CN111859356B (en) Application program login method and device
CN114895813A (en) Information display method and device, electronic equipment and readable storage medium
CN112764700A (en) Image display processing method, device, electronic equipment and storage medium
CN113282899B (en) Object management method, device, electronic equipment and readable storage medium
CN112765447B (en) Data searching method and device and electronic equipment
CN115361588B (en) Object display method and device, electronic equipment and storage medium
CN113098762B (en) Information output method and information output device
CN115801948B (en) Operation method, device, electronic equipment and storage medium
CN113705269A (en) Information code identification method, touch device, information code identification device and electronic equipment
CN115080946A (en) Password input method and input device
CN115221995A (en) Information generation method and device

Legal Events

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