CN110515458B - Group creation method and device, electronic device and storage medium - Google Patents
Group creation method and device, electronic device and storage medium Download PDFInfo
- Publication number
- CN110515458B CN110515458B CN201910775299.0A CN201910775299A CN110515458B CN 110515458 B CN110515458 B CN 110515458B CN 201910775299 A CN201910775299 A CN 201910775299A CN 110515458 B CN110515458 B CN 110515458B
- Authority
- CN
- China
- Prior art keywords
- matching
- matching result
- terminal
- gesture
- group
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000003860 storage Methods 0.000 title claims description 12
- 230000004044 response Effects 0.000 claims abstract description 12
- 230000015654 memory Effects 0.000 claims description 20
- 238000004891 communication Methods 0.000 claims description 15
- 238000005304 joining Methods 0.000 claims description 6
- 230000003993 interaction Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 241000203475 Neopanax arboreus Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
- A63F13/795—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure discloses a group creation method, which comprises the following steps: receiving first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal; matching the second gesture identification information with the first gesture identification information to obtain an information matching result; and in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group. According to the technical scheme of the embodiment of the disclosure, the plurality of terminals can be rapidly added into the same group by matching the gesture recognition information provided by different terminals.
Description
Technical Field
The present disclosure relates to the field of computer vision technologies, and in particular, to a group creation method and apparatus, an electronic device, and a storage medium.
Background
Currently, in order to enable a plurality of specific users to join the same group, a group is usually created by a unit user, and a group identifier generated by creating the group is notified to other users, and the other users join the group by using the group identifier. For example, in the current multi-player interactive game, to join a part of game players in the same room, a unit game player needs to open a room first to generate a corresponding room number, and inform other game players needing to enter the room of the room number, and the other game players can enter the room to play the game by inputting the room number on respective terminals.
However, the above method for joining a group for a plurality of specific users has many steps, which not only requires the user to input the group identifier one by one, but also easily causes errors in the process of interacting the group identifier and inputting the group identifier, and consumes much time to join the same group.
Disclosure of Invention
The embodiment of the disclosure is expected to provide a group creation method and device, electronic equipment and storage medium.
The technical scheme of the embodiment of the disclosure is realized as follows:
the embodiment of the disclosure provides a group creation method, which includes:
receiving first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal;
matching the second gesture identification information with the first gesture identification information to obtain an information matching result;
and in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group.
In the group creating method, the first gesture recognition information includes a first gesture type, a first timestamp, and a first location obtained by the first terminal by recognizing a first gesture, the second gesture recognition information includes a second gesture type, a second timestamp, and a second location obtained by the second terminal by recognizing a second gesture, and the matching of the second gesture recognition information with the first gesture recognition information to obtain an information matching result includes:
matching the first gesture type with the second gesture type to obtain a first matching result;
matching the first timestamp with the second timestamp to obtain a second matching result;
matching the first position with the second position to obtain a third matching result;
and determining the information matching result according to the first matching result, the second matching result and the third matching result.
In the above group creation method, the matching the first gesture type and the second gesture type to obtain a first matching result includes:
determining that the first matching result is a successful matching if the first gesture type and the second gesture type belong to the same type;
determining that the first matching result is a matching failure if the first gesture type and the second gesture type are of different types.
In the above group creating method, the matching the first timestamp and the second timestamp to obtain a second matching result includes:
calculating a time difference between the first timestamp and the second timestamp;
determining that the second matching result is successful in matching under the condition that the time difference is smaller than the preset time difference threshold;
and determining that the second matching result is matching failure under the condition that the time difference is greater than or equal to the preset time difference threshold.
In the above group creating method, the matching the first location and the second location to obtain a third matching result includes:
calculating a distance difference between the first location and the second location;
determining that the third matching result is successful in matching under the condition that the distance difference is smaller than the preset distance threshold;
and determining that the third matching result is matching failure when the distance difference is larger than or equal to the preset distance threshold.
In the above group creating method, the determining the information matching result according to the first matching result, the second matching result, and the third matching result includes:
determining that the information matching result is successful when the first matching result, the second matching result and the third matching result are successful;
and determining that the information matching result is a matching failure when at least one of the first matching result, the second matching result and the third matching result is a matching failure.
In the group creating method, after the first terminal and the second terminal are added to the same group in response to the information matching result being a successful match, the method further includes:
acquiring a first user object for logging in a target application through the first terminal and a second user object for logging in the target application through the second terminal;
and adding the first user object and the second user object into the same application group.
In the group creating method, after the first user object and the second user object are joined to the same application group, the method further includes:
acquiring an application group identifier corresponding to the application group;
and respectively sending the application group identification to the first terminal and the second terminal.
The embodiment of the present disclosure provides a group creation device, including:
the receiving module is used for receiving first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal;
the matching module is used for matching the second gesture identification information with the first gesture identification information to obtain an information matching result;
and the creating module is used for joining the first terminal and the second terminal into the same group under the condition that the information matching result is successful.
In the above-mentioned group creation means, the first gesture recognition information includes a first gesture type, a first time stamp, and a first position obtained by the first terminal by recognizing the first gesture, the second gesture recognition information includes a second gesture type, a second time stamp, and a second position obtained by the second terminal by recognizing the second gesture,
the matching module is specifically configured to match the first gesture type with the second gesture type to obtain a first matching result; matching the first timestamp with the second timestamp to obtain a second matching result; matching the first position with the second position to obtain a third matching result; and determining the information matching result according to the first matching result, the second matching result and the third matching result.
In the above group creating device, the matching module is specifically configured to determine that the first matching result is a successful matching when the first gesture type and the second gesture type belong to the same type; determining that the first matching result is a matching failure if the first gesture type and the second gesture type are of different types.
In the above group creating apparatus, the matching module is specifically configured to calculate a time difference between the first timestamp and the second timestamp; determining that the second matching result is successful in matching under the condition that the time difference is smaller than the preset time difference threshold; and determining that the second matching result is matching failure under the condition that the time difference is greater than or equal to the preset time difference threshold.
In the group creating apparatus, the matching module is specifically configured to calculate a distance difference between the first location and the second location; determining that the third matching result is successful in matching under the condition that the distance difference is smaller than the preset distance threshold; and determining that the third matching result is matching failure when the distance difference is larger than or equal to the preset distance threshold.
In the group creating device, the matching module is specifically configured to determine that the information matching result is a successful matching when the first matching result, the second matching result, and the third matching result are all successful matches; and determining that the information matching result is a matching failure when at least one of the first matching result, the second matching result and the third matching result is a matching failure.
In the group creating device, the creating module is further configured to obtain a first user object that logs in a target application through the first terminal, and a second user object that logs in the target application through the second terminal; and adding the first user object and the second user object into the same application group.
In the above group creation apparatus, further comprising:
a sending module, configured to obtain an application group identifier corresponding to the application group; and respectively sending the application group identification to the first terminal and the second terminal.
An embodiment of the present disclosure provides an electronic device, including: a processor, a memory, and a communication bus; wherein,
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the group creation program stored in the memory so as to realize the group creation method.
In the above electronic device, the electronic device is a cloud server.
The embodiment of the present disclosure provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the group creation method.
The embodiment of the disclosure provides a group creation method, which receives first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal; matching the second gesture identification information with the first gesture identification information to obtain an information matching result; and in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group. According to the technical scheme, the plurality of terminals can be rapidly added into the same group by matching gesture recognition information provided by different terminals.
Drawings
Fig. 1 is a schematic flow chart of a group creation method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of exemplary gesture type matching provided by an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating an exemplary process of a terminal joining a same group according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a group creation apparatus provided in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure.
Example one
The embodiment of the disclosure provides a group creation method. Fig. 1 is a schematic flow chart of a group creation method according to an embodiment of the present disclosure. As shown in fig. 1, the method mainly comprises the following steps:
s101, receiving first gesture identification information sent by a first terminal and a set of second gesture identification information sent by a second terminal.
In an embodiment of the present disclosure, the group creation method is performed by a group creation apparatus. The group creation device can interact with different terminals, and receives first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal.
It should be noted that, in the embodiment of the present disclosure, each of the first terminal and the at least one second terminal is a different terminal. Specific first terminal and second terminal embodiments of the present disclosure are not limited. In addition, the number of the second terminals may be multiple, each method for the second terminal to join the group is the same, and the specific number of the second terminals is not limited in this disclosure.
It is understood that, in the embodiment of the present disclosure, the group creation device may receive the first gesture recognition information transmitted by the first terminal before receiving the second gesture recognition information transmitted by the second terminal.
In other embodiments, the first gesture recognition information sent by the first terminal may also be received at the same time, or the second gesture recognition information of the second terminal is received first, and then the first gesture recognition information of the first terminal is received. The embodiment of the present disclosure will be described in detail by taking, as an example, a case where first gesture recognition information transmitted from a first terminal is received first and then second gesture recognition information transmitted from a second terminal is received.
In the embodiment of the present disclosure, the first gesture recognition information transmitted by the first terminal may be information that is first received by the group creation device, and the group creation device creates a group by matching second gesture recognition information that is subsequently received with the first gesture recognition information as a reference.
It should be noted that, in the embodiment of the present disclosure, the first gesture recognition information may include a first gesture type obtained by the first terminal through recognition of the first gesture, a first timestamp, and a first location. The second gesture recognition information may include a second gesture type, a second timestamp, and a second location obtained by the second terminal by recognizing the second gesture. Can dispose the camera on the first terminal, the user can open the camera after opening certain application, perhaps, directly opens the camera and makes first gesture with the hand towards the camera, and the camera can discern first gesture, obtains first gesture type, the time stamp when discerning first gesture to and the first position that the terminal corresponds when discerning first gesture, thereby regard first gesture type, first time stamp and first position as first gesture identification information. Similarly, a camera may be configured on the second terminal to obtain the second gesture identification information. Specific first gesture recognition information and second gesture recognition information the embodiments of the present disclosure are not limited.
Illustratively, in the embodiment of the disclosure, the first terminal scans the scissor hand touched by the user through the camera, and further performs gesture recognition processing, so as to obtain that the first gesture type is the scissor hand type, and a first timestamp and a first position of the first terminal itself when recognizing the first gesture.
It is understood that, in the embodiment of the present disclosure, the first terminal and the second terminal may specifically employ an image recognition technology to perform gesture recognition. For example, the terminal may scan the gesture to obtain a gesture image, and thereby select feature points in the gesture image to determine the gesture type. The embodiment of the present disclosure is not limited to a specific manner in which the first terminal and the second terminal perform gesture recognition.
And S102, matching the second gesture identification information with the first gesture identification information to obtain an information matching result.
In the embodiment of the disclosure, after receiving the first gesture identification information and the second gesture identification information, the group creation device may match the second gesture identification information with the first gesture identification information to obtain an information matching result.
Specifically, in an embodiment of the present disclosure, the first gesture recognition information includes a first gesture type, a first timestamp, and a first location obtained by the first terminal by recognizing the first gesture, the second gesture recognition information may include a second gesture type, a second timestamp, and a second location obtained by the second terminal by recognizing the second gesture, and the group creation means matches the second gesture recognition information with the first gesture recognition information to obtain the information matching result, including: matching the first gesture type with the second gesture type to obtain a first matching result; matching the first time stamp with the second time stamp to obtain a second matching result; matching the first position with the second position to obtain a third matching result; and determining an information matching result according to the first matching result, the second matching result and the third matching result.
Specifically, in an embodiment of the present disclosure, the matching the first gesture type and the second gesture type by the group creation device to obtain a first matching result includes: under the condition that the first gesture type and the second gesture type belong to the same type, determining that the first matching result is successful in matching; in a case where the first gesture type and the second gesture type are of different types, the first matching result is determined to be a matching failure.
Fig. 2 is a schematic diagram of exemplary gesture type matching provided in an embodiment of the present disclosure. As shown in fig. 2, if the first gesture type is a five-finger extension type and the second gesture type is an index-finger extension type, and the two gestures are different types, the group creation means determines that the first matching result is a matching failure.
Specifically, in the embodiment of the present disclosure, the matching the first timestamp and the second timestamp by the group creating apparatus to obtain the second matching result includes: calculating a time difference between the first time stamp and the second time stamp; under the condition that the time difference is smaller than a preset time difference threshold value, determining that the second matching result is successful in matching; and determining that the second matching result is matching failure under the condition that the time difference is greater than or equal to a preset time difference threshold value.
Illustratively, in the embodiment of the present disclosure, the first timestamp is a time a1, the second timestamp is a time a2, and the preset time difference threshold is T. The group creation means may calculate the time difference a2-a1, thereby comparing the magnitude relationship of a2-a1 with T, and determine that the second matching result is a successful match in the case where a2-a1 is smaller than T, and determine that the second matching result is a failed match in the case where a2-a1 is larger than or equal to T.
Specifically, in the embodiment of the present disclosure, the matching the first location and the second location by the group creating device to obtain a third matching result includes: calculating a distance difference between the first location and the second location; determining that the third matching result is successful matching under the condition that the distance difference is smaller than a preset distance threshold; and determining that the third matching result is matching failure when the distance difference is larger than or equal to a preset distance threshold.
Illustratively, in the embodiment of the present disclosure, the first position is B1, the second position is B2, and the preset distance threshold is L. The group creation means may calculate the distance difference | B1-B2|, thereby comparing the magnitude relation of | B1-B2| and L, and determine that the third matching result is a successful match in the case where | B1-B2| is smaller than L, and determine that the third matching result is a failed match in the case where | B1-B2| is larger than or equal to L.
Specifically, in the embodiment of the present disclosure, the determining, by the group creating apparatus, the information matching result according to the first matching result, the second matching result, and the third matching result includes: determining that the information matching result is successful under the condition that the first matching result, the second matching result and the third matching result are successful in matching; and determining that the information matching result is a matching failure under the condition that at least one of the first matching result, the second matching result and the third matching result is a matching failure.
It is understood that, in the embodiment of the present disclosure, users who join the same group are generally required to specify a specific gesture first, so that gesture recognition is performed by using respective terminals in a short time, and the respective terminals are within a certain range. The group creation means can only ensure that the gestures recognized by the first terminal and the second terminal are of the same type when matching the second gesture type with the first gesture type, but may only recognize the second gesture type which is the same as the first gesture type based on coincidence, and a user using the terminal is not a user object appointed in advance, so that it is also ensured that the first terminal and the second terminal are in positions and the difference in time of sending information is small, and a specific terminal is more accurately added to the same group.
It should be noted that, in the embodiment of the present disclosure, the method for matching gesture recognition information is only a specific exemplary method, and of course, other matching rules or matching algorithms may also be set in the group creation device in advance according to actual requirements, and the embodiment of the present disclosure is not limited.
It can be understood that, in the embodiment of the present disclosure, there may be a plurality of second terminals, and for the plurality of second terminals, the group creation apparatus also performs the matching method, that is, the second gesture identification information acquired by each second terminal is respectively matched with the first gesture identification information to determine the corresponding information matching result, which is not described herein again.
And S103, in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group.
In the embodiment of the disclosure, after obtaining the information matching result, the group creating apparatus further joins the first terminal and the second terminal in the same group in response to the information matching result being a successful matching.
Illustratively, in the embodiment of the present disclosure, there are three second terminals to be matched, namely terminal N1, terminal N2 and terminal N3, and accordingly, the group creation apparatus obtains three information matching results. The group creation means joins the two second terminals, i.e., the terminal N1 and the terminal N2, corresponding to successful matching in the three information matching results to the same group as the first terminal.
It should be noted that, in the embodiment of the present disclosure, there may be a plurality of second terminals, and each second terminal may join the same group with the first terminal as long as the second gesture identification information obtained by the second terminal is successfully matched with the first gesture identification information.
Fig. 3 is a schematic flowchart illustrating an exemplary process of a terminal joining a same group according to an embodiment of the present disclosure. As shown in fig. 3, the terminal P recognizes the gesture of the user P to obtain a gesture type P1, a time stamp P2 for recognizing the gesture, and a position P3 of the terminal itself at the time of recognizing the gesture, and the terminal Q recognizes the gesture of the user Q to obtain a gesture type Q1, a time stamp Q2 for recognizing the gesture, and a position Q3 of the terminal itself at the time of recognizing the gesture. And the terminal P and the terminal Q respectively send the acquired gesture recognition information to the cloud server. Under the condition that the cloud server receives gesture identification information sent by the terminal P first, the cloud server correspondingly matches the gesture type Q1, the timestamp Q2 and the position Q3 which are received later by using a matching algorithm on the basis of the gesture type P1, the timestamp P2 and the position P3, so that the terminal P and the terminal Q are added into the same group under the condition of successful matching, and the terminal P and the terminal Q are forbidden from being added into the same group under the condition of failed matching.
It should be noted that, in the embodiment of the present disclosure, after the group creation apparatus joins the first terminal and the second terminal in the same group, the first terminal and the second terminal may directly perform communication interaction through a specific communication network. In addition, the first terminal and the second terminal may be directed to a specific application when performing gesture recognition, that is, after the application is started, in order to implement a situation that a plurality of user objects enter the same application group, the group creation apparatus may further add the user object having logged in the application on the terminal to the same application group.
Specifically, in the embodiment of the present disclosure, the group creating apparatus, in response to the information matching result being that matching is successful, may further include the following step after joining the first terminal and the second terminal into the same group: acquiring a first user object for logging in a target application through a first terminal and a second user object for logging in the target application through a second terminal; and adding the first user object and the second user object into the same application group.
It should be noted that, in the embodiment of the present disclosure, the target application may be a game application, a chat application, a social application, or the like, and accordingly, the application group may be a game room in the game application, or a chat room in the chat application, or the like. Specific target applications and application groups embodiments of the present disclosure are not limited.
It should be noted that, in the embodiment of the present disclosure, the first user object is an application account for logging in the target application through the first terminal. For example, the target application is a certain game application, and the first user object is a game account used when the user logs in the game application through the first terminal. Similarly, the second user object is an application account for logging in the target application through the second terminal, of course, the second terminal may include a plurality of second user objects, and correspondingly, the second user object may include a plurality of corresponding accounts, which is not limited in the embodiment of the present disclosure.
Specifically, in the embodiment of the present disclosure, the group creation means may join the game user who logs in the game application through the second terminal and the game user who logs in the game application through the first terminal into the same game room, so that these game users start the game in the same game room. The group creation means may further join the chat user who logs in the chat application through the second terminal and the chat user who logs in the chat application through the first terminal to the same group chat room to perform a chat. The group creation device can also add the social users who log in the social application through the second terminal and the social users who log in the social application through the first terminal into the same social room, so that social activities such as file transmission, business card exchange and photo sharing are further achieved.
It should be noted that, in the embodiment of the present disclosure, after the group creating apparatus joins the first user object and the second user object to the same application group in the target application, further, the group creating apparatus may further obtain an application group identifier corresponding to the application group, so as to send the application group identifier to the first terminal and the second terminal, respectively.
It can be understood that, in the embodiment of the present disclosure, the group creation apparatus sends the application group identifier to the first terminal and the second terminal, respectively, and the first terminal and the second terminal can display the application group identifier in the display interface of the target application after receiving the application group identifier.
The embodiment of the disclosure provides a group creation method, which receives first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal; matching the second gesture identification information with the first gesture identification information to obtain an information matching result; and in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group. According to the technical scheme, the plurality of terminals can be rapidly added into the same group by matching gesture recognition information provided by different terminals.
Example two
The embodiment of the disclosure provides a group creation device. Fig. 4 is a schematic structural diagram of a group creation apparatus according to an embodiment of the present disclosure. As shown in fig. 4, the group creation means includes:
a receiving module 401, configured to receive first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal;
a matching module 402, configured to match the second gesture identification information with the first gesture identification information, so as to obtain an information matching result;
a creating module 403, configured to join the first terminal and the second terminal into the same group in response to a successful matching result of the information matching.
Optionally, the first gesture recognition information includes a first gesture type, a first timestamp, and a first location obtained by the first terminal through recognizing the first gesture, and the second gesture recognition information includes a second gesture type, a second timestamp, and a second location obtained by the second terminal through recognizing the second gesture.
The matching module 402 is specifically configured to match the first gesture type with the second gesture type to obtain a first matching result; matching the first timestamp with the second timestamp to obtain a second matching result; matching the first position with the second position to obtain a third matching result; and determining the information matching result according to the first matching result, the second matching result and the third matching result.
Optionally, the matching module 402 is specifically configured to determine that the first matching result is a successful matching when the first gesture type and the second gesture type belong to the same type; determining that the first matching result is a matching failure if the first gesture type and the second gesture type are of different types.
Optionally, the matching module 402 is specifically configured to calculate a time difference between the first timestamp and the second timestamp; determining that the second matching result is successful in matching under the condition that the time difference is smaller than the preset time difference threshold; and determining that the second matching result is matching failure under the condition that the time difference is greater than or equal to the preset time difference threshold.
Optionally, the matching module 402 is specifically configured to calculate a distance difference between the first location and the second location; determining that the third matching result is successful in matching under the condition that the distance difference is smaller than the preset distance threshold; and determining that the third matching result is matching failure when the distance difference is larger than or equal to the preset distance threshold.
Optionally, the matching module 402 is specifically configured to determine that the information matching result is a successful matching when the first matching result, the second matching result, and the third matching result are all successfully matched; and determining that the information matching result is a matching failure when at least one of the first matching result, the second matching result and the third matching result is a matching failure.
Optionally, the creating module 403 is further configured to obtain a first user object that logs in a target application through the first terminal, and obtain a second user object that logs in the target application through the second terminal; and adding the first user object and the second user object into the same application group.
Optionally, the group creating apparatus further includes:
a sending module, configured to obtain an application group identifier corresponding to the application group; and respectively sending the application group identification to the first terminal and the second terminal.
The embodiment of the disclosure also provides an electronic device. Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 5, the electronic apparatus includes: a processor 501, a memory 502, and a communication bus 503; wherein,
the communication bus 503 is used for realizing connection communication between the processor 501 and the memory 502;
the processor 501 is configured to execute the group creation program stored in the memory 502 to implement the group creation method.
It should be noted that, in the embodiment of the present disclosure, the electronic device is a cloud server.
The embodiment of the disclosure provides a group creation device, which receives first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal; matching the second gesture identification information with the first gesture identification information to obtain an information matching result; and in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group. The group creation device provided by the embodiment of the disclosure can rapidly add a plurality of terminals into the same group by matching gesture recognition information provided by different terminals.
Embodiments of the present disclosure also provide a computer-readable storage medium storing one or more programs, which may be executed by one or more processors to implement the group creation method described above. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable signal processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable signal processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable signal processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable signal processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure.
Claims (17)
1. A group creation method, comprising:
receiving first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal;
matching the second gesture identification information with the first gesture identification information to obtain an information matching result;
in response to the condition that the information matching result is successful, adding the first terminal and the second terminal into the same group; after the first terminal and the second terminal are added into the same group, the first terminal and the second terminal can directly carry out communication interaction through a specific communication network;
after the first terminal and the second terminal are added into the same group in response to the information matching result being successful, the method further includes:
acquiring a first user object for logging in a target application through the first terminal and a second user object for logging in the target application through the second terminal;
and adding the first user object and the second user object into the same application group.
2. The group creation method according to claim 1, wherein the first gesture recognition information includes a first gesture type, a first time stamp, and a first location obtained by the first terminal by recognizing a first gesture, the second gesture recognition information includes a second gesture type, a second time stamp, and a second location obtained by the second terminal by recognizing a second gesture, and the matching of the second gesture recognition information with the first gesture recognition information obtains an information matching result, including:
matching the first gesture type with the second gesture type to obtain a first matching result;
matching the first timestamp with the second timestamp to obtain a second matching result;
matching the first position with the second position to obtain a third matching result;
and determining the information matching result according to the first matching result, the second matching result and the third matching result.
3. The group creation method of claim 2, wherein the matching the first gesture type with the second gesture type to obtain a first matching result comprises:
determining that the first matching result is a successful matching if the first gesture type and the second gesture type belong to the same type;
determining that the first matching result is a matching failure if the first gesture type and the second gesture type are of different types.
4. The group creation method according to claim 2 or 3, wherein the matching the first timestamp with the second timestamp to obtain a second matching result comprises:
calculating a time difference between the first timestamp and the second timestamp;
determining that the second matching result is successful in matching under the condition that the time difference is smaller than a preset time difference threshold;
and determining that the second matching result is matching failure under the condition that the time difference is greater than or equal to the preset time difference threshold.
5. The group creation method of claim 2, wherein the matching the first location and the second location to obtain a third matching result comprises:
calculating a distance difference between the first location and the second location;
determining that the third matching result is successful in matching under the condition that the distance difference is smaller than a preset distance threshold;
and determining that the third matching result is matching failure when the distance difference is larger than or equal to the preset distance threshold.
6. The group creation method of claim 2, wherein the determining the information matching result from the first matching result, the second matching result, and the third matching result comprises:
determining that the information matching result is successful when the first matching result, the second matching result and the third matching result are successful;
and determining that the information matching result is a matching failure when at least one of the first matching result, the second matching result and the third matching result is a matching failure.
7. The group creation method of claim 1, wherein after joining the first user object and the second user object to the same application group, the method further comprises:
acquiring an application group identifier corresponding to the application group;
and respectively sending the application group identification to the first terminal and the second terminal.
8. A group creation apparatus, comprising:
the receiving module is used for receiving first gesture identification information sent by a first terminal and second gesture identification information sent by a second terminal;
the matching module is used for matching the second gesture identification information with the first gesture identification information to obtain an information matching result;
the creating module is used for adding the first terminal and the second terminal into the same group under the condition that the information matching result is successful; after the first terminal and the second terminal are added into the same group, the first terminal and the second terminal can directly carry out communication interaction through a specific communication network;
the creating module is further configured to obtain a first user object for logging in a target application through the first terminal, and obtain a second user object for logging in the target application through the second terminal; and adding the first user object and the second user object into the same application group.
9. The group creation apparatus according to claim 8, wherein the first gesture recognition information includes a first gesture type, a first time stamp, and a first position obtained by the first terminal by recognizing a first gesture, and the second gesture recognition information includes a second gesture type, a second time stamp, and a second position obtained by the second terminal by recognizing a second gesture,
the matching module is specifically configured to match the first gesture type with the second gesture type to obtain a first matching result; matching the first timestamp with the second timestamp to obtain a second matching result; matching the first position with the second position to obtain a third matching result; and determining the information matching result according to the first matching result, the second matching result and the third matching result.
10. The group creation apparatus according to claim 9,
the matching module is specifically configured to determine that the first matching result is a successful matching when the first gesture type and the second gesture type belong to the same type; determining that the first matching result is a matching failure if the first gesture type and the second gesture type are of different types.
11. The group creation apparatus according to claim 9 or 10,
the matching module is specifically configured to calculate a time difference between the first timestamp and the second timestamp; determining that the second matching result is successful in matching under the condition that the time difference is smaller than a preset time difference threshold; and determining that the second matching result is matching failure under the condition that the time difference is greater than or equal to the preset time difference threshold.
12. The group creation apparatus according to claim 9,
the matching module is specifically configured to calculate a distance difference between the first location and the second location; determining that the third matching result is successful in matching under the condition that the distance difference is smaller than a preset distance threshold; and determining that the third matching result is matching failure when the distance difference is larger than or equal to the preset distance threshold.
13. The group creation apparatus according to claim 9,
the matching module is specifically configured to determine that the information matching result is a successful matching when the first matching result, the second matching result, and the third matching result are all successful matching; and determining that the information matching result is a matching failure when at least one of the first matching result, the second matching result and the third matching result is a matching failure.
14. The group creation apparatus according to claim 8, further comprising:
a sending module, configured to obtain an application group identifier corresponding to the application group; and respectively sending the application group identification to the first terminal and the second terminal.
15. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a communication bus; wherein,
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the group creation program stored in the memory to implement the group creation method according to any one of claims 1 to 7.
16. The electronic device of claim 15, wherein the electronic device is a cloud server.
17. A computer-readable storage medium storing one or more programs which are executable by one or more processors to implement the group creation method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910775299.0A CN110515458B (en) | 2019-08-21 | 2019-08-21 | Group creation method and device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910775299.0A CN110515458B (en) | 2019-08-21 | 2019-08-21 | Group creation method and device, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110515458A CN110515458A (en) | 2019-11-29 |
CN110515458B true CN110515458B (en) | 2021-09-14 |
Family
ID=68627152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910775299.0A Active CN110515458B (en) | 2019-08-21 | 2019-08-21 | Group creation method and device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110515458B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113873452B (en) * | 2021-09-08 | 2024-09-17 | 苏州九宫数字科技有限公司 | Method, system and medium for establishing contact through capturing terminal action |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103140869A (en) * | 2010-09-28 | 2013-06-05 | 三星电子株式会社 | Method of creating and joining social group, user device for executing the method, server, and storage medium |
CN103873426A (en) * | 2012-12-10 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Method for joining social group, server, terminal and system |
CN105407041A (en) * | 2015-11-20 | 2016-03-16 | 珠海多玩信息技术有限公司 | Method for adding group or friend, server, client and system |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101720063A (en) * | 2009-12-02 | 2010-06-02 | 中兴通讯股份有限公司 | Group creating method and device and chat room function implementing method and system |
CN102299968B (en) * | 2011-09-16 | 2014-08-20 | 四川长虹电器股份有限公司 | Multi-terminal information sharing system and method |
CN102665173B (en) * | 2012-04-16 | 2015-04-22 | 青岛海信移动通信技术股份有限公司 | Active login method and terminal |
CN103019816A (en) * | 2012-11-29 | 2013-04-03 | 北京网秦天下科技有限公司 | Application management method and server |
CN103490911A (en) * | 2013-09-17 | 2014-01-01 | 宇龙计算机通信科技(深圳)有限公司 | Group member managing method, system and mobile terminal |
US9727752B2 (en) * | 2013-09-25 | 2017-08-08 | Kairos Social Solutions, Inc. | Device, system, and method of identifying a specific user from a profile image containing multiple people |
CN103841007B (en) * | 2014-03-04 | 2017-05-10 | 腾讯科技(深圳)有限公司 | Data processing method, device and system in online game system |
CN104168294B (en) * | 2014-09-05 | 2017-10-20 | 陈勇 | Instant communication method, system and device between across open platform user |
CN104836725B (en) * | 2015-03-31 | 2018-11-02 | 北京奇艺世纪科技有限公司 | Method and device for adding good friend user |
CN107018224A (en) * | 2016-01-27 | 2017-08-04 | 滴滴(中国)科技有限公司 | Contact person's adding method and device during a kind of O2O transaction |
CN106850794A (en) * | 2017-01-24 | 2017-06-13 | 北京百度网讯科技有限公司 | Method and apparatus, server and terminal for operating group |
US11303597B2 (en) * | 2017-09-08 | 2022-04-12 | Nader Asghari Kamrani | Blockchain-based community messaging system and method thereof |
-
2019
- 2019-08-21 CN CN201910775299.0A patent/CN110515458B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103140869A (en) * | 2010-09-28 | 2013-06-05 | 三星电子株式会社 | Method of creating and joining social group, user device for executing the method, server, and storage medium |
CN103873426A (en) * | 2012-12-10 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Method for joining social group, server, terminal and system |
CN105407041A (en) * | 2015-11-20 | 2016-03-16 | 珠海多玩信息技术有限公司 | Method for adding group or friend, server, client and system |
Also Published As
Publication number | Publication date |
---|---|
CN110515458A (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11487503B2 (en) | Interactive control method and device for voice and video communications | |
CN112836198A (en) | Account login method and device, server, electronic equipment and storage medium | |
CN109428859B (en) | Synchronous communication method, terminal and server | |
US11321280B2 (en) | Multimedia file sharing method and terminal device | |
CN111241517A (en) | Method and device for constructing biological characteristic verification question-answer library | |
KR20180009352A (en) | Method and apparatus for data processing for mobile games | |
CN105847288A (en) | Verification code processing method and device | |
CN103747013A (en) | Cloud terminal login verification method and device | |
EP3373514A1 (en) | User terminal grouping method, conference server, and conference system | |
CN112532885B (en) | Anti-shake method and device and electronic equipment | |
CN111130986B (en) | Message sending method, device, equipment and storage medium | |
CN112613360A (en) | Picture sharing method and device, intelligent terminal and storage medium | |
CN114386934A (en) | Method and device for generating business process, server and storage medium | |
CN110515458B (en) | Group creation method and device, electronic device and storage medium | |
CN113138702B (en) | Information processing method, device, electronic equipment and storage medium | |
CN112346947B (en) | Performance detection method, device, electronic equipment and computer readable medium | |
CN110750749A (en) | Community maintenance method, electronic device and computer-readable storage medium | |
CN104778389A (en) | Numerical value transferring method, terminal, server and system | |
US20170169239A1 (en) | Method for file synchronization, the receiver equipment and systems | |
JP7006294B2 (en) | Information processing methods, information processing devices, and programs | |
CN114157627B (en) | Group processing method, device, electronic equipment and medium | |
CN115454576A (en) | Virtual machine process management method and system and electronic equipment | |
CN107220818B (en) | Online payment method and device | |
CN105025482B (en) | Communication information processing method and equipment thereof | |
CN104407846B (en) | Information processing 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |