CN104869663A - Connection establishment method - Google Patents

Connection establishment method Download PDF

Info

Publication number
CN104869663A
CN104869663A CN201510184180.8A CN201510184180A CN104869663A CN 104869663 A CN104869663 A CN 104869663A CN 201510184180 A CN201510184180 A CN 201510184180A CN 104869663 A CN104869663 A CN 104869663A
Authority
CN
China
Prior art keywords
terminal
audio
connection
frequency information
initiating terminal
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
CN201510184180.8A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510184180.8A priority Critical patent/CN104869663A/en
Publication of CN104869663A publication Critical patent/CN104869663A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The embodiment of the invention discloses a connection establishment method. The method comprises the steps of acquiring audio information played by an initiating terminal; judging whether the acquired audio information is matched with preset audio information or not; starting a wireless connection mode if the acquired audio information is judged to be matched with the preset audio information, and establishing connection with the initiating terminal. Therefore, the connection establishment method disclosed by the embodiment of the invention can realize connection with the terminal conveniently when the audio information is acquired.

Description

A kind of connection establishment method
Technical field
The present invention relates to communication technical field, be specifically related to a kind of connection establishment method.
Background technology
At present, along with the development of the communication technology, increasing terminal (as mobile phone, panel computer, IPAD etc.) can connect each other, and transinformation realizes data sharing.In practice, when terminal sets up the connection between other-end, need manually opened connection, initiate connection request to target terminal, if during connection failure, also need select target terminal again again to initiate connection request, complex operation.
Summary of the invention
A kind of connection establishment method that the embodiment of the present invention provides, can realize the connection between terminal easily.
Embodiments provide a kind of connection establishment method, comprising:
Obtain the audio-frequency information that initiating terminal is play
Judge whether the audio-frequency information of described acquisition mates with preset audio information;
If judge coupling, then enabling wireless connection mode, set up the connection between described initiating terminal.
The embodiment of the present invention additionally provides another kind of connection establishment method, comprising:
Receive to connect and initiate instruction;
Respond described connection and initiate instruction, play the audio-frequency information that prestores, with the connection between the terminal set up and identify described audio-frequency information.
The embodiment of the present invention can obtain the audio-frequency information that initiating terminal is play; And judge whether the audio-frequency information obtained mates with preset audio information; If judge coupling, then can enabling wireless connection mode, set up the connection between described initiating terminal.The embodiment of the present invention when obtaining audio-frequency information, can realize the connection between terminal easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of connection establishment method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of connection establishment method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of a kind of connection establishment method disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another kind of connection establishment method disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of connection establishment system disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of the embodiment of the present invention another terminal disclosed;
Fig. 9 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Figure 10 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Figure 11 is the structural representation of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of connection establishment method and terminal, the connection between terminal can be realized easily.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of connection establishment method disclosed in the embodiment of the present invention.As shown in Figure 1, this connection establishment method is that executive agent is described in detail with target terminal.
S101, target terminal obtain the audio-frequency information that initiating terminal is play;
In the embodiment of the present invention, this target terminal can be mobile phone, panel computer, notebook or other portable sets etc.This initiating terminal also can be mobile phone, panel computer, notebook or other portable sets, and in addition, this initiating terminal can also for having the terminal equipment that WIFI hot spot, bluetooth etc. connect.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.If initiating terminal playback of audio information, if then represent, other-end such as target terminal identifies this audio-frequency information, just can connect with initiating terminal, specifically as described in step S102 to S103.
S102, target terminal judge whether the audio-frequency information obtained mates with preset audio information, if judge coupling, then can perform step S103; Otherwise process ends.
In the embodiment of the present invention, target terminal judges whether the audio-frequency information obtained mates with preset audio information, can be specially the audio frequency that judgement obtains whether consistent on frequency domain with preset audio, or whether both matching degrees reaches predetermined threshold value; Optionally, if preset audio information comprises default encoded radio, then the audio-frequency information that obtains of described judgement and preset audio information can be specially in the audio-frequency information that judgement obtains whether comprise this encoded radio preset.
S103, target terminal enabling wireless connection mode, set up the connection between this initiating terminal.
In the embodiment of the present invention, this wireless connections pattern can be bluetooth, infrared, the wireless mode such as mobile radio communication (as 3G or 4G etc.) or WIFI, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, target terminal sets up the connection between this initiating terminal, can specifically comprise the following steps:
11) target terminal generates the connection request message of carrying identification marking, and this identification marking is used to indicate obtained audio-frequency information and preset audio information match;
12) this connection request message is sent to initiating terminal by target terminal, to make when receiving the response message for this connection request message that initiating terminal returns, sets up the connection between initiating terminal.
In the embodiment of the present invention, if target terminal enables is blue teeth wireless connection mode, then can be that standard pin generates connection request message to this identification marking with Bluetooth communication protocol, sends to initiating terminal; Initiating terminal, when receiving this connection request message, can be resolved this connection request message with Bluetooth communication protocol, obtain this identification marking, respond this connection request message, set up bluetooth be connected with target terminal.
In the embodiment of the present invention, in the connection establishment method described by Fig. 1, target terminal, before execution step S101, can also perform following steps:
21) audio-frequency information of target terminal collection for connecting;
22) target terminal stores the audio-frequency information that gathers as preset audio information.
In the embodiment of the present invention, the audio-frequency information of target terminal collection can for the audio-frequency information appointed in advance with initiating terminal, the music file of such as arranging or comprise the audio file etc. of special sound; Target terminal can obtain audio-frequency information from initiating terminal in advance in the mode of recording.
In the embodiment of the present invention, target terminal stores the audio-frequency information gathered and can be specially as preset audio information: target terminal can store corresponding audio-frequency information as preset audio information respectively for different initiating terminals, and the information of initiating terminal corresponding for preset audio information is stored in the lump.For example, the facility information of preset audio information A1 and initiating terminal B1 can be stored in target terminal; The facility information etc. of preset audio information A2 and initiating terminal B2; Optionally, after target terminal to get the audio-frequency information that initiating terminal plays by step S101, from the corresponding relation stored, the facility information of initiating terminal can be extracted in time, wherein, in the embodiment of the present invention, do not limit the facility information that target terminal only stores initiating terminal.
In the method described by Fig. 1, target terminal when obtaining the audio-frequency information that initiating terminal is play, can judge whether the audio-frequency information obtained mates with preset audio information; If judge coupling, then can enabling wireless connection mode, set up the connection between initiating terminal.Visible, the embodiment of the present invention when obtaining audio-frequency information, can realize the connection between terminal easily.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of connection establishment method disclosed in the embodiment of the present invention.Wherein, the connection establishment method shown in Fig. 2 is that further optimization of connection establishment method shown in Fig. 1 obtains, and in addition, the connection establishment method shown in Fig. 2 is still executive agent with target terminal, and specifically details are as follows.
S201, target terminal obtain the current geographical position of local terminal;
In the embodiment of the present invention, this target terminal can be mobile phone, panel computer, notebook or other portable sets etc.This initiating terminal also can be mobile phone, panel computer, notebook or other portable sets, and in addition, this initiating terminal can also for having the terminal equipment that WIFI hot spot, bluetooth etc. connect.
In the embodiment of the present invention, the geographical position that target terminal obtains local terminal current can be specially: the geographical position that target terminal is located by GPS or architecture technical limit spacing local terminal is current.
S202, target terminal judge the geographical position that obtains whether in preset geographical position range, are then perform step S203 if judge; Otherwise, process ends.
In the embodiment of the present invention, target terminal can be market, office or family etc. by the geographical position that step S201 obtains, and target terminal also can prestore the Base Station Identification in these places of covering to determine current geographical position.
The embodiment of the present invention effectively can be avoided setting up network in the place such as market, station by audio-frequency information and connect the security risk caused, thus while the convenience realizing terminal connection establishment, can ensure the fail safe connected between terminal.
S203, target terminal obtain the audio-frequency information that initiating terminal is play;
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.If initiating terminal playback of audio information, if then represent, other-end such as target terminal identifies this audio-frequency information, just can connect with initiating terminal.
S204, target terminal judge whether the audio-frequency information obtained mates with preset audio information, if judge coupling, then perform step S205, otherwise, process ends.
In the embodiment of the present invention, target terminal judges whether the audio-frequency information obtained mates with preset audio information, can be specially the audio frequency that judgement obtains whether consistent on frequency domain with preset audio, or whether both matching degrees reaches predetermined threshold value; Optionally, if preset audio information comprises default encoded radio, then the audio-frequency information that obtains of described judgement and preset audio information can be specially in the audio-frequency information that judgement obtains whether comprise this encoded radio preset.
S205, target terminal enabling wireless connection mode;
In the embodiment of the present invention, this wireless connections pattern can be bluetooth, infrared, the wireless mode such as mobile radio communication (as 3G or 4G etc.) or WIFI, the embodiment of the present invention does not limit, and specifically can enable corresponding wireless connections pattern according to the configuring condition of target terminal.
S206, target terminal obtain the network connection parameter of initiating terminal broadcast;
S207, target terminal judge whether the network connection parameter obtained mates with default network connection parameter, if judge coupling, then perform step S208, otherwise process ends.
In the embodiment of the present invention, in order to the wireless connections pattern matching of the wireless connections pattern and initiating terminal that ensure target terminal, preferentially can obtain the network connection parameter of initiating terminal broadcast, network connection mode can be comprised, the initiation time etc. that network connection protocol and initiating terminal allow network to connect in this network connection parameter.
For example, if when this network connection parameter comprises the initiation time of initiating terminal permission network connection, target terminal can judge this initiation time whether in default network connection parameter in Preset Time segment limit, if this initiation time interval is present excessively of a specified duration, exceed this Preset Time segment limit, then target terminal can be abandoned connecting with initiating terminal; If this initiation time in this Preset Time segment limit, then can perform the operation of step S208.
S208, target terminal set up the connection between initiating terminal;
In the embodiment of the present invention, target terminal sets up the connection between this initiating terminal, can specifically comprise the following steps:
11) target terminal generates the connection request message of carrying identification marking, and this identification marking is used to indicate obtained audio-frequency information and preset audio information match;
12) this connection request message is sent to initiating terminal by target terminal, to make when receiving the response message for this connection request message that initiating terminal returns, sets up the connection between initiating terminal.
In the embodiment of the present invention, if target terminal enables is blue teeth wireless connection mode, then can be that standard pin generates connection request message to this identification marking with Bluetooth communication protocol, sends to initiating terminal; Initiating terminal, when receiving this connection request message, can be resolved this connection request message with Bluetooth communication protocol, obtain this identification marking, respond this connection request message, set up bluetooth be connected with target terminal.
S209, target terminal export the prompting message connected with initiating terminal.
In the embodiment of the present invention, target terminal, before execution step S201, can also perform following steps:
21) audio-frequency information of target terminal collection for connecting;
22) target terminal stores the audio-frequency information that gathers as preset audio information.
In the embodiment of the present invention, the audio-frequency information of target terminal collection can for the audio-frequency information appointed in advance with initiating terminal, the music file of such as arranging or comprise the audio file etc. of special sound; Target terminal can obtain audio-frequency information from initiating terminal in advance in the mode of recording.
In the embodiment of the present invention, target terminal stores the audio-frequency information gathered and can be specially as preset audio information: target terminal can store corresponding audio-frequency information as preset audio information respectively for different initiating terminals, and the information of initiating terminal corresponding for preset audio information is stored in the lump.For example, the facility information of preset audio information A1 and initiating terminal B1 can be stored in target terminal; The facility information etc. of preset audio information A2 and initiating terminal B2; Optionally, after target terminal to get the audio-frequency information that initiating terminal plays by step S203, from the corresponding relation stored, the facility information of initiating terminal can be extracted in time, wherein, in the embodiment of the present invention, do not limit the facility information that target terminal only stores initiating terminal.
In the embodiment of the present invention, target terminal performs step S209 and exports the network connection establishment success that the prompting message connected with initiating terminal effectively can point out ownership goal terminal and initiating terminal, corresponding data transfer operation can be carried out, wherein, this prompting message can also comprise the identification information of this initiating terminal.
In the method described by Fig. 2, target terminal can when the geographical position that acquisition local terminal is current, judge the geographical position that obtains whether in preset geographical position range, if judge be, the audio-frequency information that initiating terminal is play can be obtained, and judge whether the audio-frequency information obtained mates with preset audio information further, if judge coupling, then can enabling wireless connection mode, obtain the network connection parameter of initiating terminal broadcast, and judge whether the network connection parameter obtained mates with default network connection parameter, if judge coupling, then set up the connection between initiating terminal, and export the prompting message connected with initiating terminal.Visible, in the method described by Fig. 2, target terminal not only can realize the connection between terminal easily, but also can ensure the fail safe of connection, improves the operating experience of user.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of a kind of connection establishment method disclosed in the embodiment of the present invention.As shown in Figure 3, this connection establishment method is that executive agent is described with initiating terminal, can see as detailed below.
S301, initiating terminal receive to connect initiates instruction;
In the embodiment of the present invention, initiating terminal can be mobile phone, panel computer, notebook or other portable sets, and in addition, this initiating terminal can also for having the terminal equipment that WIFI hot spot, bluetooth etc. connect or the terminal equipment needing to transmit data.
In the embodiment of the present invention, determination operation or the slide for transmitting data that instruction can be inputted by input unit for user is initiated in this connection, or for finding the link order etc. of pairing Bluetooth terminal, this connection initiation instruction is used to indicate initiating terminal request and other target terminals connect.
S302, initiating terminal respond this connection and initiate instruction, play the audio-frequency information prestored, to set up the connection between the target terminal of described audio-frequency information.
In the embodiment of the present invention, initiating terminal can respond this connection and initiate instruction, plays the audio-frequency information that prestores, if target terminal (can for multiple) can identify this audio-frequency information, then can and initiating terminal between connect.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.
In the embodiment of the present invention, initiating terminal, after playing the audio-frequency information prestored, can also perform following steps:
31) the connection request message of initiating terminal receiving target terminal transmission;
32) initiating terminal judges whether the identification marking carried in this connection request message indicates described target terminal preset audio information to mate with described audio-frequency information, if judge coupling, then performs step 33), otherwise process ends.
33) initiating terminal responds this connection request message, sends response message to target terminal, sets up the connection between target terminal.
In the embodiment of the present invention, initiating terminal can after playing the audio-frequency information prestored, enabling wireless connection mode, the connection request message that receiving target terminal sends, and identify the packet of this connection request message, to parse the identification marking that it carries, if preset audio information is mated with the audio-frequency information that initiating terminal is play in this identification marking indicating target terminal, then can respond this connection request message, response message is sent to target terminal, according to wireless connections pattern, set up the connection between described target terminal.
In the method described by Fig. 3, initiating terminal can receive connect initiate instruction time, respond this connection and initiate instruction, play the audio-frequency information that prestores, with the connection between the terminal set up and identify this audio-frequency information.Visible, the embodiment of the present invention can be connected by playback of audio information easily, improves the operating experience of user.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet of another kind of connection establishment method disclosed in the embodiment of the present invention.As shown in Figure 4, this connection establishment method is optimized acquisition to the connection establishment method shown in Fig. 3, and wherein, the connection establishment method shown in Fig. 4 is that executive agent is described with initiating terminal, refers to the following elaboration of by reference to the accompanying drawings 4.
S401, initiating terminal receive to connect initiates instruction;
In the embodiment of the present invention, initiating terminal can be mobile phone, panel computer, notebook or other portable sets, and in addition, this initiating terminal can also for having the terminal equipment that WIFI hot spot, bluetooth etc. connect or the terminal equipment needing to transmit data.
In the embodiment of the present invention, determination operation or the slide for transmitting data that instruction can be inputted by input unit for user is initiated in this connection, or for finding the link order etc. of Bluetooth pairing terminal, in a word, this connection is initiated instruction and is used to indicate initiating terminal request and other target terminals connect.
S402, initiating terminal respond this connection and initiate instruction, play the audio-frequency information prestored;
In the embodiment of the present invention, initiating terminal can respond this connection and initiate instruction, plays the audio-frequency information that prestores, if target terminal (can for multiple) can identify this audio-frequency information, then can and initiating terminal between connect.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.
The network connection parameter of S403, initiating terminal broadcast local terminal, judges to make target terminal whether this network connection parameter mates with network connection parameter default in target terminal.
In the embodiment of the present invention, in order to the wireless connections pattern matching of the type and target terminal that ensure initiating terminal present access network, preferentially can broadcast the network connection parameter of initiating terminal, network connection mode can be comprised, the initiation time etc. that network connection protocol and initiating terminal allow network to connect in this network connection parameter.
For example, if when network connection parameter comprises the initiation time of initiating terminal permission network connection, target terminal can judge this initiation time whether in default network connection parameter in Preset Time segment limit, if this initiation time interval is present excessively of a specified duration, exceed this Preset Time segment limit, then target terminal can be abandoned connecting with initiating terminal; If this initiation time is in this Preset Time segment limit, then continue to connect with initiating terminal.
S404, initiating terminal are set up and are identified the connection between the target terminal of this audio-frequency information;
In the embodiment of the present invention, initiating terminal is set up and is identified that the connection between the target terminal of this audio-frequency information can specifically comprise the following steps:
31) the connection request message of initiating terminal receiving target terminal transmission;
32) initiating terminal judges whether the identification marking carried in this connection request message indicates described target terminal preset audio information to mate with described audio-frequency information, if judge coupling, then performs step 33), otherwise process ends.
33) initiating terminal responds this connection request message, sends response message to target terminal, sets up the connection between target terminal.
In the embodiment of the present invention, initiating terminal can after playing the audio-frequency information prestored, enabling wireless connection mode, the connection request message that receiving target terminal sends, and identify the packet of this connection request message, to parse the identification marking that it carries, if preset audio information is mated with the audio-frequency information that initiating terminal is play in this identification marking indicating target terminal, then can respond this connection request message, response message is sent to target terminal, according to wireless connections pattern, set up the connection between described target terminal.
S405, initiating terminal obtain the mark of at least one target terminal connected with local terminal;
The mark of at least one target terminal that S406, initiating terminal obtain with list mode display;
S407, initiating terminal receive the selection instruction of user for the target identification input in mark described in list;
S408, initiating terminal response selection instruction, the target terminal marked with target identification carries out transfer of data.
In the embodiment of the present invention, selection instruction can for user be by the touch screen of initiating terminal or external equipment input.
In the embodiment of the present invention, all target terminals connected with it can present in the mode of list by initiating terminal, thus can facilitate client therefrom select needed for carry out the target terminal of transfer of data.For example, if through above-mentioned steps S401 to S404, the target terminal connected with this initiating terminal (computer) in user family has the terminals such as mobile phone, panel computer and electron album, but what user needed transmission data is the photo sending up-to-date shooting to electron album, then can select electron album by step S405 to S408 from list, finally the photo in computer can be sent to electron album, thus improve the operating experience of user.
In the method described by Fig. 4, initiating terminal can when receiving connection and initiating instruction, respond this connection and initiate instruction, play the audio-frequency information prestored, and broadcast the network connection parameter of local terminal, mate with this network connection parameter, and identify that the target terminal of this audio-frequency information connects, further, the mark of the target terminal connected with initiating terminal can also be shown with tabular form, thus conveniently therefrom select the target terminal corresponding to target identification carrying out transfer of data.Visible, the embodiment of the present invention not only can realize establishment of connection between terminal easily, and can select the target terminal carrying out transfer of data flexibly from multiple target terminal.
Refer to Fig. 5, Fig. 5 is the structural representation of a kind of connection establishment system disclosed in the embodiment of the present invention.Multiple target terminal and an initiating terminal can be comprised in connection establishment system shown in Fig. 5, wherein, if connection establishment system comprises multiple initiating terminal, connection establishment method then between each initiating terminal and other target terminals can with reference to connection establishment method described in conjunction with Figure 5 in the embodiment of the present invention, therefore, the connection establishment method between multiple target terminal and multiple initiating terminal is no longer described here.As shown in Figure 5, the embodiment of the present invention is set forth connection establishment method as follows with target terminal and the mutual mode of initiating terminal.
S501, initiating terminal receive to connect initiates instruction;
S502, initiating terminal respond this connection and initiate instruction, play the audio-frequency information prestored;
The network connection parameter of S503, initiating terminal broadcast local terminal;
S504, target terminal obtain the current geographical position of local terminal;
S505, target terminal judge the geographical position that obtains whether in preset geographical position range, are then perform step S506 if judge; Otherwise, process ends.
S506, target terminal obtain the audio-frequency information that initiating terminal is play;
S506, target terminal judge whether the audio-frequency information obtained mates with preset audio information, if judge coupling, then perform step 507, otherwise, process ends.
S507, target terminal enabling wireless connection mode;
S508, target terminal obtain the network connection parameter of initiating terminal broadcast;
S509, target terminal judge whether the network connection parameter obtained mates with default network connection parameter, if judge coupling, then perform step S510, otherwise process ends.
S510, target terminal set up the connection between initiating terminal;
S511, initiating terminal are set up and are identified the connection between the target terminal of this audio-frequency information;
In the embodiment of the present invention, target terminal sets up the connection between this initiating terminal, can specifically comprise the following steps:
11) target terminal generates the connection request message of carrying identification marking, and this identification marking is used to indicate obtained audio-frequency information and preset audio information match;
12) this connection request message is sent to initiating terminal by target terminal, to make when receiving the response message for this connection request message that initiating terminal returns, sets up the connection between initiating terminal.
In the embodiment of the present invention, if target terminal enables is blue teeth wireless connection mode, then can be that standard pin generates connection request message to this identification marking with Bluetooth communication protocol, sends to initiating terminal; Initiating terminal, when receiving this connection request message, can be resolved this connection request message with Bluetooth communication protocol, obtain this identification marking, respond this connection request message, set up bluetooth be connected with target terminal.
In the embodiment of the present invention, initiating terminal is set up and is identified that the connection between the target terminal of this audio-frequency information can specifically comprise the following steps:
31) the connection request message of initiating terminal receiving target terminal transmission;
32) initiating terminal judges whether the identification marking carried in this connection request message indicates described target terminal preset audio information to mate with described audio-frequency information, if judge coupling, then performs step 33), otherwise process ends.
33) respond described connection request message, send response message to target terminal, set up the connection between described target terminal.
In the embodiment of the present invention, initiating terminal can after playing the audio-frequency information prestored, enabling wireless connection mode, the connection request message that receiving target terminal sends, and identify the packet of this connection request message, to parse the identification marking that it carries, if preset audio information is mated with the audio-frequency information that initiating terminal is play in this identification marking indicating target terminal, then can respond this connection request message, response message is sent to target terminal, according to wireless connections pattern, set up the connection between described target terminal.
S512, target terminal export the prompting message connected with initiating terminal.
In the embodiment of the present invention, after target terminal exports the prompting message connected with initiating terminal, also can the connection of selection disconnection at any time and initiating terminal, such as, when user does not need to initiating terminal transmission data, the connection with initiating terminal can be disconnected.Correspondingly, initiating terminal, when performing step S513, just obtains the mark less than the target terminal disconnected.
S513, initiating terminal obtain the mark of at least one target terminal connected with local terminal;
The mark of at least one target terminal that S514, initiating terminal obtain with list mode display;
S515, initiating terminal receive the selection instruction of user for the target identification input in mark described in list;
S516, initiating terminal response selection instruction, the target terminal marked with target identification carries out transfer of data.
In the embodiment of the present invention, selection instruction can be the double-click instruction or long by instruction etc. that user is inputted as touch screen by input unit.
In the embodiment of the present invention, the detailed description of step S501 to S516 referring to figs. 2 to the corresponding step in the connection establishment method described in Fig. 3, no longer can describe in detail in the embodiment of the present invention.
In the method described by Fig. 5, initiating terminal, when receiving connection and initiating instruction, can play the audio-frequency information prestored; Target terminal when judging that this audio-frequency information is consistent with preset audio information, can connect with initiating terminal alternately; Target terminal can also export the prompting message connected with initiating terminal upon establishment of a connection; Initiating terminal then can select one of them to carry out transfer of data from the target terminal connected.Visible, the method described by Fig. 5 can realize establishment of connection between terminal easily, and can improve the operating experience of user.
Refer to Fig. 6, Fig. 6 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 6 can comprise with lower unit:
First acquiring unit 601, for obtaining the audio-frequency information that initiating terminal is play
First judging unit 602, for judging whether the audio-frequency information that the first acquiring unit 601 obtains mates with preset audio information;
Enable unit 603, during for judging the audio-frequency information that the first acquiring unit 601 obtains and preset audio information matches at the first judging unit 602, enabling wireless connection mode;
First linkage unit 604, for when enabling unit 603 enabling wireless connection mode, sets up the connection between initiating terminal.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.If initiating terminal playback of audio information, if then represent, other-end such as target terminal identifies this audio-frequency information, just can connect with initiating terminal.
In the embodiment of the present invention, enable unit 603 and judge whether the audio-frequency information obtained mates with preset audio information, can be specially whether enable the audio frequency that unit 603 judges to obtain consistent on frequency domain with preset audio, or whether both matching degrees reach predetermined threshold value; Optionally, if preset audio information comprises default encoded radio, then judge the audio-frequency information that obtains and preset audio information can be specially in the audio-frequency information that judgement obtains whether comprise this default encoded radio.
In the embodiment of the present invention, this wireless connections pattern can be bluetooth, infrared, the wireless mode such as mobile radio communication (as 3G or 4G etc.) or WIFI, and the embodiment of the present invention does not limit.
See also Fig. 7, Fig. 7 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 7 is that terminal is as shown in Figure 6 optimized and obtains.Compared with the terminal shown in Fig. 6, the terminal shown in Fig. 7 can also comprise:
Second acquisition unit 605, for when enabling unit 603 enabling wireless connection mode, obtains the network connection parameter of initiating terminal broadcast;
Second judging unit 606, for judging whether network connection parameter mates with default network connection parameter, if judge coupling, then triggers the operation that the first linkage unit 604 performs the connection of setting up between initiating terminal.
In the embodiment of the present invention, in order to the wireless connections pattern matching of the wireless connections pattern and initiating terminal that ensure terminal, preferentially can obtain the network connection parameter of initiating terminal broadcast, network connection mode can be comprised, the initiation time etc. that network connection protocol and initiating terminal allow network to connect in this network connection parameter.
For example, if when this network connection parameter comprises the initiation time of initiating terminal permission network connection, target terminal can judge in the Preset Time segment limit of this initiation time whether in default network connection parameter, if this initiation time interval is present excessively of a specified duration, exceed this Preset Time segment limit, then the first linkage unit 604 can be abandoned connecting with initiating terminal; If this initiation time is in this Preset Time segment limit, then the first linkage unit 604 can perform the operation of the connection between foundation and initiating terminal.
In the embodiment of the present invention, in the terminal shown in Fig. 7, the first linkage unit 604 comprises:
Generation unit 6041, for generating the connection request message of carrying identification marking, wherein, this identification marking is used to indicate obtained audio-frequency information and preset audio information match;
Transmitting element 6042, sends to initiating terminal for the connection request message generated by generation unit 6041;
Second linkage unit 6043, for when receiving the response message that initiating terminal returns for connection request message, sets up the connection between initiating terminal.
Correspondingly, second judging unit 606 is when judging coupling, generation unit 6041 can be triggered and generate the connection request message of carrying identification marking, initiating terminal is sent to by transmitting element 6042, and then by the second linkage unit 6043 when receiving the response message of the connection request message that initiating terminal sends for transmitting element 6042, set up the connection between initiating terminal.
In the embodiment of the present invention, what if enable, unit 603 enabled is blue teeth wireless connection mode, then generation unit 6041 can be that standard pin generates connection request message to this identification marking with Bluetooth communication protocol, sends to initiating terminal by transmitting element 6042; Initiating terminal, when receiving this connection request message, can be resolved this connection request message with Bluetooth communication protocol, obtain this identification marking, respond this connection request message, the second linkage unit 6043 is set up and is connected with the bluetooth of initiating terminal.
In the embodiment of the present invention, the terminal shown in Fig. 7 can also comprise:
3rd acquiring unit 607, for obtaining the current geographical position of local terminal;
3rd judging unit 608, for judging that geographical position that the 3rd acquiring unit 607 obtains is whether in preset geographical position range; If judge in preset geographical position range, then trigger the operation that the first acquiring unit 601 performs the audio-frequency information that described acquisition initiating terminal is play.
In the embodiment of the present invention, the 3rd acquiring unit 607 obtains the current geographical position of local terminal and can be specially: the geographical position that the 3rd acquiring unit 607 is located by GPS or architecture technical limit spacing local terminal is current.
In the embodiment of the present invention, the geographical position that the 3rd acquiring unit 607 obtains can be market, office or family etc., and the 3rd acquiring unit 607 also can prestore the Base Station Identification in these places of covering to determine current geographical position.
This execution mode effectively can be avoided setting up network in the place such as market, station by audio-frequency information and connect the security risk caused, thus while the convenience realizing terminal connection establishment, can ensure the fail safe connected between terminal.
In the embodiment of the present invention, the terminal shown in Fig. 7 can also comprise:
Collecting unit 609, for gathering the audio-frequency information for connecting;
Memory cell 610, for storage of collected unit 609 gather audio-frequency information as preset audio information.
In the embodiment of the present invention, the audio-frequency information that collecting unit 609 gathers can for the audio-frequency information appointed in advance with initiating terminal, the music file of such as arranging or comprise the audio file etc. of special sound; Collecting unit 609 obtains audio-frequency information from initiating terminal in advance in the mode of recording.
In the embodiment of the present invention, memory cell 610 stores the audio-frequency information gathered and can be specially as preset audio information: memory cell 610 can store corresponding audio-frequency information as preset audio information respectively for different initiating terminals, and the information of initiating terminal corresponding for preset audio information is stored in the lump.For example, memory cell 610 can store the facility information of preset audio information A1 and initiating terminal B1; The facility information etc. of preset audio information A2 and initiating terminal B2; Optionally, after the first acquiring unit 601 gets the audio-frequency information of initiating terminal broadcasting, from the corresponding relation stored, the facility information of initiating terminal can be extracted in time, wherein, in the embodiment of the present invention, do not limit the facility information that target terminal only stores initiating terminal.
In the embodiment of the present invention, the terminal shown in Fig. 7 can also comprise:
Output unit 611, for when the first linkage unit 604 or the second linkage unit 6043 set up the connection between initiating terminal, exports the prompting message connected with initiating terminal.
In the embodiment of the present invention, output unit 611 exports the network connection establishment success that the prompting message connected with initiating terminal effectively can point out ownership goal terminal and initiating terminal, corresponding data transfer operation can be carried out, wherein, this prompting message can also comprise the identification information of this initiating terminal.
In the terminal described by Fig. 6 and Fig. 7, the first acquiring unit can obtain the audio-frequency information that initiating terminal is play, and the first judging unit can judge whether the audio-frequency information that the first acquiring unit obtains mates with preset audio information; Enabling unit can when the first judging unit judges the audio-frequency information that the first acquiring unit obtains and preset audio information matches, enabling wireless connection mode, make the connection between the first linkage unit foundation with initiating terminal, visible, terminal described by Fig. 6 and Fig. 7 when obtaining audio-frequency information, can realize the connection between terminal easily.
Further, in terminal described by Fig. 7, 3rd acquiring unit can when the geographical position that acquisition local terminal is current, judge the geographical position that obtains whether in preset geographical position range, if judge be, the audio-frequency information that the first acquiring unit obtains initiating terminal broadcasting can be triggered, and when enabling unit enabling wireless connection mode, second acquisition unit can obtain the network connection parameter of initiating terminal broadcast, second judging unit can judge whether obtained network connection parameter mates with default network connection parameter, if judge coupling, then trigger the connection between the first linkage unit foundation with initiating terminal, and the prompting message connected with initiating terminal is exported by output unit.Visible, the terminal described by Fig. 7 not only can realize the connection between terminal easily, but also can ensure the fail safe of connection, improves the operating experience of user.
Refer to Fig. 8, Fig. 8 is the structural representation of the embodiment of the present invention another terminal disclosed; As shown in Figure 8, this terminal can comprise at least one processor 701, such as CPU, input unit 702, memory 703, at least one communication bus 704, output device 705.Wherein, communication bus 704 is for realizing the communication connection between these assemblies.Memory 703 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 703 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 701.Wherein, processor 701 can composition graphs 6 and the terminal described by Fig. 7, stores batch processing code in memory 703, and processor 701 calls the program code stored in memory 703, for performing following operation:
The audio-frequency information of initiating terminal broadcasting is obtained by input unit 702
Judge whether the audio-frequency information obtained mates with preset audio information;
If judge coupling, then enabling wireless connection mode, set up the connection between initiating terminal.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.If initiating terminal playback of audio information, if then represent, other-end such as target terminal identifies this audio-frequency information, just can connect with initiating terminal.
In the embodiment of the present invention, processor 701 judges whether the audio-frequency information obtained mates with preset audio information, can be specially the audio frequency that processor 701 judges to obtain whether consistent on frequency domain with preset audio, or whether both matching degrees reach predetermined threshold value; Optionally, if preset audio information comprises default encoded radio, then judge the audio-frequency information that obtains and preset audio information can be specially in the audio-frequency information that judgement obtains whether comprise this default encoded radio.
In the embodiment of the present invention, this wireless connections pattern can be bluetooth, infrared, the wireless mode such as mobile radio communication (as 3G or 4G etc.) or WIFI, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, after enabling wireless connection mode, can perform following operation:
Obtain the network connection parameter of initiating terminal broadcast;
Judge whether network connection parameter mates with default network connection parameter;
If judge coupling, then the step of the foundation described in performing and the connection between initiating terminal.
In the embodiment of the present invention, in order to the wireless connections pattern matching of the wireless connections pattern and initiating terminal that ensure terminal, preferentially can obtain the network connection parameter of initiating terminal broadcast, network connection mode can be comprised, the initiation time etc. that network connection protocol and initiating terminal allow network to connect in this network connection parameter.
For example, if when this network connection parameter comprises the initiation time of initiating terminal permission network connection, target terminal can judge in the Preset Time segment limit of this initiation time whether in default network connection parameter, if this initiation time interval is present excessively of a specified duration, exceed this Preset Time segment limit, then processor 701 can be abandoned connecting with initiating terminal; If this initiation time is in this Preset Time segment limit, then processor 701 can perform the operation of the connection between foundation and initiating terminal.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, sets up the connection between initiating terminal, can specifically perform following operation:
Generate the connection request message of carrying identification marking, this identification marking is used to indicate obtained audio-frequency information and described preset audio information match;
Connection request message being sent to initiating terminal, with when receiving the response message that initiating terminal returns for connection request message, setting up the connection between initiating terminal.
In the embodiment of the present invention, if processor 701 enables is blue teeth wireless connection mode, then processor 701 can be that standard pin generates connection request message to this identification marking with Bluetooth communication protocol, sends to initiating terminal; Initiating terminal, when receiving this connection request message, can be resolved this connection request message with Bluetooth communication protocol, obtain this identification marking, respond this connection request message, processor 701 is set up and is connected with the bluetooth of initiating terminal.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, can also perform following operation:
Obtain the geographical position that local terminal is current;
Judge this geographical position whether in preset geographical position range;
If judge in preset geographical position range, then the operation of the audio-frequency information that the acquisition initiating terminal described in performing is play.
In the embodiment of the present invention, the geographical position that processor 701 obtains can be market, office or family etc., and processor 701 also can prestore the Base Station Identification in these places of covering to determine current geographical position.
This execution mode effectively can be avoided setting up network in the place such as market, station by audio-frequency information and connect the security risk caused, thus while the convenience realizing terminal connection establishment, can ensure the fail safe connected between terminal.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, before obtaining the audio-frequency information of initiating terminal broadcasting, can also perform following operation:
The audio-frequency information for connecting is gathered by input unit 702;
The audio-frequency information that storage gathers is as preset audio information.
In the embodiment of the present invention, the audio-frequency information that processor 701 gathers can for the audio-frequency information appointed in advance with initiating terminal, the music file of such as arranging or comprise the audio file etc. of special sound; Processor 701 obtains audio-frequency information from initiating terminal in advance in the mode of recording.
In the embodiment of the present invention, processor 701 stores the audio-frequency information gathered and can be specially as preset audio information: processor 701 can store corresponding audio-frequency information as preset audio information respectively for different initiating terminals, and the information of initiating terminal corresponding for preset audio information is stored in the lump.For example, processor 701 can store the facility information of preset audio information A1 and initiating terminal B1; The facility information etc. of preset audio information A2 and initiating terminal B2; Optionally, after processor 701 gets the audio-frequency information of initiating terminal broadcasting, from the corresponding relation stored, the facility information of initiating terminal can be extracted in time, wherein, in the embodiment of the present invention, do not limit the facility information that target terminal only stores initiating terminal.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, after setting up the connection between described initiating terminal, can also perform following operation:
The prompting message connected with initiating terminal is exported by output device 705.
In the embodiment of the present invention, processor 701 exports the network connection establishment success that the prompting message connected with initiating terminal effectively can point out ownership goal terminal and initiating terminal, corresponding data transfer operation can be carried out, wherein, this prompting message can also comprise the identification information of this initiating terminal.
Refer to Fig. 9, the structural representation of Fig. 9 a kind of terminal disclosed in the embodiment of the present invention, as shown in Figure 9, this terminal can comprise with lower unit:
First receiving element 801, initiates instruction for receiving to connect;
First response unit 802, instruction is initiated in the connection received for responding the first receiving element 801, plays the audio-frequency information that prestores, with the connection between the terminal set up and identify this audio-frequency information.
In the embodiment of the present invention, determination operation or the slide for transmitting data that instruction can be inputted by input unit for user is initiated in this connection, or for finding the link order etc. of pairing Bluetooth terminal, this connection initiation instruction is used to indicate initiating terminal request and other target terminals connect.
In the embodiment of the present invention, first response unit 802 can respond this connection and initiate instruction, play the audio-frequency information prestored, if target terminal (can be multiple) can identify this audio-frequency information, then can connect with the terminal described in the embodiment of the present invention.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.
Please also refer to the structural representation of Figure 10, Figure 10 another kind of terminal disclosed in the embodiment of the present invention, wherein, the terminal shown in Figure 10 is that terminal is as shown in Figure 9 optimized and obtains.Compared with the terminal shown in Fig. 9, the terminal shown in Figure 10 can also comprise:
Radio unit 803, after playing at response unit 802 audio-frequency information prestored, the network connection parameter of broadcast local terminal, judges to make target terminal whether the default network connection parameter of described network connection parameter and its mates.
In the embodiment of the present invention, in order to the wireless connections pattern matching of the type and target terminal that ensure the terminal present access network described in the embodiment of the present invention, radio unit 803 broadcasts the network connection parameter of initiating terminal, network connection mode can be comprised, the initiation time etc. that network connection protocol and initiating terminal allow network to connect in this network connection parameter.
For example, if during the initiation time that the network connection parameter terminal comprised described in the embodiment of the present invention allows network to connect, target terminal can judge this initiation time whether in default network connection parameter in Preset Time segment limit, if this initiation time interval is present excessively of a specified duration, exceed this Preset Time segment limit, then target terminal can be abandoned connecting with initiating terminal; If this initiation time is in this Preset Time segment limit, then continue to connect with the terminal described in the embodiment of the present invention.
In the embodiment of the present invention, the terminal shown in Figure 10 can also comprise:
Second receiving element 804, for when response unit 802 plays the audio-frequency information prestored, the connection request message that receiving target terminal sends;
Judging unit 805, for judging that the preset audio information of the whether indicating target terminal of the identification marking that carries in the connection request message that the second receiving element 804 receives is mated with audio-frequency information;
Second response unit 806, during for judging that the preset audio information of target terminal is mated with described audio-frequency information at judging unit 805, response connection request message, sends response message to target terminal, sets up the connection between target terminal.
Accordingly, radio unit 803 when target terminal judges that the default network connection parameter of network connection parameter and its mates, can trigger the connection request message that the second receiving element 804 receiving target terminal returns, to carry out establishment of connection.
In the embodiment of the present invention, second receiving element 804 can after playing the audio-frequency information prestored, enabling wireless connection mode, the connection request message that receiving target terminal sends, and the packet of this connection request message is identified by judging unit 805, to parse the identification marking that it carries, if preset audio information is mated with the audio-frequency information that initiating terminal is play in this identification marking indicating target terminal, then the second response unit 806 can respond this connection request message, response message is sent to target terminal, according to wireless connections pattern, set up the connection between described target terminal.
In the embodiment of the present invention, the terminal shown in Figure 10 can also comprise:
Acquiring unit 807, for obtaining the mark of at least one target terminal connected with local terminal;
Display unit 808, for the mark obtained with list mode display acquiring unit 807;
3rd receiving element 809, for receiving the selection instruction of user for the target identification input in this mark in list;
Transmission unit 810, for responding the selection instruction that the 3rd receiving element 809 receives, the target terminal marked with this target identification carries out transfer of data.
In the embodiment of the present invention, selection instruction can for user be by the touch screen of terminal or external equipment input.
In the embodiment of the present invention, all target terminals connected with it can present in the mode of list by acquiring unit 807 and display unit 808, thus can facilitate client therefrom select needed for carry out the target terminal of transfer of data.For example, if the target terminal connected with this initiating terminal (computer) in user family has the terminals such as mobile phone, panel computer and electron album, but what user needed transmission data is the photo sending up-to-date shooting to electron album, then can select electron album by the 3rd receiving element 809 and transmission unit 810 from list, finally the photo in computer can be sent to electron album, thus improve the operating experience of user.
In the terminal described by Fig. 9 and Figure 10, first receiving element can when receiving connection and initiating instruction, respond this connection by the first response unit and initiate instruction, play the audio-frequency information that prestores, with the connection between the terminal set up and identify this audio-frequency information.Visible, the terminal described by Fig. 8 and Fig. 9 can set up the connection between terminal easily.
Further, in terminal described by Figure 10, radio unit can broadcast the network connection parameter of local terminal, judge to make judging unit whether target terminal mates with this network connection parameter, and connected by the target terminal of the second response unit with this audio-frequency information of identification, further, the mark of the target terminal connected with local terminal can also show with tabular form by acquiring unit and display unit, thus connects between the target terminal that marks of the target identification received by transmission unit and the 3rd receiving element.Visible, the terminal described by Figure 10 not only can realize establishment of connection between terminal easily, and can select the target terminal carrying out transfer of data flexibly from multiple target terminal.
Refer to Figure 11, Figure 11 is the structural representation of the embodiment of the present invention another terminal disclosed; As shown in figure 11, this terminal can comprise at least one processor 901, such as CPU, input unit 902, memory 903, at least one communication bus 904, output device 905.Wherein, communication bus 904 is for realizing the communication connection between these assemblies.Memory 903 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 903 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 901.Wherein, processor 901 can composition graphs 9 and the terminal described by Figure 10, stores batch processing code in memory 903, and processor 901 calls the program code stored in memory 903, for performing following operation:
Receive to connect by input unit 902 and initiate instruction;
Respond this connection and initiate instruction, play the audio-frequency information prestored by output device 905, with the connection between the terminal set up and identify this audio-frequency information.
In the embodiment of the present invention, determination operation or the slide for transmitting data that instruction can be inputted by input unit for user is initiated in this connection, or for finding the link order etc. of pairing Bluetooth terminal, this connection initiation instruction is used to indicate local terminal request and other target terminals connect.
In the embodiment of the present invention, processor 901 can respond this connection and initiate instruction, play the audio-frequency information prestored, if target terminal (can be multiple) can identify this audio-frequency information, then can connect with the terminal described in the embodiment of the present invention.
In the embodiment of the present invention, this audio-frequency information can for voice document, music file or the tinkle of bells etc. that prestores prerecorded.
In the embodiment of the present invention, processor 901 calls the program code in memory 903, after playing the audio-frequency information that prestores, and before setting up the connection between the terminal identifying described audio-frequency information, can perform following operation:
Broadcasted the network connection parameter of local terminal by output device 905, judge to make target terminal whether the default network connection parameter of this network connection parameter and its mates.
In the embodiment of the present invention, in order to the wireless connections pattern matching of the type and target terminal that ensure the terminal present access network described in the embodiment of the present invention, the network connection parameter of the broadcast initiating terminal described in the embodiment of the present invention, network connection mode can be comprised, the initiation time etc. that network connection protocol and initiating terminal allow network to connect in this network connection parameter.
For example, if during the initiation time that the network connection parameter terminal comprised described in the embodiment of the present invention allows network to connect, target terminal can judge this initiation time whether in default network connection parameter in Preset Time segment limit, if this initiation time interval is present excessively of a specified duration, exceed this Preset Time segment limit, then target terminal can be abandoned connecting with initiating terminal; If this initiation time is in this Preset Time segment limit, then continue to connect with the terminal described in the embodiment of the present invention.
In the embodiment of the present invention, processor 901 calls the program code in memory 903, after playing the audio-frequency information prestored, can perform following operation:
By the connection request message that input unit 902 receiving target terminal sends;
Judge whether the identification marking carried in described connection request message indicates described target terminal preset audio information to mate with described audio-frequency information;
If indicate described target terminal preset audio information to mate with described audio-frequency information, then respond described connection request message, send response message by output device 905 to target terminal, set up the connection between described target terminal.
In the embodiment of the present invention, processor 901 calls the program code in memory 903, after setting up the connection between described target terminal, can perform following operation:
Obtain the mark of at least one target terminal connected with local terminal;
By the mark that output device 905 obtains with list mode display;
The selection instruction of user for the target identification input in this mark in list is received by input unit 902;
Respond this selection instruction, the target terminal marked with target identification carries out transfer of data.
In the embodiment of the present invention, selection instruction can for user be by input unit 902, as the touch screen of terminal or external equipment input.
In the embodiment of the present invention, all target terminals connected with it can present in the mode of list by processor 901, thus can facilitate client therefrom select needed for carry out the target terminal of transfer of data.For example, if the target terminal connected with this initiating terminal (computer) in user family has the terminals such as mobile phone, panel computer and electron album, but what user needed transmission data is the photo sending up-to-date shooting to electron album, then processor 901 selects electron album from list, finally the photo in computer can be sent to electron album, thus improve the operating experience of user.
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process in the connection establishment embodiment of the method for composition graphs 1 to Fig. 4 of the present invention introduction.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal or equipment or subelement can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above to the embodiment of the invention discloses a kind of connection establishment method and terminal is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a connection establishment method, is characterized in that, comprising:
Obtain the audio-frequency information that initiating terminal is play;
Judge whether the audio-frequency information of described acquisition mates with preset audio information;
If judge coupling, then enabling wireless connection mode, set up the connection between described initiating terminal.
2. the method for claim 1, is characterized in that, after described enabling wireless connection mode, described method also comprises:
Obtain the network connection parameter of described initiating terminal broadcast;
Judge whether described network connection parameter mates with default network connection parameter;
If judge coupling, then the step of the foundation described in performing and the connection between described initiating terminal.
3. method as claimed in claim 2, it is characterized in that, the connection between described foundation and described initiating terminal, comprising:
Generate the connection request message of carrying identification marking, described identification marking is used to indicate obtained audio-frequency information and described preset audio information match;
Described connection request message being sent to described initiating terminal, with when receiving the response message that described initiating terminal returns for described connection request message, setting up the connection between described initiating terminal.
4. the method for claim 1, is characterized in that, described method also comprises:
Obtain the geographical position that local terminal is current;
Judge described geographical position whether in preset geographical position range;
If judge in preset geographical position range, then the step of the audio-frequency information that the acquisition initiating terminal described in performing is play.
5. the method for claim 1, is characterized in that, before the audio-frequency information that described acquisition initiating terminal is play, described method also comprises:
Gather the audio-frequency information for connecting;
Store the audio-frequency information of described collection as preset audio information.
6. the method as described in any one of claim 1 to 5, is characterized in that, after the connection between described foundation and described initiating terminal, described method also comprises:
Export the prompting message connected with described initiating terminal.
7. a connection establishment method, is characterized in that, comprising:
Receive to connect and initiate instruction;
Respond described connection and initiate instruction, play the audio-frequency information that prestores, with the connection between the target terminal set up and identify described audio-frequency information.
8. the method as shown in claim 7, is characterized in that, after the audio-frequency information that described broadcasting prestores, and before setting up the connection between the terminal identifying described audio-frequency information, described method also comprises:
The network connection parameter of broadcast local terminal, judges to make target terminal whether the default network connection parameter of described network connection parameter and its mates.
9. method as claimed in claim 7, it is characterized in that, after the audio-frequency information that described broadcasting prestores, described method also comprises:
The connection request message that receiving target terminal sends;
Judge whether the identification marking carried in described connection request message indicates described target terminal preset audio information to mate with described audio-frequency information;
If indicate described target terminal preset audio information to mate with described audio-frequency information, then respond described connection request message, send response message to target terminal, set up the connection between described target terminal.
10. method as claimed in claim 9, it is characterized in that, after the connection between described foundation and described target terminal, described method also comprises:
Obtain connected with local terminal at least one described in the mark of target terminal;
The mark of described acquisition is shown with list mode;
Receive the selection instruction of user for the target identification input in mark described in list;
Respond described selection instruction, the target terminal marked with described target identification carries out transfer of data.
CN201510184180.8A 2015-04-17 2015-04-17 Connection establishment method Pending CN104869663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510184180.8A CN104869663A (en) 2015-04-17 2015-04-17 Connection establishment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510184180.8A CN104869663A (en) 2015-04-17 2015-04-17 Connection establishment method

Publications (1)

Publication Number Publication Date
CN104869663A true CN104869663A (en) 2015-08-26

Family

ID=53915069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510184180.8A Pending CN104869663A (en) 2015-04-17 2015-04-17 Connection establishment method

Country Status (1)

Country Link
CN (1) CN104869663A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691673A (en) * 2020-05-13 2021-11-23 北京小米移动软件有限公司 Audio playing control method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795453A (en) * 2008-12-31 2010-08-04 英特尔公司 Method and apparatus for establishing device connections
CN102710858A (en) * 2012-05-24 2012-10-03 上海合合信息科技发展有限公司 Pairing method and system between mobile devices
CN104053246A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Radio communication connection establishment method, electronic device and communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795453A (en) * 2008-12-31 2010-08-04 英特尔公司 Method and apparatus for establishing device connections
CN102710858A (en) * 2012-05-24 2012-10-03 上海合合信息科技发展有限公司 Pairing method and system between mobile devices
CN104053246A (en) * 2013-03-15 2014-09-17 联想(北京)有限公司 Radio communication connection establishment method, electronic device and communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691673A (en) * 2020-05-13 2021-11-23 北京小米移动软件有限公司 Audio playing control method and device and storage medium

Similar Documents

Publication Publication Date Title
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
TWI628972B (en) Method and apparatus for matching a wireless device
EP3169086A1 (en) Connection method for multimedia playing device, master device, control terminal, and system
US10298451B1 (en) Configuring wireless devices for a wireless infrastructure network
CN103826323A (en) Wireless network connection method, terminal and mobile terminal
CN103458057B (en) Resource acquiring method, device and server
CN108781473B (en) Method and equipment for sharing files among different terminals
CN106851530A (en) The method and bluetooth equipment of a kind of automatic Hui Lian of bluetooth equipment
CN104080194A (en) Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN105764159B (en) Network connection method, system and terminal thereof
CN104394600A (en) Method and device for transmitting files
CN103561480A (en) Data transmission method
WO2018049823A1 (en) Automatic network distribution method, apparatus and device, and repeater
CN103220822A (en) Data transmission method, data transmission device and mobile terminal
TW201408115A (en) A setting method and the device of the connecting to the access point
CN112130461A (en) Smart home control method and device, storage medium and electronic device
CN111741509A (en) Network distribution method and device, storage medium and processor
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN105281809A (en) Auxiliary bluetooth low-power-consumption equipment pairing method and system
CN105072146A (en) Music information sharing method and device
CN104796500A (en) Terminal and intelligent equipment connecting method and device
CN103402011A (en) Bluetooth device matching method, Bluetooth device and mobile terminal
CN109890017B (en) Method, device and equipment for connecting with central equipment and readable storage medium
WO2017185339A1 (en) Wireless connection method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150826

WD01 Invention patent application deemed withdrawn after publication