CN103561114A - Method and device for adding friends through acoustic coding and decoding - Google Patents
Method and device for adding friends through acoustic coding and decoding Download PDFInfo
- Publication number
- CN103561114A CN103561114A CN201310581045.8A CN201310581045A CN103561114A CN 103561114 A CN103561114 A CN 103561114A CN 201310581045 A CN201310581045 A CN 201310581045A CN 103561114 A CN103561114 A CN 103561114A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- uid
- acoustic information
- identification code
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and system for adding friends through acoustic coding and decoding. According to the method and system for adding the friends through acoustic coding and decoding, a server converts UID codes of a second user terminal into acoustic information, and decodes acoustic information uploaded by a first user terminal, a UID list of the acoustic information of the same kind is generated, the range of the positions of UIDs is judged, when the UIDs are arranged within a preset range, the friends are added, and when the UIDs are not within the preset range, the friends are not added. The problem that in the prior art, when the friends are added, efficiency of the relation verification process is low is solved, efficiency for adding the friends is improved, and rapid friend addition is achieved.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method of adding good friend and device that utilizes acoustic coding decoding.
Background technology
At present, depending on mobile Internet carries out doings and has seemed more and more important, user can utilize mobile Internet to realize the basic services such as friend-making, more and more such as the means of communication of network instant communication IM service, also by most of netizen, accepted, not only in entertainment life at ordinary times, and in user job, obtained practical widely, realized friend, exchanges and communication simultaneously and between classmate, have become one of indispensable instrument in the network user's daily life.
It is a very important factor of linking up between user that good friend between user is closed tethers, only has between user and has had relation, can carry out session and communication.In prior art, user A wishes and other users, for example, before user B links up, need to first add user B is good friend, at present be mainly the good friend's adding method based on relation checking, user A sends simple authorization information to user B, the identity of oneself to user B surface, only have user B to ask by the interpolation good friend of user A, user A can check user B and the operation such as chat.
In prior art, during due to interpolation good friend, be related to that the efficiency of proof procedure is not high, therefore, very inconvenient when user operates.
Obviously, it will be appreciated by those of skill in the art that above-mentioned being related in proof procedure that the analysis of IM system is also applicable to add such as the good friend of other applications such as online game.
Summary of the invention
The object of the invention is to overcome weak point of the prior art, a kind of method of adding good friend and device that utilizes acoustic coding decoding is provided, solved while adding good friend in prior art, be related to the not high problem of efficiency of proof procedure, improved the efficiency of adding good friend.
The embodiment of the present invention provides a kind of method of adding good friend of utilizing acoustic coding decoding, comprising:
First user terminal and the second user terminal upload onto the server the positional information of self respectively;
Described server is encoded the user identity proof UID of described the second user terminal, is converted to the acoustic information corresponding to UID of described the second user terminal, and sends described acoustic information to described the second user terminal;
When described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information, and the voice data collecting is wrapped and reached described server;
Described server is decoded described voice data bag, and generates the UID list that described acoustic information is corresponding, and described UID list comprises the UID of first user terminal and the UID of the second user terminal;
Described server judges the positional information of described first user terminal and described the second user terminal, if the two position within the scope of preset value, described first user terminal is carried out and is added described the second user terminal and operate for good friend; If the two position is not within the scope of preset value, described first user terminal is not carried out and is added described the second user terminal for good friend's operation.
The embodiment of the present invention also provides a kind of device that adds good friend that utilizes acoustic coding decoding, comprising:
Receiving element, for receiving self positional information of first user terminal and the second user terminal uploads;
Coding unit, for the user identity proof UID of described the second user terminal is encoded, is converted to the acoustic information corresponding to UID of described the second user terminal;
Transmitting element, for sending described acoustic information to described the second user terminal, so that when described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information;
Described receiving element, the voice data bag collecting of also uploading for receiving described first user terminal;
Decoding unit, for described voice data bag is decoded, and generates the UID list that described acoustic information is corresponding, and described UID list comprises the UID of first user terminal and the UID of the second user terminal;
Judging unit, for the positional information of described first user terminal and described the second user terminal is judged, if the two position within the scope of preset value, described first user terminal is carried out and is added described the second user terminal and operate for good friend; If the two position is not within the scope of preset value, described first user terminal is not carried out and is added described the second user terminal for good friend's operation.
The method providing by the embodiment of the present invention and device, server is acoustic information by the UID code conversion of the second user terminal, and the acoustic information uploaded of the first user terminal of decoding, generate the UID list of similar acoustic information, and judge the position range of UID in UID list, if add good friend in preset range, otherwise do not add good friend, solved while adding good friend in prior art, the not high problem of efficiency that is related to proof procedure, improve the efficiency of adding good friend, realized quick interpolation good friend.
。
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the embodiment of the present invention one;
Fig. 2 is the installation composition figure of the embodiment of the present invention two.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
Embodiment mono-
Fig. 1 is the method flow diagram of the embodiment of the present invention one, and as shown in Figure 1, the method comprises:
S101, first user terminal and the second user terminal upload onto the server the positional information of self respectively;
Before this, the user identity that server is preserved first user terminal and the second user terminal proves (User Identification, UID).UID user is after registered members, and server can be distributed to the numerical value of a UID of each user automatically.When server receives after the two positional information of uploading, the UID information positional information corresponding with it separately bound.
It should be noted that, first, second user terminal of the present invention is only the difference of title, do not have dividing of strict sequencing, and the embodiment of the present invention can also be expanded the enforcement scene for a plurality of user terminals (being greater than 2).
S102, described server are encoded the user identity proof UID of described the second user terminal, are converted to the acoustic information corresponding to UID of described the second user terminal, and send described acoustic information to described the second user terminal;
Server end has a voice bank, in voice bank sound quantity enough large and every section of music have a unique identification code.Server is encoded the user identity proof UID of described the second user terminal, be converted to the acoustic information corresponding to UID of described the second user terminal, be specially: the UID to described the second user terminal confirms, and distribute default one section of corresponding identification code of sound and described the second user terminal UID to bind, and described identification code is sent to described the second user terminal, so that described the second user terminal is according to described identification code, from described server, download the sound that described identification code is corresponding.Because user is magnanimity, sound is limited, so then the UID that each identification code can corresponding several users confirms certain concrete UID again by location technology.
S103, when described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information, and the voice data collecting is wrapped and reached described server;
The second user terminal is play described acoustic information, and now, described first user terminal is by microphone continuous collecting acoustic information.In the present embodiment, the classification of sound similar with this password not, be the sound of " serge---serge serge-serge---".
S104, described server are decoded described voice data bag, and generate the UID list that described acoustic information is corresponding, and described UID list comprises the UID of first user terminal and the UID of the second user terminal;
Server is decoded described voice data bag, and generate the UID list that described acoustic information is corresponding, be specially: described sound is compared, described voice data bag is decoded into the identification code that described sound is corresponding, by described identification code, generate the UID list that described identification code is corresponding, described UID list comprises the UID of first user terminal and the UID of the second user terminal.The code encoding/decoding mode of above-mentioned said sound, sound comparison technology is all conventional technology, is not repeated its implementation procedure here.
S105, described server judge the positional information of described first user terminal and described the second user terminal, if the two position within the scope of preset value, described first user terminal is carried out and is added described the second user terminal and operate for good friend; If the two position is not within the scope of preset value, described first user terminal is not carried out and is added described the second user terminal for good friend's operation.
For example, preset range is 50 meters, and when the position of first user terminal and the second user terminal is in 50 meters, server completes the operation that first user terminal is paid close attention to the second user terminal automatically, if the two distance is greater than 50 meters, pays close attention to unsuccessfully.
Embodiment bis-
Fig. 2 is the installation composition figure of the embodiment of the present invention two, and as shown in Figure 2, this device comprises:
Receiving element 201, for receiving self positional information of first user terminal and the second user terminal uploads;
Described device comprises voice bank, in described voice bank, each section of sound has the identification code of unique correspondence, coding unit 202 is encoded the user identity proof UID of described the second user terminal, be converted to the acoustic information corresponding to UID of described the second user terminal, be specially: the UID of 202 pairs of described the second user terminals of coding unit confirms, and distribute default one section of corresponding identification code of sound and described the second user terminal UID to bind, and described identification code is sent to described the second user terminal, so that described the second user terminal is according to described identification code, from described server, download the sound that described identification code is corresponding.
Transmitting element 203, for sending described acoustic information to described the second user terminal, so that when described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information;
Described receiving element 201, the voice data bag collecting of also uploading for receiving described first user terminal;
Decoding unit 204, for described voice data bag is decoded, and generates the UID list that described acoustic information is corresponding, and described UID list comprises the UID of first user terminal and the UID of the second user terminal;
Described decoding unit 204 is decoded described voice data bag, and generate the UID list that described acoustic information is corresponding, be specially: 204 pairs of described sound of decoding unit are compared, described voice data bag is decoded into the identification code that described sound is corresponding, by described identification code, generate the UID list that described identification code is corresponding, described UID list comprises the UID of first user terminal and the UID of the second user terminal.
Judging unit 205, for the positional information of described first user terminal and described the second user terminal is judged, if the two position within the scope of preset value, described first user terminal is carried out and is added described the second user terminal and operate for good friend; If the two position is not within the scope of preset value, described first user terminal is not carried out and is added described the second user terminal for good friend's operation.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the unit in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
In the several embodiment that provide in the application, should be understood that, disclosed system, equipment and method, can realize by another way.For example, apparatus embodiments described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, the indirect coupling of equipment or unit or communication connection can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, be called for short ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (7)
1. a method of adding good friend of utilizing acoustic coding decoding, is characterized in that, comprising:
First user terminal and the second user terminal upload onto the server the positional information of self respectively;
Described server is encoded the user identity proof UID of described the second user terminal, is converted to the acoustic information corresponding to UID of described the second user terminal, and sends described acoustic information to described the second user terminal;
When described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information, and the voice data collecting is wrapped and reached described server;
Described server is decoded described voice data bag, and generates the UID list that described acoustic information is corresponding, and described UID list comprises the UID of first user terminal and the UID of the second user terminal;
Described server judges the positional information of described first user terminal and described the second user terminal, if the two position within the scope of preset value, described first user terminal is carried out and is added described the second user terminal and operate for good friend; If the two position is not within the scope of preset value, described first user terminal is not carried out and is added described the second user terminal for good friend's operation.
2. method according to claim 1, it is characterized in that, described server comprises voice bank, in described voice bank, each section of sound has the identification code of unique correspondence, described server is encoded the user identity proof UID of described the second user terminal, acoustic information corresponding to UID that is converted to described the second user terminal, comprising:
Described server is confirmed the UID of described the second user terminal, and distribute default one section of corresponding identification code of sound and described the second user terminal UID to bind, and described identification code is sent to described the second user terminal, so that described the second user terminal is according to described identification code, from described server, download the sound that described identification code is corresponding.
3. method according to claim 2, is characterized in that, described server is decoded described voice data bag, and generates the UID list that described acoustic information is corresponding, comprising:
Described server is compared to described sound, described voice data bag is decoded into the identification code that described sound is corresponding, by described identification code, generate the UID list that described identification code is corresponding, described UID list comprises the UID of first user terminal and the UID of the second user terminal.
4. method according to claim 1 and 2, is characterized in that, when described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information, comprising:
When described the second user terminal is play described acoustic information, described first user terminal is by microphone continuous collecting acoustic information.
5. a device that adds good friend that utilizes acoustic coding decoding, is characterized in that, comprising:
Receiving element, for receiving self positional information of first user terminal and the second user terminal uploads;
Coding unit, for the user identity proof UID of described the second user terminal is encoded, is converted to the acoustic information corresponding to UID of described the second user terminal;
Transmitting element, for sending described acoustic information to described the second user terminal, so that when described the second user terminal is play described acoustic information, described first user terminal gathers described acoustic information;
Described receiving element, the voice data bag collecting of also uploading for receiving described first user terminal;
Decoding unit, for described voice data bag is decoded, and generates the UID list that described acoustic information is corresponding, and described UID list comprises the UID of first user terminal and the UID of the second user terminal;
Judging unit, for the positional information of described first user terminal and described the second user terminal is judged, if the two position within the scope of preset value, described first user terminal is carried out and is added described the second user terminal and operate for good friend; If the two position is not within the scope of preset value, described first user terminal is not carried out and is added described the second user terminal for good friend's operation.
6. device according to claim 5, it is characterized in that, described device comprises voice bank, in described voice bank, each section of sound has the identification code of unique correspondence, described coding unit is encoded the user identity proof UID of described the second user terminal, acoustic information corresponding to UID that is converted to described the second user terminal, comprising:
Described coding unit is confirmed the UID of described the second user terminal, and distribute default one section of corresponding identification code of sound and described the second user terminal UID to bind, and described identification code is sent to described the second user terminal, so that described the second user terminal is according to described identification code, from described server, download the sound that described identification code is corresponding.
7. device according to claim 6, is characterized in that, described decoding unit is decoded described voice data bag, and generates the UID list that described acoustic information is corresponding, comprising:
Described decoding unit is compared to described sound, described voice data bag is decoded into the identification code that described sound is corresponding, by described identification code, generate the UID list that described identification code is corresponding, described UID list comprises the UID of first user terminal and the UID of the second user terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310581045.8A CN103561114B (en) | 2013-11-18 | 2013-11-18 | A kind of method and device for being added good friend of utilization acoustic coding decoding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310581045.8A CN103561114B (en) | 2013-11-18 | 2013-11-18 | A kind of method and device for being added good friend of utilization acoustic coding decoding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103561114A true CN103561114A (en) | 2014-02-05 |
CN103561114B CN103561114B (en) | 2017-06-30 |
Family
ID=50015264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310581045.8A Active CN103561114B (en) | 2013-11-18 | 2013-11-18 | A kind of method and device for being added good friend of utilization acoustic coding decoding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103561114B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104485110A (en) * | 2014-11-25 | 2015-04-01 | 科大讯飞股份有限公司 | System and method for selecting songs, server and mobile terminal |
CN105049319A (en) * | 2015-05-25 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Friend adding method and system, client, and server |
CN105704319A (en) * | 2016-03-18 | 2016-06-22 | 深圳市轱辘软件开发有限公司 | Method of adding friend and intelligent devices |
WO2017075900A1 (en) * | 2015-11-02 | 2017-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Contact adding method and device |
CN108712729A (en) * | 2018-05-30 | 2018-10-26 | 福州米鱼信息科技有限公司 | A kind of active koinotropic type wearable device and its implementation |
CN110149269A (en) * | 2019-05-30 | 2019-08-20 | 华为技术有限公司 | A kind of communication means, server and communication system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080152098A1 (en) * | 2006-12-20 | 2008-06-26 | Nortel Networks Limited | Automatic Configuration of Telecommunication Station Sets |
CN102789508A (en) * | 2012-07-27 | 2012-11-21 | 吴建辉 | Distributed practical condition search engine and chat system on basis of geographical position |
CN102882957A (en) * | 2012-09-19 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Mobile terminal friend-making system and method |
CN103220151A (en) * | 2013-04-17 | 2013-07-24 | 合肥华恒电子科技有限责任公司 | User correlation method based on voice recognition |
-
2013
- 2013-11-18 CN CN201310581045.8A patent/CN103561114B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080152098A1 (en) * | 2006-12-20 | 2008-06-26 | Nortel Networks Limited | Automatic Configuration of Telecommunication Station Sets |
CN102789508A (en) * | 2012-07-27 | 2012-11-21 | 吴建辉 | Distributed practical condition search engine and chat system on basis of geographical position |
CN102882957A (en) * | 2012-09-19 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Mobile terminal friend-making system and method |
CN103220151A (en) * | 2013-04-17 | 2013-07-24 | 合肥华恒电子科技有限责任公司 | User correlation method based on voice recognition |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104485110A (en) * | 2014-11-25 | 2015-04-01 | 科大讯飞股份有限公司 | System and method for selecting songs, server and mobile terminal |
CN105049319A (en) * | 2015-05-25 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Friend adding method and system, client, and server |
CN105049319B (en) * | 2015-05-25 | 2018-09-18 | 腾讯科技(深圳)有限公司 | Good friend's adding method and system, client and server |
WO2017075900A1 (en) * | 2015-11-02 | 2017-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Contact adding method and device |
CN105704319A (en) * | 2016-03-18 | 2016-06-22 | 深圳市轱辘软件开发有限公司 | Method of adding friend and intelligent devices |
CN108712729A (en) * | 2018-05-30 | 2018-10-26 | 福州米鱼信息科技有限公司 | A kind of active koinotropic type wearable device and its implementation |
CN108712729B (en) * | 2018-05-30 | 2021-03-02 | 福州米鱼信息科技有限公司 | Active social type wearable device and implementation method thereof |
CN110149269A (en) * | 2019-05-30 | 2019-08-20 | 华为技术有限公司 | A kind of communication means, server and communication system |
Also Published As
Publication number | Publication date |
---|---|
CN103561114B (en) | 2017-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103561114A (en) | Method and device for adding friends through acoustic coding and decoding | |
CN103250205B (en) | Audio fingerprint differences for end-to-end quality of experience measurement | |
CN102308560B (en) | Transmission method and device of media stream data in cloud calculative system | |
CN104167213A (en) | Audio processing method and device | |
CN105191268A (en) | Handling multiple voice calls in multiple SIM mobile phone | |
US20080126294A1 (en) | Methods and apparatus for communicating media files amongst wireless communication devices | |
CN105677512B (en) | Data processing method and device and electronic equipment | |
CN105446628A (en) | Electronic reading method | |
CN102857516B (en) | A kind of media resource sharing method and relevant device, system | |
CN104112450A (en) | Audio encoder, audio decoder, methods for encoding and decoding audio signals and audio device | |
CN103327021B (en) | Method, devices and system of multi-device interaction | |
CN102802150B (en) | phone number verification method, system and terminal | |
CN103281192B (en) | Method, device and system for retrieving data | |
CN105191269A (en) | Teleconferencing using steganographically-embedded audio data | |
CN102348086A (en) | Method and mobile terminal for loading background sounds in video recording process | |
CN104333809A (en) | Program information communication method, device and system | |
CN105471517A (en) | Short-distance information exchange method and system, information sending device, information receiving device and terminal | |
CN110381056B (en) | Netty-based private protocol coding and decoding method and apparatus | |
CN104320385A (en) | Mobile terminal voice communication implementation method and device | |
CN105374359A (en) | Encoding method and system of speech data | |
CN111052639B (en) | Audio-based service set identifier | |
CN103873242A (en) | Intelligent secret key device | |
CN104077216A (en) | Software test method and test device | |
CN108667757A (en) | Manchester code sampling processing method, module and decoder | |
CN108270909A (en) | The matching method and device of a kind of Intelligent hardware |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |