CN104394255A - A method and device for adding a friend - Google Patents

A method and device for adding a friend Download PDF

Info

Publication number
CN104394255A
CN104394255A CN201410557816.4A CN201410557816A CN104394255A CN 104394255 A CN104394255 A CN 104394255A CN 201410557816 A CN201410557816 A CN 201410557816A CN 104394255 A CN104394255 A CN 104394255A
Authority
CN
China
Prior art keywords
user
user profile
acoustic signals
unit
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410557816.4A
Other languages
Chinese (zh)
Inventor
李晓鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUIYANG YUWAN SCIENCE & TECHNOLOGY CO., LTD.
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201410557816.4A priority Critical patent/CN104394255A/en
Publication of CN104394255A publication Critical patent/CN104394255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method and device for adding a friend, the method comprising: obtaining user information of a user at this side; modulating the obtained user information of the user at this side into an acoustic wave signal; and playing the acoustic wave signal to a user at the other side, so that the user at the other side obtains the user information of the user at this side by collecting the acoustic wave signal, and performs an operation of adding a friend in accordance with the obtained user information. The application makes the user at the other side obtain the user information at this side by playing the acoustic wave signal modulated from the user information to thereby perform an operation of adding a friend, reducing tedious process of inputting of a user. The method and the device can complete adding of a friend simply, conveniently, quickly and effectively, and improve the playability of the application.

Description

A kind of method and device adding good friend
Technical field
The present invention relates to mobile internet technical field, particularly relate to a kind of method and the device that add good friend.
Background technology
Along with the high speed development of mobile Internet, the occupation rate that people use mobile Internet application (APP) to carry out linking up and contacting increases greatly.Before user uses APP to carry out communication, need to add as a friend between user.The mode of traditional interpolation good friend, even if user also needs to exchange the user ID in APP face-to-face, just can be added to good friend after manually inputting user ID in APP, and then carry out linking up and contacting.
Manual input user ID is added in the mode of good friend, user needs to use keyboard to input, if the user ID of the other user is more loaded down with trivial details, brings very burden will to the input of user, in general, this mode operates that inconvenience, speed are comparatively slow and efficiency is not high.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method and the device that add good friend, can complete the interpolation of good friend simply and easily.
For solving the problems of the technologies described above, a kind of method of adding good friend of the application, comprising:
Obtain the user profile of home;
The user profile of the home of acquisition is modulated into acoustic signals;
Play described acoustic signals to the other user, pass through to gather described acoustic signals to make the other user and obtain the user profile of described home and carry out adding the operation of good friend according to the user profile obtained.
Further, the described user profile by the home of acquisition is modulated into acoustic signals, comprising:
The user profile of described home is packaged into message;
Described message is encoded, obtains the binary signal of message;
The binary signal of described message is modulated into acoustic signals.
Further, a kind of method of adding good friend, comprising:
Gather the acoustic signals that the other user plays;
Convert the acoustic signals of collection to data-signal, from described data-signal, obtain the user profile of described the other user;
User profile according to described the other user sends interpolation good friend request to the other user.
Further, describedly convert described acoustic signals to data-signal, from described data-signal, obtain the user profile of described the other user, comprising:
Described acoustic signals is converted to binary signal;
Described binary signal is decoded, obtains message;
The user profile that decapsulation obtains described the other user is carried out to described message.
Further, the acoustic signals that described collection the other user plays, comprising:
By the acoustic signals that microphone continuous collecting the other user plays.
Further, a kind of device adding good friend, comprising: user profile acquiring unit, sound wave converting unit and broadcast unit, wherein:
Described user profile acquiring unit, for obtaining the user profile of home;
Described sound wave converting unit, the user profile for the home obtained by described user profile acquiring unit is modulated into acoustic signals;
Described broadcast unit, for playing described acoustic signals to the other user, passing through to gather described acoustic signals and obtains the user profile of described home and carry out adding the operation of good friend according to the user profile obtained to make the other user.
Further, described sound wave converting unit comprises: message encapsulation subelement, coded sub-units and modulation subunit, wherein:
Described message encapsulation subelement, for being packaged into message by the user profile of described home;
Described coded sub-units, for encoding to described message, obtains the binary signal of message;
Described modulation subunit, for being modulated into acoustic signals by the binary signal of described message.
Further, a kind of device adding good friend, comprising: collecting unit, user profile extraction unit and request unit, wherein:
Described collecting unit, for gathering the acoustic signals that the other user plays;
Described user profile extraction unit, converts data-signal to for the acoustic signals gathered by described collecting unit, obtains the user profile of described the other user from described data-signal;
Described request unit, sends interpolation good friend request for the user profile according to described the other user to the other user.
Further, described user profile extraction unit comprises: Date Conversion Unit, decoding unit and decapsulation unit, wherein:
Described Date Conversion Unit, for being converted to binary signal by described acoustic signals;
Described decoding unit, for decoding to described binary signal, obtains message;
Described decapsulation unit, for carrying out to described message the user profile that decapsulation obtains described the other user.
Further, described collecting unit gathers the acoustic signals that the other user plays, and comprising:
The acoustic signals that described collecting unit is play by microphone continuous collecting the other user.
In sum, the acoustic signals that the application is modulated into by playing user profile, the other user is made to obtain the user profile of we, thus carry out the operation adding good friend, decrease the complicated processes that user carries out inputting, simply, easily and fast and effectively can complete the interpolation of good friend, and add the playability of application.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method at one end user side of the interpolation good friend of the application;
Fig. 2 is the flow chart of method in other end user side of the interpolation good friend of the application;
Fig. 3 is the Organization Chart of the transmitting terminal of the device of the interpolation good friend of the application;
Fig. 4 is the Organization Chart of the receiving terminal of the device of the interpolation good friend of the application.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
As shown in Figure 1, the method for the interpolation good friend of the application comprises at transmitting terminal:
Step 101: the user profile obtaining home;
Can increase a user profile in the application and send button in APP, user profile sends button as start button.After user clicks user profile transmission button, start the operation performing the user profile obtaining home.
User profile can be the user ID (ID) that user uses APP.
Step 102: the user profile of the home of acquisition is modulated into acoustic signals;
In the application after getting the user profile of home, user profile is modulated into acoustic signals, thus by playing acoustic signals to the other user with the user profile making the other user obtain home.
In the application, the user profile of the home of acquisition is modulated into acoustic signals, comprises:
Step a: the user profile of home is packaged into message;
Such as, message can comprise three parts: (1) message length; (2) type of message, identifies the message that this message is the user profile of carrying for adding good friend; (3) user ID.
Step b: encode to message, obtains the binary signal of message;
Step c: the binary signal of message is modulated into acoustic signals.
Step 103: play described acoustic signals to the other user, passes through to make the other user to receive the user profile that described acoustic signals obtains described home, carries out according to the user profile obtained the operation adding good friend.
The acoustic signals of user profile can be play in the application by loud speaker to the other user, make the other user collect acoustic signals by microphone, therefrom extract the user of home to carry out adding the operation of good friend.
In order to ensure that the other user can collect acoustic signals, can repeated multiple times broadcasting acoustic signals.
As shown in Figure 2, the method for the interpolation good friend of the application comprises at receiving terminal:
Step 201: gather the acoustic signals that the other user plays;
Can increase a user profile in the application and receive button in APP, user profile receives button as the start button gathering sound wave.After user clicks user profile reception button, start to gather acoustic signals, until stop after obtaining the user profile of the other user.
In the application after user clicks user profile reception button, the acoustic signals play by microphone continuous collecting the other user.
Step 202: the acoustic signals of collection is converted to data-signal, obtains the user profile of the other user from data-signal;
Convert acoustic signals to data-signal in the application, from data-signal, obtain the user profile of the other user, comprising:
Step 1: the acoustic signals of collection is converted to binary signal;
In the application, the acoustic signals of collection is converted to binary signal, comprise: the acoustic signals of collection is converted to digital signal, the corresponding relation of time domain and frequency domain is calculated again by fast fourier transform (FFT) and Hanning window, the frequency being loaded with data is intercepted out, fall noise by frequency filter, obtain binary signal.
Step 2: the binary signal that acoustic signals is converted to is decoded, obtains message;
Step 3: the message obtained decoding carries out the user profile of the other user that decapsulation obtains carrying in message.
Step 203: the user profile according to the other user sends interpolation good friend request to the other user.
Can be set user information in the application sending function and user profile receiving function in the client simultaneously.When adding good friend, both sides can send our user profile simultaneously and gather the user profile of the other side, directly can complete the interpolation of good friend like this, eliminate the step of search and application.
As shown in Figure 3, present invention also provides a kind of device adding good friend, comprising: user profile acquiring unit, sound wave converting unit and broadcast unit, wherein:
User profile acquiring unit, for obtaining the user profile of home;
Sound wave converting unit, the user profile for the home obtained by user profile acquiring unit is modulated into acoustic signals;
Broadcast unit, for playing acoustic signals to the other user, obtaining the user profile of home to make the other user by gathering acoustic signals and carrying out adding the operation of good friend according to the user profile obtained.
The sound wave converting unit of the application comprises: message encapsulation subelement, coded sub-units and modulation subunit, wherein:
Message encapsulation subelement, for being packaged into message by the user profile of home;
Coded sub-units, for encoding to message, obtains the binary signal of message;
Modulation subunit, for being modulated into acoustic signals by the binary signal of message.
As shown in Figure 4, the another kind of the application adds the device of good friend, comprising: collecting unit, user profile extraction unit and request unit, wherein:
Collecting unit, for gathering the acoustic signals that the other user plays;
User profile extraction unit, for converting the acoustic signals of collecting unit collection to data-signal, obtains the user profile of the other user from data-signal;
Request unit, sends interpolation good friend request for the user profile according to the other user to the other user.
The user profile extraction unit of the application comprises: Date Conversion Unit, decoding unit and decapsulation unit, wherein:
Date Conversion Unit, for being converted to binary signal by acoustic signals;
Decoding unit, for decoding to binary signal, obtains message;
Decapsulation unit, for carrying out to message the user profile that decapsulation obtains the other user.
The collecting unit of the application gathers the acoustic signals of the other user's broadcasting, comprising: the acoustic signals that collecting unit is play by microphone continuous collecting the other user.
Those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Although above to invention has been detailed description, the present invention is not limited thereto, those skilled in the art of the present technique can carry out various amendment according to principle of the present invention.Therefore, all amendments done according to the principle of the invention, all should be understood to fall into protection scope of the present invention.

Claims (10)

1. add a good friend's method, it is characterized in that, comprising:
Obtain the user profile of home;
The user profile of the home of acquisition is modulated into acoustic signals;
Play described acoustic signals to the other user, pass through to gather described acoustic signals to make the other user and obtain the user profile of described home and carry out adding the operation of good friend according to the user profile obtained.
2. the method for claim 1, is characterized in that, the described user profile by the home of acquisition is modulated into acoustic signals, comprising:
The user profile of described home is packaged into message;
Described message is encoded, obtains the binary signal of message;
The binary signal of described message is modulated into acoustic signals.
3. add a good friend's method, it is characterized in that, comprising:
Gather the acoustic signals that the other user plays;
Convert the acoustic signals of collection to data-signal, from described data-signal, obtain the user profile of described the other user;
User profile according to described the other user sends interpolation good friend request to the other user.
4. method as claimed in claim 3, is characterized in that, describedly converts described acoustic signals to data-signal, obtains the user profile of described the other user, comprising from described data-signal:
Described acoustic signals is converted to binary signal;
Described binary signal is decoded, obtains message;
The user profile that decapsulation obtains described the other user is carried out to described message.
5. the method as described in claim 3 or 4, is characterized in that, the acoustic signals that described collection the other user plays, and comprising:
By the acoustic signals that microphone continuous collecting the other user plays.
6. add a good friend's device, it is characterized in that, comprising: user profile acquiring unit, sound wave converting unit and broadcast unit, wherein:
Described user profile acquiring unit, for obtaining the user profile of home;
Described sound wave converting unit, the user profile for the home obtained by described user profile acquiring unit is modulated into acoustic signals;
Described broadcast unit, for playing described acoustic signals to the other user, passing through to gather described acoustic signals and obtains the user profile of described home and carry out adding the operation of good friend according to the user profile obtained to make the other user.
7. device as claimed in claim 6, it is characterized in that, described sound wave converting unit comprises: message encapsulation subelement, coded sub-units and modulation subunit, wherein:
Described message encapsulation subelement, for being packaged into message by the user profile of described home;
Described coded sub-units, for encoding to described message, obtains the binary signal of message;
Described modulation subunit, for being modulated into acoustic signals by the binary signal of described message.
8. add a good friend's device, it is characterized in that, comprising: collecting unit, user profile extraction unit and request unit, wherein:
Described collecting unit, for gathering the acoustic signals that the other user plays;
Described user profile extraction unit, converts data-signal to for the acoustic signals gathered by described collecting unit, obtains the user profile of described the other user from described data-signal;
Described request unit, sends interpolation good friend request for the user profile according to described the other user to the other user.
9. device as claimed in claim 8, it is characterized in that, described user profile extraction unit comprises: Date Conversion Unit, decoding unit and decapsulation unit, wherein:
Described Date Conversion Unit, for being converted to binary signal by described acoustic signals;
Described decoding unit, for decoding to described binary signal, obtains message;
Described decapsulation unit, for carrying out to described message the user profile that decapsulation obtains described the other user.
10. device as claimed in claim 8 or 9, is characterized in that, described collecting unit gathers the acoustic signals that the other user plays, and comprising:
The acoustic signals that described collecting unit is play by microphone continuous collecting the other user.
CN201410557816.4A 2014-10-20 2014-10-20 A method and device for adding a friend Pending CN104394255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410557816.4A CN104394255A (en) 2014-10-20 2014-10-20 A method and device for adding a friend

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410557816.4A CN104394255A (en) 2014-10-20 2014-10-20 A method and device for adding a friend

Publications (1)

Publication Number Publication Date
CN104394255A true CN104394255A (en) 2015-03-04

Family

ID=52612090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410557816.4A Pending CN104394255A (en) 2014-10-20 2014-10-20 A method and device for adding a friend

Country Status (1)

Country Link
CN (1) CN104394255A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704319A (en) * 2016-03-18 2016-06-22 深圳市轱辘软件开发有限公司 Method of adding friend and intelligent devices
CN106209604A (en) * 2016-08-26 2016-12-07 北京小米移动软件有限公司 Add the method and device of good friend
CN109754800A (en) * 2018-12-28 2019-05-14 上海龙旗科技股份有限公司 Method and apparatus based on sound wave identification user and equipment identities safety
TWI725270B (en) * 2017-01-13 2021-04-21 大陸商北京搜狗科技發展有限公司 Add contact method, electronic equipment and server
CN113099025A (en) * 2021-03-01 2021-07-09 上海掌门科技有限公司 Method and device for adding friends in social application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042642A (en) * 2006-03-24 2007-09-26 腾讯科技(深圳)有限公司 Method and system for dynamic displaying virtual image
CN102655507A (en) * 2012-04-17 2012-09-05 上海众人网络安全技术有限公司 Information safety device and system and implementation method
CN103678605A (en) * 2013-12-16 2014-03-26 小米科技有限责任公司 Information transmission method and device and terminal device
CN103686438A (en) * 2013-12-20 2014-03-26 广州华多网络科技有限公司 Method and device for joining channel
CN103813323A (en) * 2012-11-06 2014-05-21 上海心动企业发展有限公司 Method for mutual user authentication in collision mode between mobile terminals
CN103840997A (en) * 2014-03-05 2014-06-04 北京奇艺世纪科技有限公司 Method and device for establishing network connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042642A (en) * 2006-03-24 2007-09-26 腾讯科技(深圳)有限公司 Method and system for dynamic displaying virtual image
CN102655507A (en) * 2012-04-17 2012-09-05 上海众人网络安全技术有限公司 Information safety device and system and implementation method
CN103813323A (en) * 2012-11-06 2014-05-21 上海心动企业发展有限公司 Method for mutual user authentication in collision mode between mobile terminals
CN103678605A (en) * 2013-12-16 2014-03-26 小米科技有限责任公司 Information transmission method and device and terminal device
CN103686438A (en) * 2013-12-20 2014-03-26 广州华多网络科技有限公司 Method and device for joining channel
CN103840997A (en) * 2014-03-05 2014-06-04 北京奇艺世纪科技有限公司 Method and device for establishing network connection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704319A (en) * 2016-03-18 2016-06-22 深圳市轱辘软件开发有限公司 Method of adding friend and intelligent devices
CN106209604A (en) * 2016-08-26 2016-12-07 北京小米移动软件有限公司 Add the method and device of good friend
US10242678B2 (en) 2016-08-26 2019-03-26 Beijing Xiaomi Mobile Software Co., Ltd. Friend addition using voiceprint analysis method, device and medium
TWI725270B (en) * 2017-01-13 2021-04-21 大陸商北京搜狗科技發展有限公司 Add contact method, electronic equipment and server
CN109754800A (en) * 2018-12-28 2019-05-14 上海龙旗科技股份有限公司 Method and apparatus based on sound wave identification user and equipment identities safety
CN113099025A (en) * 2021-03-01 2021-07-09 上海掌门科技有限公司 Method and device for adding friends in social application

