CN105764116A - Method of connection between terminals and terminal - Google Patents

Method of connection between terminals and terminal Download PDF

Info

Publication number
CN105764116A
CN105764116A CN201610098774.1A CN201610098774A CN105764116A CN 105764116 A CN105764116 A CN 105764116A CN 201610098774 A CN201610098774 A CN 201610098774A CN 105764116 A CN105764116 A CN 105764116A
Authority
CN
China
Prior art keywords
terminal
identifying code
sound frequency
end message
frequency sequence
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
CN201610098774.1A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610098774.1A priority Critical patent/CN105764116A/en
Publication of CN105764116A publication Critical patent/CN105764116A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An embodiment of the invention discloses a third terminal which comprises a receiving unit used for receiving a voice frequency sequence sent by a first terminal, a decoding unit used for decoding the voice frequency sequence received by the receiving unit to acquire the terminal information of a second terminal and a verification code, and a first sending unit used for sending a connection request to the second terminal according to the terminal information of the second terminal acquired by the decoding unit, wherein the connection request carries the verification code acquired by the decoding unit. Another embodiment of the invention discloses a method of connection between terminals.

Description

Method of attachment between a kind of terminal and terminal
Technical field
The present invention relates to the wireless connect technology in the communications field, particularly relate to the method for attachment between a kind of terminal and terminal.
Background technology
The fast development of mobile Internet, flow becomes abnormal important for the life of people.The rate that data traffic is high, make to it is desirable to have Wireless Fidelity (WIFI, WIreless-FIdelity) to be available for accessing whenever and wherever possible.
Currently, terminal connect WIFI Free Internet Access process approximately as: be first turned on the WIFI function on the main menu of intelligent terminal's such as mobile phone;WIFI in opening, mobile phone can to can search router carries out list;When router-list completes, user clicks the title of the router wanting connection, the password that input is complicated, is verified at this password and just can connect this router by rear, and so this terminal just can carry out Free Internet Access by this router.
In said process, after user inputs the password connecting this router, terminal could connect this router and carry out upper net operation, operates more complicated.
Summary of the invention
In view of this, embodiment of the present invention expectation provides the method for attachment between a kind of terminal and terminal, it is possible to arrive purpose convenient to operation.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
A kind of third terminal, including:
Receive unit, for receiving the sound frequency sequence that first terminal sends;
Decoding unit, the described sound frequency sequence received for decoding described reception unit obtains end message and the identifying code of the second terminal;
First transmitting element, the end message of described second terminal for obtaining according to described decoding unit sends connection request to described second terminal, carries the described identifying code that described decoding unit obtains in described connection request.
In such scheme, described third terminal also includes detection unit, wherein,
Described decoding unit, the described sound frequency sequence received specifically for decoding described reception unit obtains and connects restrictive condition, the end message of the second terminal and identifying code;
Described detection unit, is used for detecting whether third terminal meets described connection restrictive condition;
Described first transmitting element, specifically for when described detection unit detects that described third terminal meets described connection restrictive condition, the end message of described second terminal obtained according to described decoding unit sends connection request to described second terminal.
In such scheme, described connection restrictive condition includes: the direction status information of described first terminal;
Described detection unit, whether the direction status information specifically for detecting third terminal is identical with the direction status information of described first terminal, if identical, it is determined that described third terminal meets described connection restrictive condition, if it is different, then determine that described third terminal is unsatisfactory for described connection restrictive condition.
In such scheme, described decoding unit, obtain data ciphertext specifically for decoding described sound frequency sequence, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
In such scheme, the sound frequency in described sound frequency sequence is ultrasonic frequency and/or infrasonic wave frequency.
Additionally, for achieving the above object, the present invention also proposes a kind of first terminal, including:
Acquiring unit, for obtaining end message and the identifying code of the second terminal;
Conversion unit, the end message of described second terminal and identifying code for being obtained by described acquiring unit are converted into sound frequency sequence;
Second transmitting element, for sending the described sound frequency sequence that described conversion unit converts.
Additionally, for achieving the above object, the present invention also proposes the method for attachment between a kind of terminal, including:
Receive the sound frequency sequence that first terminal sends;
Decode described sound frequency sequence and obtain end message and the identifying code of the second terminal;
End message according to described second terminal sends connection request to described second terminal, carries described identifying code in described connection request.
In such scheme, the described sound frequency sequence of described decoding obtains end message and the identifying code of the second terminal, including:
Decode described sound frequency sequence to obtain and connect restrictive condition, the end message of the second terminal and identifying code;
Correspondingly, the described end message according to described second terminal sends connection request to described second terminal, and before, described method also includes:
Whether detection third terminal meets described connection restrictive condition;
The described end message according to described second terminal sends connection request to described second terminal, including:
When meeting described connection restrictive condition, send connection request according to the end message of described second terminal to described second terminal.
In such scheme, described connection restrictive condition includes: the direction status information of described first terminal;Whether described detection third terminal meets described connection restrictive condition, including:
Whether the direction status information of detection third terminal is identical with the direction status information of described first terminal, if identical, it is determined that third terminal meets described connection restrictive condition, if it is different, then determine that third terminal is unsatisfactory for described connection restrictive condition.
In such scheme, the described sound frequency sequence of described decoding, it is thus achieved that the end message of the second terminal and identifying code, including:
Decode described sound frequency sequence and obtain data ciphertext, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
In such scheme, the sound frequency in described sound frequency sequence is ultrasonic frequency and/or infrasonic wave frequency.
Additionally, for achieving the above object, the present invention also proposes the method for attachment between a kind of terminal, including:
Obtain end message and the identifying code of the second terminal;
The end message of described second terminal and identifying code are converted into sound frequency sequence;
Send described sound frequency sequence.
Embodiments providing the method for attachment between a kind of terminal and terminal, third terminal can pass through to decode the sound frequency sequence that described first terminal is shared, it is thus achieved that the end message of the second terminal and identifying code, and automatically accesses the second terminal accordingly;Sound frequency is utilized to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, such third terminal just can automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The structured flowchart of a kind of third terminal that Fig. 3 provides for the embodiment of the present invention 1;
Fig. 4 shares the schematic flow sheet of password for a kind of user that the embodiment of the present invention 1 provides;
The structured flowchart of a kind of third terminal that Fig. 5 provides for the embodiment of the present invention 2;
The direction schematic diagram of a kind of various terminals that Fig. 6 provides for the embodiment of the present invention 2;
The structured flowchart of a kind of first terminal that Fig. 7 provides for the embodiment of the present invention 2;
A kind of schematic flow sheet of the method for attachment between the terminal of the application third terminal that Fig. 8 provides for the embodiment of the present invention 4;
A kind of schematic flow sheet of the method for attachment between the terminal of the application first terminal that Fig. 9 provides for the embodiment of the present invention 4;
The schematic flow sheet of the method for attachment between a kind of terminal that Figure 10 provides for the embodiment of the present invention 5.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing 1.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable media player (PMP), guider etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include radio communication unit 110, audio/video (A/V) input block 120, user input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated, it is possible to alternatively implement more or less of assembly, will be discussed in more detail below the element of mobile terminal.
Radio communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless telecommunication system or network.Such as, radio communication unit can include at least one in mobile communication module 111, wireless Internet module 112, short range communication module 113 and positional information module 114.
Mobile communication module 111 sends radio signals at least one in base station (such as, access point, node B etc.), exterior terminal and server and/or receives from it radio signal.Such radio signal can include voice call signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internally or externally be couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), WiMAX (Wibro), worldwide interoperability for microwave accesses (Wimax), high-speed downlink packet accesses (HSDPA) etc..To access WLAN, mobile terminal can couple in router, again through router access WLAN.
Short range communication module 113 is the module for supporting short range communication.Some examples of short range communication technology include bluetooth TM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee TM etc..
Positional information module 114 is the module of positional information for checking or obtain mobile terminal.The typical case of positional information module is global positioning system (GPS).According to current technology, positional information module 114 calculates from the range information of three or more satellites and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude with highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information uses three satellites and the error by the position using an other satellite correction to calculate and temporal information.Additionally, positional information module 114 can calculate velocity information by Continuous plus current location information in real time.
A/V input block 120 is used for receiving audio or video signal;The A/V input block 120 realizing the mobile terminal of each embodiment of the present invention can receive the sound frequency sequence that other-end sends;Certainly, described A/V input block 120 can also include camera 121 and mike 122, and the view data of the camera 121 static images to being obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other storage medium) or be transmitted via radio communication unit 110, it is possible to provide two or more cameras 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by mike 122.Audio frequency (voice) data after process can be converted to the form output that can be sent to mobile communication base station via mobile communication module 111 when telephone calling model.Mike 122 can implement various types of noise elimination (or suppression) algorithm to eliminate (or suppression) in the noise received and produce in the process of transmission audio signal or interference.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity etc. the sensitive component of change), roller, rocking bar etc..Especially, when touch pad is superimposed upon on display unit 151 as a layer, it is possible to form touch screen.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, mobile terminal 100 acceleration or deceleration move and direction etc., and generate the order of operation for controlling mobile terminal 100 or signal.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and open or close.It addition, sensing unit 140 can detect power subsystem 190 and whether provide whether electric power or interface unit 170 couple with external device (ED).
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port of the device with identification module, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, the device (hereinafter referred to " identifying device ") with identification module can take the form of smart card, therefore, identify that device can be connected with mobile terminal 100 via port or other connecting device.Interface unit 170 may be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and the one or more elements being transferred in mobile terminal 100 by the input received or may be used for transmission data between mobile terminal and external device (ED).
Additionally, when mobile terminal 100 is connected with external base, interface unit 170 can serve as and allows to provide the path of mobile terminal 100 or can serve as to allow to be transferred to the path of mobile terminal from the various command signals of base input by it from base electric power by it.May serve as whether identification mobile terminal is accurately fitted within the signal base from the various command signals of base input or electric power.Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can include display unit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communication (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI).When being in video calling pattern or image capture mode when mobile terminal 100, display unit 151 can show the image of image and/or the reception caught, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc..Some in these display may be constructed such that transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive under the isotype such as pattern, call mode, logging mode, speech recognition mode, broadcast reception mode time, that radio communication unit 110 is received or storage in memorizer 160 voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide the audio frequency output (such as, call signal receive sound, message sink sound etc.) relevant to the specific function of mobile terminal 100 execution.Dio Output Modules 152 can include speaker, buzzer etc..Realize the dio Output Modules 152 of the mobile terminal of each embodiment of the present invention to be accessed the information such as end message and identifying code of terminal and be converted into the output of sound frequency sequence broadcast.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And, memorizer 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium includes flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.It addition, controller 180 can include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct in controller 180, or it is so structured that separates with controller 180.Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides the suitable electric power operated needed for each element and assembly.
Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement.Hardware is implemented, embodiment described herein can pass through to use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and wireless telecommunication system and the satellite-based communication system of frame or packet transmission data.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and Universal Mobile Telecommunications System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, as explained below relates to CDMA communication system, but such instruction is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC275.
Each BS270 can service one or more subregion (or region), by each subregion of multidirectional antenna or the antenna covering pointing to specific direction radially away from BS270.Or, each subregion can be covered by two or more antennas for diversity reception.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal 100 of operation by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal that reception is sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtains useful location information.Positional information module 114 as shown in Figure 1 is generally configured to coordinate the location information wanted with acquisition with satellite 300.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless telecommunication system, BS270 receives the reverse link signal from various mobile terminals 100.Mobile terminal 100 generally participates in call, information receiving and transmitting and other type of communication.Each reverse link signal that certain base station 270 receives is processed in specific BS270.The data obtained are forwarded to relevant BSC275.BSC provides call resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The data received also are routed to MSC280 by BSC275, and it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, it is proposed to each embodiment of the inventive method.
Each embodiment of the present invention provides the connection scheme between terminal, need under the scene accessing another terminal such as the second terminal having two or more above-mentioned mobile terminal such as first terminals and third terminal, wherein first terminal has learned that the identifying code accessing described second terminal and accesses described second terminal, now, described first terminal can utilize sound wave that the identifying code accessing the second terminal is transferred to third terminal, the identifying code that third terminal just can be shared according to first terminal, automatically accesses the second terminal.
The connection scheme that the embodiment of the present invention provides can be applied in bluetooth and connect in scene, as first terminal and third terminal to set up with the second terminal bluetooth be connected time, first terminal is set up bluetooth with the second terminal and is connected, and the scheme that now third terminal just can be applied the embodiment of the present invention and provides is set up bluetooth with described second terminal and is connected.Certainly, each scheme that the embodiment of the present invention provides can also be applied in the wireless connections scene that the second terminal is router.In a particular embodiment of the present invention, being router with the second terminal, first terminal and third terminal are that to have the mobile terminal of above-mentioned mobile terminal hardware configuration be example, adopt the wireless network connection procedure between terminal to carry out scene description.
Embodiment 1
Embodiments provide a kind of third terminal, as it is shown on figure 3, described third terminal includes: reception unit 301, decoding unit 302, the first transmitting element 303, wherein,
Receive unit 301, for receiving the sound frequency sequence that first terminal sends.
After first terminal obtains the identifying code accessing the second terminal, the second terminal is accessed according to this identifying code, when there being other-end such as third terminal to be also required to connect the second terminal, described first terminal can open password shared model, the end message of described second terminal and identifying code are converted into sound frequency sequence, then described sound frequency sequence being sent, so, the reception unit 301 of described third terminal just can receive the sound frequency sequence that first terminal sends.
Here it should be noted that the sound frequency sequence that first terminal sends does not limit reception object, any terminal being able to receive that sound wave can receive this sound frequency sequence.The sound frequency in sound frequency sequence in the present embodiment can be optional frequency and be not limited as.
Example, when there being WIFI to cover, multiple terminals (such as terminal A, terminal B and terminal C) need to access same router 1 (i.e. the second terminal), now as shown in left in Figure 4, first terminal such as terminal A has learned that identifying code is connected to router 1, for enabling third terminal such as terminal B or terminal C to be manually entered password, quick couple in router 1 without user;As shown in Figure 4, the user of terminal A can click router 1 option in the left figure of Fig. 4 and enter into the router 1 Network Details interface shown in right figure in Fig. 4, click " sharing password to friend ", the route-map of router 1 and identifying code just can be converted into sound frequency sequence by such terminal A, then described sound frequency sequence is sent, so, terminal B or terminal C just can receive the sound frequency sequence that first terminal sends.
The conversion process of sound frequency sequence can be as follows: can set up one in terminal A, terminal B and terminal C containing 32 character ([0-9, a-v]) table, and each character is mapped to corresponding frequencies, frequency is according to music theory, is generated by the calculating of sound accompaniment:
0=1760hz
1=1864hz
2=2065hz
A=3125hz
V=10.5khz
Utilizing sonic transmissions data mainly with unifrequency acoustical signal, data to be encoded, then play these unifrequency sound, recipient, after receiving sound, identifies frequency, then decodes data according to frequency.Assume that the terminal A route-map obtained is a102, identifying code is 12a01v, mapping relations according to above-mentioned character Yu frequency, the sinusoidal wave corresponding character 0 of 1760hz, the sinusoidal wave corresponding character 1 of 1864hz, the sinusoidal wave corresponding character v of sinusoidal wave corresponding character a, the 10.5khz of the sinusoidal wave corresponding character 2,3125hz of 2065hz;So route-map and identifying code: a102 and 12a01v just corresponding 10 sections of sine waves, specify that every section of sine wave continues 100ms, the then acoustic segment of corresponding 1000 milliseconds of a10212a01v, terminal A sends this acoustic segment of 1000 milliseconds and just can the end message of the second terminal and identifying code be shared away.
Decoding unit 302, the described sound frequency sequence received for decoding described reception unit 301 obtains end message and the identifying code of the second terminal.
After the reception unit 301 of third terminal receives the sound frequency sequence that first terminal sends, described sound frequency sequence just can be decoded by the decoding unit 302 of third terminal, it is thus achieved that the end message of the second terminal hidden in described sound frequency sequence and identifying code.
According to examples detailed above, first terminal and terminal A send the acoustic segment of above-mentioned 1000 millisecond, after described third terminal and terminal B or terminal C receive this acoustic segment of 1000 milliseconds, terminal B or terminal C identifies the acoustic segment of 10 sections of different frequencies in this acoustic segment of 1000 milliseconds;Owing to terminal B and terminal C has also set up 32 character ([0-9, a-v]) with the mapping table of corresponding frequencies, therefore terminal B or terminal C can decode data a10212a01v according to 10 the different frequencies identified, it is thus achieved that the end message a102 and identifying code 12a01v of the second terminal.
Here it should be noted that, in order to ensure the safety of transmission data, first terminal can generate ciphertext after first the end message of the second terminal and identifying code being encrypted, then the ciphertext after encryption is changed into sound frequency sequence to be transmitted, so, described decoding unit 302, obtain data ciphertext specifically for decoding described sound frequency sequence, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
First transmitting element 303, the end message of described second terminal for obtaining according to described decoding unit 302 sends connection request to described second terminal, carries the described identifying code that described decoding unit 302 obtains in described connection request.
After third terminal obtains end message and the identifying code of the second terminal, connection request can be sent to described second terminal according to the end message of described second terminal, described connection request carries described identifying code, this identifying code is the identifying code accessing described second terminal that the first terminal accessed is shared, therefore after described second terminal receives described identifying code, the connection request of described third terminal will be agreed to, set up with described third terminal and be connected.
According to examples detailed above, terminal B or terminal C can send connection request to the second corresponding for a102 terminal and router, this connection request carries identifying code 12a01v, described router receives after carrying this connection request, find this connection request carries the identifying code 12a01v accessing this router, the connection request of terminal B or terminal C will be agreed to, set up with terminal B or terminal C and be connected.Such terminal B or terminal C just can carry out upper net operation by router.
In the present embodiment, third terminal can pass through to decode the sound frequency sequence that described first terminal is shared, it is thus achieved that the end message of the second terminal and identifying code, and automatically accesses the second terminal accordingly;Sound frequency is utilized to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, such third terminal just can automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.
Embodiment 2
Embodiments provide a kind of third terminal, as it is shown in figure 5, described third terminal includes: receive unit 301, decoding unit 302, the first transmitting element 303, detect unit 304, wherein,
Receive unit 301, for receiving the sound frequency sequence that first terminal sends.
After first terminal obtains the identifying code accessing the second terminal, the second terminal is accessed according to this identifying code, when there being other-end such as third terminal to be also required to connect the second terminal, with reference to shown in Fig. 4, described first terminal can open password shared model, it is converted into sound frequency sequence by connecting restrictive condition, the end message of described second terminal and identifying code, then described sound frequency sequence is sent, so, the reception unit 301 of described third terminal just can receive the sound frequency sequence that first terminal sends.
Here it should be noted that the sound frequency sequence that first terminal sends does not limit reception object, any terminal being able to receive that sound wave can receive this sound frequency sequence.
Sound frequency in sound frequency sequence can be optional frequency, but owing to common audible sound wave human ear can be heard, sound frequency sequence in the present embodiment is transmitted as password, in order to ensure that password transmits not known to other people, can adopting and be not transmitted by the ultrasound wave of human ear what is heard and infrasonic wave, namely the sound frequency in described sound frequency sequence is ultrasonic frequency and/or infrasonic wave frequency.Described ultrasound wave is the sound wave that frequency is higher than 20000 hertz, and described infrasonic wave is the frequency sound wave less than 20 hertz.
Described decoding unit 302, the described sound frequency sequence received specifically for decoding described reception unit 301 obtains and connects restrictive condition, the end message of the second terminal and identifying code.
After the reception unit 301 of third terminal receives the sound frequency sequence that first terminal sends, described sound frequency sequence just can be decoded by the decoding unit 302 of third terminal, it is thus achieved that connection restrictive condition, the end message of the second terminal and the identifying code hidden in described sound frequency sequence.
Here it should be noted that, in order to ensure the safety of transmission data, first terminal first can generate data ciphertext by connecting after restrictive condition, the end message of the second terminal and identifying code are encrypted, then the data ciphertext after encryption is changed into sound frequency sequence to be transmitted, so, described decoding unit 302, data ciphertext is obtained specifically for decoding described sound frequency sequence, described data ciphertext is decrypted, it is thus achieved that connect restrictive condition, the end message of the second terminal and identifying code.
Described detection unit 304, is used for detecting whether third terminal meets described connection restrictive condition.
The decoding unit 302 of third terminal decodes after connecting restrictive condition, the end message of the second terminal and identifying code, and the detection unit 304 of described third terminal can detect whether third terminal meets described connection restrictive condition.
Optionally, described connection restrictive condition can be the direction status information of described first terminal;So, described detection unit 304, whether the direction status information specifically for detecting third terminal is identical with the direction status information of described first terminal, if it is identical, then determine that described third terminal meets described connection restrictive condition, if it is different, then determine that described third terminal is unsatisfactory for described connection restrictive condition.
Example, when there being WIFI to cover, multiple terminals are (such as terminal A, terminal B and terminal C) need to access same router (i.e. the second terminal), now first terminal such as terminal A has learned that identifying code is connected to router, as shown in Figure 4, the user of terminal A clicks " sharing password to friend ", terminal A can by the direction status information of terminal A, route-map and identifying code are converted into sound frequency sequence, then described sound frequency sequence is sent, so, terminal B or terminal C just can receive the sound frequency sequence that first terminal sends.
Assuming that terminal A obtains the direction status information of terminal A for laterally, definition is laterally character 1;Route-map is a102, identifying code is 12a01v, so terminal A first character to direction status information, route-map and identifying code: 1a10212a01v is encrypted, obtain a data ciphertext, then according to the character in data ciphertext generates, with the mapping relations of frequency, the acoustic segment that this data ciphertext is corresponding, terminal A sends this acoustic segment and just can share away connecting restrictive condition, the end message of the second terminal and identifying code.
After terminal B and terminal C receives the terminal A acoustic segment sent, it is possible to identify the acoustic segment of each different frequency in this acoustic segment;Owing to terminal B and terminal C has also set up 32 character ([0-9, a-v]) with the mapping table of corresponding frequencies, therefore terminal B or terminal C can decode ciphertext data according to each the different frequency identified, after described data ciphertext is decrypted by terminal B and terminal C, it is possible to obtain and connect restrictive condition, the end message of the second terminal and identifying code.
Terminal B and terminal C obtain after connecting restrictive condition, the end message of the second terminal and identifying code, it is possible to first detect the direction status information of this terminal, it is judged that whether its direction status information is identical with the direction status information of described first terminal.Assume as it is shown in figure 5, the direction of terminal B and terminal A identical be all laterally, the direction of terminal C and terminal A is not all vertically;Then the detection unit of terminal B can detect that terminal B meets restrictive condition, and the detection unit of terminal C can detect that terminal C is unsatisfactory for restrictive condition.
Described first transmitting element 303, specifically for when described detection unit 304 detects that described third terminal meets described connection restrictive condition, the end message of described second terminal obtained according to described decoding unit sends connection request to described second terminal.
First transmitting element 303 of third terminal is when described third terminal meets described connection restrictive condition, end message according to described second terminal sends connection request to described second terminal, described connection request carries described identifying code, this identifying code is the identifying code accessing described second terminal that the first terminal accessed is shared, therefore after described second terminal receives described identifying code, the connection request of described third terminal will be agreed to, set up with described third terminal and be connected.
According to examples detailed above, terminal B detects that this terminal meets and connects restrictive condition, just can send connection request to the second corresponding for a102 terminal and router 1, this connection request carries identifying code 12a01v, after described router 1 receives this connection request, find this connection request carries the identifying code 12a01v accessing this router, the connection request of terminal B will be agreed to, set up with terminal B and be connected.Such terminal B just can carry out upper net operation by router.
And terminal C detects that this terminal is unsatisfactory for connecting restrictive condition, therefore terminal C would not send connection request to the second terminal and router 1, it is impossible to automatically sets up with router 1 and is connected.
Here it should be noted that, the present embodiment gives the example connecting the direction status information that restrictive condition is first terminal, described connection restrictive condition can also is that the application program that first terminal is currently used, now, described detection unit 304, whether currently used with described first terminal the application program for detecting the currently used application program of third terminal be identical, if identical, detect that described third terminal meets described connection restrictive condition, if it is different, then detect that described third terminal is unsatisfactory for described connection restrictive condition.Certainly, described connection restrictive condition can also is that restriction receives the terminal of sound frequency sequence from other conditions of second terminal that is dynamically connected, and does not provide one by one at this.
In the present embodiment, third terminal can pass through to decode the sound frequency sequence that described first terminal is shared, it is thus achieved that the end message of the second terminal and identifying code, and automatically accesses the second terminal accordingly;Sound frequency is utilized to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, such third terminal just can automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.It addition, third terminal is only second terminal that could certainly be dynamically connected after this terminal meets connection restrictive condition being detected, the object connecting the second terminal is limited, it is ensured that the safety of network.
Embodiment 3
Embodiments provide a kind of first terminal, as it is shown in fig. 7, described first terminal includes: acquiring unit 701, conversion unit 702, the second transmitting element 703, wherein,
Acquiring unit 701, for obtaining end message and the identifying code of the second terminal.
After first terminal obtains, by modes such as user's inputs, the identifying code accessing the second terminal, the second terminal is accessed according to this identifying code, when there being other-end such as third terminal to be also required to connect the second terminal, described first terminal can open password shared model, first passes through acquiring unit 701 and obtains end message and the identifying code of the second terminal.
Example, when there being WIFI to cover, as shown in left in Figure 4, first terminal such as terminal A has learned that identifying code is connected to router 1, for enabling third terminal such as terminal B or terminal C to be manually entered password, quick couple in router 1 without user;As shown in Figure 4, the user of terminal A can click router 1 option in the left figure of Fig. 4 and enter into the router 1 Network Details interface shown in right figure in Fig. 4, click " sharing password to friend ", opening password shared model, now the acquiring unit 701 of first terminal will obtain end message and the identifying code of the second terminal.
Conversion unit 702, the end message of described second terminal and identifying code for being obtained by described acquiring unit are converted into sound frequency sequence.
The conversion process of sound frequency sequence can be as follows: can set up one in terminal A containing 32 character ([0-9, a-v]) table, and each character is mapped to corresponding frequencies, frequency is according to music theory, is generated by the calculating of sound accompaniment:
0=1760hz
1=1864hz
2=2065hz
A=3125hz
V=10.5khz
Utilizing sonic transmissions data mainly with unifrequency acoustical signal, data to be encoded, then play these unifrequency sound, recipient, after receiving sound, identifies frequency, then decodes data according to frequency.Assume that the terminal A route-map obtained is a102, identifying code is 12a01v, mapping relations according to above-mentioned character Yu frequency, the sinusoidal wave corresponding character 0 of 1760hz, the sinusoidal wave corresponding character 1 of 1864hz, the sinusoidal wave corresponding character v of sinusoidal wave corresponding character a, the 10.5khz of the sinusoidal wave corresponding character 2,3125hz of 2065hz;So route-map and identifying code: a102 and 12a01v just corresponding 10 sections of sine waves, it is stipulated that every section of sine wave continues 100ms, then data a10212a01v is converted into the acoustic segment of 1000 milliseconds by the conversion unit 702 of terminal A.
Second transmitting element 703, for sending the described sound frequency sequence that described conversion unit converts.
The acoustic segment of above-mentioned 1000 milliseconds is sent by terminal A, such third terminal just can receive the sound frequency sequence that first terminal sends, and decode described sound frequency sequence and obtain the end message of the second terminal and identifying code, then automatically access the second terminal accordingly.
Here it should be noted that, the conversion unit of described first terminal can also be also converted to sound frequency sequence by connecting restrictive condition, described connection restrictive condition is also sent by described second transmitting element, optionally, described connection restrictive condition can be the direction status information of described first terminal;Certainly, described connection restrictive condition can also is that the application program that first terminal is currently used;Now described first terminal needs first detection to obtain described connection restrictive condition.
In order to ensure the safety of transmission data, the conversion unit of first terminal first can generate data ciphertext by connecting after restrictive condition, the end message of the second terminal and identifying code are encrypted, and then the data ciphertext after encryption is changed into sound frequency sequence.
First terminal utilizes sound frequency to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, third terminal is made to automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.
Embodiment 4
Embodiments providing the method for attachment between a kind of terminal, be applied to third terminal side, as shown in Figure 8, the handling process of the present embodiment method comprises the following steps:
The sound frequency sequence that step 801, reception first terminal send.
After first terminal obtains the identifying code accessing the second terminal, the second terminal is accessed according to this identifying code, when there being other-end such as third terminal to be also required to connect the second terminal, described first terminal can open password shared model, the end message of described second terminal and identifying code are converted into sound frequency sequence, then described sound frequency sequence being sent, so, described third terminal just can receive the sound frequency sequence that first terminal sends.
Here it should be noted that the sound frequency sequence that first terminal sends does not limit reception object, any terminal being able to receive that sound wave can receive this sound frequency sequence.The sound frequency in sound frequency sequence in the present embodiment can be optional frequency and be not limited as.
Example, when there being WIFI to cover, multiple terminals (such as terminal A, terminal B and terminal C) need to access same router 1 (i.e. the second terminal), now as shown in left in Figure 4, first terminal such as terminal A has learned that identifying code is connected to router 1, for enabling third terminal such as terminal B or terminal C to be manually entered password, quick couple in router 1 without user;As shown in Figure 4, the user of terminal A can click router 1 option in the left figure of Fig. 4 and enter into the router 1 Network Details interface shown in right figure in Fig. 4, click " sharing password to friend ", the route-map of router 1 and identifying code just can be converted into sound frequency sequence by such terminal A, then described sound frequency sequence is sent, so, terminal B or terminal C just can receive the sound frequency sequence that first terminal sends.
The conversion process of sound frequency sequence can be as follows: can set up one in terminal A, terminal B and terminal C containing 32 character ([0-9, a-v]) table, and each character is mapped to corresponding frequencies, frequency is according to music theory, is generated by the calculating of sound accompaniment:
0=1760hz
1=1864hz
2=2065hz
A=3125hz
V=10.5khz
Utilizing sonic transmissions data mainly with unifrequency acoustical signal, data to be encoded, then play these unifrequency sound, recipient, after receiving sound, identifies frequency, then decodes data according to frequency.Assume that the terminal A route-map obtained is a102, identifying code is 12a01v, mapping relations according to above-mentioned character Yu frequency, the sinusoidal wave corresponding character 0 of 1760hz, the sinusoidal wave corresponding character 1 of 1864hz, the sinusoidal wave corresponding character v of sinusoidal wave corresponding character a, the 10.5khz of the sinusoidal wave corresponding character 2,3125hz of 2065hz;So route-map and identifying code: a102 and 12a01v just corresponding 10 sections of sine waves, specify that every section of sine wave continues 100ms, the then acoustic segment of corresponding 1000 milliseconds of a10212a01v, terminal A sends this acoustic segment of 1000 milliseconds and just can the end message of the second terminal and identifying code be shared away.
Step 802, decode described sound frequency sequence and obtain end message and the identifying code of the second terminal.
After third terminal receives the sound frequency sequence that first terminal sends, described sound frequency sequence just can be decoded by third terminal, it is thus achieved that the end message of the second terminal hidden in described sound frequency sequence and identifying code.
According to examples detailed above, first terminal and terminal A send the acoustic segment of above-mentioned 1000 millisecond, after described third terminal and terminal B or terminal C receive this acoustic segment of 1000 milliseconds, terminal B or terminal C identifies the acoustic segment of 10 sections of different frequencies in this acoustic segment of 1000 milliseconds;Owing to terminal B and terminal C has also set up 32 character ([0-9, a-v]) with the mapping table of corresponding frequencies, therefore terminal B or terminal C can decode data a10212a01v according to 10 the different frequencies identified, it is thus achieved that the end message a102 and identifying code 12a01v of the second terminal.
Here it should be noted that, in order to ensure the safety of transmission data, first terminal can generate data ciphertext after first the end message of the second terminal and identifying code being encrypted, then the data ciphertext after encryption is changed into sound frequency sequence to be transmitted, so, third terminal, after receiving described sound frequency sequence, decodes described sound frequency sequence and obtains data ciphertext, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
Step 803, send connection request according to the end message of described second terminal to described second terminal, described connection request carries described identifying code.
After third terminal obtains end message and the identifying code of the second terminal, connection request can be sent to described second terminal according to the end message of described second terminal, described connection request carries described identifying code, this identifying code is the identifying code accessing described second terminal that the first terminal accessed is shared, therefore after described second terminal receives described identifying code, the connection request of described third terminal will be agreed to, set up with described third terminal and be connected.
According to examples detailed above, terminal B or terminal C can send connection request to the second corresponding for a102 terminal and router, this connection request carries identifying code 12a01v, described router receives after carrying this connection request, find this connection request carries the identifying code 12a01v accessing this router, the connection request of terminal B or terminal C will be agreed to, set up with terminal B or terminal C and be connected.Such terminal B or terminal C just can carry out upper net operation by router.
In the present embodiment, third terminal can pass through to decode the sound frequency sequence that described first terminal is shared, it is thus achieved that the end message of the second terminal and identifying code, and automatically accesses the second terminal accordingly;Sound frequency is utilized to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, such third terminal just can automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.
The embodiment of the present invention additionally provides the method for attachment between a kind of terminal, is applied to first terminal side, as it is shown in figure 9, the handling process of the present embodiment method comprises the following steps:
Step 901, the end message obtaining the second terminal and identifying code.
After first terminal obtains, by modes such as user's inputs, the identifying code accessing the second terminal, the second terminal is accessed according to this identifying code, when there being other-end such as third terminal to be also required to connect the second terminal, described first terminal can open password shared model, first obtains end message and the identifying code of the second terminal.
Example, when there being WIFI to cover, as shown in left in Figure 4, first terminal such as terminal A has learned that identifying code is connected to router 1, for enabling third terminal such as terminal B or terminal C to be manually entered password, quick couple in router 1 without user;As shown in Figure 4, the user of terminal A can click router 1 option in the left figure of Fig. 4 and enter into the router 1 Network Details interface shown in right figure in Fig. 4, clicking " sharing password to friend ", open password shared model, now first terminal will obtain end message and the identifying code of the second terminal.
Step 902, end message and the identifying code of described second terminal are converted into sound frequency sequence.
The conversion process of sound frequency sequence can be as follows: can set up one in terminal A containing 32 character ([0-9, a-v]) table, and each character is mapped to corresponding frequencies, frequency is according to music theory, is generated by the calculating of sound accompaniment:
0=1760hz
1=1864hz
2=2065hz
A=3125hz
V=10.5khz
Utilizing sonic transmissions data mainly with unifrequency acoustical signal, data to be encoded, then play these unifrequency sound, recipient, after receiving sound, identifies frequency, then decodes data according to frequency.Assume that the terminal A route-map obtained is a102, identifying code is 12a01v, mapping relations according to above-mentioned character Yu frequency, the sinusoidal wave corresponding character 0 of 1760hz, the sinusoidal wave corresponding character 1 of 1864hz, the sinusoidal wave corresponding character v of sinusoidal wave corresponding character a, the 10.5khz of the sinusoidal wave corresponding character 2,3125hz of 2065hz;So route-map and identifying code: a102 and 12a01v just corresponding 10 sections of sine waves, it is stipulated that every section of sine wave continues 100ms, then data a10212a01v is converted into the acoustic segment of 1000 milliseconds by terminal A.
Step 903, send described sound frequency sequence.
The acoustic segment of above-mentioned 1000 milliseconds is sent by terminal A, such third terminal just can receive the sound frequency sequence that first terminal sends, and decode described sound frequency sequence and obtain the end message of the second terminal and identifying code, then automatically access the second terminal accordingly.
Here it should be noted that described first terminal can also be also converted to sound frequency sequence by connecting restrictive condition, also being sent by described connection restrictive condition, optionally, described connection restrictive condition can be the direction status information of described first terminal;Certainly, described connection restrictive condition can also is that the application program that first terminal is currently used;Now, described first terminal needs first detection to obtain described connection restrictive condition.
In order to ensure the safety of transmission data, first terminal first can generate data ciphertext by connecting after restrictive condition, the end message of the second terminal and identifying code are encrypted, and then the data ciphertext after encryption is changed into sound frequency sequence.
First terminal utilizes sound frequency to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, third terminal is made to automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.
Embodiment 5
Embodiments providing the method for attachment between a kind of terminal, as shown in Figure 10, the handling process of the present embodiment method comprises the following steps:
After step 1001, first terminal obtain end message and the identifying code of the second terminal, it is converted into sound frequency sequence by connecting restrictive condition, the end message of the second terminal and identifying code.
After first terminal obtains, by modes such as user's inputs, the identifying code accessing the second terminal, the second terminal is accessed according to this identifying code, after first terminal accesses the second terminal, when there being other-end such as third terminal to be also required to connect the second terminal, with reference to shown in Fig. 4, described first terminal can open password shared model, first obtains and connects restrictive condition, the end message of described second terminal and identifying code;Then it is converted into sound frequency sequence by connecting restrictive condition, the end message of described second terminal and identifying code.
Here it should be noted that, sound frequency in described sound frequency sequence can be optional frequency, but owing to common audible sound wave human ear can be heard, sound frequency sequence in the present embodiment is transmitted as password, in order to ensure that password transmits not known to other people, can adopting and be not transmitted by the ultrasound wave of human ear what is heard and infrasonic wave, namely the sound frequency in described sound frequency sequence is ultrasonic frequency and/or infrasonic wave frequency.Described ultrasound wave is the sound wave that frequency is higher than 20000 hertz, and described infrasonic wave is the frequency sound wave less than 20 hertz.
Described sound frequency sequence is sent to described third terminal by step 1002, first terminal, and described third terminal receives the sound frequency sequence that first terminal sends.
In order to enable third terminal to be certainly dynamically connected the second terminal, described sound frequency sequence can be sent to described third terminal by described first terminal, and described third terminal receives the sound frequency sequence that first terminal sends.
Here it should be noted that the sound frequency sequence that first terminal sends does not limit reception object, any terminal being able to receive that sound wave can receive this sound frequency sequence.
Step 1003, third terminal decode described sound frequency sequence and obtain and connect restrictive condition, the end message of the second terminal and identifying code.
After third terminal receives the sound frequency sequence that first terminal sends, described sound frequency sequence just can be decoded by third terminal, it is thus achieved that connection restrictive condition, the end message of the second terminal and the identifying code hidden in described sound frequency sequence.
Here it should be noted that, in order to ensure the safety of transmission data, first terminal first can generate data ciphertext by connecting after restrictive condition, the end message of the second terminal and identifying code are encrypted, then the data ciphertext after encryption is changed into sound frequency sequence to be transmitted, so, the described sound frequency sequence of described decoding, obtain end message and the identifying code of the second terminal, including: decode described sound frequency sequence and obtain data ciphertext, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
Whether step 1004, third terminal detection third terminal meets described connection restrictive condition.
Third terminal decodes after connecting restrictive condition, the end message of the second terminal and identifying code, it is possible to whether detection third terminal meets described connection restrictive condition.Optionally, described connection restrictive condition includes: the direction status information of described first terminal;Now, described detecting whether meets described connection restrictive condition, including: whether the direction status information of detection third terminal is identical with the direction status information of described first terminal, if it is identical, then determine that third terminal meets described connection restrictive condition, if it is different, then determine that third terminal is unsatisfactory for described connection restrictive condition.
Example, when there being WIFI to cover, multiple terminals are (such as terminal A, terminal B and terminal C) need to access same router (i.e. the second terminal), now first terminal such as terminal A has learned that identifying code is connected to router, as shown in Figure 4, the user of terminal A clicks " sharing password to friend ", terminal A can by the direction status information of terminal A, route-map and identifying code are converted into sound frequency sequence, then described sound frequency sequence is sent, so, terminal B or terminal C just can receive the sound frequency sequence that first terminal sends.
Assuming that terminal A obtains the direction status information of terminal A for laterally, definition is laterally character 1;Route-map is a102, identifying code is 12a01v, so terminal A first character to direction status information, route-map and identifying code: 1a10212a01v is encrypted, obtain a data ciphertext, then according to the character in data ciphertext generates, with the mapping relations of frequency, the acoustic segment that this data ciphertext is corresponding, terminal A sends this acoustic segment and just can share away connecting restrictive condition, the end message of the second terminal and identifying code.
After terminal B and terminal C receives the terminal A acoustic segment sent, it is possible to identify the acoustic segment of each different frequency in this acoustic segment;Owing to terminal B and terminal C has also set up 32 character ([0-9, a-v]) with the mapping table of corresponding frequencies, therefore terminal B or terminal C can decode ciphertext data according to each the different frequency identified, after described data ciphertext is decrypted by terminal B and terminal C, it is possible to obtain and connect restrictive condition, the end message of the second terminal and identifying code.
Terminal B and terminal C obtain after connecting restrictive condition, the end message of the second terminal and identifying code, it is possible to first detect the direction status information of this terminal, it is judged that whether its direction status information is identical with the direction status information of described first terminal.Assume as it is shown in figure 5, the direction of terminal B and terminal A identical be all laterally, the direction of terminal C and terminal A is not all vertically;Then terminal B can detect that terminal B meets restrictive condition, and terminal C can detect that terminal C is unsatisfactory for restrictive condition.
Step 1005, third terminal, when meeting described connection restrictive condition, send connection request according to the end message of described second terminal to described second terminal.
Third terminal is when this terminal meets described connection restrictive condition, end message according to described second terminal sends connection request to described second terminal, carrying described identifying code in described connection request, this identifying code is the identifying code accessing described second terminal that the first terminal accessed is shared.
According to examples detailed above, terminal B detects that this terminal meets and connects restrictive condition, it is possible to sends connection request to the second corresponding for a102 terminal and router 1, carries identifying code 12a01v in this connection request.
And terminal C detects that this terminal is unsatisfactory for connecting restrictive condition, therefore terminal C would not send connection request to the second terminal and router 1, it is impossible to automatically sets up with router 1 and is connected.
Step 1006, the second terminal are receiving described connection request, and after checking described identifying code correct, set up with described third terminal and be connected.
Described second terminal will agree to the connection request of described third terminal after receiving described identifying code and checking described identifying code correct, sets up with described third terminal and is connected.According to above-mentioned example, after described router 1 receives the terminal B connection request sent, it has been found that this connection request carries the identifying code 12a01v accessing this router, the connection request of terminal B will be agreed to, set up with terminal B and be connected.Such terminal B just can carry out upper net operation by router.
Here it should be noted that, the present embodiment gives the example connecting the direction status information that restrictive condition is first terminal, described connection restrictive condition can also is that the application program that first terminal is currently used, now, the application program that whether currently used with described first terminal third terminal detect the currently used application program of this terminal is identical, if identical, detect that described third terminal meets described connection restrictive condition, if it is different, then detect that described third terminal is unsatisfactory for described connection restrictive condition.Certainly, described connection restrictive condition can also is that restriction receives the terminal of sound frequency sequence from other conditions of second terminal that is dynamically connected, and does not provide one by one at this.
In the present embodiment, third terminal can pass through to decode the sound frequency sequence that described first terminal is shared, it is thus achieved that the end message of the second terminal and identifying code, and automatically accesses the second terminal accordingly;Sound frequency is utilized to represent different data messages, only third terminal need to be transferred to by the sound wave end message by the second terminal and identifying code by network, such third terminal just can automatically access the second terminal, the connectivity verification information of the second terminal it is manually entered without user, access this second terminal without other terminal auxiliary, enable third terminal to access the second terminal easily and efficiently.It addition, third terminal is only second terminal that could certainly be dynamically connected after this terminal meets connection restrictive condition being detected, the object connecting the second terminal is limited, it is ensured that the safety of network.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory and optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, be only presently preferred embodiments of the present invention, is not intended to limit protection scope of the present invention.

Claims (12)

1. a third terminal, it is characterised in that including:
Receive unit, for receiving the sound frequency sequence that first terminal sends;
Decoding unit, the described sound frequency sequence received for decoding described reception unit obtains end message and the identifying code of the second terminal;
First transmitting element, the end message of described second terminal for obtaining according to described decoding unit sends connection request to described second terminal, carries the described identifying code that described decoding unit obtains in described connection request.
2. third terminal according to claim 1, it is characterised in that described third terminal also includes detection unit, wherein,
Described decoding unit, specifically for decoding the described sound frequency sequence that described reception unit receives, it is thus achieved that connect restrictive condition, the end message of the second terminal and identifying code;
Described detection unit, is used for detecting whether third terminal meets described connection restrictive condition;
Described first transmitting element, specifically for when described detection unit detects that described third terminal meets described connection restrictive condition, the end message of described second terminal obtained according to described decoding unit sends connection request to described second terminal.
3. third terminal according to claim 2, it is characterised in that described connection restrictive condition includes: the direction status information of described first terminal;
Described detection unit, whether the direction status information specifically for detecting third terminal is identical with the direction status information of described first terminal, if identical, it is determined that described third terminal meets described connection restrictive condition, if it is different, then determine that described third terminal is unsatisfactory for described connection restrictive condition.
4. third terminal according to claim 1, it is characterised in that
Described decoding unit, obtains data ciphertext specifically for decoding described sound frequency sequence, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
5. third terminal according to claim 1, it is characterised in that the sound frequency in described sound frequency sequence is ultrasonic frequency and/or infrasonic wave frequency.
6. a first terminal, it is characterised in that including:
Acquiring unit, for obtaining end message and the identifying code of the second terminal;
Conversion unit, the end message of described second terminal and identifying code for being obtained by described acquiring unit are converted into sound frequency sequence;
Second transmitting element, for sending the described sound frequency sequence that described conversion unit converts.
7. the method for attachment between a terminal, it is characterised in that including:
Receive the sound frequency sequence that first terminal sends;
Decode described sound frequency sequence and obtain end message and the identifying code of the second terminal;
End message according to described second terminal sends connection request to described second terminal, carries described identifying code in described connection request.
8. method according to claim 7, it is characterised in that the described sound frequency sequence of described decoding obtains end message and the identifying code of the second terminal, including:
Decode described sound frequency sequence to obtain and connect restrictive condition, the end message of the second terminal and identifying code;
Correspondingly, the described end message according to described second terminal sends connection request to described second terminal, and before, described method also includes:
Whether detection third terminal meets described connection restrictive condition;
The described end message according to described second terminal sends connection request to described second terminal, including:
When meeting described connection restrictive condition, send connection request according to the end message of described second terminal to described second terminal.
9. method according to claim 8, it is characterised in that described connection restrictive condition includes: the direction status information of described first terminal;Whether described detection third terminal meets described connection restrictive condition, including:
Whether the direction status information of detection third terminal is identical with the direction status information of described first terminal, if identical, it is determined that third terminal meets described connection restrictive condition, if it is different, then determine that third terminal is unsatisfactory for described connection restrictive condition.
10. method according to claim 7, it is characterised in that the described sound frequency sequence of described decoding, it is thus achieved that the end message of the second terminal and identifying code, including:
Decode described sound frequency sequence and obtain data ciphertext, described data ciphertext is decrypted, it is thus achieved that the end message of the second terminal and identifying code.
11. method according to claim 7, it is characterised in that the sound frequency in described sound frequency sequence is ultrasonic frequency and/or infrasonic wave frequency.
12. the method for attachment between a terminal, it is characterised in that including:
Obtain end message and the identifying code of the second terminal;
The end message of described second terminal and identifying code are converted into sound frequency sequence;
Send described sound frequency sequence.
CN201610098774.1A 2016-02-22 2016-02-22 Method of connection between terminals and terminal Pending CN105764116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610098774.1A CN105764116A (en) 2016-02-22 2016-02-22 Method of connection between terminals and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610098774.1A CN105764116A (en) 2016-02-22 2016-02-22 Method of connection between terminals and terminal

Publications (1)

Publication Number Publication Date
CN105764116A true CN105764116A (en) 2016-07-13

Family

ID=56331011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610098774.1A Pending CN105764116A (en) 2016-02-22 2016-02-22 Method of connection between terminals and terminal

Country Status (1)

Country Link
CN (1) CN105764116A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174316A (en) * 2016-12-07 2018-06-15 中兴通讯股份有限公司 A kind of ear speaker device control method and device
CN108632718A (en) * 2018-04-11 2018-10-09 维沃移动通信有限公司 A kind of method and system that audio is shared

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873251A (en) * 2012-12-17 2014-06-18 北京千橡网景科技发展有限公司 Method and equipment for establishing connection by audio frequency
WO2014101763A1 (en) * 2012-12-25 2014-07-03 Tencent Technology (Shenzhen) Company Limited Method, terminal device, server and system for sharing information
CN104702678A (en) * 2015-02-13 2015-06-10 腾讯科技(深圳)有限公司 Document transmission method and device
CN104768235A (en) * 2014-01-08 2015-07-08 中国移动通信集团公司 Automatic connection method and device between equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873251A (en) * 2012-12-17 2014-06-18 北京千橡网景科技发展有限公司 Method and equipment for establishing connection by audio frequency
WO2014101763A1 (en) * 2012-12-25 2014-07-03 Tencent Technology (Shenzhen) Company Limited Method, terminal device, server and system for sharing information
CN104768235A (en) * 2014-01-08 2015-07-08 中国移动通信集团公司 Automatic connection method and device between equipment
CN104702678A (en) * 2015-02-13 2015-06-10 腾讯科技(深圳)有限公司 Document transmission method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174316A (en) * 2016-12-07 2018-06-15 中兴通讯股份有限公司 A kind of ear speaker device control method and device
CN108632718A (en) * 2018-04-11 2018-10-09 维沃移动通信有限公司 A kind of method and system that audio is shared

