Disclosure of Invention
The friend making system aims to solve the problem that friend making efficiency is low in the prior art.
According to a first aspect, the present invention provides a friend-making method, adapted to a server, the method comprising: receiving first audio information sent by a user terminal, wherein the first audio information is audio information with a preset frequency sent by sound production equipment monitored by the current user terminal; receiving second audio information sent by a terminal user, wherein the second audio information is audio information of a preset frequency sent by other user terminals monitored by the current user terminal; and matching the users according to the first audio information and the second audio information, and sending a matching result to the user terminal.
Optionally, the first audio information carries the sound emitting device attribute information; the second audio information carries user information of a user terminal which sends the audio information; the matching according to the users of the first audio information and the second audio information comprises: respectively analyzing the first audio information and the second audio information to obtain attribute information of the sound generating equipment and the user information; clustering the user terminals according to the attribute information of the sound generating equipment; and matching the users according to the user information and the clusters.
Optionally, the attribute information includes: location information of the device and/or the audio coverage area emitted by the sound emitting device occurs.
Optionally, the matching the user according to the user information and the cluster includes: judging whether a user terminal with user information similarity larger than a preset value exists in the same cluster; if the cluster exists, the user terminals with the user information similarity larger than the preset value in the same cluster are used as mutual matching targets; generating matching information, wherein the matching information comprises user information of user terminals which are matched targets with each other; and sending the matching information to the user terminals which are matched with each other.
Optionally, if the similarity of the user terminals in different clusters is greater than a preset value, searching for the user terminal in the different clusters; and taking the user terminals with the similarity of the user information in different clusters larger than the preset value as mutual matching targets, and sending the position information and/or the areas of the matching targets to the user terminals.
Optionally, after the sending the matching information to the user terminal, the method includes: acquiring request information sent by a user terminal; identifying a target object indicated by the request information, wherein the target object and the user terminal are matched targets; sending the request information to the target object; receiving response information sent by the target object; and when the response information represents the confirmation information, establishing a matching relation between the user terminal and the target object.
According to a second aspect, an embodiment of the present invention provides a friend making method, adapted to a user terminal, including: monitoring first audio information sent by first sound-emitting equipment; monitoring second audio information sent by other user terminals; sending the first audio information and the second audio information to a server; and receiving a matching result returned by the server, wherein the feedback result is generated according to the first audio information and the second audio information.
According to a third aspect, an embodiment of the present invention provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the friend making method according to any one of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a user terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the friend making method according to any one of the second aspects.
According to a fifth aspect, an embodiment of the present invention provides a friend making system, including: the user terminal according to the third aspect may send and receive audio information with a predetermined frequency; the server according to the fourth aspect, wherein the server is in communication with the user terminal.
The embodiment of the invention has the following beneficial effects:
the method can be used for demarcating the area where the user terminal is located by utilizing the first audio information, further confirming the matching degree of an object close to the user terminal and the user in the same area by utilizing the audio information, realizing the matching of the user in the range close to the user terminal, reminding the user that the user can be matched exists in the same commercial place, further searching the matched user in the same commercial place in the range close to the user terminal, realizing the combination of online and offline, realizing the social interaction of an accurate scene, performing the online interaction, seeing the real user offline, and enabling the user to quickly find out a proper social object, thereby improving the friend-making efficiency.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a friend making method, which is realized based on audio communication, and specifically, the friend making method can deploy sound generating equipment to public facilities, for example, the sound generating equipment can be deployed in commercial places, specifically, the friend making method is integrated in a player for playing background music, and audio information in a preset frequency band which cannot be heard by human ears is synchronously played when the background music is played, or the friend making method can be deployed in public facilities such as street lamps, squares and the like, the frequency of the audio information can be 18-20kHZ, the audio information can bear attribute information of the sound generating equipment, and specifically, the attribute information can comprise position information of generating equipment and/or an audio coverage area sent by the sound generating equipment. When a user holds a user terminal in an audio coverage area, the user terminal can receive audio information with a preset frequency; meanwhile, a user terminal, for example, an intelligent terminal such as a mobile phone, a tablet computer, an intelligent wearable device, and the like, may send audio information with a preset frequency, where the frequency of the audio information may be 18-20kHZ, and the audio information may carry user information of the user terminal that sends the audio information, for example, user identity information, hobbies and interests, and the like.
After receiving the audio information, transmitting the audio information to a background server, wherein the server can analyze the audio information to obtain an area where a user of a user terminal of the sound generating device receives the audio information is located, and can analyze the positions and the user information of other user terminals by analyzing the audio information of the other user terminals received by the user terminal, an application program can be installed on the user terminal, or a small program can be called, and after a quote program is opened by the user, a microphone of the user terminal can be called to receive the audio information. The server analyzes the audio, so that users in the same area can be matched, and the position and matching degree between the user terminals are further confirmed by using audio communication between the user terminals, and specifically, as shown in fig. 1, the method may include:
s11, receiving first audio information sent by a user terminal, wherein the first audio information is audio information with preset frequency sent by sound production equipment monitored by the current user terminal;
s12, receiving second audio information sent by a terminal user, wherein the second audio information is audio information of a preset frequency sent by other user terminals monitored by the current user terminal;
and S13, matching according to the first audio information and the second audio information.
And S14, sending the matching result to the user terminal.
When the first audio information is sent out by the sound emitting device in a certain area, the user terminal can receive the first audio information if the user terminal is within the area covered by the audio, if the users are in the same commercial place, the sound production equipment in the commercial place sends out audio information, after the first audio information is monitored by a plurality of user terminals, when the first audio information monitored by the user terminal is sent to the server and the user terminal can send out the audio information, the other user terminal may receive the audio information of the current user terminal, and the current user terminal may also receive the audio information of the other user terminal, since the propagation range of the audio information is relatively small, for example, the effective distance of the audio information can be 8-10 meters, and if the distance between the users is small, the current user terminal can receive second audio information sent by other user terminals;
the method can be used for demarcating the area where the user terminal is located by utilizing the first audio information, further confirming the matching degree of an object close to the user terminal and the user in the same area by utilizing the audio information, realizing the matching of the user in the range close to the user terminal, reminding the user that the user can be matched exists in the same commercial place, further searching the matched user in the same commercial place in the range close to the user terminal, realizing the combination of online and offline, realizing the social interaction of an accurate scene, performing the online interaction, seeing the real user offline, and enabling the user to quickly find out a proper social object, thereby improving the friend-making efficiency.
As an exemplary embodiment, the first audio information carries the sound emitting device attribute information; and the second audio information carries the user information of the user terminal which sends the audio information. Matching according to the users of the first audio information and the second audio information comprises respectively analyzing the first audio information and the second audio information to obtain attribute information of the sound generating equipment and the user information; and clustering the user terminals according to the attribute information of the sound generating equipment.
Judging whether a user terminal with user information similarity larger than a preset value exists in the same cluster;
and if so, taking the user terminals with the user information similarity greater than the preset value in the same cluster as mutual matching targets. For example, the user information may include information such as user identity information, age, gender, interests, and character characteristics, and the similarity score may be obtained by comparing the user identity information, for example, a similarity score may be obtained when the age is close, the gender is opposite, the interests and the genres are similar, and the character characteristics are similar, and the users of the user terminals with higher similarity may be used as the mutual matching targets.
Generating matching information, wherein the matching information comprises user information of user terminals which are matched targets with each other; and sending the matching information to the user terminals which are matched with each other. Specifically, after the matching information is sent to the user terminal, the user can select a target object which is interested by the user at the user terminal, for example, after the matching information is sent to the user terminal, a plurality of targets to be selected can be presented at the user terminal, the user information can be presented, after the user checks the target object, the target object can be selected independently, request information for requesting friend making is generated through selection operation of the user and sent to the server, and the server obtains the request information sent by the user terminal; identifying a target object indicated by the request information, wherein the target object and the user terminal are matched targets; sending the request information to the target object; for example, the response message can be sent to the target object by calling, and the response message sent by the target object is received after the response of the target object is waited; if the target object is also interested in the current user, the confirmation response information can be sent, and when the response information represents the confirmation information, the matching relation between the user terminal and the target object is established, so that the matching between the users is completed.
And if no user terminal with the similarity larger than the preset value exists in the same cluster, taking the user terminals with the similarity of the user information larger than the preset value in different clusters as matching targets for each other, and sending the position information and/or the area of the matching targets to the user terminals. Specifically, information such as the location of the area where the matching target is located and the index path may be sent to the terminal.
An embodiment of the present invention provides a friend making method, where the method is used in a user terminal, and specifically as shown in fig. 2, the method may include:
s21, monitoring first audio information sent by first sound-emitting equipment; when the sound generating equipment in a certain area is deployed to generate audio information, the user terminal can receive the audio information if the user terminal is in the area range covered by the audio, and if the user is in the same commercial place, the sound generating equipment in the commercial place generates the audio information, and the user terminal can monitor the audio information. Specifically, the user terminal may have an application installed thereon, or may invoke an applet, and after the user opens the reference program, the user terminal may invoke a microphone of the user terminal to receive the audio information.
S22, monitoring second audio information sent by other user terminals; the current user terminal may also receive audio information of other user terminals, for example, when the user is close to the current user terminal and is in the same business place, for example, in a certain shop in a certain mall, the current user terminal monitors audio information of a preset frequency sent by other user terminals.
S23, sending the first audio information and the second audio information to a server; after receiving the audio information, the audio information is transmitted to the background server, and the server can analyze the first audio information to obtain the area where the user of the user terminal receives the first audio information is located. The server analyzes the second audio information to obtain the user information of the user terminal sending the second audio information, the users in the area range cluster the user terminals, the users can be divided into areas according to the audio information received by the users, the users in the same area are matched according to the similarity of the user information, the users in the range of near distance can be matched, and the matching result is generated
And S24, receiving a matching result returned by the server.
As an exemplary embodiment, between the matching results returned by sending the audio information to the server and receiving the server, the user may further perform an autonomous selection of a matching object, specifically, receive matching information returned by the server, where the matching information is generated by the server according to the similarity of the user information, the matching information includes user information of user terminals that are mutually matching targets, and the user terminals that are mutually matching targets are user terminals whose similarity of the user information is greater than a preset value; responding to a selection instruction of a user for selecting a target object, and generating request information, wherein the target object and the user terminal are matched targets; and sending the request information to a server.
After the matching information is sent to the user terminal, the user can select a target object which is interested by the user at the user terminal, for example, after the matching information is sent to the user terminal, a plurality of targets to be selected can be presented at the user terminal, the user information can be presented, after the user checks the target object, the target object can be selected independently, request information for requesting friend making is generated through the selection operation of the user, the request information is sent to the server, and the server obtains the request information sent by the user terminal; identifying a target object indicated by the request information, wherein the target object and the user terminal are matched targets; sending the request information to the target object; for example, the response message can be sent to the target object by calling, and the response message sent by the target object is received after the response of the target object is waited; if the target object is also interested in the current user, the confirmation response information can be sent, and when the response information represents the confirmation information, the matching relation between the user terminal and the target object is established, so that the matching between the users is completed.
An embodiment of the present invention provides an electronic device, which may be a server or a user terminal, where the electronic device includes a memory, a processor, and a computer program stored in the memory and operable on the processor, and when the processor executes the computer program, the method for making friends described in any one of the above embodiments is implemented.
An embodiment of the present invention provides a friend making system, including: the user terminal can send and receive audio information with preset frequency, and comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein the processor realizes the friend making method executed by the user terminal when executing the program; the server is communicated with the user terminal and comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the program, the friend making method executed by the server is realized; the sound production device is deployed in a certain area and used for producing first audio information with preset frequency.
After audio information of preset frequency sent by other user terminals and sound production equipment which are monitored by a current user terminal is sent to a server, the server analyzes the audio information to obtain user information of other users, the user information and the area range where the user is located are obtained, the user in the same range is compared with the received user information through the current user information, the user in the range of a close distance nearby can be matched, the user can be reminded of being matched in the same commercial place, online and offline combination is realized, accurate scene social contact is realized, online interaction is carried out, real users are seen offline, the user can quickly find out a proper social object, and friend making efficiency is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data 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 data 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 data 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-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, the principle and the implementation of the present invention are explained by applying the specific embodiments in the present invention, and the above description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.