CN104219786B - A kind of method of terminal connection - Google Patents
A kind of method of terminal connection Download PDFInfo
- Publication number
- CN104219786B CN104219786B CN201410416469.3A CN201410416469A CN104219786B CN 104219786 B CN104219786 B CN 104219786B CN 201410416469 A CN201410416469 A CN 201410416469A CN 104219786 B CN104219786 B CN 104219786B
- Authority
- CN
- China
- Prior art keywords
- terminal
- connection
- signal
- touch panel
- mentioned
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses a kind of methods of terminal connection, comprising: obtains the first signal that first terminal user inputs on the touch panel of first terminal and the second signal that second terminal user inputs on the touch panel of second terminal;Judge whether first signal and the second signal meet preset condition;If first signal and the second signal meet preset condition, the connection of the first terminal Yu the second terminal is established.It is specific that the advantages of easily and efficiently terminal connects can be achieved using the present invention.
Description
Technical field
The present invention relates to a kind of methods that field of communication technology more particularly to terminal connect.
Background technique
Widely available with terminals such as smart phone, tablet computer and palm PCs, terminal function is also increasingly various, eventually
End application is even more to become increasingly abundant.Terminal user can be surfed the Internet by terminal, see video, listen song, production audio-video, take pictures or paint
Deng, but and then the more information of other terminal users sharing.Currently, there are many communication modes between terminal, for example pass through indigo plant
Tooth, infrared, Wireless Fidelity (Wireless-Fidelity, Wifi), the short distance wireless communication technology (Near Field
Communication, NFC) etc. modes communicated.However, terminal will be led to by above-mentioned communication mode and other terminals
Letter then first must establish corresponding network connection with other terminals, be connected to the network and successfully just can be carried out data transmission.
Existing internetwork connection mode be mainly side's terminal searching want therewith transmit file another terminal where
Then communication network is manually entered the password for connecting the communication network, after password authentification passes through, then can establish with another terminal
Connection, and then data transmission can be carried out.Network where needing to receive rope terminal first when terminal network connects in the prior art, passes through
It is manually entered connection password, operation is comparatively laborious, and the password that terminal needs to verify end user manual input could correctly be completed
The connection of network, connection speed are slow.
Summary of the invention
The embodiment of the present invention provides a kind of method of terminal connection, can be touched according to the signal inputted on the touch panel of terminal
Hair terminal establishes connection, realizes that easily and efficiently terminal connects.
The embodiment of the invention provides a kind of terminal connection method, can include:
Obtain the first signal and second terminal user that first terminal user inputs on the touch panel of first terminal
The second signal inputted on the touch panel of second terminal;
Judge whether first signal and the second signal meet preset condition;
If first signal and the second signal meet preset condition, the first terminal and described second is established eventually
The connection at end.
The embodiment of the present invention can obtain the touch-control of the first signal inputted on the touch panel of first terminal and second terminal
The second signal inputted on panel, judges whether the first signal and the second signal meet preset condition, if then triggering first is eventually
Connection is established with second terminal in end, establishes the connection of first terminal and second terminal, it can be achieved that easily and efficiently terminal connects,
Improve the user experience of terminal connection.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the first embodiment flow diagram of the method for terminal connection provided in an embodiment of the present invention;
Fig. 2 is the second embodiment flow diagram of the method for terminal connection provided in an embodiment of the present invention;
Fig. 3 is the schematic structural diagram of the first embodiment of terminal provided in an embodiment of the present invention;
Fig. 4 is the schematic structural diagram of the second embodiment of terminal provided in an embodiment of the present invention;
Fig. 5 is an example structure schematic diagram of device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
In the specific implementation, first terminal described in the embodiment of the present invention or second terminal can include: mobile phone, plate
Computer, palm PC or mobile internet device (Mobile Internet Device, MID) etc., above-mentioned terminal are only to lift
Example, and it is non exhaustive, including but not limited to above-mentioned terminal.
The method and terminal connected below in conjunction with Fig. 1 to Fig. 4 to terminal provided in an embodiment of the present invention is specifically retouched
It states.
It is the first embodiment flow diagram of the method for terminal connection provided in an embodiment of the present invention referring to Fig. 1.This reality
The method for applying the connection of terminal described in example, comprising steps of
S101, the first signal and second that acquisition first terminal user inputs on the touch panel of first terminal is eventually
The second signal that end subscriber inputs on the touch panel of second terminal.
In some possible embodiments, the method for terminal described in the embodiment of the present invention connection specifically can be by the
Perhaps second terminal executes some terminal device i.e. in first terminal or second terminal and executes one terminal, can also be by the
Third terminal except one terminal and second terminal executes, herein with no restrictions.It below will be with first terminal or second terminal
Except third terminal (abbreviation terminal) for, to terminal provided in an embodiment of the present invention connection method be specifically described.
In some possible embodiments, terminal is established before the connection of first terminal and second terminal, can first from
First terminal obtains the first signal that first terminal user inputs on the touch panel of first terminal, and obtains from second terminal
The second signal that second terminal user inputs on the touch panel of second terminal.Wherein, above-mentioned first terminal or the second end
The touch panel at end includes: touch screen or touch screen, herein with no restrictions.That is, terminal establishes first terminal and second terminal
Connection when, can the touch panel of the touch panel to first terminal and second terminal be monitored, detect above-mentioned first terminal
Touch panel or second terminal touch panel on whether have signal input, when there is signal input on above-mentioned touch panel
When, then can obtain above-mentioned first signal perhaps second signal to judge whether to touch according to above-mentioned first signal or second signal
Hair first terminal and second terminal establish connection.
S102, judges whether first signal and the second signal meet preset condition, if the determination result is YES, then
Execute step S103.
S103 establishes the connection of the first terminal Yu the second terminal.
In some possible embodiments, the preset condition for establishing first terminal and second terminal can be preset, on
The condition that meet can be needed for above-mentioned the first signal and the second signal by stating preset condition, for example, the first signal and second signal whether
Unanimously or whether match.In the specific implementation, terminal gets the first signal on the touch panel of first terminal, Yi Ji
After second signal on the touch panel of two terminals, then it can determine whether above-mentioned the first signal and the second signal meet default item
Part.When above-mentioned the first signal and the second signal meet preset condition, then the connection of first terminal and second terminal can be established.Tool
Body, terminal directly can send link order to first terminal, and instruction first terminal establishes the connection with second terminal, Huo Zhezhi
It connects to second terminal and sends link order, instruction second terminal establishes the connection with first terminal.
In embodiments of the present invention, terminal can be first from the first letter on the touch panel that first terminal obtains first terminal
Number, the second signal from the touch panel that second terminal obtains second terminal, and then judge that the first signal and the second signal are
It is no to meet preset condition, when the first signal and the second signal meet preset condition, establish the company of first terminal and second terminal
It connects, realizes easily and efficiently terminal connection, improve the user experience of terminal.
It referring to fig. 2, is the second embodiment flow diagram for the method that terminal provided in an embodiment of the present invention connects.This reality
The method for applying the connection of terminal described in example, comprising steps of
S201, the first signal and second that acquisition first terminal user inputs on the touch panel of first terminal is eventually
The second signal that end subscriber inputs on the touch panel of second terminal.
In some possible embodiments, first signal of acquisition described in the embodiment of the present invention and the second letter
Number the specific implementation process method that can be found in terminal provided in an embodiment of the present invention connection first embodiment in step
S101, details are not described herein.
Further, the first signal described in the embodiment of the present invention can include: interacted with first terminal
Sliding trace etc. on the distance value of the touch panel of one target object and first terminal or the touch panel of first terminal.
Wherein, above-mentioned first target object may include the limbs of first terminal user, such as first terminal user for operating first eventually
The finger of the touch panel at the end object that perhaps palm etc. or first terminal user are used to interact with first terminal, example
The pen that such as first terminal user is used to operate the touch panel of first terminal.Second signal described in the embodiment of the present invention
Can include: the distance value or second of the second target object interacted with second terminal and the touch panel of second terminal
Sliding trace etc. on the touch panel of terminal.Wherein, above-mentioned second target object may include the limbs of second terminal user, example
Such as second terminal user be used to operate the touch panel finger of second terminal perhaps palm or second terminal user be used for
The object that second terminal interacts, such as second terminal user are used to operate the pen etc. of the touch panel of second terminal.
S202 judges whether first signal is consistent with the second signal, if the determination result is YES, thens follow the steps
S203。
In some possible embodiments, when the touch panel that the first signal is first target object and first terminal
Distance value, when second signal is the distance value of the touch panel of the second target object and second terminal, if establish first terminal with
The preset condition of the connection of second terminal is that the first signal is consistent with second signal, and terminal then can determine whether above-mentioned first target object
With the distance value of the touch panel of first terminal whether the distance value one with the second target object and the touch panel of second terminal
It causes, if the determination result is YES, then can trigger first terminal and second terminal establishes connection.For example, first terminal user can be by hand
Refer to the top for being placed on the touch panel of first terminal, first terminal can detect the by equipment such as range sensors built in it
The finger of one terminal user, and obtain the finger of first terminal user and the touch panel of first terminal distance value A (such as
1cm), and then above-mentioned distance value A can be sent to terminal (the i.e. third end for being used to establish first terminal and connecting with second terminal
End).When second terminal user places a finger on the top of the touch panel of second terminal, second terminal can also by it
The equipment such as range sensor detect the finger of second terminal user, and obtain the finger and second terminal of second terminal user
Touch panel distance value B (such as 1cm), and then above-mentioned distance value B can be sent to above-mentioned terminal.Terminal gets first
Terminal send distance value A and second terminal send distance value B after, then can determine whether above-mentioned distance value A whether with distance value B
Unanimously, if the determination result is YES, then it can trigger first terminal and second terminal establish connection.
In some possible embodiments, first terminal user and second terminal user can be respectively in the touchings of first terminal
It is slided on control panel and on the touch panel of second terminal, triggers first terminal and second by drawing corresponding sliding trace
Terminal establishes connection.Sliding trace on the touch panel that above-mentioned first signal is first terminal, above-mentioned second signal are the
When sliding trace on the touch panel of two terminals, terminal then can be according to preset transformation rule by the touch-control of above-mentioned first terminal
Sliding trace on panel is converted to corresponding symbol (i.e. the first symbol), and by the sliding rail on the touch panel of second terminal
Mark is converted to the second symbol.In the specific implementation, the sliding trace on the above-mentioned touch panel by first terminal is converted to the first symbol
Number operation can also be executed by first terminal.After sliding trace is converted to the first symbol by first terminal, the first symbol is sent out
Above-mentioned terminal is given, to be judged by above-mentioned terminal.Sliding trace conversion on the above-mentioned touch panel by second terminal
It can also be executed by second terminal for the operation of the second symbol.Sliding trace on its touch panel is converted to second by second terminal
After symbol, then the second symbol is sent to above-mentioned terminal.After terminal gets the first symbol and the second symbol, then it can determine whether
Whether above-mentioned first symbol and the second symbol meet preset condition, that is, establish the triggering item that first terminal is connect with second terminal
Part.
In some possible embodiments, above-mentioned first symbol or the second symbol can include: straightway, broken line, song
Line segment, number or letter etc., above-mentioned symbol are only citings, and exhaustive, including but not limited to above-mentioned symbol.It is corresponding, on
State and establish the trigger condition that first terminal is connect with second terminal, specifically can include: the first symbol and the second symbol whether one
It causes, or whether matches.For example, whether the corresponding number of the first symbol number corresponding with the second symbol is the same number,
Or first corresponding with the second symbol letter of the corresponding letter of symbol whether form specified word etc..Terminal acquires first
After symbol and the second symbol, if judgement learns that the first symbol and the second symbol meet preset condition, first terminal can trigger
Connection is established with second terminal.
The corresponding connection password of first signal is sent to the second terminal, indicates the second terminal by S203
Connection is established with the first terminal.
It in some possible embodiments, can be directly to when terminal establishes the connection of first terminal and second terminal
One terminal sends link order, and instruction first terminal establishes the connection with second terminal, or directly sends and connect to second terminal
Instruction is connect, instruction second terminal establishes the connection with first terminal.Further, in embodiments of the present invention, terminal can also be pre-
First setting first terminal and second terminal establish the connection password of connection, and above-mentioned connection password can be the connection of above-mentioned terminal profile
Password, for connecting the designated pin of first terminal and second terminal, i.e. the corresponding connection password of the changing value of the first signal with
And the corresponding connection password of changing value of second signal is the designated pin.Terminal determines above-mentioned first signal and second signal
It, then can be by the corresponding connection password of above-mentioned first signal after meeting preset condition (such as the first signal is consistent with second signal)
It is sent to second terminal, instruction second terminal establishes the connection with first terminal by above-mentioned connection password.In the specific implementation, the
One terminal can also sets itself and other terminals establish the connection password of connection, and connection password it is corresponding with the first signal or
For unique designated pin.Wherein, above-mentioned first signal and the corresponding relationship of connection password may include one-to-one correspondence or multipair
One, that is, the value range that first signal can correspond to a connection password or first signal (includes multiple the
One signal) correspond to connection password etc..Terminal determines the first signal and after second signal meets preset condition, then can be to the
One terminal sends link order, indicates that the corresponding connection password of the first signal is sent to second terminal by first terminal, and indicate
Second terminal establishes the connection with first terminal by above-mentioned connection password.
In some possible embodiments, terminal described in the embodiment of the present invention establishes first terminal and second eventually
When the connection at end, connection password can also be set and be sent to first terminal, instruction first terminal is built by above-mentioned connection password
The vertical connection with second terminal.In the specific implementation, second terminal can also the connection of establishing connection of sets itself and other terminals it is close
Code, above-mentioned connection password can also be unique designated pin, or connection password corresponding with second signal.Wherein, above-mentioned second
Signal and the corresponding relationship of connection password may also comprise one-to-one correspondence or many-one, that is, the corresponding company of a second signal
Connect the corresponding connection password of value range (including multiple second signals) of password or a second signal.Terminal determines
After first signal and second signal meet preset condition, then link order can be sent to second terminal, instruction second terminal will
The corresponding connection password of second signal is sent to first terminal, and indicates that first terminal is established and second by above-mentioned connection password
The connection of terminal.
In some possible embodiments, the connection of first terminal described in the embodiment of the present invention and second terminal
Can include: bluetooth, Wireless Fidelity (WirelessFidelity, WiFi) and near field communication (NFC) (Near Field
Communication, NFC) etc. communication networks connection.Above-mentioned connection is only citing, and non exhaustive, including but not limited to above-mentioned
Connection.
In embodiments of the present invention, the first letter that terminal can be inputted from the touch panel that first terminal obtains first terminal
Number, the second signal inputted from the touch panel that second terminal obtains second terminal, and can determine whether the first signal and second
Whether whether signal consistent or match, when the first signal and the second signal meet preset condition, by first terminal or
Person's second terminal sends link order or connection password, establishes the connection of first terminal and second terminal, realizes conveniently, fastly
Prompt terminal connection, improves the user experience of terminal.
It is the schematic structural diagram of the first embodiment of terminal provided in an embodiment of the present invention referring to Fig. 3.It is retouched in the present embodiment
The terminal stated, comprising:
Acquiring unit 10, the first signal inputted on the touch panel of first terminal for obtaining first terminal user,
And the second signal that second terminal user inputs on the touch panel of second terminal.
Judging unit 20, for judging whether are first signal that the acquiring unit is got and the second signal
Meet preset condition.
Connection unit 30, for establishing the first terminal and described the when the judging unit judging result, which is, is
The connection of two terminals.
In some possible embodiments, terminal described in the embodiment of the present invention concretely first terminal or
Some terminal in second terminal, i.e. first terminal or second terminal can also be except first terminal and second terminal
Third terminal, herein with no restrictions.To be with the third terminal (abbreviation terminal) except first terminal or second terminal below
Example, is specifically described terminal provided in an embodiment of the present invention.
In some possible embodiments, terminal is established before the connection of first terminal and second terminal, can be led to first
It crosses acquiring unit 10 and obtains the first signal that first terminal user inputs on the touch panel of first terminal from first terminal, and
The second signal that second terminal user inputs on the touch panel of second terminal is obtained from second terminal.Wherein, above-mentioned first
The touch panel of terminal or second terminal includes: touch screen or touch screen, herein with no restrictions.That is, terminal establishes first
When the connection of terminal and second terminal, acquiring unit 10 can the touch panel to first terminal and second terminal touch panel into
Row monitoring, whether have signal input, when upper if detecting on the touch panel of above-mentioned first terminal or the touch panel of second terminal
It states on touch panel when having signal input, then can obtain above-mentioned first signal or second signal, to pass through judging unit 20
Judge whether that triggering first terminal and second terminal establishes connection according to above-mentioned first signal or second signal.
In some possible embodiments, judging unit 20, which can be preset, establishes the pre- of first terminal and second terminal
If condition, above-mentioned preset condition can need the condition that meet for above-mentioned the first signal and the second signal, such as the first signal and the
Whether whether binary signal is consistent or match.In the specific implementation, acquiring unit 10 is got on the touch panel of first terminal
The first signal and second terminal touch panel on second signal after, judging unit 20 then can determine whether above-mentioned first
Whether signal and second signal meet preset condition.When judging unit 20 judge above-mentioned the first signal and the second signal meet it is pre-
If when condition, then the connection of first terminal and second terminal can be established by connection unit 30.Specifically, connection unit 30 can be straight
It connects to first terminal and sends link order, instruction first terminal establishes the connection with second terminal, or directly to second terminal
Link order is sent, instruction second terminal establishes the connection with first terminal.
In embodiments of the present invention, terminal can obtain the touch surface of first terminal by acquiring unit from first terminal first
The first signal on plate, the second signal from the touch panel that second terminal obtains second terminal, and then pass through judging unit
Judge whether the first signal and the second signal meet preset condition, when the first signal and the second signal meet preset condition, even
Order member can then establish the connection of first terminal and second terminal, realize easily and efficiently terminal connection, improve terminal
User experience.
It referring to fig. 4, is the schematic structural diagram of the second embodiment of terminal provided in an embodiment of the present invention.It is retouched in the present embodiment
The terminal stated, comprising:
Acquiring unit 10, the first signal inputted on the touch panel of first terminal for obtaining first terminal user,
And the second signal that second terminal user inputs on the touch panel of second terminal.
Judging unit 40, for judging whether are first signal that the acquiring unit is got and the second signal
Meet preset condition.
Connection unit 50, for establishing the first terminal and described the when the judging unit judging result, which is, is
The connection of two terminals.
In some possible embodiments, above-mentioned judging unit 40 is specifically used for:
Judge whether first signal and the second signal are consistent.
In some possible embodiments, above-mentioned judging unit 40 is specifically used for:
Sliding trace on the touch panel of the first terminal is converted into the first symbol, and by the second terminal
Sliding trace on touch panel is converted to the second symbol, and it is default to judge whether first symbol meets with second symbol
Condition.
In some possible embodiments, above-mentioned connection unit 50 is specifically used for:
The corresponding connection password of first signal is sent to the second terminal, indicate the second terminal with it is described
First terminal establishes connection.
In some possible embodiments, above-mentioned connection unit 50 is specifically used for:
The corresponding connection password of the second signal is sent to the first terminal, indicate the first terminal with it is described
Second terminal establishes connection.
In some possible embodiments, the executable present invention of acquiring unit 10 described in the embodiment of the present invention is real
The implementation of the acquiring unit in the first embodiment of the terminal connection terminal of example offer is applied, acquiring unit 10 obtains the first letter
Number and the specific implementation process of second signal can be found in the acquisition list in the first embodiment of terminal provided in an embodiment of the present invention
The implementation of member 10, details are not described herein.
Further, the first signal described in the embodiment of the present invention can include: interacted with first terminal
Sliding trace etc. on the distance value of the touch panel of one target object and first terminal or the touch panel of first terminal.
Wherein, above-mentioned first target object may include the limbs of first terminal user, such as first terminal user for operating first eventually
The finger of the touch panel at the end object that perhaps palm etc. or first terminal user are used to interact with first terminal, example
The pen that such as first terminal user is used to operate the touch panel of first terminal.Second signal described in the embodiment of the present invention
Can include: the distance value or second of the second target object interacted with second terminal and the touch panel of second terminal
Sliding trace etc. on the touch panel of terminal.Wherein, above-mentioned second target object may include the limbs of second terminal user, example
Such as second terminal user be used to operate the touch panel finger of second terminal perhaps palm or second terminal user be used for
The object that second terminal interacts, such as second terminal user are used to operate the pen etc. of the touch panel of second terminal.
In some possible embodiments, the executable present invention of judging unit 40 described in the embodiment of the present invention is implemented
The specific implementation of judging unit 20 in the first embodiment for the terminal that example provides further can also carry out following realities
Existing mode.
In some possible embodiments, when the touch panel that the first signal is first target object and first terminal
Distance value, when second signal is the distance value of the touch panel of the second target object and second terminal, if judging unit 40 is default
Establish first terminal and the preset condition of the connection of second terminal be that the first signal is consistent with second signal, judging unit 40 is then
Can determine whether the distance value of the touch panel of above-mentioned first target object and first terminal is whole with the second target object and second
The distance value of the touch panel at end is consistent, if the determination result is YES, then can trigger connection unit 50 and establishes first terminal and second
The connection of terminal.For example, first terminal user can place a finger on the top of the touch panel of first terminal, first terminal can lead to
Cross the equipment such as the range sensor built in it and detect the finger of first terminal user, and obtain the finger of first terminal user with
The distance value A (such as 1cm) of the touch panel of first terminal, and then above-mentioned distance value A can be sent to above-mentioned acquiring unit 10.
When second terminal user places a finger on the top of the touch panel of second terminal, second terminal can also by it away from
From the finger that the equipment such as sensor detect second terminal user, and obtain the finger of second terminal user and the touching of second terminal
The distance value B (such as 1cm) of panel is controlled, and then above-mentioned distance value B can be sent to above-mentioned acquiring unit 10.Acquiring unit 10 obtains
It, then can be by the judgement of judging unit 40 after the distance value B that the distance value A and second terminal for getting first terminal transmission are sent
It whether consistent with distance value B states distance value A, if the determination result is YES, then can trigger connection unit 70 and establish first terminal and the
The connection of two terminals.
In some possible embodiments, first terminal user and second terminal user can be respectively in the touchings of first terminal
It is slided on control panel and on the touch panel of second terminal, triggers first terminal and second by drawing corresponding sliding trace
Terminal establishes connection.Sliding trace on the touch panel that above-mentioned first signal is first terminal, above-mentioned second signal are the
When sliding trace on the touch panel of two terminals, judging unit 40 then can be according to preset transformation rule by above-mentioned acquiring unit
Sliding trace on the touch panel of 10 first terminals got is converted to corresponding symbol (i.e. the first symbol), and will acquire
Sliding trace on the touch panel for the second terminal that unit 10 is got is converted to the second symbol.In the specific implementation, above-mentioned will
The operation that sliding trace on the touch panel of first terminal is converted to the first symbol can also be executed by first terminal.First terminal
After sliding trace is converted to the first symbol, the first symbol is sent to above-mentioned judging unit 40, to pass through above-mentioned judgement list
Member 40 is judged.The operation that sliding trace on the above-mentioned touch panel by second terminal is converted to the second symbol can also be by
Two terminals execute.After sliding trace on its touch panel is converted to the second symbol by second terminal, then the second symbol is sent out
Give above-mentioned judging unit 40.After judging unit 40 gets the first symbol and the second symbol, then it can determine whether above-mentioned first symbol
Number and the second symbol whether meet preset condition, that is, establish the trigger condition that first terminal is connect with second terminal.
In some possible embodiments, above-mentioned first symbol or the second symbol can include: straightway, broken line, song
Line segment, number or letter etc., above-mentioned symbol are only citings, and exhaustive, including but not limited to above-mentioned symbol.It is corresponding, on
State and establish the trigger condition that first terminal is connect with second terminal, specifically can include: the first symbol and the second symbol whether one
It causes, or whether matches.For example, whether the corresponding number of the first symbol number corresponding with the second symbol is the same number,
Or first corresponding with the second symbol letter of the corresponding letter of symbol whether form specified word etc..Judging unit 40 obtains
To after the first symbol and the second symbol, if judgement learns that the first symbol and the second symbol meet preset condition, the company of can trigger
Order member 50 establishes the connection of first terminal and second terminal.
In the specific implementation, embodiments of the present invention offer can be performed in connection unit 50 described in the embodiment of the present invention
Terminal first embodiment in the implementation of connection unit 30 further can also carry out following implementations.
It in some possible embodiments, can be straight when connection unit 50 establishes the connection of first terminal and second terminal
It connects to first terminal and sends link order, instruction first terminal establishes the connection with second terminal, or directly to second terminal
Link order is sent, instruction second terminal establishes the connection with first terminal.Further, in embodiments of the present invention, it connects
Unit 50 can also preset first terminal and second terminal establishes the connection password of connection, and above-mentioned connection password can be for for even
Connect the designated pin of first terminal and second terminal, the i.e. corresponding connection password of the first signal and the corresponding connection of second signal
Password is the designated pin.Judging unit 40 determines that above-mentioned first signal and second signal meet preset condition (such as first
Signal is consistent with second signal) after, the corresponding connection password of above-mentioned first signal can be then sent to second by connection unit 50
Terminal, instruction second terminal establish the connection with first terminal by above-mentioned connection password.In the specific implementation, first terminal can also
Sets itself and other terminals establish the connection password of connection, and connection password is corresponding with the first signal or is unique specified
Password.Wherein, above-mentioned first signal and the corresponding relationship of connection password may include corresponding or many-one, that is, one the
One signal can correspond to the value range (including multiple first signals) corresponding one of a connection password or first signal
A connection password etc..After judging unit 40 determines that the first signal and second signal meet preset condition, connection unit 50 then may be used
Link order is sent to first terminal, indicates that the corresponding connection password of the first signal is sent to second terminal by first terminal, and
Indicate that second terminal establishes the connection with first terminal by above-mentioned connection password.
In some possible embodiments, connection unit 50 described in the embodiment of the present invention establish first terminal with
When the connection of second terminal, connection password can also be set and be sent to first terminal, instruction first terminal passes through above-mentioned connection
Password establishes the connection with second terminal.In the specific implementation, second terminal can also sets itself and other terminals establish connection
Connection password, above-mentioned connection password can also be unique designated pin, or connection password corresponding with second signal.Wherein, on
The corresponding relationship for stating second signal and connection password may also comprise one-to-one correspondence or many-one, that is, a second signal is corresponding
The value range (including multiple second signals) of one connection password or a second signal corresponds to a connection password.Sentence
After disconnected unit 40 determines that the first signal and second signal meet preset condition, connection unit 50 can then be sent to second terminal to be connected
Instruction is connect, indicates that the corresponding connection password of second signal is sent to first terminal by second terminal, and indicate that first terminal passes through
Above-mentioned connection password establishes the connection with second terminal.
In some possible embodiments, the connection of first terminal described in the embodiment of the present invention and second terminal
Can include: the connection of the communication networks such as bluetooth, WiFi and NFC.Above-mentioned connection is only citing, and non exhaustive, includes but unlimited
In above-mentioned connection.
In embodiments of the present invention, the first letter that terminal can be inputted from the touch panel that first terminal obtains first terminal
Number, the second signal inputted from the touch panel that second terminal obtains second terminal, and can determine whether the first signal and second
Whether whether signal consistent or match, when the first signal and the second signal meet preset condition, by first terminal or
Person's second terminal sends link order or connection password, establishes the connection of first terminal and second terminal, realizes conveniently, fastly
Prompt terminal connection, improves the user experience of terminal.
It is a kind of example structure schematic diagram of device provided in an embodiment of the present invention referring to Fig. 5.It is retouched in the present embodiment
The device stated, comprising: memory 1000, input equipment 2000, such as Trackpad, processor 3000 and output equipment 4000.
Wherein, memory 1000, input equipment 2000, processor 3000 and output equipment 4000 are connected by bus 5000
It connects.
Above-mentioned output equipment 4000 concretely includes the radio-frequency units such as Wifi, bluetooth or NFC.
Above-mentioned memory 1000 can be high speed RAM memory, can also be non-labile memory (non-volatile
), such as magnetic disk storage memory.Above-mentioned memory is used to store a set of program code for memory 1000, above-mentioned input
Equipment 2000, output equipment 4000 and processor 3000 execute as follows for calling the program code stored in memory 1000
Operation:
The input equipment 2000, first inputted on the touch panel of first terminal for obtaining first terminal user
The second signal that signal and second terminal user input on the touch panel of second terminal.
The processor 3000, for judging that first signal and described second that the input equipment 2000 obtains is believed
Number whether meet preset condition, if first signal and the second signal meet preset condition, establishes the first terminal
With the connection of the second terminal.
In some possible embodiments, above-mentioned processor 3000 is also used to perform the following operations:
Judge whether first signal and the second signal are consistent.
In some possible embodiments, first signal includes: first interacted with the first terminal
The distance value of touch panel or the sliding rail on the touch panel of the first terminal of target object and the first terminal
Mark.The second signal includes: the second target object interacted with the second terminal and the touch-control of the second terminal
Sliding trace on the distance value of panel or the touch panel of the second terminal.The first target object includes described
The object that the limbs of first terminal user or the first terminal user are used to interact with the first terminal.It is described
Second target object includes that the limbs of the second terminal user or the second terminal user are used for and the second terminal
The object interacted.
In some possible embodiments, above-mentioned processor 3000 is also used to perform the following operations:
Sliding trace on the touch panel of the first terminal is converted into the first symbol, and by the second terminal
Sliding trace on touch panel is converted to the second symbol;
Judge whether first symbol and second symbol meet preset condition.
Above-mentioned output equipment 4000 is used to call the program code stored in memory 1000, performs the following operations:
The corresponding connection password of first signal is sent to the second terminal, indicates described by radio-frequency unit
Two terminals and the first terminal establish connection.
Wherein, the connection password is used to indicate the second terminal and connects described first eventually by the connection password
End.
Above-mentioned output equipment 4000 is also used to perform the following operations:
The corresponding connection password of the second signal is sent to the first terminal, indicates described by radio-frequency unit
One terminal connects the second terminal by the connection password.
Above-mentioned processor 3000 is also used to indicate that the first terminal and the second terminal establish connection.
In the specific implementation, device described in the embodiment of the present invention concretely terminal provided in an embodiment of the present invention,
Its realization process can be found in the first embodiment and second embodiment of terminal provided in an embodiment of the present invention.In addition, the present invention is real
Realization side described in the embodiment for the method that terminal connection provided in an embodiment of the present invention can be performed in the device for applying example offer
Formula, for details, reference can be made to described in the first embodiment and second embodiment of the method for terminal provided in an embodiment of the present invention connection
Implementation, details are not described herein.
Module or submodule in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, specific integrated circuit) Lai Shixian.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (5)
1. a kind of method of terminal connection characterized by comprising
Pass through the touch surface of first target object and the first terminal that range sensor detection is interacted with first terminal
The first distance value of plate, and the second target object and the touch panel of the second terminal that are interacted with second terminal
Second distance value;
Judge whether the first distance value and the second distance value are identical;
If the first distance value is identical with the second distance value, the company of the first terminal Yu the second terminal is established
It connects;
Wherein, the connection that the first terminal and the second terminal are established includes: Wireless Fidelity WiFi and near radio
At least one of mechanics of communication NFC connection.
2. the method as described in claim 1, which is characterized in that the first target object includes the first terminal user
The object that limbs or the first terminal user are used to interact with the first terminal;
Second target object include the second terminal user limbs or the second terminal user be used for it is described
The object that second terminal interacts.
3. method according to claim 2, which is characterized in that the company for establishing the first terminal Yu the second terminal
It connects and includes:
The corresponding connection password of the first distance value is sent to the second terminal, indicates the second terminal and described the
One terminal establishes connection;
Wherein, the connection password is used to indicate the second terminal and connects the first terminal by the connection password.
4. method according to claim 2, which is characterized in that the company for establishing the first terminal Yu the second terminal
It connects and includes:
The corresponding connection password of the second distance value is sent to the first terminal, indicates the first terminal and described the
Two terminals establish connection;
Wherein, the connection password is used to indicate the first terminal and connects the second terminal by the connection password.
5. method according to any of claims 1-4, which is characterized in that the first terminal or the second terminal packet
It includes: at least one of mobile phone, tablet computer, palm PC or mobile internet device MID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410416469.3A CN104219786B (en) | 2014-08-21 | 2014-08-21 | A kind of method of terminal connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410416469.3A CN104219786B (en) | 2014-08-21 | 2014-08-21 | A kind of method of terminal connection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104219786A CN104219786A (en) | 2014-12-17 |
CN104219786B true CN104219786B (en) | 2019-05-14 |
Family
ID=52100819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410416469.3A Active CN104219786B (en) | 2014-08-21 | 2014-08-21 | A kind of method of terminal connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104219786B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094732B (en) * | 2015-06-29 | 2018-07-31 | 小米科技有限责任公司 | Screen display method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102629186A (en) * | 2012-03-09 | 2012-08-08 | 南京商数信息技术有限公司 | Method for establishing terminal matching through touch trajectory |
CN103179168A (en) * | 2011-12-26 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and method for sharing data through Bluetooth |
CN103383598A (en) * | 2012-05-04 | 2013-11-06 | 三星电子株式会社 | Terminal and method for controlling the same based on spatial interaction |
CN103455273A (en) * | 2013-01-26 | 2013-12-18 | 曾昭兴 | Electronic equipment communication method and system |
-
2014
- 2014-08-21 CN CN201410416469.3A patent/CN104219786B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179168A (en) * | 2011-12-26 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and method for sharing data through Bluetooth |
CN102629186A (en) * | 2012-03-09 | 2012-08-08 | 南京商数信息技术有限公司 | Method for establishing terminal matching through touch trajectory |
CN103383598A (en) * | 2012-05-04 | 2013-11-06 | 三星电子株式会社 | Terminal and method for controlling the same based on spatial interaction |
CN103455273A (en) * | 2013-01-26 | 2013-12-18 | 曾昭兴 | Electronic equipment communication method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104219786A (en) | 2014-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109075820B (en) | Bluetooth pairing method, terminal device and readable storage medium | |
KR101478595B1 (en) | Touch-based method and apparatus for sending information | |
US20220222029A1 (en) | Remote gesture control, input monitor, systems including the same, and associated methods | |
US20140013257A1 (en) | Method and Terminal Device for File Processing Based on User Interface | |
TWI631507B (en) | Motion recognition apparatus and control method | |
TWI688866B (en) | Information sharing system and method | |
CN109947650B (en) | Script step processing method, device and system | |
WO2018010021A1 (en) | Pointer control in a handheld computer by way of hid commands | |
CN104808940A (en) | Method and device for transmitting data between terminals | |
CN107728918A (en) | Browse the method, apparatus and electronic equipment of continuous page | |
WO2017032009A1 (en) | Unlock method and mobile terminal | |
CN110084009B (en) | Digital unlocking method and device, storage medium and mobile terminal | |
CN106547435A (en) | Input equipment and its control method | |
CN107179840A (en) | Controller and its control method | |
CN111090529A (en) | Method for sharing information and electronic equipment | |
CN104219786B (en) | A kind of method of terminal connection | |
CN105373715A (en) | Wearable device based data access method and apparatus | |
US20140133840A1 (en) | Method which uses multi-media to configure a multi-media capturing device | |
WO2015051742A1 (en) | Method and device for automatically implementing wireless connection between devices | |
US10637749B2 (en) | Remote machine management | |
CN103533085A (en) | Method and system for remotely controlling computer | |
CN104104729A (en) | General setting method and system for mobile equipment | |
CN104219384B (en) | A kind of terminal | |
CN104360749A (en) | Method and device for inputting information through mobile terminal device | |
CN101304313A (en) | Bluetooth apparatus on-line method and correlated bluetooth apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210426 Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040, 21 floor, Times Technology Building, 7028 Shennan Road, Futian District, Guangdong, Shenzhen Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |