CN104243693A - Terminal - Google Patents
Terminal Download PDFInfo
- Publication number
- CN104243693A CN104243693A CN201410416530.4A CN201410416530A CN104243693A CN 104243693 A CN104243693 A CN 104243693A CN 201410416530 A CN201410416530 A CN 201410416530A CN 104243693 A CN104243693 A CN 104243693A
- Authority
- CN
- China
- Prior art keywords
- terminal
- changing value
- signal
- secondary signal
- 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.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a terminal. The terminal comprises an acquiring unit, a judging unit and a connecting unit, wherein the acquiring unit is used for acquiring the change value, detected by a distance sensor of a first terminal, of a first signal and the change value, detected by a distance sensor of a second terminal, of a second signal in a preset time period, the judging unit is used for judging whether the change value of the first signal and the change value of the second signal acquired by the acquiring unit meet a preset condition, and the connecting unit is used for establishing connection between the first terminal and the second terminal when the judgment result obtained through the judging unit is yes. The terminal has the advantage that terminal connection can be achieved conveniently and quickly.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of terminal.
Background technology
Along with extensively popularizing of the terminals such as smart mobile phone, panel computer and palmtop PC, termination function is also day by day various, and terminal applies becomes increasingly abundant especially.Terminal use by terminal online, see video, listen song, making audio frequency and video, to take pictures or drawing etc., and then other-end user can share more information.At present, communication mode between terminal has multiple, communicate as by modes such as bluetooth, infrared, Wireless Fidelity (Wireless-Fidelity, Wifi) the short distance wireless communication technologies (Near Field Communication, NFC).But terminal will be communicated with other-end by above-mentioned communication mode, then first must set up corresponding network with other-end and connect, network successful connection just can carry out data transmission.
Existing internetwork connection mode mainly side's terminal searching wants the communication network at another terminal place of transfer files with it, then manually input connects the password of this communication network, password authentification by afterwards, then can connect with another terminal, and then can carry out data transmission.Need first to receive rope terminal place network when in prior art, terminal network connects, manually input connects password, and operate more loaded down with trivial details, the password that terminal needs verification terminal user manually to input correctly just can complete the connection of network, and connection speed is slow.
Summary of the invention
The embodiment of the present invention provides a kind of terminal, and the changing value triggering terminal of the signal that can detect according to range sensor connects, and realizes terminal easily and efficiently and connects.
Embodiments provide a kind of terminal, it can comprise:
Acquiring unit, for obtaining the changing value of the first signal that the range sensor of first terminal in Preset Time detects, and the changing value of secondary signal that the range sensor of the second terminal detects;
Judging unit, for judging whether the changing value of described first signal that described acquiring unit gets and the changing value of described secondary signal meet pre-conditioned;
Linkage unit, for when described judging unit judged result is for being, sets up the connection of described first terminal and described second terminal.
The embodiment of the present invention obtains the changing value of the first signal by the range sensor of first terminal, the changing value of secondary signal is obtained by the range sensor of the second terminal, when the changing value of the first signal and the changing value of secondary signal meet pre-conditioned, triggering first terminal and the second terminal connect, and achieve terminal easily and efficiently and connect.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, 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 first embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides;
Fig. 4 is the 4th embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides
Fig. 5 is the first example structure schematic diagram of the terminal that the embodiment of the present invention provides;
Fig. 6 is the second example structure schematic diagram of the terminal that the embodiment of the present invention provides;
Fig. 7 is an example structure schematic diagram of the device that the embodiment of the present invention provides.
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.
In specific implementation, first terminal described in the embodiment of the present invention or the second terminal can comprise: mobile phone, panel computer, palmtop PC or mobile internet device (Mobile Internet Device, MID) etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Below in conjunction with Fig. 1 to Fig. 6, the method for the terminal connection that the embodiment of the present invention provides and terminal are specifically described.
See Fig. 1, it is the first embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides.The method that terminal described in the present embodiment connects, comprises step:
S101, obtains the changing value of the first signal that the range sensor of first terminal detects in Preset Time, and the changing value of secondary signal that the range sensor of the second terminal detects.
In the execution mode that some are feasible, the method that terminal described in the embodiment of the present invention connects specifically can be performed by the some terminal equipments in first terminal or the second terminal, also can be performed by the third terminal outside first terminal and the second terminal, not limit at this.Below by for the third terminal (abbreviation terminal) outside first terminal or the second terminal, the method for the terminal connection that the embodiment of the present invention provides is specifically described.
In specific implementation, before terminal sets up the connection of first terminal and the second terminal, first the changing value of the first signal that the range sensor of first terminal detects in Preset Time can be obtained, the changing value of the secondary signal that the range sensor obtaining the second terminal in Preset Time detects.Concrete, first terminal detects by its built-in range sensor and carries out with first terminal the interactive signal intensity that mutual object triggers, the change of corresponding signal (i.e. the first signal) is determined in the change of the interactive signal intensity detected by range sensor, and then determine the changing value of the signal in Preset Time (the 1st second with the 2nd second), i.e. the changing value of the first signal.Such as, first terminal obtains the value A of the 1st second corresponding the first signal by its range sensor, then obtains the value B of the 2nd second corresponding the first signal, and then can determine the changing value A-B of the first signal in the 1 second time between the 1st second to the 2nd second.Wherein, above-mentioned A-B represents changing value A and deducts changing value B, and following C-D represents changing value C and deducts changing value D, repeats no more below.Same, second terminal detects by its built-in range sensor carries out with the second terminal the interactive signal intensity that mutual object triggers, the change of corresponding signal (i.e. secondary signal) is determined in the change of the interactive signal intensity detected by range sensor, and then determine the changing value of the signal in Preset Time (the 1st second with the 2nd second), i.e. the changing value of secondary signal.Such as, the second terminal obtains the value C of the 1st second corresponding secondary signal by its range sensor, then obtains the value D of the 2nd second corresponding secondary signal, and then can determine the changing value C-D of secondary signal in the 1 second time between the 1st second to the 2nd second.The changing value of the first signal that the range sensor that terminal can get first terminal from first terminal detects, the changing value of the secondary signal that the range sensor getting the second terminal from the second terminal detects, then determine whether the connection of setting up first terminal and the second terminal according to the above-mentioned changing value of the first signal and the changing value of secondary signal.
S102, judges whether the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned, if the determination result is YES, then performs step S103.
S103, sets up the connection of described first terminal and described second terminal.
In the execution mode that some are feasible, can preset and set up the pre-conditioned of first terminal and the second terminal, the above-mentioned pre-conditioned condition that can be the changing value of above-mentioned first signal and the changing value demand fulfillment of secondary signal, the such as difference range etc. of the changing value of the first signal and the changing value of secondary signal.In specific implementation, the changing value of the first signal that the range sensor that terminal gets first terminal detects, and second after the range sensor of terminal detects the changing value of secondary signal, then can judge whether the changing value of above-mentioned first signal and the changing value of secondary signal meet pre-conditioned.When the above-mentioned changing value of the first signal and the changing value of secondary signal meet pre-conditioned, then can set up the connection of first terminal and the second terminal.Concrete, terminal can send link order directly to first terminal, and instruction first terminal sets up the connection with the second terminal, or sends link order directly to the second terminal, indicates the second terminal to set up the connection with first terminal.
In embodiments of the present invention, first terminal can obtain the changing value of the first signal in Preset Time from first terminal, the changing value of the secondary signal in the same time is obtained from the second terminal, and then judge whether the changing value of the first signal and the changing value of secondary signal meet pre-conditioned, when the changing value of the first signal and the changing value of secondary signal meet pre-conditioned, set up the connection of first terminal and the second terminal, achieve terminal easily and efficiently and connect, improve the Consumer's Experience of terminal.
See Fig. 2, it is the second embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides.The method that terminal described in the present embodiment connects, comprises step:
S201, obtains the changing value of the first signal that the range sensor of first terminal detects in Preset Time, and the changing value of secondary signal that the range sensor of the second terminal detects.
In the execution mode that some are feasible, the changing value of the first signal in the acquisition Preset Time described in the embodiment of the present invention, and the step S101 in the first embodiment of method of connecting of the specific implementation process of the changing value of the secondary signal terminal that can provide see the embodiment of the present invention, do not repeat them here.
Further, in the execution mode that some are feasible, the changing value of the first signal described in the embodiment of the present invention and the changing value of secondary signal can specifically correspond to distance changing value.In specific implementation, first terminal can preset the changing value of signal and the corresponding relation (i.e. the first corresponding relation) of distance changing value, and above-mentioned first corresponding relation is stored in assigned address, wherein, what the changing value of above-mentioned signal specifically can be that the range sensor of first terminal detects carries out the changing value of the interactive signal intensity that mutual first object object triggers with first terminal.After first terminal gets the changing value of the first signal by its range sensor, then can according to above-mentioned first corresponding relation, determine the distance changing value that the changing value of above-mentioned first signal is corresponding, and then above-mentioned distance changing value can be sent to the terminal of the foundation for setting up first terminal and the second terminal, whether meet the pre-conditioned of the connection of foundation and the second terminal by above-mentioned terminal judges above-mentioned distance changing value.
In specific implementation, first terminal detects by its built-in range sensor and carries out with first terminal the interactive signal intensity that mutual first object object triggers, the change of the distance (this distance is then the first signal) of first object object and first terminal is determined in the change of the interactive signal intensity detected by range sensor, to determine the distance changing value of first object object in Preset Time (the 1st second with the 2nd second) and first terminal.Wherein, above-mentioned first object object can be and carries out the second mutual terminal or other objects with first terminal, does not limit at this.Such as, first terminal obtains the first object object of the 1st second correspondence and the interactive signal intensity A of first terminal by its range sensor, obtain the first object object of the 2nd second correspondence and the interactive signal intensity B of first terminal again, and then the changing value A-B (i.e. the changing value of the first signal) of interactive signal intensity in the 1 second time between the 1st second to the 2nd second can be determined.After first terminal gets the changing value A-B of above-mentioned interactive signal intensity, then according to above-mentioned first corresponding relation, the distance changing value (i.e. the first distance changing value) that the changing value A-B of above-mentioned interactive signal intensity is corresponding can be determined.After first terminal gets above-mentioned first distance changing value, then can send to terminal (namely above-mentioned first distance changing value, set up the executive agent of the connection of first terminal and the second terminal), after terminal gets the first distance changing value, then the second distance changing value that can send according to the second terminal determines whether the connection of setting up first terminal and the second terminal.In specific implementation, above-mentioned first corresponding relation also can be sent to above-mentioned terminal by above-mentioned first terminal, and the changing value A-B of the interactive signal intensity got by its range sensor sends to above-mentioned terminal, terminal can determine the first distance changing value according to the changing value A-B of above-mentioned interactive signal intensity and above-mentioned first corresponding relation.
In the execution mode that some are feasible, second terminal also can preset the changing value of signal and the corresponding relation (i.e. the second corresponding relation) of distance changing value, and above-mentioned second corresponding relation is stored in assigned address, wherein, what the changing value of above-mentioned signal specifically can be that the range sensor of the second terminal detects carries out the changing value of the interactive signal intensity that the second mutual target object triggers with the second terminal.In specific implementation, above-mentioned first corresponding relation and the second corresponding relation specifically can exist in table form, and above-mentioned first corresponding relation and the second corresponding relation can be same form, namely above-mentioned first corresponding relation and the second corresponding relation can be same corresponding relation, the distance changing value that the changing value of the interactive signal intensity that terminal can get according to above-mentioned corresponding relation determination first terminal is corresponding, also can determine according to above-mentioned corresponding relation the distance changing value that the changing value of the interactive signal intensity that the second terminal gets is corresponding.In addition, above-mentioned first corresponding relation also can be different corresponding relations from the second corresponding relation, namely the first corresponding relation may correspond to the determination mode in the first distance changing value, second corresponding relation may correspond to the determination mode in second distance changing value, and the first corresponding relation and the second corresponding relation can be stored in designated storage location corresponding to first terminal and designated storage location corresponding to the second terminal respectively.The concrete manifestation form of corresponding first corresponding relation of the embodiment of the present invention and the second corresponding relation and whether be that same corresponding relation does not limit.
In specific implementation, second terminal also detects by its built-in range sensor carries out with the second terminal the interactive signal intensity that the second mutual target object triggers, the change of the distance (this distance is then secondary signal) of the second target object and the second terminal is determined in the change of the interactive signal intensity detected by range sensor, and then determine the distance changing value of the second target object in Preset Time (the 1st second with the 2nd second) and the second terminal, i.e. the changing value of secondary signal.Wherein, above-mentioned second target object can be and carries out mutual first terminal or other objects with the second terminal, does not limit at this.Such as, second terminal obtains the second target object of the 1st second correspondence and the interactive signal intensity C of the second terminal by its range sensor, obtain the second target object of the 2nd second correspondence and the interactive signal intensity D of the second terminal again, and then the changing value C-D (i.e. second distance changing value) of interactive signal intensity in the 1 second time between the 1st second to the 2nd second can be determined.After second terminal gets the changing value C-D of above-mentioned interactive signal intensity, then according to above-mentioned second corresponding relation, the second distance changing value that the changing value C-D of above-mentioned interactive signal intensity is corresponding can be determined.After second terminal gets above-mentioned second distance changing value, then (namely above-mentioned second distance changing value can be sent to above-mentioned terminal, set up the executive agent of the connection of first terminal and the second terminal), the connection of first terminal and the second terminal whether is set up for above-mentioned terminal judges.
S202, judges that the difference of the changing value of described first signal and the changing value of described secondary signal is whether in the difference range preset, and if the determination result is YES, then performs step S203.
In the execution mode that some are feasible, can preset and set up the pre-conditioned of first terminal and the second terminal, the above-mentioned pre-conditioned condition that can be the changing value of above-mentioned first signal and the changing value demand fulfillment of secondary signal, concrete, the difference range of the changing value of the first signal and the changing value of secondary signal, the such as difference range etc. of the first distance changing value and second distance changing value.The changing value of the first signal that the range sensor that terminal gets first terminal detects, and second after the range sensor of terminal detects the changing value of secondary signal, then can judge whether the changing value of above-mentioned first signal and the changing value of secondary signal meet pre-conditioned.When the above-mentioned changing value of the first signal and the changing value of secondary signal meet pre-conditioned, then can set up the connection of first terminal and the second terminal.Such as, the changing value of the interactive signal intensity that terminal gets according to the range sensor of first terminal and above-mentioned first corresponding relation determine the first distance changing value, and after the changing value of the interactive signal intensity got according to the range sensor of the second terminal and above-mentioned second corresponding relation determine second distance changing value, then can judge that the difference of above-mentioned first distance changing value and second distance changing value is whether in default difference range.If the difference of above-mentioned first distance changing value and second distance changing value is in the difference range preset, then can judge to learn that above-mentioned first distance changing value and second distance changing value meet the requirement of the connection of setting up first terminal and the second terminal, and then the connection of first terminal and the second terminal can be set up.
S203, sets up the connection of described first terminal and described second terminal.
In specific implementation, when terminal sets up the connection of first terminal and the second terminal, can send link order directly to first terminal, instruction first terminal sets up the connection with the second terminal, or send link order directly to the second terminal, indicate the second terminal to set up the connection with first terminal.Further, also can preset the connection password that first terminal and the second terminal connect, above-mentioned connection password can be the connection password of above-mentioned terminal profile, for connecting the designated pin of first terminal and the second terminal, the connection password that namely changing value of the first signal is corresponding and connection password corresponding to the changing value of secondary signal are this designated pin.Terminal determine the above-mentioned changing value of the first signal and the changing value of secondary signal meet pre-conditioned after, then above-mentioned connection password can be sent to first terminal, instruction first terminal is set up by above-mentioned connection password and the connection of the second terminal.Or above-mentioned connection password can be sent to the second terminal by terminal, the second terminal is indicated to set up the connection with first terminal by above-mentioned connection password.In specific implementation, first terminal also can the connection password that connects of sets itself and other-end, and it is corresponding with the changing value of the first signal or be unique designated pin to connect password.Wherein, the changing value of above-mentioned first signal can comprise one_to_one corresponding with the corresponding relation being connected password, or many-one, namely, the changing value of first signal may correspond to one and connects password, or corresponding one of the scope of the changing value of first signal (namely comprising the changing value of multiple first signal) connects password etc.Terminal determine the changing value of the first signal and the changing value of secondary signal meet pre-conditioned after, then can send link order to first terminal, connection password corresponding for the changing value of the first signal is sent to the second terminal by instruction first terminal, and indicates the second terminal to set up the connection with first terminal by above-mentioned connection password.Same, the second terminal also can the connection password that connects of sets itself and other-end, and above-mentioned connection password also can be unique designated pin, or the connection password corresponding with the changing value of secondary signal.Wherein, the changing value of above-mentioned secondary signal also can comprise one_to_one corresponding or many-one with the corresponding relation being connected password, that is, corresponding one of the changing value of a secondary signal connects password, or corresponding one of the scope of the changing value of a signal connects password.Terminal determine the changing value of the first signal and the changing value of secondary signal meet pre-conditioned after, then can send link order to the second terminal, indicate the second terminal that connection password corresponding for the changing value of secondary signal is sent to first terminal, and indicate first terminal to set up the connection with the second terminal by above-mentioned connection password.
In the execution mode that some are feasible, the connection of the first terminal described in the embodiment of the present invention and the second terminal can comprise: bluetooth, Wireless Fidelity (WirelessFidelity, WiFi), and the connection of the communication network such as near field communication (NFC) (Near Field Communication, NFC).Above-mentioned connection is only citing, and non exhaustive, including but not limited to above-mentioned connection.
In embodiments of the present invention, terminal can obtain from first terminal the interactive signal intensity that the range sensor of first terminal in Preset Time gets, the first distance changing value is determined according to interactive signal intensity and the first default corresponding relation, and the interactive signal intensity that can get according to the range sensor of the second terminal and the second corresponding relation determination second distance changing value preset, and then judge whether the first distance changing value and second distance changing value meet pre-conditioned, when the changing value of the first signal and the changing value of secondary signal meet pre-conditioned, by sending link order to first terminal or the second terminal or connecting password, set up the connection of first terminal and the second terminal, achieve conveniently, terminal connects efficiently, improve the Consumer's Experience of terminal.
See Fig. 3, it is the 3rd embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides.The method that terminal described in the present embodiment connects, comprises step:
S301, obtains the changing value of the first signal that the range sensor of first terminal detects in Preset Time, and the changing value of secondary signal that the range sensor of the second terminal detects.
In specific implementation, step S101 in first embodiment of the method that the terminal that the changing value of the first signal in the acquisition Preset Time described in the embodiment of the present invention and the specific implementation process of the changing value of secondary signal can provide see the embodiment of the present invention connects or the step S201 in the second embodiment, does not repeat them here.
S302, determines the variation pattern of described first signal, and determines the variation pattern of described secondary signal according to the changing value of described secondary signal according to the changing value of described first signal.
S303, judges that whether the variation pattern of described first signal is identical with the variation pattern of described secondary signal, if the determination result is YES, then performs step S304.
In the execution mode that some are feasible, after terminal gets the changing value of the first signal and the changing value of secondary signal, also can determine the variation pattern of the first signal or the variation pattern of secondary signal according to the above-mentioned changing value of the first signal or the changing value of secondary signal.Wherein, the variation pattern of above-mentioned first signal can comprise change large (or grow), or diminish (or dying down) etc.Such as, the changing value of the first signal obtained when terminal is the difference A-B of interactive signal intensity A and interactive signal intensity B, wherein, interactive signal intensity A is greater than interactive signal intensity B, then can determine that the changing value A-B of interactive signal intensity is negative value, and then can judge to learn that the variation pattern of the first signal is as dying down.Concrete, if interactive signal intensity corresponds to distance, such as, when interactive signal intensity A corresponds to distance 1, interactive signal intensity B corresponds to distance 2, and interactive signal intensity A be greater than interactive signal intensity B correspond to distance 1 be less than distance 2, namely in the 1st second, the distance of first object object and first terminal is less, in 2nd second, the distance of first object object and first terminal is larger, then can determine that the variation pattern of the first signal is that distance becomes large according to the difference A-B of interactive signal intensity A and interactive signal intensity B, and then can determine that first object object is away from first terminal etc.
In the execution mode that some are feasible, terminal also can according to the variation pattern of the changing value determination secondary signal of secondary signal, and specific implementation can see the implementation of the variation pattern of the above-mentioned changing value determination secondary signal according to the first signal.After terminal judges learns the variation pattern of the first signal and the variation pattern of secondary signal, then can judge that whether the variation pattern of above-mentioned first signal is identical with the variation pattern of secondary signal.When first object object is when away from first terminal, the second target object, whether also away from the second terminal, if so, then can judge that the variation pattern of the first signal is identical with the variation pattern of secondary signal.In specific implementation, if first object object is the second terminal, the second target object is first terminal, then when the variation pattern of the first signal is identical with the variation pattern of secondary signal, then can judge to learn first terminal and the second terminal mutual away from.When set up first terminal and the second terminal connection pre-conditioned for first terminal and the second terminal mutually away from time, then can set up the connection of first terminal and the second terminal.
S304, sets up the connection of described first terminal and described second terminal.
In specific implementation, the step S203 in the second embodiment that the terminal that the specific implementation process setting up the connection of first terminal and the second terminal described in the embodiment of the present invention can provide see the embodiment of the present invention connects, does not repeat them here.
In embodiments of the present invention, terminal can obtain from first terminal the interactive signal intensity that the range sensor of first terminal in Preset Time gets, the first distance changing value is determined according to interactive signal intensity and the first default corresponding relation, and the interactive signal intensity that can get according to the range sensor of the second terminal and the second corresponding relation determination second distance changing value preset, and then judge that whether the variation pattern of the secondary signal that the variation pattern of the first signal that the first distance changing value is corresponding is corresponding with second distance changing value is identical, when the variation pattern of the first signal is identical with the variation pattern of secondary signal, by sending link order to first terminal or the second terminal or connecting password, set up the connection of first terminal and the second terminal, achieve conveniently, terminal connects efficiently, improve the Consumer's Experience of terminal.
See Fig. 4, it is the 4th embodiment schematic flow sheet of the method for the terminal connection that the embodiment of the present invention provides.The method that terminal described in the present embodiment connects, comprises step:
S401, obtains the changing value of the first signal that the range sensor of first terminal detects in Preset Time, and the changing value of secondary signal that the range sensor of the second terminal detects.
In specific implementation, step S101 in first embodiment of the method that the terminal that the changing value of the first signal in the acquisition Preset Time described in the embodiment of the present invention and the specific implementation process of the changing value of secondary signal can provide see the embodiment of the present invention connects or the step S201 in the second embodiment, does not repeat them here.
S402, determines the rate of change of described first signal, and determines the rate of change of described secondary signal according to the changing value of described secondary signal according to the changing value of described first signal.
S403, judges that whether the rate of change of described first signal is identical with the rate of change of described secondary signal, if the determination result is YES, then performs step S404.
In the execution mode that some are feasible, implementation described in the 3rd embodiment that the terminal provided as the above-mentioned embodiment of the present invention connects, terminal can determine the variation pattern of the first signal according to the changing value of the first signal, according to the variation pattern of the changing value determination secondary signal of secondary signal, step S302-S303 in the 3rd embodiment that the terminal that specific implementation process can provide see the embodiment of the present invention connects, does not repeat them here.Further, after the variation pattern of terminal judges first signal, the rate of change of the first signal also can be determined according to the changing value of acquisition first signal and Preset Time (such as between the 1st second and the 2nd second), according to the changing value of secondary signal and the rate of change of above-mentioned Preset Time determination secondary signal, and then can judge that whether the rate of change of the first signal is identical with the rate of change of secondary signal, if so, the connection of first terminal and the second terminal is then set up.Such as, when first terminal and the second terminal mutually away from time, can judge that whether first terminal is identical away from the speed of first terminal with the second terminal away from the speed of first terminal further, if, then when set up first terminal and the second terminal pre-conditioned for first terminal and the second terminal with identical speed mutually away from time, then can set up the connection of first terminal and the second terminal.
S404, sets up the connection of described first terminal and described second terminal.
In specific implementation, the step S203 in the second embodiment that the terminal that the specific implementation process setting up the connection of first terminal and the second terminal described in the embodiment of the present invention can provide see the embodiment of the present invention connects, does not repeat them here.
In embodiments of the present invention, terminal can obtain from first terminal the interactive signal intensity that the range sensor of first terminal in Preset Time gets, the first distance changing value is determined according to interactive signal intensity and the first default corresponding relation, and the interactive signal intensity that can get according to the range sensor of the second terminal and the second corresponding relation determination second distance changing value preset, and then judge that whether the rate of change of the secondary signal that the rate of change of the first signal that the first distance changing value is corresponding is corresponding with second distance changing value is identical, when the rate of change of the first signal is identical with the changing value speed of secondary signal, by sending link order to first terminal or the second terminal or connecting password, set up the connection of first terminal and the second terminal, achieve conveniently, terminal connects efficiently, improve the Consumer's Experience of terminal.
In specific implementation, the terminal that the invention described above embodiment describes connects and connects by the implementation described by the first embodiment to any one embodiment in the 4th embodiment, also connect by the implementation described by above-mentioned first embodiment to the combination in any in the 4th embodiment, do not limit at this.
See Fig. 5, it is the first example structure schematic diagram of the terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising:
Acquiring unit 10, for obtaining the changing value of the first signal that the range sensor of first terminal in Preset Time detects, and the changing value of secondary signal that the range sensor of the second terminal detects.
Judging unit 20, for judging whether the changing value of described first signal that described acquiring unit gets and the changing value of described secondary signal meet pre-conditioned.
Linkage unit 30, for when described judging unit judged result is for being, sets up the connection of described first terminal and described second terminal.
In the execution mode that some are feasible, terminal described in the embodiment of the present invention specifically can be first terminal or the second terminal, namely the some terminal equipments in first terminal or the second terminal, also can be the third terminal outside first terminal and the second terminal, do not limit at this.Below by for the third terminal (abbreviation terminal) outside first terminal or the second terminal, the terminal that the embodiment of the present invention provides is specifically described.
In specific implementation, before terminal sets up the connection of first terminal and the second terminal, first the changing value of the first signal that the range sensor of first terminal in Preset Time detects can be obtained by acquiring unit 10, the changing value of the secondary signal that the range sensor obtaining the second terminal in Preset Time detects.Concrete, first terminal detects by its built-in range sensor and carries out with first terminal the interactive signal intensity that mutual object triggers, the change of corresponding signal (i.e. the first signal) is determined in the change of the interactive signal intensity detected by range sensor, and then determine the changing value of the signal in Preset Time (the 1st second with the 2nd second), i.e. the changing value of the first signal.Such as, first terminal obtains the value A of the 1st second corresponding the first signal by its range sensor, then obtains the value B of the 2nd second corresponding the first signal, and then can determine the changing value A-B of the first signal in the 1 second time between the 1st second to the 2nd second.Wherein, above-mentioned A-B represents changing value A and deducts changing value B, and following C-D represents changing value C and deducts changing value D, repeats no more below.After first terminal obtains the changing value A-B of above-mentioned first signal, then can send to the terminal of the above-mentioned connection for setting up first terminal and the second terminal, above-mentioned terminal obtains the changing value of above-mentioned first signal by acquiring unit 10.Same, second terminal detects by its built-in range sensor carries out with the second terminal the interactive signal intensity that mutual object triggers, the change of corresponding signal (i.e. secondary signal) is determined in the change of the interactive signal intensity detected by range sensor, and then determine the changing value of the signal in Preset Time (the 1st second with the 2nd second), i.e. the changing value of secondary signal.Such as, the second terminal obtains the value C of the 1st second corresponding secondary signal by its range sensor, then obtains the value D of the 2nd second corresponding secondary signal, and then can determine the changing value C-D of secondary signal in the 1 second time between the 1st second to the 2nd second.The changing value of the first signal that the range sensor that the acquiring unit 10 of terminal can get first terminal from first terminal detects, the changing value of the secondary signal that the range sensor getting the second terminal from the second terminal detects, then determine whether the connection of setting up first terminal and the second terminal by judging unit 20 according to the above-mentioned changing value of the first signal and the changing value of secondary signal.
In the execution mode that some are feasible, judging unit 20 can preset sets up the pre-conditioned of first terminal and the second terminal, the above-mentioned pre-conditioned condition that can be the changing value of above-mentioned first signal and the changing value demand fulfillment of secondary signal, the such as difference range etc. of the changing value of the first signal and the changing value of secondary signal.In specific implementation, the changing value of the first signal that the range sensor that the acquiring unit 10 of terminal gets first terminal detects, and second after the range sensor of terminal detects the changing value of secondary signal, then judge whether the changing value of above-mentioned first signal and the changing value of secondary signal meet pre-conditioned by judging unit 20.When judging unit 20 judge the above-mentioned changing value of the first signal and the changing value of secondary signal meet pre-conditioned time, then set up the connection of first terminal and the second terminal by linkage unit 30.Concrete, linkage unit 30 can send link order directly to first terminal, and instruction first terminal sets up the connection with the second terminal, or sends link order directly to the second terminal, indicates the second terminal to set up the connection with first terminal.
In embodiments of the present invention, first terminal can obtain the changing value of the first signal in Preset Time from first terminal by acquiring unit, the changing value of the secondary signal in the same time is obtained from the second terminal, and then judge whether the changing value of the first signal and the changing value of secondary signal meet pre-conditioned by judging unit 20, when the changing value of the first signal and the changing value of secondary signal meet pre-conditioned, linkage unit can set up the connection of first terminal and the second terminal, achieve terminal easily and efficiently to connect, improve the Consumer's Experience of terminal.
See Fig. 6, it is the second example structure schematic diagram of the terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising:
Acquiring unit 10, for obtaining the changing value of the first signal that the range sensor of first terminal in Preset Time detects, and the changing value of secondary signal that the range sensor of the second terminal detects.
Judging unit 60, for judging whether the changing value of described first signal that described acquiring unit gets and the changing value of described secondary signal meet pre-conditioned.
Linkage unit 70, for when described judging unit judged result is for being, sets up the connection of described first terminal and described second terminal.
In the execution mode that some are feasible, above-mentioned judging unit 60, specifically for:
Judge that the difference of the changing value of described first signal and the changing value of described secondary signal is whether in the difference range preset;
If the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned judging unit 60, specifically for:
Determine the variation pattern of described first signal according to the changing value of described first signal, and determine the variation pattern of described secondary signal according to the changing value of described secondary signal;
Judge that whether the variation pattern of described first signal is identical with the variation pattern of described secondary signal, if the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned judging unit 60, specifically for:
Determine the rate of change of described first signal according to the changing value of described first signal, and determine the rate of change of described secondary signal according to the changing value of described secondary signal;
Judge that whether the rate of change of described first signal is identical with the rate of change of described secondary signal, if the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned terminal also comprises:
First determining unit 40, for the changing value according to the signal preset and the first corresponding relation apart from changing value, determine the first distance changing value that the changing value of described first signal is corresponding, described first distance changing value is the changing value of the distance of carrying out mutual first object object and described first terminal with described first terminal.
Second determining unit 50, for the changing value according to the signal preset and the second corresponding relation apart from changing value, determine the second distance changing value that the changing value of described secondary signal is corresponding, described second distance changing value is the changing value of the distance of carrying out the second mutual target object and described second terminal with described second terminal.
In the execution mode that some are feasible, above-mentioned judging unit 60 specifically for:
Judge whether the first distance changing value that described first determining unit is determined and the second distance changing value that described second determining unit is determined meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned linkage unit 70 specifically for:
Connection password corresponding for the changing value of described first signal is sent to described second terminal, indicates described second terminal to set up the connection with described first terminal by described connection password.
Connection password corresponding for the changing value of described secondary signal is sent to described first terminal, indicates described first terminal to set up the connection with described second terminal by described connection password.
In the execution mode that some are feasible, acquiring unit 10 described in the embodiment of the present invention obtains the changing value of the first signal in Preset Time, and the specific implementation of acquiring unit 10 in the specific implementation process of the changing value of secondary signal first embodiment of terminal that can provide see the embodiment of the present invention, do not repeat them here.
Further, in the execution mode that some are feasible, the changing value of the first signal described in the embodiment of the present invention and the changing value of secondary signal can specifically correspond to distance changing value.In specific implementation, terminal presets the changing value of signal and the corresponding relation (i.e. the first corresponding relation) of distance changing value by the first determining unit 40, and above-mentioned first corresponding relation is stored in assigned address, wherein, what the changing value of above-mentioned signal specifically can be that the range sensor of first terminal detects carries out the changing value of the interactive signal intensity that mutual first object object triggers with first terminal.Acquiring unit 10 is from after first terminal gets the changing value of the first signal, first determining unit 40 can according to above-mentioned first corresponding relation, determine the distance changing value that the changing value of the first signal that above-mentioned acquiring unit 10 gets is corresponding, and then judge whether above-mentioned distance changing value meets the pre-conditioned of the connection of foundation and the second terminal by above-mentioned judging unit 60.
In specific implementation, what from first terminal, acquiring unit 10 can get that its built-in range sensor detects carries out with first terminal the interactive signal intensity that mutual first object object triggers, the change of the interactive signal intensity that the first determining unit 40 can get according to acquiring unit 10, in conjunction with the change of distance (this distance is then the first signal) of the first corresponding relation determination first object object preset and first terminal, to determine the distance changing value of first object object in Preset Time (the 1st second with the 2nd second) and first terminal.Wherein, above-mentioned first object object can be and carries out the second mutual terminal or other objects with first terminal, does not limit at this.Such as, the interactive signal intensity A of the first object object that acquiring unit 10 the 1st second of can obtain that its range sensor detects from first terminal is corresponding and first terminal, and the interactive signal intensity B of the 2nd second corresponding first object object and first terminal, the interactive signal intensity that the first determining unit 40 can get according to acquiring unit 10 determines the changing value A-B (i.e. the changing value of the first signal) of interactive signal intensity in the 1 second time between the 1st second to the 2nd second.After first determining unit 40 gets the changing value A-B of above-mentioned interactive signal intensity, then according to above-mentioned first corresponding relation, the distance changing value (i.e. the first distance changing value) that the changing value A-B of above-mentioned interactive signal intensity is corresponding can be determined.First determining unit 40 then determines whether the connection of setting up first terminal and the second terminal by judging unit 60 according to the second distance changing value that the second determining unit 50 is determined after determining the first distance changing value.
In the execution mode that some are feasible, second determining unit 50 can preset the changing value of signal and the corresponding relation (i.e. the second corresponding relation) of distance changing value, and above-mentioned second corresponding relation is stored in assigned address, wherein, what the changing value of above-mentioned signal specifically can be that the range sensor of the second terminal detects carries out the changing value of the interactive signal intensity that the second mutual target object triggers with the second terminal.In specific implementation, above-mentioned first corresponding relation and the second corresponding relation specifically can exist in table form, and above-mentioned first corresponding relation and the second corresponding relation can be same form, namely above-mentioned first corresponding relation and the second corresponding relation can be same corresponding relation, the distance changing value that the changing value of the interactive signal intensity that the first determining unit 40 can get according to above-mentioned corresponding relation determination first terminal is corresponding, second determining unit 50 also can determine according to above-mentioned corresponding relation the distance changing value that the changing value of the interactive signal intensity that the second terminal gets is corresponding.In addition, above-mentioned first corresponding relation also can be different corresponding relations from the second corresponding relation, namely the first corresponding relation may correspond to the determination mode in the first distance changing value, second corresponding relation may correspond to the determination mode in second distance changing value, and the first corresponding relation and the second corresponding relation can be stored in designated storage location corresponding to first terminal and designated storage location corresponding to the second terminal respectively.The concrete manifestation form of corresponding first corresponding relation of the embodiment of the present invention and the second corresponding relation and whether be that same corresponding relation does not limit.
In specific implementation, what from the second terminal, acquiring unit 10 can obtain that its built-in range sensor detects carries out with the second terminal the interactive signal intensity that the second mutual target object triggers, the change of the interactive signal intensity that the second determining unit 50 can get according to acquiring unit 10, the change of the distance (this distance is then secondary signal) of the second target object and the second terminal is determined in conjunction with above-mentioned second corresponding relation, and then determine the distance changing value of the second target object in Preset Time (the 1st second with the 2nd second) and the second terminal, the i.e. changing value of secondary signal.Wherein, above-mentioned second target object can be and carries out mutual first terminal or other objects with the second terminal, does not limit at this.Such as, the interactive signal intensity C of the second target object that acquiring unit 10 the 1st second of can obtain that its range sensor gets from the second terminal is corresponding and the second terminal, and the interactive signal intensity D of the 2nd second corresponding the second target object and the second terminal, and then the changing value C-D (i.e. second distance changing value) of interactive signal intensity in the 1 second time between the 1st second to the 2nd second can be determined.After second determining unit 50 determines the changing value C-D of above-mentioned interactive signal intensity, then according to above-mentioned second corresponding relation, the second distance changing value that the changing value C-D of above-mentioned interactive signal intensity is corresponding can be determined.After second determining unit 50 determines above-mentioned second distance changing value, then judge whether the connection of setting up first terminal and the second terminal by judging unit 60.
In the execution mode that some are feasible, judging unit 60 described in the embodiment of the present invention can perform the specific implementation performed by judging unit 20 in the first embodiment of the terminal that the invention described above embodiment provides, concrete, also can perform the implementation of any one in following three kinds of implementations or combination multinomial arbitrarily.
In the execution mode that some are feasible, judging unit 60 can preset sets up the pre-conditioned of first terminal and the second terminal, the above-mentioned pre-conditioned condition that can be the changing value of above-mentioned first signal and the changing value demand fulfillment of secondary signal, concrete, the difference range of the changing value of the first signal and the changing value of secondary signal, the such as difference range etc. of the first distance changing value and second distance changing value.The changing value of the first signal that the range sensor that acquiring unit 10 gets first terminal detects, and second after the range sensor of terminal detects the changing value of secondary signal, judging unit 60 can judge whether the changing value of above-mentioned first signal and the changing value of secondary signal meet pre-conditioned.When judging unit 60 judge the above-mentioned changing value of the first signal and the changing value of secondary signal meet pre-conditioned time, then set up the connection of first terminal and the second terminal by linkage unit 70.Such as, the changing value of the interactive signal intensity that the first determining unit 40 gets according to the range sensor of first terminal and above-mentioned first corresponding relation determine the first distance changing value, after the changing value of the interactive signal intensity that the second determining unit 50 gets according to the range sensor of the second terminal and above-mentioned second corresponding relation determine second distance changing value, judging unit 60 can judge that the difference of above-mentioned first distance changing value and second distance changing value is whether in default difference range.If judging unit 60 judge the difference of above-mentioned first distance changing value and second distance changing value in default difference range, then can judge to learn that above-mentioned first distance changing value and second distance changing value meet the requirement of the connection of setting up first terminal and the second terminal, and then set up the connection of first terminal and the second terminal by linkage unit 70.
In the execution mode that some are feasible, after acquiring unit 10 gets the changing value of the first signal and the changing value of secondary signal, judging unit 60 also can determine the variation pattern of the first signal or the variation pattern of secondary signal according to the above-mentioned changing value of the first signal or the changing value of secondary signal.Wherein, the variation pattern of above-mentioned first signal can comprise change large (or grow), or diminish (or dying down) etc.Such as, the changing value of the first signal obtained when acquiring unit 10 is the difference A-B of interactive signal intensity A and interactive signal intensity B, wherein, interactive signal intensity A is greater than interactive signal intensity B, judging unit 60 can determine that the changing value A-B of interactive signal intensity is negative value, and then can judge to learn that the variation pattern of the first signal is as dying down.Concrete, if interactive signal intensity corresponds to distance, such as, when interactive signal intensity A corresponds to distance 1, interactive signal intensity B corresponds to distance 2, and interactive signal intensity A be greater than interactive signal intensity B correspond to distance 1 be less than distance 2, namely in the 1st second, the distance of first object object and first terminal is less, in 2nd second, the distance of first object object and first terminal is larger, judging unit 60 can judge the variation pattern of the first signal becomes large as distance according to the difference A-B of interactive signal intensity A and interactive signal intensity B, and then can determine that first object object is away from first terminal etc.
In the execution mode that some are feasible, judging unit 60 also can according to the variation pattern of the changing value determination secondary signal of secondary signal, and specific implementation can see the implementation of above-mentioned judging unit 60 according to the variation pattern of the changing value determination secondary signal of the first signal.Judging unit 60 then can judge that whether the variation pattern of above-mentioned first signal is identical with the variation pattern of secondary signal after judging to learn the variation pattern of the first signal and the variation pattern of secondary signal.When first object object is when away from first terminal, judge the second target object whether also away from the second terminal, if so, judging unit 60 can judge that the variation pattern of the first signal is identical with the variation pattern of secondary signal.In specific implementation, if first object object is the second terminal, the second target object is first terminal, then when the variation pattern of the first signal is identical with the variation pattern of secondary signal, then can judge to learn first terminal and the second terminal mutual away from.When judging unit 60 preset set up the connection of first terminal and the second terminal pre-conditioned be first terminal and the second terminal mutually away from time, judging unit 60 can judge that the changing value of the first signal and the changing value of secondary signal meet pre-conditioned, and then sets up the connection of first terminal and the second terminal by linkage unit 70.
In the execution mode that some are feasible, as the specific implementation of above-mentioned judging unit 60, judging unit 60 can judge the variation pattern of the first signal according to the changing value of the first signal, the variation pattern of secondary signal is judged according to the changing value of secondary signal, specific implementation process see above-mentioned implementation two, can not repeat them here.Further, after judging unit 60 judges the variation pattern of the first signal, the rate of change of the first signal also can be determined according to the changing value of acquisition first signal and Preset Time (such as between the 1st second and the 2nd second), according to the changing value of secondary signal and the rate of change of above-mentioned Preset Time determination secondary signal, and then can judge that whether the rate of change of the first signal is identical with the rate of change of secondary signal, if, then when connection pre-conditioned of setting up first terminal and the second terminal be the rate of change of the rate of change of the first signal and secondary signal identical time, the connection of first terminal and the second terminal is then set up by linkage unit 70.Such as, when judging unit 60 judge first terminal and the second terminal mutually away from time, can judge that whether first terminal is identical away from the speed of first terminal with the second terminal away from the speed of first terminal further, if, then when set up first terminal and the second terminal pre-conditioned for first terminal and the second terminal with identical speed mutually away from time, then set up the connection of first terminal and the second terminal by linkage unit 70.
In the execution mode that some are feasible, the linkage unit 70 described in the embodiment of the present invention can perform the specific implementation of the linkage unit 30 in the first embodiment of the terminal that the embodiment of the present invention provides, and further, also can perform following specific implementation.
In specific implementation, when linkage unit 70 sets up the connection of first terminal and the second terminal, can send link order directly to first terminal, instruction first terminal sets up the connection with the second terminal, or send link order directly to the second terminal, indicate the second terminal to set up the connection with first terminal.Further, linkage unit 70 also can preset the connection password that first terminal and the second terminal connect, above-mentioned connection password can be the designated pin for connecting first terminal and the second terminal, and the connection password that namely changing value of the first signal is corresponding and connection password corresponding to the changing value of secondary signal are this designated pin.Judging unit 60 judge the above-mentioned changing value of the first signal and the changing value of secondary signal meet pre-conditioned after, above-mentioned connection password can be sent to first terminal by linkage unit 70, and instruction first terminal sets up the connection with the second terminal by above-mentioned connection password.Or above-mentioned connection password can be sent to the second terminal by linkage unit 70, the second terminal is indicated to set up the connection with first terminal by above-mentioned connection password.In specific implementation, above-mentioned connection password also can be the connection password that first terminal sets itself and other-end connect, and it is corresponding with the changing value of the first signal or be unique designated pin to connect password.Wherein, the changing value of above-mentioned first signal can comprise one_to_one corresponding with the corresponding relation being connected password, or many-one, namely, the changing value of first signal may correspond to one and connects password, or corresponding one of the scope of the changing value of first signal (namely comprising the changing value of multiple first signal) connects password etc.Judging unit 60 judge the changing value of the first signal and the changing value of secondary signal meet pre-conditioned after, linkage unit 70 can send link order to first terminal, connection password corresponding for the changing value of the first signal is sent to the second terminal by instruction first terminal, and indicates the second terminal to set up the connection with first terminal by above-mentioned connection password.Concrete, above-mentioned connection password also can be the connection password that the second terminal sets itself and other-end connect, and above-mentioned connection password also can be unique designated pin, or the connection password corresponding with the changing value of secondary signal.Wherein, the changing value of above-mentioned secondary signal also can comprise one_to_one corresponding or many-one with the corresponding relation being connected password, that is, corresponding one of the changing value of a secondary signal connects password, or corresponding one of the scope of the changing value of a signal connects password.Judging unit 60 judge the changing value of the first signal and the changing value of secondary signal meet pre-conditioned after, linkage unit 70 can send link order to the second terminal, indicate the second terminal that connection password corresponding for the changing value of secondary signal is sent to first terminal, and indicate first terminal to set up the connection with the second terminal by above-mentioned connection password, and then complete the connection of first terminal and the second terminal.
In the execution mode that some are feasible, the connection of the first terminal described in the embodiment of the present invention and the second terminal can comprise: bluetooth, WiFi, and the connection of the communication network such as NFC.Above-mentioned connection is only citing, and non exhaustive, including but not limited to above-mentioned connection.
In embodiments of the present invention, terminal can obtain from first terminal the interactive signal intensity that the range sensor of first terminal in Preset Time gets, the first distance changing value is determined according to interactive signal intensity and the first default corresponding relation, and the interactive signal intensity that can get according to the range sensor of the second terminal and the second corresponding relation determination second distance changing value preset, and then judge whether the first distance changing value and second distance changing value meet pre-conditioned, or variation pattern or the rate of change of the first signal and secondary signal is determined according to the interactive signal intensity got, when the changing value (comprising corresponding first distance changing value or variation pattern or rate of change) of the changing value of the first signal and secondary signal meets pre-conditioned, by sending link order to first terminal or the second terminal or connecting password, set up the connection of first terminal and the second terminal, achieve conveniently, terminal connects efficiently, improve the Consumer's Experience of terminal.
See Fig. 7, it is the example structure schematic diagram of a kind of device that the embodiment of the present invention provides.Terminal described in the present embodiment comprises: memory 1000; At least one processor 2000, such as CPU; At least one input unit 3000, wherein said input unit 3000 comprises transducer, for receiving the signal that external object reflects; Bus 4000; At least one output device 5000 and radio-frequency unit 6000, wherein, output device 5000 comprises above-mentioned radio-frequency unit 6000.
Wherein, memory 1000, processor 2000, input unit 3000, output device 5000 and radio-frequency unit 6000 are connected by bus 4000.
Above-mentioned radio-frequency unit comprises: one or more in Wifi, bluetooth or NFC.
Above-mentioned memory 1000 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory is used for memory 1000 for storing batch processing code, and above-mentioned processor 2000, input unit 3000, output device 5000 and radio-frequency unit 6000, for calling the program code stored in memory 1000, perform and operate as follows:
Above-mentioned input unit 3000, for obtaining the changing value of the first signal that the range sensor of first terminal in Preset Time detects, and the changing value of secondary signal that the range sensor of the second terminal detects.
Above-mentioned processor 2000, whether the changing value for the changing value and described secondary signal that judge described first signal meets pre-conditioned;
Above-mentioned radio-frequency unit 6000, meets pre-conditioned for the changing value of described first signal that judges at above-mentioned processor 2000 and the changing value of described secondary signal, sets up the connection of described first terminal and described second terminal.
In the execution mode that some are feasible, above-mentioned processor 2000 is also for performing following operation:
Judge that the difference of the changing value of described first signal and the changing value of described secondary signal is whether in the difference range preset;
If the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned processor 2000 is also for performing following operation:
Determine the variation pattern of described first signal according to the changing value of described first signal, and determine the variation pattern of described secondary signal according to the changing value of described secondary signal;
Judge that whether the variation pattern of described first signal is identical with the variation pattern of described secondary signal, if the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned processor 2000 is also for performing following operation:
Determine the rate of change of described first signal according to the changing value of described first signal, and determine the rate of change of described secondary signal according to the changing value of described secondary signal;
Judge that whether the rate of change of described first signal is identical with the rate of change of described secondary signal, if the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
In the execution mode that some are feasible, above-mentioned processor 2000 is also for performing following operation:
According to the changing value of the signal preset and the first corresponding relation of distance changing value, determine the first distance changing value that the changing value of described first signal is corresponding, described first distance changing value is the changing value of the distance of carrying out mutual first object object and described first terminal with described first terminal;
According to the changing value of the signal preset and the second corresponding relation of distance changing value, determine the second distance changing value that the changing value of described secondary signal is corresponding, described second distance changing value is the changing value of the distance of carrying out the second mutual target object and described second terminal with described second terminal.
Above-mentioned processor 2000 is also for performing following operation:
Judge whether described first distance changing value and described second distance changing value meet pre-conditioned.
Above-mentioned output device 5000, for sending to described second terminal by connection password corresponding for the changing value of described first signal.
Above-mentioned radio-frequency unit 6000 is also used to indicate described second terminal and sets up the connection with described first terminal by described connection password.
Above-mentioned output equipment 3000 is also for sending to described first terminal by connection password corresponding for the changing value of described secondary signal.
Above-mentioned radio-frequency unit 6000 is also used to indicate described first terminal and sets up the connection with described second terminal by described connection password.
In specific implementation, the device described in the embodiment of the present invention specifically can be the terminal that the embodiment of the present invention provides, the first embodiment of the terminal that its implementation procedure can provide see the embodiment of the present invention and the second embodiment.In addition, the implementation described in embodiment of the method that the terminal that the device that the embodiment of the present invention provides can perform the embodiment of the present invention to be provided connects, first embodiment of the method that the terminal that specifically can provide see the embodiment of the present invention connects, to the implementation described in the 4th embodiment, does not repeat them here.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)).
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 device 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 flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. a terminal, is characterized in that, comprising:
Acquiring unit, for obtaining the changing value of the first signal that the range sensor of first terminal in Preset Time detects, and the changing value of secondary signal that the range sensor of the second terminal detects;
Judging unit, for judging whether the changing value of described first signal that described acquiring unit gets and the changing value of described secondary signal meet pre-conditioned;
Linkage unit, for when described judging unit judged result is for being, sets up the connection of described first terminal and described second terminal.
2. terminal as claimed in claim 1, is characterized in that, described judging unit specifically for:
Judge that the difference of the changing value of described first signal and the changing value of described secondary signal is whether in the difference range preset;
If the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
3. terminal as claimed in claim 1, is characterized in that, described judging unit specifically for:
Determine the variation pattern of described first signal according to the changing value of described first signal, and determine the variation pattern of described secondary signal according to the changing value of described secondary signal;
Judge that whether the variation pattern of described first signal is identical with the variation pattern of described secondary signal, if the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
4. terminal as claimed in claim 1, is characterized in that, described judging unit specifically for:
Determine the rate of change of described first signal according to the changing value of described first signal, and determine the rate of change of described secondary signal according to the changing value of described secondary signal;
Judge that whether the rate of change of described first signal is identical with the rate of change of described secondary signal, if the determination result is YES, then judge that the changing value of described first signal and the changing value of described secondary signal meet pre-conditioned.
5. the terminal as described in claim 1-4 any one, is characterized in that, described terminal also comprises:
First determining unit, for the changing value according to the signal preset and the first corresponding relation apart from changing value, determine the first distance changing value that the changing value of described first signal is corresponding, described first distance changing value is the changing value of the distance of carrying out mutual first object object and described first terminal with described first terminal;
Second determining unit, for the changing value according to the signal preset and the second corresponding relation apart from changing value, determine the second distance changing value that the changing value of described secondary signal is corresponding, described second distance changing value is the changing value of the distance of carrying out the second mutual target object and described second terminal with described second terminal.
6. terminal as claimed in claim 5, is characterized in that, described judging unit specifically for:
Judge whether the first distance changing value that described first determining unit is determined and the second distance changing value that described second determining unit is determined meet pre-conditioned.
7. terminal as claimed in claim 6, is characterized in that, described linkage unit specifically for:
Connection password corresponding for the changing value of described first signal is sent to described second terminal, indicates described second terminal to set up the connection with described first terminal by described connection password.
8. terminal as claimed in claim 6, is characterized in that, described linkage unit specifically for:
Connection password corresponding for the changing value of described secondary signal is sent to described first terminal, indicates described first terminal to set up the connection with described second terminal by described connection password.
9. terminal as claimed in claim 6, it is characterized in that, the connection of described first terminal and described second terminal comprises: bluetooth, Wireless Fidelity WiFi, and the connection of at least one communication network near field communication (NFC) NFC.
10. terminal as claimed in claim 9, it is characterized in that, described first terminal or described second terminal comprise: at least one in mobile phone, panel computer, palmtop PC or mobile internet device MID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410416530.4A CN104243693A (en) | 2014-08-21 | 2014-08-21 | Terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410416530.4A CN104243693A (en) | 2014-08-21 | 2014-08-21 | Terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104243693A true CN104243693A (en) | 2014-12-24 |
Family
ID=52231008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410416530.4A Pending CN104243693A (en) | 2014-08-21 | 2014-08-21 | Terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104243693A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554210A (en) * | 2015-12-15 | 2016-05-04 | 天脉聚源(北京)传媒科技有限公司 | Method and device of information interaction between mobile devices |
CN108650651A (en) * | 2018-05-03 | 2018-10-12 | 陕西师范大学 | A method of passing through multiple mobile terminal gathered datas |
CN111769893A (en) * | 2020-06-23 | 2020-10-13 | 联想(北京)有限公司 | Signal processing method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413585A (en) * | 2010-09-25 | 2012-04-11 | 联想(北京)有限公司 | Wireless terminal and wireless connection method |
CN103037534A (en) * | 2011-10-09 | 2013-04-10 | 上海夏永通讯技术有限公司 | Mobile terminal point-to-point data transmission method and corresponding control device |
US20130090065A1 (en) * | 2011-09-30 | 2013-04-11 | Samsung Electronics Co., Ltd. | Method of operating gesture based communication channel and portable terminal system for supporting the same |
US20130165045A1 (en) * | 2011-12-26 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for sharing resources via bluetooth network |
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 |
CN203457216U (en) * | 2013-08-21 | 2014-02-26 | Tcl集团股份有限公司 | Mobile terminal capable of opening Bluetooth device intelligently |
CN103687066A (en) * | 2013-12-26 | 2014-03-26 | 深圳市金立通信设备有限公司 | Terminal connection method and system and terminal |
-
2014
- 2014-08-21 CN CN201410416530.4A patent/CN104243693A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413585A (en) * | 2010-09-25 | 2012-04-11 | 联想(北京)有限公司 | Wireless terminal and wireless connection method |
US20130090065A1 (en) * | 2011-09-30 | 2013-04-11 | Samsung Electronics Co., Ltd. | Method of operating gesture based communication channel and portable terminal system for supporting the same |
CN103037534A (en) * | 2011-10-09 | 2013-04-10 | 上海夏永通讯技术有限公司 | Mobile terminal point-to-point data transmission method and corresponding control device |
US20130165045A1 (en) * | 2011-12-26 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for sharing resources via bluetooth network |
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 |
CN203457216U (en) * | 2013-08-21 | 2014-02-26 | Tcl集团股份有限公司 | Mobile terminal capable of opening Bluetooth device intelligently |
CN103687066A (en) * | 2013-12-26 | 2014-03-26 | 深圳市金立通信设备有限公司 | Terminal connection method and system and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554210A (en) * | 2015-12-15 | 2016-05-04 | 天脉聚源(北京)传媒科技有限公司 | Method and device of information interaction between mobile devices |
CN108650651A (en) * | 2018-05-03 | 2018-10-12 | 陕西师范大学 | A method of passing through multiple mobile terminal gathered datas |
CN108650651B (en) * | 2018-05-03 | 2020-11-27 | 陕西师范大学 | Method for acquiring data through multiple mobile terminals |
CN111769893A (en) * | 2020-06-23 | 2020-10-13 | 联想(北京)有限公司 | Signal processing method and device |
CN111769893B (en) * | 2020-06-23 | 2022-03-25 | 联想(北京)有限公司 | Signal processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140365646A1 (en) | Network connection managing device, system and method | |
CN104683458A (en) | Wallpaper recommendation method and server | |
CN104320161A (en) | Method and system for rapid Bluetooth pairing | |
CN105744466A (en) | Bluetooth equipment connection method and Bluetooth equipment | |
CN104363585A (en) | Wireless local area network access method | |
CN108650671B (en) | Method, device, mobile terminal, storage medium and system for establishing Bluetooth connection | |
CN103517451B (en) | Device for achieving Bluetooth connecting request quick automatic sending and device for receiving connecting request | |
CN104217169A (en) | Encryption recommendation method and device and terminal | |
CN104683002A (en) | Method and device for pairing Bluetooth equipment | |
CN106101989A (en) | A kind of method selecting safe unit and mobile terminal | |
CN104571871A (en) | Method and system for selecting files | |
CN104243693A (en) | Terminal | |
CN104980420A (en) | Business processing method, device, terminal and server | |
CN106254465B (en) | A kind of data transmission method, system and electronic equipment | |
CN104243692A (en) | Terminal connecting method | |
CN107404752A (en) | Frequency choosing method and internet-of-things terminal based on signal intensity | |
CN104242998A (en) | Method and system for fast sharing various types of information through magnetic sensor | |
CN105490966A (en) | Method for dynamically sharing network bandwidth and electronic equipment | |
US20170324489A1 (en) | Radio communication devices and methods for controlling a radio communication device | |
CN105430484A (en) | Method for realizing wireless AP function on bidirectional digital set top box and set top box | |
CN105392083B (en) | A kind of MPP speakers switching method and access controller | |
EP2843974A1 (en) | Device and method for determining redundancies in near field communication tag detection | |
CN103369711A (en) | Communication connection establishment method and terminal device | |
CN104539607A (en) | Information checking method, terminal and server | |
CN106664637B (en) | Routing information configuration method and device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141224 |