CN113779436A - Method, terminal device and medium for adding group members - Google Patents

Method, terminal device and medium for adding group members Download PDF

Info

Publication number
CN113779436A
CN113779436A CN202010503330.8A CN202010503330A CN113779436A CN 113779436 A CN113779436 A CN 113779436A CN 202010503330 A CN202010503330 A CN 202010503330A CN 113779436 A CN113779436 A CN 113779436A
Authority
CN
China
Prior art keywords
video stream
code business
dimensional code
group
business card
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
CN202010503330.8A
Other languages
Chinese (zh)
Inventor
孙彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010503330.8A priority Critical patent/CN113779436A/en
Publication of CN113779436A publication Critical patent/CN113779436A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method, terminal equipment and medium for adding group members. The method for adding group members comprises the following steps: acquiring a video stream; identifying at least two-dimension code business cards contained in a video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards; and adding group members according to the user identification. The embodiment of the invention can realize accurate addition of the chat group members based on the user identification corresponding to the convenient two-dimensional code.

Description

Method, terminal device and medium for adding group members
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method, a terminal device, and a medium for adding a group member.
Background
Group chat refers to different users communicating in the same group. In practical applications, in order to implement group chat, a user generally needs to establish a group first, and then invite other users to join the group, so that group chat can be performed between users who successfully join the group.
Currently, there are several methods of colonization: (1) in the common group establishment, both parties of the users needing the group establishment are friends; if the group-building user is not a friend, the friends need to be added one by one, the operation is complicated, and the privacy information of other users is exposed; (2) if the user enters the wrong 4-digit password, the user enters the wrong group, and the problems of inaccurate positioning, complex operation and the like exist.
In summary, the scheme urgently needs an adding mode of simply operating chat members.
Disclosure of Invention
The embodiment of the invention provides a method, terminal equipment and medium for adding group members, and aims to solve the problem that the operation of adding chat members is complicated at present.
In a first aspect, an embodiment of the present invention provides a method for adding a group member, where the method includes:
acquiring a video stream;
identifying at least two-dimension code business cards contained in a video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
and adding group members according to the user identification.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: a processor, a camera, a memory, and computer program instructions stored in the memory;
the camera is used for acquiring a video stream;
the processor is used for identifying at least two-dimension code business cards contained in the video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
and adding group members according to the user identification.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions are stored, which, when executed by a processor, implement the method of the first aspect in the foregoing embodiments.
According to the method, the terminal device and the medium for adding the group members, the user identification corresponding to each two-dimension code business card in the at least two-dimension code business cards is obtained by identifying the at least two-dimension code business cards contained in the obtained video stream; adding group members according to the user identification; the embodiment of the invention can realize accurate addition of the chat group members based on the user identification corresponding to the convenient two-dimensional code.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates a flow diagram of a video processing method provided in accordance with some embodiments of the invention;
FIG. 2 illustrates a flow diagram of a method of adding group members according to some embodiments of the invention;
FIG. 3 illustrates a flow diagram of a method of constructing a chat group in accordance with some embodiments of the invention;
FIG. 4 illustrates a flow diagram of another method of constructing a chat group, provided in accordance with some embodiments of the invention;
fig. 5 illustrates a schematic diagram of a terminal device provided in accordance with some embodiments of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Fig. 1 is a schematic diagram of a video processing method according to an embodiment of the present invention. As shown in fig. 1, the video processing method includes:
step 101: acquiring a video stream;
step 102: identifying at least two-dimension code business cards contained in a video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
step 103: and processing the user identification corresponding to each two-dimensional code business card.
According to the video processing method provided by the embodiment of the invention, the user identification corresponding to each two-dimension code business card in the at least two-dimension code business cards is obtained by identifying the at least two-dimension code business cards contained in the obtained video stream; and then, processing the user identification corresponding to each two-dimension code business card, thereby simplifying the operation of identifying a plurality of two-dimension codes.
In this embodiment of the present invention, a video stream is a video stream including a plurality of two-dimensional code business cards, for example, the plurality of two-dimensional code business cards are two-dimensional code business cards displayed on a plurality of terminals, or two-dimensional code business cards displayed on paper, and the obtaining 101 of a video stream includes:
and acquiring a video stream recorded by the current terminal equipment, wherein the video stream comprises two-dimensional code business cards displayed on at least two pieces of terminal equipment.
Correspondingly, in this example, acquiring the video stream recorded by the current terminal device includes:
and acquiring the video stream through a camera of the current terminal equipment or through a scanning function of instant messaging software. The current terminal device is a terminal device corresponding to an initiator for adding the group member in the at least two terminal devices, and the at least two terminal devices except the current terminal device are terminal devices corresponding to the added group member.
In some embodiments of the present invention, the acquiring a video stream in step 101 includes:
and scanning the two-dimensional code business card displayed on each of the at least two terminal devices, and recording the video stream.
Specifically, before the two-dimension code business card is identified, each member can call the two-dimension code business card of the user in the instant messaging software, and one member of all the members starts the terminal device to record the two-dimension code business cards of other users, so that a two-dimension code video stream is obtained.
In some embodiments of the present invention, before identifying at least two-dimensional code business cards contained in the video stream, the method comprises:
extracting a plurality of images in the video stream at intervals of frames;
the method for identifying at least two-dimension code business cards contained in the video stream comprises the following steps:
and identifying all two-dimensional code business cards contained in the video stream according to the extracted plurality of images.
According to the extracted multiple images, all two-dimensional code business cards contained in the video stream are identified, and the method specifically comprises the following steps:
detecting whether an image in a video stream contains a two-dimensional code business card or not, and identifying the two-dimensional code business card contained in the image when the image contains the two-dimensional code business card so as to obtain a user identifier corresponding to the two-dimensional code business card; when the image does not contain the two-dimensional code business card, the image is not identified. The user identifier is not limited to include a user account and a user image.
According to the embodiment of the invention, each frame of image in the video stream does not need to be identified, and only the image containing the two-dimensional code business card is identified, so that the identification speed is increased, and the user experience degree is improved.
Wherein, whether the image contains the two-dimensional code business card in the detection video stream includes:
and extracting the images in the video stream frame by frame or frame by frame, and detecting the extracted images to determine whether the images contain the two-dimensional code business cards. Wherein the sampling frequency may be 0.5.
On one hand, the embodiment of the invention can accelerate the recognition efficiency of the two-dimension code business card by extracting frames; on the other hand, the sampling frequency of frame-separated extraction is higher, and even if the camera moving speed is very fast when the two-dimensional code business card is recorded, effective two-dimensional code business cards cannot be filtered.
In the embodiment of the invention, under the condition that the two-dimension code business card is recorded or the two-dimension code business card is incomplete, the fault-tolerant decoding is supported to be compatible with the conditions of pollution, incompleteness and the like of the two-dimension code business card.
In one example, a two-dimensional code business card is a combination of a traditional business card and a two-dimensional code. Besides traditional contact ways such as telephone, mailbox, address and the like, the two-dimensional code name card is printed with a two-dimensional code. The user can read the information of the characters and the pictures included in the two-dimensional code by using common code scanning software on the market and slightly scanning. The information in the two-dimensional code can be set by the user himself.
In some embodiments of the present invention, the processing the user identifier corresponding to each two-dimensional code business card in step 103 includes:
and adding group members according to the user identification.
In one example, prior to adding the group member based on the user identification, the video processing method further comprises:
sending a group member adding request to the terminal equipment corresponding to each two-dimension code business card (namely displaying the terminal equipment corresponding to the two-dimension code business card), so that the terminal equipment corresponding to each two-dimension code business card determines whether the user identification is added as a group member; the group member adding request comprises a user identifier corresponding to each two-dimensional code name card;
correspondingly, in this example, adding group members according to the user identification includes:
under the condition that the terminal equipment corresponding to each two-dimensional code business card determines to add the user identification as a group member, the user identification is added as the group member of the group; alternatively, the first and second electrodes may be,
and under the condition that the terminal equipment corresponding to each two-dimensional code business card determines to add the user identification as a group member, a group is constructed based on the user identification, and the user identification is added as the group member.
It should be noted that the group member may be a group member of a new group constructed based on the user identifier, or may be a group member of an existing group.
The following takes new clustering as an example.
A, B, C and D terminal devices are taken as examples; scanning A, B two-dimensional code business cards displayed on the terminal equipment and C terminal equipment through the terminal equipment D, and recording video streams; analyzing the video stream to obtain a user identifier corresponding to each two-dimensional code name card (namely, a user identifier corresponding to each terminal device in A, B, C terminal devices); when a user identifier is obtained every time, a new group is constructed, for example, when the user identifier corresponding to the terminal device A is obtained, the terminal device D sends the user identifier corresponding to the terminal device A, the terminal device A confirms whether the user identifier corresponding to the terminal device A is added as a group member, after the terminal device A confirms, a new group is constructed, and then the user identifier corresponding to the terminal device A is displayed on the terminal device D and is already added as a group member; b and C are the same as A and are not described in detail herein.
The embodiment of the invention ensures that all the group members are members voluntarily added into the group instead of members scanned by mistake through a feedback mechanism, thereby improving the accuracy of adding the group members.
In one example, adding a group member is adding a group member for an already created group.
In other embodiments of the present invention, the processing the user identifier corresponding to each two-dimensional code business card in step 103 includes:
and creating a chat group based on the user identification corresponding to each two-dimension code name card.
In one example, before adding the user identifier corresponding to each two-dimensional code business card as a group member, the video processing method further comprises the following steps:
sending the user identification corresponding to each two-dimension code business card to the terminal equipment corresponding to each two-dimension code business card (namely displaying the terminal equipment corresponding to the two-dimension code business card), so that the terminal equipment corresponding to each two-dimension code business card confirms whether to add the user identification into the chat group, and the user of the terminal equipment determines whether to add the user identification into the chat group;
correspondingly, in this example, creating a chat group based on the user identifier corresponding to each two-dimensional code name card includes:
and under the condition that the terminal equipment corresponding to each two-dimensional code business card confirms that the user identification is added into the chat group, creating the chat group based on the user identification corresponding to each two-dimensional code business card.
A, B, C and D terminal devices are taken as examples; scanning A, B two-dimensional code business cards displayed on the terminal equipment and C terminal equipment through the terminal equipment D, and recording video streams; analyzing the video stream to obtain a user identifier corresponding to each two-dimensional code name card (namely, a user identifier corresponding to each terminal device in A, B, C terminal devices); when each user identification is obtained, for example, when the user identification corresponding to the terminal device A is obtained, the terminal device D sends the user identification corresponding to the terminal device A, the terminal device A confirms whether the user identification corresponding to the terminal device A is added into the chat group, and after the terminal device A confirms, the user identification corresponding to the terminal device A is displayed on the terminal device D and already added into the chat group; b and C are the same as A and are not described in detail herein.
The embodiment of the invention ensures that all members joining the chat group are members voluntarily added into the group instead of members scanned by mistake through a feedback mechanism, thereby improving the accuracy of group establishment.
In one example, the group members may be members in a new group, i.e., the user identifier corresponding to each two-dimensional code name card is added as a group member.
The following is a description of adding chat members as an example.
Fig. 2 is a schematic diagram of a method for adding group members according to an embodiment of the present invention. As shown in fig. 2, the method for adding group members includes:
step 201: acquiring a video stream;
step 202: identifying at least two-dimension code business cards contained in a video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
step 203: and adding the user identification corresponding to each two-dimensional code business card as a group member.
According to the method, the terminal device and the medium for adding the group members, the user identification corresponding to each two-dimension code business card in the at least two-dimension code business cards is obtained by identifying the at least two-dimension code business cards contained in the obtained video stream; adding the user identification corresponding to each two-dimensional code business card as a group member; the chat members can be added based on at least two-dimensional code business cards recognized in the video stream, the operation is simple, and the accuracy is high.
In this embodiment of the present invention, a video stream is a video stream including a plurality of two-dimensional code business cards, for example, the plurality of two-dimensional code business cards are two-dimensional code business cards displayed on a plurality of terminals, or two-dimensional code business cards displayed on paper, and the obtaining a video stream in step 201 includes:
and acquiring the video stream through a camera or through a scanning function of instant messaging software.
Correspondingly, in this example, acquiring a video stream through a camera or through a scanning function of instant messaging software includes:
and clicking a photographing button on a chat group interface, or a virtual photographing touch area in an input method interface, or clicking a plus sign of a group member added in the chat group, and triggering a camera to acquire a video stream.
In some embodiments of the present invention, the acquiring the video stream in step 201 includes:
and scanning the two-dimensional code business card displayed on each of the at least two terminal devices, and recording the video stream.
Correspondingly, in this example, scanning the two-dimensional code business card displayed on each of the at least two terminal devices, and recording the video stream includes:
clicking a photographing button on a chat group interface, or a virtual photographing touch area in an input method interface, or clicking a plus sign of a group member added in the chat group, scanning a two-dimensional code business card displayed on each of at least two terminal devices, and recording a video stream.
Specifically, for all chat members to be added, each member can call the two-dimensional code business card of the user in the instant messaging software, and one member of all the members starts the terminal device of the member to record the two-dimensional code business cards of other users, so that a two-dimensional code video stream is obtained.
In some embodiments of the present invention, after the two-dimensional code video stream is recorded, all the two-dimensional code business cards included in the video stream need to be identified to obtain a user identifier corresponding to each two-dimensional code business card, specifically, step 202 includes:
detecting whether an image in a video stream contains a two-dimensional code business card or not, and identifying the two-dimensional code business card contained in the image when the image contains the two-dimensional code business card so as to obtain a user identifier corresponding to the two-dimensional code business card; when the image does not contain the two-dimensional code business card, the image is not identified. The user identifier is not limited to include a user account and a user image.
According to the embodiment of the invention, each frame of image in the video stream does not need to be identified, and only the image containing the two-dimensional code business card is identified, so that the identification speed is increased, and the user experience degree is improved.
Wherein, whether the image contains the two-dimensional code business card in the detection video stream includes:
and extracting the images in the video stream frame by frame or frame by frame, and detecting the extracted images to determine whether the images contain the two-dimensional code business cards. Wherein the sampling frequency may be 0.5.
On one hand, the embodiment of the invention can accelerate the recognition efficiency of the two-dimension code business card by extracting frames; on the other hand, the sampling frequency of frame-separated extraction is higher, and even if the camera moving speed is very fast when the two-dimensional code business card is recorded, effective two-dimensional code business cards cannot be filtered.
In the embodiment of the invention, under the condition that the two-dimension code business card is recorded or the two-dimension code business card is incomplete, the fault-tolerant decoding is supported to be compatible with the conditions of pollution, incompleteness and the like of the two-dimension code business card.
In one example, a two-dimensional code business card is a combination of a traditional business card and a two-dimensional code. Besides traditional contact ways such as telephone, mailbox, address and the like, the two-dimensional code name card is printed with a two-dimensional code. The user can read the information of the characters and the pictures included in the two-dimensional code by using common code scanning software on the market and slightly scanning. The information in the two-dimensional code can be set by the user himself.
In some embodiments of the present invention, before step 203, the method for adding group members further comprises:
sending the user identification corresponding to each two-dimension code business card to the terminal equipment corresponding to each two-dimension code business card so that the terminal equipment corresponding to each two-dimension code business card can confirm whether the user identification is added as a group member or not;
correspondingly, in this example, adding the user identifier corresponding to each two-dimensional code business card as a group member includes:
and under the condition that the terminal equipment corresponding to each two-dimensional code business card confirms that the user identification is added as the group member, adding the user identification corresponding to each two-dimensional code business card as the group member.
A, B, C and D terminal devices are taken as examples; scanning A, B two-dimensional code business cards displayed on the terminal equipment and C terminal equipment through the terminal equipment D, and recording video streams; analyzing the video stream to obtain a user identifier corresponding to each two-dimensional code name card (namely, a user identifier corresponding to each terminal device in A, B, C terminal devices); when each user identification is obtained, for example, when the user identification corresponding to the terminal device A is obtained, the terminal device D sends the user identification corresponding to the terminal device A, the terminal device A confirms whether the user identification corresponding to the terminal device A is added as a group member, and after the terminal device A confirms, the user identification corresponding to the terminal device A is displayed on the terminal device D and is already added as a group member; b and C are the same as A and are not described in detail herein.
In one example, the group members may be members in a new group, i.e., the user identifier corresponding to each two-dimensional code name card is added as a group member.
Correspondingly, before step 203, the method for adding chat members further comprises:
creating a chat group based on the user identification corresponding to each two-dimension code name card;
correspondingly, in this example, step 203, comprises:
and adding the user identification corresponding to each two-dimensional code business card as a group member in the chat group.
The following description will be given taking the construction of a chat group as an example.
Fig. 3 is a schematic diagram of a method for constructing a chat group according to an embodiment of the present invention. As shown in fig. 3, the method for constructing a chat group includes:
step 301: acquiring a video stream;
step 302: identifying at least two-dimension code business cards contained in a video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
step 303: and constructing a chat group based on the user identification corresponding to each two-dimensional code business card, wherein the members of the chat group correspond to the user identification.
According to the method, the terminal device and the medium for constructing the chat group, the user identification corresponding to each two-dimension code business card in the at least two-dimension code business cards is obtained by identifying the at least two-dimension code business cards contained in the obtained video stream; constructing a chat group based on the user identification corresponding to each two-dimensional code business card; the embodiment of the invention can realize accurate addition of the chat group members based on the user identification corresponding to the convenient two-dimensional code.
In this embodiment of the present invention, a video stream is a video stream including a plurality of two-dimensional code business cards, for example, the plurality of two-dimensional code business cards are two-dimensional code business cards displayed on a plurality of terminals, or two-dimensional code business cards displayed on paper, and the acquiring a video stream in step 301 includes:
and acquiring the video stream through a camera or through a scanning function of instant messaging software.
In some embodiments of the present invention, the acquiring the video stream in step 301 includes:
and scanning the two-dimensional code business card displayed on each of the at least two terminal devices, and recording the video stream.
Specifically, before the chat group is created, each member can call the two-dimensional code business card of the user in the instant messaging software, and one member of all the members starts the terminal device of the member to record the two-dimensional code business cards of other users, so that a two-dimensional code video stream is obtained.
In some embodiments of the present invention, after the two-dimensional code video stream is recorded, all the two-dimensional code business cards included in the video stream need to be identified to obtain a user identifier corresponding to each two-dimensional code business card, specifically, step 302 includes:
detecting whether an image in a video stream contains a two-dimensional code business card or not, and identifying the two-dimensional code business card contained in the image when the image contains the two-dimensional code business card so as to obtain a user identifier corresponding to the two-dimensional code business card; when the image does not contain the two-dimensional code business card, the image is not identified. The user identifier is not limited to include a user account and a user image.
According to the embodiment of the invention, each frame of image in the video stream does not need to be identified, and only the image containing the two-dimensional code business card is identified, so that the identification speed is increased, and the user experience degree is improved.
Wherein, whether the image contains the two-dimensional code business card in the detection video stream includes:
and extracting the images in the video stream frame by frame or frame by frame, and detecting the extracted images to determine whether the images contain the two-dimensional code business cards. Wherein the sampling frequency may be 0.5.
On one hand, the embodiment of the invention can accelerate the recognition efficiency of the two-dimension code business card by extracting frames; on the other hand, the sampling frequency of frame-separated extraction is higher, and even if the camera moving speed is very fast when the two-dimensional code business card is recorded, effective two-dimensional code business cards cannot be filtered.
In the embodiment of the invention, under the condition that the two-dimension code business card is recorded or the two-dimension code business card is incomplete, the fault-tolerant decoding is supported to be compatible with the conditions of pollution, incompleteness and the like of the two-dimension code business card.
In one example, a two-dimensional code business card is a combination of a traditional business card and a two-dimensional code. Besides traditional contact ways such as telephone, mailbox, address and the like, the two-dimensional code name card is printed with a two-dimensional code. The user can read the information of the characters and the pictures included in the two-dimensional code by using common code scanning software on the market and slightly scanning. The information in the two-dimensional code can be set by the user himself.
In some embodiments of the present invention, before step 303, the method of constructing a chat group further comprises:
sending the user identification corresponding to each two-dimension code business card to the terminal equipment corresponding to each two-dimension code business card (namely displaying the terminal equipment corresponding to the two-dimension code business card), so that the terminal equipment corresponding to each two-dimension code business card confirms whether to add the user identification into the chat group, and the user of the terminal equipment determines whether to add the user identification into the chat group;
correspondingly, in this example, creating a chat group based on the user identifier corresponding to each two-dimensional code name card includes:
and under the condition that the terminal equipment corresponding to each two-dimensional code business card confirms that the user identification is added into the chat group, creating the chat group based on the user identification corresponding to each two-dimensional code business card.
A, B, C and D terminal devices are taken as examples; scanning A, B two-dimensional code business cards displayed on the terminal equipment and C terminal equipment through the terminal equipment D, and recording video streams; analyzing the video stream to obtain a user identifier corresponding to each two-dimensional code name card (namely, a user identifier corresponding to each terminal device in A, B, C terminal devices); when each user identification is obtained, for example, when the user identification corresponding to the terminal device A is obtained, the terminal device D sends the user identification corresponding to the terminal device A, the terminal device A confirms whether the user identification corresponding to the terminal device A is added into the chat group, and after the terminal device A confirms, the user identification corresponding to the terminal device A is displayed on the terminal device D and already added into the chat group; b and C are the same as A and are not described in detail herein.
The embodiment of the invention ensures that all members joining the chat group are members voluntarily added into the group instead of members scanned by mistake through a feedback mechanism, thereby improving the accuracy of group establishment.
The following description will be given taking the construction of a chat group as an example.
Fig. 4 is a flow chart illustrating another method of constructing a chat group according to some embodiments of the invention. As shown in fig. 4, the method of clustering includes:
step 401: calling two-dimensional code name card interfaces on the terminal equipment of the members who need to join the chat group;
step 402: acquiring two-dimensional code business cards of all members in a video recording mode to form a video stream;
step 403: extracting images in the video stream at intervals of frames;
step 404: detecting whether all the extracted images contain two-dimensional code images or not;
step 405: decoding and identifying the image containing the two-dimensional code business card to obtain a user identifier corresponding to the two-dimensional code business card;
step 406: and constructing a chat group based on the user identification corresponding to the two-dimension code name card.
According to the embodiment of the invention, users who do not need to establish a group must have a friend relationship, the signal intensity is low, members do not need to start position service to obtain accurate position information, and the group can be successfully established even in a signal-free basement; in addition, a unified password is not required to be set, and the user identification of each member to be joined in the same group chat is obtained through centralized code scanning, so that the group establishment is more accurate and convenient.
In addition, the method of the embodiment of the present invention described in conjunction with fig. 1 to 3 may be implemented by a terminal device. Fig. 5 shows a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
The terminal device may comprise a processor 501 and a memory 502 in which computer program instructions are stored.
Specifically, the processor 501 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 502 may include mass storage for data or instructions. By way of example, and not limitation, memory 502 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 502 may include removable or non-removable (or fixed) media, where appropriate. The memory 502 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 502 is non-volatile solid-state memory. In a particular embodiment, the memory 502 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any of the methods in the above embodiments.
In one example, the end device can also include a communication interface 503 and a bus 510. As shown in fig. 5, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 to complete communication therebetween.
The communication interface 503 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
Bus 510 comprises hardware, software, or both to couple the components of the terminal device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 510 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
In one example, the terminal device further includes: a camera;
the camera is used for acquiring a video stream;
the processor 501 is configured to identify at least two-dimensional code business cards included in the video stream, and obtain a user identifier corresponding to each two-dimensional code business card in the at least two-dimensional code business cards;
and adding group members according to the user identification.
Optionally, the camera is further configured to:
and acquiring a video stream recorded by the current terminal equipment, wherein the video stream comprises two-dimensional code business cards displayed on at least two pieces of terminal equipment.
Optionally, the terminal device further includes:
the transceiver is used for sending a group member adding request to the terminal equipment corresponding to each two-dimensional code business card;
a processor 501 configured to:
and receiving group member adding confirmation information returned by the terminal equipment corresponding to the two-dimensional code business card, and adding the group members according to the confirmation information.
Optionally, the processor 501 is further configured to detect whether an image in the video stream contains a two-dimensional code business card; and in the case that the image in the video stream contains the two-dimension code business card, identifying the two-dimension code business card contained in the image in the video stream.
Optionally, the processor 501 is further configured to extract a plurality of images in the video stream at intervals of frames;
and identifying all two-dimensional code business cards contained in the video stream according to the extracted plurality of images.
Optionally, the processor 501 is further configured to:
creating a chat group based on the user identification corresponding to each two-dimensional code name card;
and adding the user identification corresponding to each two-dimensional code business card as a group member in the chat group.
In addition, in combination with any one of the methods in the above embodiments, the embodiments of the present invention may be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the methods in the above embodiments.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (11)

1. A method of adding group members, the method comprising:
acquiring a video stream;
identifying at least two-dimension code business cards contained in the video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
and adding group members according to the user identification.
2. The method of claim 1, wherein the obtaining the video stream comprises:
and acquiring a video stream recorded by the current terminal equipment, wherein the video stream comprises two-dimensional code business cards displayed on at least two pieces of terminal equipment.
3. The method of claim 2, wherein prior to said adding a group member, the method further comprises:
sending a group member adding request to the terminal equipment corresponding to each two-dimensional code business card;
adding group members according to the user identification comprises:
and receiving group member adding confirmation information returned by the terminal equipment corresponding to the two-dimensional code business card, and adding the group members according to the confirmation information.
4. The method of claim 1, wherein prior to identifying at least two-dimensional code business cards contained in the video stream, the method further comprises:
extracting a plurality of images in the video stream at intervals of frames;
the identifying of the at least two-dimension code business cards contained in the video stream comprises the following steps:
and identifying all two-dimensional code business cards contained in the video stream according to the extracted plurality of images.
5. The method of claim 1, wherein adding group members according to the user identity comprises:
creating a chat group based on the user identification corresponding to each two-dimension code name card;
and adding the user identification corresponding to each two-dimension code name card as the group member in the chat group.
6. A terminal device, characterized in that the terminal device comprises: a processor, a camera, a memory, and computer program instructions stored in the memory;
the camera is used for acquiring a video stream;
the processor is used for identifying at least two-dimension code business cards contained in the video stream to obtain a user identifier corresponding to each two-dimension code business card in the at least two-dimension code business cards;
and adding group members according to the user identification.
7. The terminal device of claim 6, wherein the camera is further configured to:
and acquiring a video stream recorded by the current terminal equipment, wherein the video stream comprises two-dimensional code business cards displayed on at least two pieces of terminal equipment.
8. The terminal device according to claim 7, wherein the terminal device further comprises:
the transceiver is used for sending a group member adding request to the terminal equipment corresponding to each two-dimensional code business card;
the processor is configured to:
and receiving group member adding confirmation information returned by the terminal equipment corresponding to the two-dimensional code business card, and adding the group members according to the confirmation information.
9. The terminal device of claim 6, wherein the processor is further configured to:
extracting a plurality of images in the video stream at intervals of frames;
and identifying all two-dimensional code business cards contained in the video stream according to the extracted plurality of images.
10. The terminal device of claim 6, wherein the processor is further configured to:
creating a chat group based on the user identification corresponding to each two-dimension code name card;
and adding the user identification corresponding to each two-dimension code name card as the group member in the chat group.
11. A computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1-5.
CN202010503330.8A 2020-06-05 2020-06-05 Method, terminal device and medium for adding group members Pending CN113779436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010503330.8A CN113779436A (en) 2020-06-05 2020-06-05 Method, terminal device and medium for adding group members

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010503330.8A CN113779436A (en) 2020-06-05 2020-06-05 Method, terminal device and medium for adding group members

Publications (1)

Publication Number Publication Date
CN113779436A true CN113779436A (en) 2021-12-10

Family

ID=78834194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010503330.8A Pending CN113779436A (en) 2020-06-05 2020-06-05 Method, terminal device and medium for adding group members

Country Status (1)

Country Link
CN (1) CN113779436A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100845327B1 (en) * 2007-05-14 2008-07-10 주식회사 케이티프리텔 Method, communication terminal and buddy group management device for making buddy group
CN105262991A (en) * 2015-10-12 2016-01-20 国家电网公司 Two-dimensional code based substation equipment object recognition method
CN106453846A (en) * 2016-09-14 2017-02-22 北京小米移动软件有限公司 Display method and device for two-dimensional code business card
CN107426260A (en) * 2016-05-24 2017-12-01 北京搜狗科技发展有限公司 The processing method and processing device of information addition and the processing unit for information addition
CN109688362A (en) * 2018-11-29 2019-04-26 苏宁易购集团股份有限公司 A kind of barcode scanning method and apparatus in video calling
CN109995543A (en) * 2019-04-12 2019-07-09 上海掌门科技有限公司 Method and apparatus for adding group members
CN110166262A (en) * 2019-05-16 2019-08-23 深圳和而泰家居在线网络科技有限公司 Group management, device, system, computer equipment and readable storage medium storing program for executing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100845327B1 (en) * 2007-05-14 2008-07-10 주식회사 케이티프리텔 Method, communication terminal and buddy group management device for making buddy group
CN105262991A (en) * 2015-10-12 2016-01-20 国家电网公司 Two-dimensional code based substation equipment object recognition method
CN107426260A (en) * 2016-05-24 2017-12-01 北京搜狗科技发展有限公司 The processing method and processing device of information addition and the processing unit for information addition
CN106453846A (en) * 2016-09-14 2017-02-22 北京小米移动软件有限公司 Display method and device for two-dimensional code business card
CN109688362A (en) * 2018-11-29 2019-04-26 苏宁易购集团股份有限公司 A kind of barcode scanning method and apparatus in video calling
CN109995543A (en) * 2019-04-12 2019-07-09 上海掌门科技有限公司 Method and apparatus for adding group members
CN110166262A (en) * 2019-05-16 2019-08-23 深圳和而泰家居在线网络科技有限公司 Group management, device, system, computer equipment and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林静等: "基于虚拟样本的改进人脸识别算法研究及应用", 计算机工程与应用, pages 123 - 128 *

Similar Documents

Publication Publication Date Title
US20190188642A1 (en) Method and apparatus for determining social networking relationships
CN107154890B (en) Method, device and system for adding contact persons in social network
CN102298533B (en) Method for activating application program and terminal equipment
US20120086792A1 (en) Image identification and sharing on mobile devices
CN101650779B (en) Character recognition device and method
CN105095873A (en) Picture sharing method and apparatus
JP2008546058A (en) Business data acquisition processing apparatus and acquisition processing method
TW201933288A (en) Attendance check method and apparatus, and attendance check device
CN110392054A (en) Log in method of calibration, device, system, equipment and readable storage medium storing program for executing
CN101534261A (en) A method, device and system of recognizing spam information
CN105162984B (en) Telephone number recognition methods and device
CN105263126A (en) Method, device and system for short message verification
CN112085097A (en) Image processing method and device, electronic equipment and storage medium
CN106911845A (en) Incoming call reminding method and device
CN112188458A (en) NFC social software system
CN113779436A (en) Method, terminal device and medium for adding group members
CN112511739B (en) Interactive information generation method and equipment
CN101996320A (en) Method for automatically extracting instant messaging accounts and executing corresponding operations
CN105227660A (en) A kind of based reminding method and device
CN110059184B (en) Operation error collection and analysis method and system
CN106251456B (en) A kind of electronic queuing system and method
CN114257443B (en) Special inter-intranet signature system, method and equipment for court
CN104272330B (en) Matching method between the unique identifier of document digitization equipment and the identifier of user account
CN116110527A (en) Sampling detection method, device, equipment and medium
CN106454194B (en) Video method and system based on VR equipment

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