Similar Documents

Publication Publication Date Title
CN105100482A (en) Mobile terminal and system for realizing sign language identification, and conversation realization method of the mobile terminal
CN105225457A (en) System, the apparatus and method of information prompting are carried out by intelligent home device
CN104811865B (en) Audio-frequency inputting method, device and system
CN106130734A (en) The control method of mobile terminal and control device
CN105227743B (en) A kind of method for recording, device and mobile terminal
CN104883658A (en) Virtual card information processing method and system
CN104735255A (en) Split screen display method and system
CN105187521A (en) Service processing device and method
CN106304086A (en) Pseudo-base station recognition methods and device
CN106375840A (en) Screen projection device, mobile terminal and screen projection connection method
CN104717363A (en) Mobile terminal and audio channel fast switching method and device thereof
CN104853088A (en) Method for rapidly focusing a photographing mobile terminal and mobile terminal
CN105763847A (en) Monitoring method and monitoring terminal
CN105100673A (en) Voice over long term evolution (VoLTE) based desktop sharing method and device
CN106101455A (en) Page jump management method, device and terminal
CN104796860A (en) Method and device for positioning terminals
CN105430258A (en) Method and device for taking self-timer group photos
CN106254439A (en) A kind of method for pushing, device and a kind of mobile device management system
CN106550133A (en) Calling identification device and method
CN106485163A (en) Control method and control device that mobile terminal data storehouse accesses
CN105740668A (en) Terminal screen locking device and method
CN105302457A (en) Terminal control method and device
CN106254522A (en) A kind of based terminal system, method and terminal
CN104837122A (en) Multi-party communication method, terminal and system
CN105764116A (en) Method of connection between terminals and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
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: 20160713

RJ01 Rejection of invention patent application after publication