A method, system and medium for establishing connection by capturing terminal actions
Through the recognition technology that captures terminal movements, it solves the boring and cumbersome problems of traditional contact methods, realizes natural and fast connections between users, is suitable for multi-person matching and game entertainment, and improves the operational convenience for the elderly.
Patent Information
- Application Number
- CN202111046501.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-08
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-09-08
AI Technical Summary
The traditional way of establishing connections between mobile phone users is tedious, cumbersome and impersonal, especially for older people.
By capturing terminal movements to establish contact, the gyroscope, gravity sensor and image recognition technology in the server and terminal equipment are used to identify the user's waving movements, build a waving element information set and a video element information set, and perform comparison and matching to achieve Natural, fast connections between users.
It realizes a simple, fast and natural connection method between users, is suitable for multi-person matching, group building and game entertainment, and improves the operational convenience for the elderly.
Smart Images

Figure CN113873452B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of establishing close-range connections between terminals, and in particular to a system, method and medium for establishing connections by capturing terminal actions. Background Art
[0002] With the development of mobile phones, Internet dating tools have become a very important part of people's lives. According to statistics and surveys, there are more than 1 billion users of Internet social software in China and more than 3 billion users in the world. Currently, there are mainly the following ways to establish connections between users: enter account to search, match and add; scan code to match and add; radar scan, enter confirmation code to add; shake to randomly match and add, etc. These methods are monotonous and cumbersome; and it is more troublesome to add multiple people at the same time. In addition, for those who are older and not good at operating smartphones, these traditional ways of adding are not very humane.
[0003] With the development of mobile devices and image recognition algorithms, the application of gyroscopes and gravity sensors can identify the operating actions of mobile phones; and the rapid development of image recognition technology can also effectively identify gestures and actions in videos. Through the action recognition of mobile terminals and videos, the corresponding operations can be effectively identified, thereby processing the device terminal for establishing contact. Moreover, the connection through people's natural actions is more in line with human nature. Even users who are not good at complex operations of mobile devices can easily establish contact. Summary of the invention
[0004] The present invention mainly solves the problems that the traditional way of establishing contact between mobile phone users is relatively boring, the operation process is relatively cumbersome and it is not humane for the elderly.
[0005] To solve the above problem, a technical solution adopted by the present invention is to provide a method for establishing a connection by capturing terminal actions, which is applied to a server and several terminals connected to the server for communication, and includes the following steps:
[0006] Initializing the connection: setting initialization parameters; obtaining first state information, and performing an initialization connection operation; obtaining identification information, and sending the identification information to the server;
[0007] Capturing terminal actions: performing a terminal grouping operation on the plurality of the terminals according to the identification information to obtain a first terminal and a second terminal; performing a terminal shooting operation; obtaining waving element information of the plurality of the second terminals and sending the information to the server to construct a waving element information set; performing a waving shooting operation according to the first terminal to obtain a shot video;
[0008] Video analysis and matching: performing an identification and analysis operation on the captured video to obtain a video element information set; performing a comparison and matching operation on the waving element information set and the video element information set according to the initialization parameters to obtain a matching terminal information set;
[0009] Establishing a connection: performing an establishing a connection operation according to the matching terminal information set and the first state information.
[0010] Further, the video element information set includes several sets of second waving number information, second waving time information and second waving action information;
[0011] The step of performing the recognition analysis operation further comprises:
[0012] Identify waving terminals: identify and analyze the captured video to obtain a number of waving terminals;
[0013] Analyzing element information: performing motion analysis on each of the waving terminals to obtain second waving number information, second waving time information, and second waving motion information of each of the waving terminals;
[0014] Constructing a video element set: collecting the second waving number information, the second waving time information, and the second waving action information of each waving terminal to obtain the video element information set.
[0015] Further, the initialization parameters include a first position threshold, a first time error value, and a first action error value; the identification information includes first identity information and position information; the waving element information includes first waving number information, first waving time information, and first waving action information;
[0016] The step of performing a comparison and matching operation on the waving element information set and the video element information set to obtain a matching terminal information set further comprises:
[0017] Retrieve terminal: retrieve the second terminal within the first location threshold according to the location information of the first terminal, and obtain the first identity information of the second terminal;
[0018] Acquiring waving element information: acquiring the first waving number information, the first waving time information and the first waving action information according to the first identity information and the waving element information set;
[0019] Waving action comparison: performing an action comparison operation on the first waving action information and the video element information set according to the first action error value to obtain a waving action comparison result;
[0020] Waving times comparison: according to the waving action comparison result, performing a times comparison operation on the first waving times information and the video element information set to obtain a waving times comparison result;
[0021] Waving time comparison: according to the comparison result of the first time error value and the number of waving times, performing a time comparison operation on the first waving time information and the video element information set to obtain a waving time comparison result;
[0022] Acquire matching terminal information: acquire the first identity information of a plurality of second terminals matching the first terminal according to the waving time comparison result, and obtain the matching terminal information set.
[0023] Furthermore, the first status information includes adding friends and establishing groups; the step of establishing contact further includes: determining the matching terminal information set:
[0024] If the matching terminal information set is empty, performing a first prompt operation;
[0025] If the matching terminal information set is not empty, the first status information is determined:
[0026] If the first status information is the adding friend operation, performing the adding friend operation;
[0027] If the first status information is the establishment of a group, an operation of adding a group is performed.
[0028] Furthermore, the step of constructing the waving element information set further includes:
[0029] The first waving number information, the first waving time information, and the first waving work information are collected according to the first identity information to construct the waving element information set.
[0030] Furthermore, the step of comparing the waving motion further includes:
[0031] Acquire a plurality of the second waving motion information in the video element information set, and sequentially compare the first waving motion information with the plurality of the second waving motion information:
[0032] If, within the first motion error value, a number of the second waving motion information are not equal to the first waving motion information, a second prompt operation is performed;
[0033] If, within the first action error value, among a plurality of pieces of the second waving action information, the second waving action information is equal to the first waving action information, then acquiring the first identity information of the waving terminal to which the second waving action information belongs;
[0034] A plurality of the first identity information are aggregated to obtain the waving action comparison result.
[0035] Furthermore, the step of comparing the number of swings further includes:
[0036] Acquire some of the first identity information in the waving action comparison result;
[0037] Acquire the second waving number information corresponding to the waving terminal according to the first identity information and the video element information set;
[0038] Compare the first swaying number information with a plurality of the second swaying number information in sequence:
[0039] If the second waving number information is not equal to the first waving number information, the third prompt operation is performed.
[0040] If the second waving number information is equal to the first waving number information among the plurality of second waving number information, acquiring the first identity information of the waving terminal to which the second waving number information belongs;
[0041] A plurality of the first identity information are aggregated to obtain the waving times comparison result.
[0042] Furthermore, the step of comparing the swinging time further comprises:
[0043] Obtaining some of the first identity information from the waving times comparison result;
[0044] acquiring the second waving time information corresponding to the waving terminal according to the plurality of the first identity information and the video element information set;
[0045] Compare the first waving time information with a plurality of the second waving time information in sequence:
[0046] If, within the first action error value, a number of the second waving time information are not equal to the first waving time information, a fourth prompt operation is performed;
[0047] If, within the first action error value, among a plurality of pieces of the second waving time information, the second waving time information is equal to the first waving time information, waving the first identity information of the waving terminal to which the second waving time information belongs;
[0048] A plurality of the first identity information are aggregated to obtain the waving time comparison result.
[0049] Further, the step of initializing the connection further includes:
[0050] Setting initialization parameters: setting the first position threshold, the first time error value and the first motion error value;
[0051] Communication connection: acquiring the first state information, and establishing a communication connection between the server and the plurality of terminals according to the first state information;
[0052] Information sending: obtaining the first identity information and location information of the terminals, and sending the first status information and the location information to the server.
[0053] A system for establishing connection by capturing terminal actions, applied to a server and several terminals connected to the server for communication, the system comprising: an initialization connection module, a terminal action capture module, a video analysis module, a terminal matching module and a connection establishment module;
[0054] The initialization connection module is used to set initialization parameters; obtain first state information and perform an initialization connection operation; obtain identification information and send the identification information to the server;
[0055] The capture terminal action module is used to perform a terminal grouping operation on the plurality of the terminals according to the identification information to obtain a first terminal and a second terminal; perform a terminal shooting operation; obtain waving element information of the plurality of the second terminals and send the information to the server to construct a waving element information set; perform a waving shooting operation according to the first terminal to obtain a shot video;
[0056] The video analysis module is used to perform recognition and analysis operations on the captured video to obtain a video element information set;
[0057] The terminal matching module is used to perform a comparison and matching operation on the waving element information set and the video element information set according to the initialization parameters to obtain a matching terminal information set;
[0058] The contact establishment module is used to perform a contact establishment operation according to the matching terminal information set and the first state information.
[0059] Further, the video analysis module includes a waving terminal recognition unit, an element information analysis unit, and a video element set construction unit;
[0060] The waving terminal identification unit is used to identify and analyze the captured video to obtain a number of waving terminals;
[0061] The analysis element information unit is used to perform action analysis on each of the waving terminals to obtain second waving number information, second waving time information and second waving action information of each of the waving terminals;
[0062] The video element set building unit is used to collect the second waving number information, the second waving time information and the second waving action information of each waving terminal to obtain the video element information set.
[0063] Further, the terminal matching module includes a terminal searching unit, a waving element information obtaining unit, a waving action comparison unit, a waving times comparison unit, a waving time comparison unit and a matching terminal information obtaining unit;
[0064] The retrieval terminal unit is used to retrieve the second terminal within the first location threshold according to the location information of the first terminal, and obtain the first identity information of the second terminal;
[0065] The waving element information acquisition unit is used to acquire the first waving number information, the first waving time information and the first waving action information according to the first identity information and the waving element information set;
[0066] The waving action comparison unit is used to perform an action comparison operation on the first waving action information and the video element information set according to the first action error value to obtain a waving action comparison result;
[0067] The waving number comparison unit is used to perform a number comparison operation on the first waving number information and the video element information set according to the waving action comparison result to obtain a waving number comparison result;
[0068] The waving time comparison unit is used to perform a time comparison operation on the first waving time information and the video element information set according to the first time error value and the comparison result of the waving number, so as to obtain a waving time comparison result;
[0069] The matching terminal information obtaining unit is used to obtain the first identity information of a plurality of second terminals matching the first terminal according to the waving time comparison result, and obtain the matching terminal information set.
[0070] Further, the initialization connection module includes an initialization parameter setting unit, a communication connection unit and an information sending unit;
[0071] The initialization parameter setting unit is used to set the first position threshold, the first time error value and the first motion error value;
[0072] The communication connection unit is used to obtain the first state information, and establish a communication connection between the server and the plurality of terminals according to the first state information;
[0073] The information sending unit is used to obtain the first identity information and location information of the terminals, and send the first status information and the location information to the server.
[0074] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for establishing a connection by capturing terminal actions are implemented.
[0075] The beneficial effects of the present invention are:
[0076] 1. The method for establishing contact by capturing terminal actions of the present invention can achieve natural, simple and fast matching between user terminals in close proximity by simply acquiring information such as gestures, and can be applied to scenarios such as group building, group joining, friend adding, game team formation, and board game room opening;
[0077] 2. The system for establishing contact by capturing terminal actions of the present invention can make the way of establishing contact between multiple people at a close distance more novel and interesting;
[0078] 3. The medium for establishing connection by capturing terminal actions described in the present invention can provide a more convenient way for the elderly to establish connection with others, form groups, play games, etc., which is more humane. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0080] Figure 1 is a flow chart of the method for establishing contact by capturing terminal actions according to Embodiment 1 of the present invention;
[0081] Figure 2 It is a flowchart of the initialization connection steps of the method for establishing connection by capturing terminal actions according to Embodiment 1 of the present invention;
[0082] Figure 3 This is a flowchart of the first part of the video analysis step of the method for establishing contact by capturing terminal actions described in Example 1 of the present invention;
[0083] Figure 4 This is a flowchart of the second part of the video analysis step of the method for establishing contact by capturing terminal actions described in Embodiment 1 of the present invention;
[0084] Figure 5 is a schematic diagram of a system for establishing contact by capturing terminal actions according to Embodiment 2 of the present invention;
[0085] Figure 6 is a schematic diagram of an initialization connection module of a system for establishing connection by capturing terminal actions according to Embodiment 2 of the present invention;
[0086] Figure 7 is a schematic diagram of a video analysis module of a system for establishing contact by capturing terminal actions according to Embodiment 2 of the present invention;
[0087] Figure 8 It is a schematic diagram of a terminal matching module of a system for establishing connection by capturing terminal actions according to Embodiment 2 of the present invention.
[0088] It should be noted that in the description of the present invention,
[0089] ID (Identity Document) is an identity identification number;
[0090] GPS (Global Positioning System) is a global positioning system using timing and ranging navigation satellites. DETAILED DESCRIPTION
[0091] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0092] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "position threshold", "time error value", "action error value", "terminal", "communication connection", "server", "position information", "first terminal", "second terminal", "waving", "identification analysis", "video element information", "matching", "establishing connection", "waving action", "waving element information", "identity information", "collection", "retrieval", "comparison", "termination of establishing connection", "" and the like should be understood in a broad sense. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0093] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features.
[0094] Example 1
[0095] It should be noted first that the present invention is mainly applied to several terminals and servers connected to the several terminals for communication. Several terminals involved in the present invention need to be equipped with gyroscopes and gravity sensors, and several terminals need to be equipped with technology that can recognize gestures from videos.
[0096] In addition, it should be noted that the waving action in the present invention includes but is not limited to waving left and right, waving forward and backward, waving in an eight-shaped pattern, waving in a straight line, etc. In order to explain the present invention more clearly, the waving action is set to waving left and right in this embodiment, but the protection scope of the present invention cannot be limited thereby.
[0097] It should be noted first that the number of the first terminal and the second terminal in the present invention is not limited to one, but may be multiple.
[0098] The embodiment of the present invention provides a method for establishing a connection by capturing terminal actions. Figures 1 to 4 , including the following steps:
[0099] S100, initialization connection:
[0100] S101, set initialization parameters:
[0101] According to the needs, the first position threshold, the first time error value and the first motion error value are set, wherein the first position threshold is used when retrieving the second terminal in the video analysis and comparison step, and the first time error value and the first motion error value are used when judging the terminal element information in the result comparison step; in order to explain the present invention more clearly, the first position threshold is set to 100 meters, the first time error value is set to 3 seconds, and the first motion error value is set to 20 degrees for the left and right angles. It should be noted that the settings here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0102] S102, communication connection:
[0103] According to the demand, all terminals turn on the first state, where the first state information is adding friends, establishing groups, etc., the first state information of all terminals is obtained, and communication connections are established between the server and all terminals according to the first state information.
[0104] S103, information sending:
[0105] The first identity information of all terminals is obtained, and the first identity information of all terminals is sent to the server, where the first identity information is the identity identification information of each terminal.
[0106] In order to explain the present invention more clearly, the first identity information is set here as an ID number, and the first identity information of each terminal is ID1, ID2, ID3...IDN, where N is the total number of terminals; it should be noted that the setting here is only for explaining the execution process of the present invention, and cannot limit the protection scope of the present invention.
[0107] It should be noted that in the first identity information field, there is a field representing whether the current terminal is the first terminal or the second terminal. In order to explain the present invention more clearly, this embodiment sets the initiating terminal as a terminal, but it should be noted that the scope of protection of the present invention cannot be limited to the above setting.
[0108] Open the positioning settings of all terminals and obtain the location information of each terminal. The ways to obtain the location information of the terminal here include: location information obtained through Beidou, GPS, GLONASS and other satellite navigation systems; location information obtained through operator base station positioning; location information obtained through fixed network.
[0109] The acquired location information is uploaded to the server, and the server records the location information of each terminal according to the uploaded first identity information. In order to explain the present invention more clearly, the location information of each terminal is set as ID1_Addr, ID2_Addr, ID3_Addr...IDN_Add, where N is the total number of terminals; it should be noted that the setting here is only for explaining the execution process of the present invention, and cannot limit the protection scope of the present invention.
[0110] S200, capture terminal action:
[0111] All terminals are grouped according to the last field in the first identity information to obtain a first terminal and a plurality of second terminals.
[0112] In order to explain the present invention more clearly, the first terminal is set to one and the second terminal is set to eleven, and the first identity information of the first terminal is set to ID1, and the identity information of the second terminal is set to ID2, ID3...ID12 respectively. It should be noted that the setting here is only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0113] The camera of the first terminal is turned on, and the eleven second terminals wave left and right in front of the camera of the first terminal. The first terminal captures the eleven second terminals waving left and right, saves it as a video, and sends it to the server.
[0114] When waving, the eleven second terminals send their own waving element information to the server according to the first identity information, and the waving element information includes first waving number information, first waving time information and first waving action information; the first waving number information represents the total number of times the current terminal has waved during the video shooting, the first waving time information represents the start time of the first wave of the current terminal during the video shooting, which can be accurate to milliseconds, and the first waving action information represents the waving action of the current terminal during the video shooting.
[0115] In order to explain the present invention more clearly, the first waving number information of the ID2 terminal is set as ID2_Freq, the first waving time information is ID2_Time, and the first waving action information is ID2_Rang; the first waving number information of the ID3 terminal is set as ID3_Freq, the first waving time information is ID3_Time, and the first waving action information is ID3_Rang... The first waving number information of the ID12 terminal is set as ID12_Freq, the first waving time information is ID12_Time, and the first waving action information is ID12_Rang, where N is the total number of terminals.
[0116] According to the first identity information, the waving element information of each terminal is collected to obtain a waving element information set;
[0117] The waving feature information set = [(ID2_Freq, ID2_Time, ID2_Rang), (ID3_Freq, ID3_Time, ID3_Rang), (ID4_Freq, ID4_Time, ID4_Rang)…(ID12_Freq, ID12_Time, ID12_Rang)].
[0118] S300, video analysis matching:
[0119] S301, identifying the waving terminal:
[0120] The captured video is identified through the video recognition function to identify the waving terminal in the captured video. In order to explain the present invention more clearly, the waving terminals are set as Phone2, Phone3, Phone4...PhoneM, where M is the total number of identified terminals minus one. It should be noted that the setting here is only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0121] S302, analyzing element information:
[0122] Each waving terminal is analyzed through the video analysis function to analyze the second waving number information, second waving time information and second waving action information of each waving terminal; the second waving number information is the number of waving times of the identified waving terminal in the video, the second waving time information is the start time of the first waving of the identified waving terminal in the video, and the second waving action information is the waving action of the identified waving terminal in the video.
[0123] In order to explain the present invention more clearly, the first waving number information of the Phone2 terminal is set to Phone2_Freq, the first waving time information is set to Phone2_Time, and the first waving action information is set to Phone2_Rang; the first waving number information of the Phone3 terminal is set to Phone3_Freq, the first waving time information is set to Phone3_Time, and the first waving action information is set to Phone3_Rang… The first waving number information of the PhoneM terminal is set to PhoneM_Freq, the first waving time information is set to PhoneM_Time, and the first waving action information is set to PhoneM_Rang, where M is the total number of identified terminals minus one; it should be noted that the setting here is only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0124] S303, constructing a video element set:
[0125] The second waving number information, the second waving time information and the second waving action information of each waving terminal are collected to construct a video element information set.
[0126] Video element information set = [(Phone2_Freq, Phone2_Time, Phone2_Rang), (Phone3_Freq, Phone3_Time, Phone3_Rang), (Phone4_Freq, Phone4_Time, Phone4_Rang) ... (PhoneM_Freq, PhoneM_Time, PhoneM_Rang)].
[0127] S304, search terminal:
[0128] According to the location information of the first terminal, ie, ID1_Addr, the second terminal within the first location threshold is retrieved, that is, the second terminal within the circular area with the first terminal ID1 as the center and a radius of 100 meters is retrieved.
[0129] If the second terminal is found to exist, obtaining the first identity information of all the retrieved second terminals;
[0130] If the second terminal is not found, the first terminal is prompted that no matching terminal is found within a range of 100 meters.
[0131] In order to explain the present invention more clearly, it is assumed here that the terminals retrieved in the circular area with the first terminal ID1 as the center and a radius of 100 meters are ID3, ID6, ID9 and ID12. It is necessary to obtain the waving element information of ID3, ID6, ID9 and ID12 from the waving element information set, namely: (ID3_Freq, ID3_Time, ID3_Rang), (ID6_Freq, ID6_Time, ID6_Rang), (ID9_Freq, ID9_Time, ID9_Rang) and (ID12_Freq, ID12_Time, ID12_Rang); it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the scope of protection of the present invention.
[0132] S305, obtaining waving element information:
[0133] The ID of the retrieved second terminal is obtained, and the waving element information of the terminal is obtained through the ID.
[0134] In order to explain the present invention more clearly, it is assumed here that the retrieved terminals are ID3, ID6, ID9 and ID12. Then, it is necessary to obtain the waving element information of ID3, ID6, ID9 and ID12 from the waving element information set, namely: (ID3_Freq, ID3_Time, ID3_Rang), (ID6_Freq, ID6_Time, ID6_Rang), (ID9_Freq, ID9_Time, ID9_Rang) and (ID12_Freq, ID12_Time, ID12_Rang); it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0135] S306, waving action comparison:
[0136] Within the first action error value range, if the first waving action information of all retrieved terminals is not equal to all the second waving action information obtained in the captured video, a second prompt operation is performed, that is, prompting the first terminal that no terminal matching the waving action is detected within a range of 100 meters;
[0137] If there is second waving action information among all the second waving action information obtained in the captured video that is equal to the first waving action information of the retrieved terminal, the first identity information of the terminal to which the second waving action information belongs is obtained; the obtained first identity information is aggregated to obtain a waving action comparison result.
[0138] According to the assumption in step S305 of obtaining the waving element information, it is necessary to compare the values of ID3_Rang, ID6_Rang, ID9_Rang, ID12_Rang with Phone2_Rang, Phone3_Rang, Phone4_Rang, ... PhoneM_Rang.
[0139] In order to explain the present invention more clearly, it is assumed here that the comparison result is ID3_Rang=Phone6_Rang, ID9_Rang=Phone8_Rang, ID12_Rang=Phone2_Rang, and ID6_Rang is not matched, then the ID6 terminal terminates the connection; it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0140] The waving action comparison result = [Phone6, Phone8, Phone2].
[0141] S307, comparison of swing times:
[0142] According to the waving action comparison result, the corresponding second waving number information is obtained from the video element information set.
[0143] If all the second waving times information are not equal to all the corresponding first waving times information, a third prompt operation is performed, that is, prompting the first terminal that no terminal with matching waving times is detected within a range of 100 meters;
[0144] If the second waving number information is equal to the corresponding first waving number information, the first identity information of the terminal to which the second waving number information belongs is obtained; the obtained first identity information is aggregated to obtain a waving number comparison result.
[0145] According to the assumption in the waving action comparison step S306, it is necessary to obtain the first waving frequency information ID3_Freq, ID9_Freq and ID12_Freq of the ID3 terminal, ID9 terminal and ID12 terminal, and obtain the second waving frequency information Phone6_Freq, Phone8_Freq and Phone2_Freq of the Phone6 waving terminal, Phone8 waving terminal and Phone2 waving terminal;
[0146] According to the comparison in the waving action comparison step S306 , ID3_Freq is compared with Phone6_Freq, ID9_Freq is compared with Phone8_Freq, and ID12_Freq is compared with Phone2_Freq.
[0147] In order to explain the present invention more clearly, it is assumed here that ID3_Freq=Phone6_Freq, ID12_Freq=Phone2_Freq, and ID9_Freq is not equal to Phone8_Freq, then the ID9 terminal terminates the connection; it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0148] The result of comparing the number of waving times = [Phone6, Phone2].
[0149] S308, swing time comparison:
[0150] According to the comparison result of the waving times, the corresponding second waving time information is obtained from the video element information set.
[0151] Within the first time error, i.e., 3 seconds, if all the second waving time information is not equal to the corresponding first waving time information, a fourth prompting operation is performed, i.e., prompting the first terminal that no terminal with matching waving time is detected within a range of 100 meters;
[0152] If the second waving time information is equal to the corresponding first waving time information, the first identity information of the terminal to which the second waving time information belongs is obtained; the obtained first identity information is aggregated to obtain a waving time comparison result.
[0153] According to the assumption in the step S307 of comparing the number of waving times, it is necessary to obtain the second waving time information ID3_Time and ID12_Time of the ID3 terminal and the ID12 terminal, and obtain the first waving time information Phone6_Time and Phone2_Time of the Phone6 terminal and the Phone2 terminal;
[0154] According to the comparison in the wave count comparison step S307, ID3_Time is compared with Phone6_Time, and ID12_Time is compared with Phone2_Time.
[0155] In order to explain the present invention more clearly, it is assumed here that ID12_Time=Phone2_Time, ID3_Time is not equal to Phone6_Time, then the ID3 terminal establishes a connection; it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0156] Waving time comparison result = [Phone2].
[0157] S309, obtaining matching terminal information:
[0158] According to the waving time comparison result, the first identity information of the terminals within the range of 100 meters whose waving action, waving number and waving time can all be successfully matched is obtained, and the first identity information is aggregated to obtain a matching terminal information set.
[0159] According to the assumption in the waving time comparison step S308, the matching terminal information set = [ID12].
[0160] S400, establish contact:
[0161] Determine whether the matching terminal information set is empty:
[0162] If it is empty, the first prompt operation is performed, that is, no matching terminal is detected within a range of 100 meters;
[0163] If it is not empty, determine the first status information:
[0164] If the first status information is adding a friend, the first terminal adds all second terminals in the matching terminal information set as friends;
[0165] If the first status information is to establish a group, the first terminal adds all second terminals in the matching terminal information set into the same group.
[0166] According to the assumption in step S309 of obtaining matching terminal information, the first terminal here, that is, terminal ID1, will add ID12 as a friend or pull ID12 into the group.
[0167] Example 2
[0168] It should be noted first that the present invention is mainly applied to several terminals and servers connected to the several terminals in communication. Several terminals involved in the present invention need to be equipped with gyroscopes and gravity sensors, and several terminals need to be equipped with technology that can recognize gestures from videos.
[0169] In addition, it should be noted that the waving action in the present invention includes but is not limited to waving left and right, waving back and forth, waving in an eight-shaped pattern, waving in a straight line, etc. In order to explain the present invention more clearly, the waving action is set to waving left and right in this embodiment, but the protection scope of the present invention is not limited thereto.
[0170] It should be noted first that the number of the first terminal and the second terminal in the present invention is not limited to one, but may be multiple.
[0171] The embodiment of the present invention provides a system for establishing a connection by capturing terminal actions. Figures 5 to 8 , including: initialization connection module, terminal action capture module, video analysis module, terminal matching module and contact establishment module;
[0172] Initialize the connection module:
[0173] The initialization connection module is used to set initialization parameters; obtain first state information and perform initialization connection operations; obtain identification information and send the identification information to the server; the initialization connection module includes an initialization parameter setting unit, a communication connection unit and an information sending unit;
[0174] Set the initialization parameter unit:
[0175] The initialization parameter setting unit is used to set a first position threshold, a first time error value and a first motion error value;
[0176] Specifically, the initialization parameter unit is set to set the first position threshold, the first time error value and the first motion error value according to the needs, wherein the first position threshold is used when retrieving the second terminal in the video analysis and comparison step, and the first time error value and the first motion error value are used when judging the terminal element information in the result comparison step; in order to explain the present invention more clearly, the first position threshold is set to 100 meters, the first time error value is set to 3 seconds, and the first motion error value is set to 20 degrees for the left and right angles. It should be noted that the settings here are only for explaining the execution process of the present invention, and cannot limit the scope of protection of the present invention.
[0177] Communication connection unit:
[0178] The communication connection unit is used to obtain the first state information and establish a communication connection between the server and the plurality of terminals according to the first state information;
[0179] Specifically, the communication connection unit turns on the first state for all terminals according to demand. The first state information here is adding friends, establishing groups, etc., obtains the first state information of all terminals, and establishes communication connections between the server and all terminals according to the first state information.
[0180] Information sending unit:
[0181] The information sending unit is used to obtain first identity information and location information of a plurality of terminals, and send the first status information and location information to the server;
[0182] Specifically, the information sending unit obtains the first identity information of all terminals, and sends the first identity information of all terminals to the server, where the first identity information is the identity identification information of each terminal.
[0183] In order to explain the present invention more clearly, the first identity information is set here as an ID number, and the first identity information of each terminal is ID1, ID2, ID3...IDN, where N is the total number of terminals; it should be noted that the setting here is only for explaining the execution process of the present invention, and cannot limit the protection scope of the present invention.
[0184] It should be noted that in the first identity information field, there is a field representing whether the current terminal is the first terminal or the second terminal. In order to explain the present invention more clearly, this embodiment sets the initiating terminal as a terminal, but it should be noted that the scope of protection of the present invention cannot be limited to the above setting.
[0185] Open the positioning settings of all terminals and obtain the location information of each terminal. The ways to obtain the location information of the terminal here include: location information obtained through Beidou, GPS, GLONASS and other satellite navigation systems; location information obtained through operator base station positioning; location information obtained through fixed network.
[0186] The acquired location information is uploaded to the server, and the server records the location information of each terminal according to the uploaded first identity information. In order to explain the present invention more clearly, the location information of each terminal is set as ID1_Addr, ID2_Addr, ID3_Addr...IDN_Add, where N is the total number of terminals; it should be noted that the setting here is only for explaining the execution process of the present invention, and cannot limit the protection scope of the present invention.
[0187] Capture terminal action module:
[0188] The terminal action capture module is used to perform a terminal grouping operation on a plurality of terminals according to the identification information to obtain a first terminal and a second terminal; perform a terminal shooting operation; obtain waving element information of a plurality of second terminals and send the information to a server to construct a waving element information set; perform a waving shooting operation according to the first terminal to obtain a shot video;
[0189] Specifically, the terminal capture action module groups all terminals according to the last field in the first identity information to obtain a first terminal and a plurality of second terminals.
[0190] In order to explain the present invention more clearly, the first terminal is set to one and the second terminal is set to eleven, and the first identity information of the first terminal is set to ID1, and the identity information of the second terminal is set to ID2, ID3...ID12 respectively. It should be noted that the setting here is only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0191] The camera of the first terminal is turned on, and the eleven second terminals wave left and right in front of the camera of the first terminal. The first terminal captures the eleven second terminals waving left and right, saves it as a video, and sends it to the server.
[0192] When waving, the eleven second terminals send their own waving element information to the server according to the first identity information, and the waving element information includes first waving number information, first waving time information and first waving action information; the first waving number information represents the total number of times the current terminal has waved during the video shooting, the first waving time information represents the start time of the first wave of the current terminal during the video shooting, which can be accurate to milliseconds, and the first waving action information represents the waving action of the current terminal during the video shooting.
[0193] In order to explain the present invention more clearly, the first waving number information of the ID2 terminal is set as ID2_Freq, the first waving time information is ID2_Time, and the first waving action information is ID2_Rang; the first waving number information of the ID3 terminal is set as ID3_Freq, the first waving time information is ID3_Time, and the first waving action information is ID3_Rang... The first waving number information of the ID12 terminal is set as ID12_Freq, the first waving time information is ID12_Time, and the first waving action information is ID12_Rang, where N is the total number of terminals.
[0194] The capture terminal action module collects the waving element information of each terminal according to the first identity information to obtain a waving element information set;
[0195] The waving feature information set = [(ID2_Freq, ID2_Time, ID2_Rang), (ID3_Freq, ID3_Time, ID3_Rang), (ID4_Freq, ID4_Time, ID4_Rang)…(ID12_Freq, ID12_Time, ID12_Rang)].
[0196] Video Analysis Module:
[0197] The video analysis module is used to perform recognition and analysis operations on the captured video to obtain a video element information set; the video analysis module includes a waving terminal recognition unit, an element information analysis unit, and a video element set construction unit;
[0198] Identify the waving terminal unit:
[0199] The waving terminal recognition unit is used to recognize and analyze the captured video to obtain a number of waving terminals;
[0200] Specifically, the waving terminal identification unit identifies the captured video through the video recognition function, and identifies the waving terminal in the captured video; in order to explain the present invention more clearly, the waving terminals are set here as Phone2, Phone3, Phone4...PhoneM, where M is the total number of identified terminals minus one. It should be noted that the setting here is only for explaining the execution process of the present invention, and cannot limit the protection scope of the present invention.
[0201] Analysis element information unit:
[0202] The analysis element information unit is used to perform action analysis on each waving terminal to obtain second waving number information, second waving time information and second waving action information of each waving terminal;
[0203] Specifically, the analysis element information unit analyzes each waving terminal through the video analysis function, and analyzes the second waving number information, second waving time information and second waving action information of each waving terminal; the second waving number information is the number of waving times of the identified waving terminal in the video, the second waving time information is the start time of the first waving of the identified waving terminal in the video, and the second waving action information is the waving action of the identified waving terminal in the video.
[0204] In order to explain the present invention more clearly, the first waving number information of the Phone2 terminal is set to Phone2_Freq, the first waving time information is set to Phone2_Time, and the first waving action information is set to Phone2_Rang; the first waving number information of the Phone3 terminal is set to Phone3_Freq, the first waving time information is set to Phone3_Time, and the first waving action information is set to Phone3_Rang… The first waving number information of the PhoneM terminal is set to PhoneM_Freq, the first waving time information is set to PhoneM_Time, and the first waving action information is set to PhoneM_Rang, where M is the total number of identified terminals minus one; it should be noted that the setting here is only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0205] Construct the video feature set unit:
[0206] The video element set building unit is used to collect the second waving number information, the second waving time information and the second waving action information of each waving terminal to obtain a video element information set;
[0207] Specifically, the video element set constructing unit collects the second waving number information, the second waving time information and the second waving action information of each waving terminal to construct a video element information set.
[0208] Video element information set = [(Phone2_Freq, Phone2_Time, Phone2_Rang), (Phone3_Freq, Phone3_Time, Phone3_Rang), (Phone4_Freq, Phone4_Time, Phone4_Rang) ... (PhoneM_Freq, PhoneM_Time, PhoneM_Rang)].
[0209] Terminal matching module:
[0210] The terminal matching module is used to perform a comparison and matching operation on the waving element information set and the video element information set according to the initialization parameters to obtain a matching terminal information set; the terminal matching module includes a terminal retrieval unit, a waving element information acquisition unit, a waving action comparison unit, a waving number comparison unit, a waving time comparison unit and a matching terminal information acquisition unit;
[0211] Retrieve terminal unit:
[0212] The terminal retrieval unit is used to retrieve a second terminal within a first location threshold according to the location information of the first terminal, and obtain the first identity information of the second terminal;
[0213] Specifically, the terminal search unit searches for the second terminal within the first location threshold according to the location information of the first terminal, ie, ID1_Addr, that is, searches for the second terminal within a circular area with the first terminal ID1 as the center and a radius of 100 meters.
[0214] If the second terminal is found to exist, obtaining the first identity information of all the retrieved second terminals;
[0215] If the second terminal is not found, the first terminal is prompted that no matching terminal is found within a range of 100 meters.
[0216] In order to explain the present invention more clearly, it is assumed here that the terminals retrieved in the circular area with the first terminal ID1 as the center and a radius of 100 meters are ID3, ID6, ID9 and ID12. It is necessary to obtain the waving element information of ID3, ID6, ID9 and ID12 from the waving element information set, namely: (ID3_Freq, ID3_Time, ID3_Rang), (ID6_Freq, ID6_Time, ID6_Rang), (ID9_Freq, ID9_Time, ID9_Rang) and (ID12_Freq, ID12_Time, ID12_Rang); it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the scope of protection of the present invention.
[0217] Get the waving element information unit:
[0218] The waving element information acquisition unit is used to acquire first waving number information, first waving time information and first waving action information according to the first identity information and the waving element information set;
[0219] Specifically, the waving element information obtaining unit obtains the ID of the retrieved second terminal, and obtains the waving element information of the terminal through the ID.
[0220] In order to explain the present invention more clearly, it is assumed here that the retrieved terminals are ID3, ID6, ID9 and ID12. Then, it is necessary to obtain the waving element information of ID3, ID6, ID9 and ID12 from the waving element information set, namely: (ID3_Freq, ID3_Time, ID3_Rang), (ID6_Freq, ID6_Time, ID6_Rang), (ID9_Freq, ID9_Time, ID9_Rang) and (ID12_Freq, ID12_Time, ID12_Rang); it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0221] Swing motion comparison unit:
[0222] The waving motion comparison unit is used to perform a motion comparison operation on the first waving motion information and the video element information set according to the first motion error value to obtain a waving motion comparison result;
[0223] Specifically, the waving action comparison unit performs a second prompt operation, i.e., prompts the first terminal that no terminal matching the waving action is detected within a range of 100 meters, if the first waving action information of all retrieved terminals is not equal to all second waving action information obtained in the captured video within the first action error value range;
[0224] If there is second waving action information among all the second waving action information obtained in the captured video that is equal to the first waving action information of the retrieved terminal, the first identity information of the terminal to which the second waving action information belongs is obtained; the obtained first identity information is aggregated to obtain a waving action comparison result.
[0225] According to the assumption in obtaining the waving element information unit, it is necessary to compare the values of ID3_Rang, ID6_Rang, ID9_Rang, ID12_Rang with Phone2_Rang, Phone3_Rang, Phone4_Rang, ... PhoneM_Rang.
[0226] In order to explain the present invention more clearly, it is assumed here that the comparison result is ID3_Rang=Phone6_Rang, ID9_Rang=Phone8_Rang, ID12_Rang=Phone2_Rang, and ID6_Rang is not matched, then the ID6 terminal terminates the connection; it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0227] The waving action comparison result = [Phone6, Phone8, Phone2].
[0228] Swing comparison unit:
[0229] The waving number comparison unit is used to perform a number comparison operation on the first waving number information and the video element information set according to the waving action comparison result to obtain a waving number comparison result;
[0230] Specifically, the waving times comparison unit obtains corresponding second waving times information from the video element information set according to the waving action comparison result.
[0231] If all the second waving times information are not equal to all the corresponding first waving times information, a third prompt operation is performed, that is, prompting the first terminal that no terminal with matching waving times is detected within a range of 100 meters;
[0232] If the second waving number information is equal to the corresponding first waving number information, the first identity information of the terminal to which the second waving number information belongs is obtained; the obtained first identity information is aggregated to obtain a waving number comparison result.
[0233] According to the assumption in the waving action comparison unit, it is necessary to obtain the first waving frequency information ID3_Freq, ID9_Freq and ID12_Freq of the ID3 terminal, ID9 terminal and ID12 terminal, and obtain the second waving frequency information Phone6_Freq, Phone8_Freq and Phone2_Freq of the Phone6 waving terminal, Phone8 waving terminal and Phone2 waving terminal;
[0234] According to the comparison in the waving action comparison module, ID3_Freq is compared with Phone6_Freq, ID9_Freq is compared with Phone8_Freq, and ID12_Freq is compared with Phone2_Freq.
[0235] In order to explain the present invention more clearly, it is assumed here that ID3_Freq=Phone6_Freq, ID12_Freq=Phone2_Freq, and ID9_Freq is not equal to Phone8_Freq, then the ID9 terminal terminates the connection; it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0236] The result of comparing the number of waving times = [Phone6, Phone2].
[0237] Swing time comparison unit:
[0238] The waving time comparison unit is used to perform a time comparison operation on the first waving time information and the video element information set according to the first time error value and the waving number comparison result to obtain a waving time comparison result;
[0239] Specifically, the waving time comparison unit obtains the corresponding second waving time information from the video element information set according to the comparison result of the waving times.
[0240] Within the first time error, i.e., 3 seconds, if all the second waving time information is not equal to the corresponding first waving time information, a fourth prompting operation is performed, i.e., prompting the first terminal that no terminal with matching waving time is detected within a range of 100 meters;
[0241] If the second waving time information is equal to the corresponding first waving time information, the first identity information of the terminal to which the second waving time information belongs is obtained; the obtained first identity information is aggregated to obtain a waving time comparison result.
[0242] According to the assumption in the waving times comparison unit, it is necessary to obtain the second waving time information ID3_Time and ID12_Time of the ID3 terminal and the ID12 terminal, and obtain the first waving time information Phone6_Time and Phone2_Time of the Phone6 terminal and the Phone2 terminal;
[0243] According to the comparison in the wave count comparison module, ID3_Time is compared with Phone6_Time, and ID12_Time is compared with Phone2_Time.
[0244] In order to explain the present invention more clearly, it is assumed here that ID12_Time=Phone2_Time, ID3_Time is not equal to Phone6_Time, then the ID3 terminal establishes a connection; it should be noted that the assumptions here are only for explaining the execution process of the present invention and cannot limit the protection scope of the present invention.
[0245] Waving time comparison result = [Phone2].
[0246] Get the matching terminal information unit:
[0247] The matching terminal information acquisition unit is used to acquire first identity information of a plurality of second terminals matching the first terminal according to the waving time comparison result, and obtain a matching terminal information set;
[0248] Specifically, the matching terminal information obtaining unit obtains the first identity information of the terminals within 100 meters whose waving actions, waving times and waving times can all be successfully matched according to the waving time comparison result, and collects the first identity information to obtain a matching terminal information set.
[0249] According to the assumption in the swing time comparison unit, the matching terminal information set = [ID12].
[0250] Create a contact module:
[0251] The contact establishment module is used to perform a contact establishment operation according to the matching terminal information set and the first state information;
[0252] Specifically, the contact establishment module determines whether the matching terminal information set is empty:
[0253] If it is empty, the first prompt operation is performed, that is, no matching terminal is detected within a range of 100 meters;
[0254] If it is not empty, determine the first status information:
[0255] If the first status information is adding a friend, the first terminal adds all second terminals in the matching terminal information set as friends;
[0256] If the first status information is to establish a group, the first terminal adds all second terminals in the matching terminal information set into the same group.
[0257] According to the assumption in the unit of obtaining matching terminal information, the first terminal here, that is, the ID1 terminal, will add ID12 as a friend or pull ID12 into the group.
[0258] Example 3
[0259] This embodiment 3 has a computer-readable storage medium, which is used to store computer software instructions used to implement the method of establishing contact by capturing terminal actions described in the above-mentioned embodiment 1, which includes a program set up for the method of establishing contact by capturing terminal actions; specifically, the executable program can be built into the system for establishing contact by capturing terminal actions described in embodiment 2, so that the system for establishing contact by capturing terminal actions can implement the method of establishing contact by capturing terminal actions in embodiment 1 by executing the built-in executable program.
[0260] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0261] A person skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware, or may be accomplished by a program to instruct the relevant hardware. The program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0262] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for establishing a connection by capturing terminal actions, applied to a server and a plurality of terminals connected to the server for communication, characterized in that: The method comprises the following steps: Initializing the connection: setting initialization parameters; obtaining first state information, and performing an initialization connection operation; obtaining identification information, and sending the identification information to the server; Capturing terminal actions: performing a terminal grouping operation on the plurality of terminals according to the identification information to obtain a first terminal and a second terminal; performing a terminal shooting operation; obtaining waving element information of the plurality of second terminals and sending the information to the server to construct a waving element information set; the first terminal performing a waving shooting operation to shoot the waving action of the second terminal to obtain a shot video; Video analysis and matching: performing an identification and analysis operation on the captured video to obtain a video element information set; performing a comparison and matching operation on the waving element information set and the video element information set according to the initialization parameters to obtain a matching terminal information set; Establishing a connection: performing an establishing a connection operation according to the matching terminal information set and the first state information.
2. The method for establishing contact by capturing terminal actions according to claim 1, characterized in that: The video element information set includes several sets of second waving number information, second waving time information and second waving action information; The step of performing the recognition analysis operation further comprises: Identify waving terminals: identify and analyze the captured video to obtain a number of waving terminals; Analyzing element information: performing motion analysis on each of the waving terminals to obtain second waving number information, second waving time information, and second waving motion information of each of the waving terminals; Constructing a video element set: collecting the second waving number information, the second waving time information, and the second waving action information of each waving terminal to obtain the video element information set.
3. The method for establishing contact by capturing terminal actions according to claim 2, characterized in that: The initialization parameters include a first position threshold, a first time error value, and a first motion error value; the identification information includes first identity information and position information; the waving element information includes first waving number information, first waving time information, and first waving motion information; The step of performing a comparison and matching operation on the waving element information set and the video element information set to obtain a matching terminal information set further comprises: Retrieve terminal: retrieve the second terminal within the first location threshold according to the location information of the first terminal, and obtain the first identity information of the second terminal; Acquiring waving element information: acquiring the first waving number information, the first waving time information and the first waving action information according to the first identity information and the waving element information set; Waving action comparison: performing an action comparison operation on the first waving action information and the video element information set according to the first action error value to obtain a waving action comparison result; Waving times comparison: according to the waving action comparison result, performing a times comparison operation on the first waving times information and the video element information set to obtain a waving times comparison result; Waving time comparison: according to the comparison result of the first time error value and the number of waving times, performing a time comparison operation on the first waving time information and the video element information set to obtain a waving time comparison result; Acquire matching terminal information: acquire the first identity information of a plurality of second terminals matching the first terminal according to the waving time comparison result, and obtain the matching terminal information set.
4. The method for establishing contact by capturing terminal actions according to claim 3, characterized in that: The first status information includes adding friends and establishing groups; the step of establishing contact further includes: determining the matching terminal information set: If the matching terminal information set is empty, performing a first prompt operation; If the matching terminal information set is not empty, the first status information is determined: If the first status information is the adding friend operation, performing the adding friend operation; If the first status information is the establishment of a group, an operation of adding a group is performed.
5. The method for establishing contact by capturing terminal actions according to claim 3, characterized in that: The step of constructing the waving element information set further includes: The first waving number information, the first waving time information, and the first waving motion information are collected according to the first identity information to construct the waving element information set.
6. The method for establishing contact by capturing terminal actions according to claim 3, characterized in that: The step of comparing the waving motion further comprises: Acquire a plurality of the second waving motion information in the video element information set, and sequentially compare the first waving motion information with the plurality of the second waving motion information: If, within the first motion error value, a number of the second waving motion information are not equal to the first waving motion information, a second prompt operation is performed; If, within the first action error value, among a plurality of pieces of the second waving action information, the second waving action information is equal to the first waving action information, then acquiring the first identity information of the waving terminal to which the second waving action information belongs; A plurality of the first identity information are aggregated to obtain the waving action comparison result.
7. The method for establishing contact by capturing terminal actions according to claim 6, characterized in that: The step of comparing the number of swings further comprises: Acquire some of the first identity information in the waving action comparison result; Acquire the second waving number information corresponding to the waving terminal according to the first identity information and the video element information set; Compare the first swaying number information with a plurality of the second swaying number information in sequence: If the second waving number information is not equal to the first waving number information, the third prompt operation is performed. If the second waving number information is equal to the first waving number information among the plurality of second waving number information, acquiring the first identity information of the waving terminal to which the second waving number information belongs; A plurality of the first identity information are aggregated to obtain the waving times comparison result.
8. The method for establishing contact by capturing terminal actions according to claim 7, characterized in that: The step of comparing the swinging time further comprises: Obtaining some of the first identity information from the waving times comparison result; acquiring the second waving time information corresponding to the waving terminal according to the plurality of the first identity information and the video element information set; Compare the first waving time information with a plurality of the second waving time information in sequence: If, within the first action error value, a number of the second waving time information are not equal to the first waving time information, a fourth prompt operation is performed; If, within the first action error value, among a plurality of pieces of the second waving time information, the second waving time information is equal to the first waving time information, waving the first identity information of the waving terminal to which the second waving time information belongs; A plurality of the first identity information are aggregated to obtain the waving time comparison result.
9. The method for establishing contact by capturing terminal actions according to claim 3, characterized in that: The step of initializing the connection further comprises: Setting initialization parameters: setting the first position threshold, the first time error value and the first motion error value; Communication connection: acquiring the first state information, and establishing a communication connection between the server and the plurality of terminals according to the first state information; Information sending: obtaining the first identity information and location information of the terminals, and sending the first status information and the location information to the server.
10. A system for establishing connection by capturing terminal actions, applied to a server and several terminals connected to the server for communication, characterized in that: The system comprises: an initialization connection module, a terminal action capture module, a video analysis module, a terminal matching module and a connection establishment module; The initialization connection module is used to set initialization parameters; obtain first state information and perform an initialization connection operation; obtain identification information and send the identification information to the server; The terminal action capture module is used to perform a terminal grouping operation on the plurality of terminals according to the identification information to obtain a first terminal and a second terminal; perform a terminal shooting operation; obtain waving element information of the plurality of second terminals and send the information to the server to construct a waving element information set; the first terminal performs a waving shooting operation to shoot the waving action of the second terminal to obtain a shot video; The video analysis module is used to perform recognition and analysis operations on the captured video to obtain a video element information set; The terminal matching module is used to perform a comparison and matching operation on the waving element information set and the video element information set according to the initialization parameters to obtain a matching terminal information set; The contact establishment module is used to perform a contact establishment operation according to the matching terminal information set and the first state information.
11. The system for establishing contact by capturing terminal actions according to claim 10, characterized in that: The video analysis module includes a waving terminal recognition unit, an element information analysis unit, and a video element set construction unit; The waving terminal identification unit is used to identify and analyze the captured video to obtain a number of waving terminals; The analysis element information unit is used to perform action analysis on each of the waving terminals to obtain second waving number information, second waving time information and second waving action information of each of the waving terminals; The video element set building unit is used to collect the second waving number information, the second waving time information and the second waving action information of each waving terminal to obtain the video element information set.
12. A system for establishing contact by capturing terminal actions according to claim 11, characterized in that: The initialization parameters include a first position threshold, a first time error value, and a first motion error value; the identification information includes first identity information and position information; the waving element information includes first waving number information, first waving time information, and first waving motion information; The terminal matching module includes a terminal retrieval unit, a waving element information acquisition unit, a waving action comparison unit, a waving times comparison unit, a waving time comparison unit and a matching terminal information acquisition unit; The retrieval terminal unit is used to retrieve the second terminal within the first location threshold according to the location information of the first terminal, and obtain the first identity information of the second terminal; The waving element information acquisition unit is used to acquire the first waving number information, the first waving time information and the first waving action information according to the first identity information and the waving element information set; The waving action comparison unit is used to perform an action comparison operation on the first waving action information and the video element information set according to the first action error value to obtain a waving action comparison result; The waving number comparison unit is used to perform a number comparison operation on the first waving number information and the video element information set according to the waving action comparison result to obtain a waving number comparison result; The waving time comparison unit is used to perform a time comparison operation on the first waving time information and the video element information set according to the first time error value and the comparison result of the waving number, so as to obtain a waving time comparison result; The matching terminal information obtaining unit is used to obtain the first identity information of a plurality of second terminals matching the first terminal according to the waving time comparison result, and obtain the matching terminal information set.
13. The system for establishing contact by capturing terminal actions according to claim 12, characterized in that: The initialization connection module includes an initialization parameter setting unit, a communication connection unit and an information sending unit; The initialization parameter setting unit is used to set the first position threshold, the first time error value and the first motion error value; The communication connection unit is used to obtain the first state information, and establish a communication connection between the server and the plurality of terminals according to the first state information; The information sending unit is used to obtain the first identity information and location information of the terminals, and send the first status information and the location information to the server.
14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method steps of establishing a connection by capturing terminal actions as described in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Picture processing method and mobile terminal
CN106201244A
Terminal device, terminal device group creating and joining methods and devices, and server
CN106557376A
Group creation method and device, electronic equipment and storage medium
CN110515458A
Group search method and electronic equipment
CN111079030A
Matching friend-making method based on computer vision
CN112163168A