Similar Documents

Publication Publication Date Title
KR102362368B1 (en) Data transmission/reception method and data transmission system through sound wave
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN104394255A (en) A method and device for adding a friend
CN102905196B (en) Method and system for sending information from television to mobile terminal
KR101538756B1 (en) Mobile device and method for outputting sound wave to control external device, and the external device
CN102868752A (en) Method, system and terminals for data transmission
CN103327030B (en) A kind of Wi-Fi of utilization message length carries out the method for information transmission
CN104796888A (en) Method for connecting WI-FI network by intelligent hardware terminal based on sound waves and system for realizing same
CN106464623B (en) Method and device for transmitting signals
JP5767391B2 (en) Method and system for realizing near field communication
EP2423806A1 (en) Method and device for transmitting universal serial bus audio data through a wireless data terminal
CN103077723B (en) Audio transmission system
JP2011015443A5 (en)
CN104299619A (en) Method and device for processing audio file
CN103166702A (en) Method and device for configuring wireless network in voice frequency mode
CN103560836A (en) Sound wave wireless communication method and device
US10785375B2 (en) Method and apparatus for sending and receiving voice of browser, and voice intercom system
CN104010226A (en) Multi-terminal interactive playing method and system based on voice frequency
CN105790854A (en) Short distance data transmission method and device based on sound waves
CN103957220A (en) Data transmission method and system based on frequency conversion sound waves
CN103780611A (en) Music sharing method and system
CN103347229A (en) Audio signal processing device
KR101597657B1 (en) Mobile device and method for outputting sound wave including network access information
CN108289037A (en) A kind of equipment wireless parameter configuration method based on sound wave
CN105722183A (en) Sharing method and apparatus for Wi-Fi (wireless fidelity) link information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: GUIYANG YUWAN TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: GUIYANG LONGMASTER INFORMATION + TECHNOLOGY CO., LTD.

Effective date: 20150909

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150909

Address after: 550022, Guizhou, Jinyang, science and Technology Industrial Park, the national high tech Zone standard factory building auxiliary room B305

Applicant after: GUIYANG YUWAN SCIENCE & TECHNOLOGY CO., LTD.

Address before: 550022 Jinyang science and Technology Industrial Park, Guiyang hi tech Zone Industrial Park, room 130

Applicant before: Guizhou Longmaster Information & Technology Co.,Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150304

RJ01 Rejection of invention patent application after publication