CN106161737B - Target device determines method, apparatus and user equipment - Google Patents
Target device determines method, apparatus and user equipment Download PDFInfo
- Publication number
- CN106161737B CN106161737B CN201510146546.2A CN201510146546A CN106161737B CN 106161737 B CN106161737 B CN 106161737B CN 201510146546 A CN201510146546 A CN 201510146546A CN 106161737 B CN106161737 B CN 106161737B
- Authority
- CN
- China
- Prior art keywords
- target
- source device
- neighbor
- distance
- user
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application provides a kind of target device and determines method, apparatus and user equipment.Method includes: at least one operating parameter that a source device obtains an at least user's operation;According at least at least one described operating parameter, target bearing requirement is determined;Few Twice requests message is respectively sent to at least two different transmission powers;According at least to the multiple neighbor device for multiple response messages that request message returns respectively at least twice, device orientation state is determined;According at least to target bearing requirement and the device orientation state, at least one described target device in the multiple neighbor device is determined.The embodiment of the present application provides a kind of scheme of determining target device.
Description
Technical field
The invention relates to fields of communication technology more particularly to a kind of target device to determine method, apparatus and user
Equipment.
Background technique
More and more equipment have wireless communication function, in wireless communications, a major issue be how to determine it is logical
The object of letter, i.e. target device.
Summary of the invention
In view of this, one of the embodiment of the present application is designed to provide a kind of scheme of determining target device.
To achieve the above object, it is wrapped according to the embodiment of the present application in a first aspect, providing a kind of target device determines method
It includes:
At least one operating parameter of an one source device acquisition at least user's operation;
According at least at least one described operating parameter, target bearing requirement is determined, the target bearing requires to include: right
At least one target device is set at a distance from the source device with all other neighbours in multiple neighbor devices of the source device
The requirement of the standby relationship at a distance from the source device;
Few Twice requests message is respectively sent to at least two different transmission powers;
According at least to the multiple neighbor device for multiple response reports that request message returns respectively at least twice
Text, determines device orientation state, the device orientation state include: the multiple neighbor device at a distance from the source device it
Between relationship;
According at least to target bearing requirement and the device orientation state, the institute in the multiple neighbor device is determined
State at least one target device.
With reference to first aspect, in the first possible implementation of the first aspect, at least one described operating parameter
It include: the first value of a quantity of state.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, second in first aspect can
It is described according at least at least one described operating parameter in the implementation of energy, determine target bearing requirement, comprising:
It is greater than a first threshold in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the third in first aspect can
In the implementation of energy, at least one described operating parameter a further include: second value of the quantity of state, and second value evening
It is obtained in first value.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 4th kind in first aspect can
It is described according at least at least one described operating parameter in the implementation of energy, determine target bearing requirement, comprising:
It is less than the second value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 5th kind in first aspect can
In the implementation of energy, at least one described operating parameter further include: at least one first operation direction;It wants the target bearing
It asks further include: the multiple neighbor device is in the corresponding at least at least one described first operation direction of the source device
Multiple neighbor devices on one first object direction.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 6th kind in first aspect can
In the implementation of energy, the request message carries the position and at least one described first object direction of the source device, institute
It states request message and is used to indicate and receive any neighbor device of the request message and determining that the neighbor device itself is located at
Response message is sent when at least one described first object direction of the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 7th kind in first aspect can
It is described to be directed to what the request message at least twice returned respectively according at least to the multiple neighbor device in the implementation of energy
Response message determines device orientation state, comprising:
The sound returned with the request message that the first transmission power is sent is directed in response to receiving the multiple neighbor device
Message is answered, and receives all other neighbor device in the multiple neighbor device in addition at least one described first equipment
For the response message that the request message sent with one second transmission power more smaller than first transmission power returns, determine
The device orientation state, the device orientation state include: at least one first equipment and institute in the multiple neighbor device
The distance for stating source device is farthest.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 8th kind in first aspect can
It is described according at least to target bearing requirement and the device orientation state in the implementation of energy, determine the multiple neighbour
Occupy at least one described target device in equipment, comprising:
Determine that at least one described target device is at least one described first equipment.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the 9th kind in first aspect can
It is described according at least at least one described operating parameter in the implementation of energy, determine target bearing requirement, comprising:
In response to first value less than a second threshold, the target bearing requirement, the target bearing requirement are determined
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the tenth kind in first aspect can
In the implementation of energy, at least one described operating parameter further include: a third value of the quantity of state, and third value evening
It is obtained in first value.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, the tenth in first aspect are a kind of
It is described according at least at least one described operating parameter in possible implementation, determine target bearing requirement, comprising:
It is greater than the third value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, at the 12nd kind of first aspect
In possible implementation, at least one described operating parameter further include: at least one second operation direction;The target bearing
It is required that further include: the multiple neighbor device is in the corresponding extremely at least one described second operation direction of the source device
Multiple neighbor devices on few second target direction.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, at the 13rd kind of first aspect
In possible implementation, the request message carry the source device position and at least one described second target direction,
The request message, which is used to indicate, to be received any neighbor device of the request message and is determining itself position of the neighbor device
Response message is sent when at least one second target direction described in the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, at the 14th kind of first aspect
It is described to be returned respectively according at least to the multiple neighbor device for the request message at least twice in possible implementation
Response message, determine device orientation state, comprising:
It is directed in response to only receiving at least one second equipment in the multiple neighbor device with third transmission power hair
The response message that the request message sent returns, and receive at least one described second equipment and at least one other neighbor device
For the response message that the request message sent with the 4th transmission power returns, the 4th transmission power is sent out greater than the third
Penetrate power, determine device orientation state, the device orientation state include: in the multiple neighbor device at least two first set
It is standby nearest at a distance from the source device.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, at the 15th kind of first aspect
It is described according at least to target bearing requirement and the device orientation state in possible implementation, it determines the multiple
At least one described target device in neighbor device, comprising:
Determine that at least one described target device is at least one described second equipment.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, at the 16th kind of first aspect
In possible implementation, the quantity of state includes following any: acceleration, height above sea level, touch pressure, deformation quantity.
With reference to first aspect or any of the above-described kind of possible implementation of first aspect, at the 17th kind of first aspect
In possible implementation, the method also includes: the source device is communicated at least one described target device.
To achieve the above object, according to the second aspect of the embodiment of the present application, a kind of target device determining device is provided, is wrapped
It includes:
Module is obtained, for obtaining at least one operating parameter of an at least user's operation;
First determining module, for determining target bearing requirement, the mesh according at least at least one described operating parameter
Mark orientation requires to include: at least one target device in multiple neighbor devices of the source device at a distance from the source device
With the requirement of relationship of all other neighbor device at a distance from the source device;
Sending module, for being respectively sent to few Twice requests message at least two different transmission powers;
Second determining module, for distinguishing according at least to the multiple neighbor device for the request message at least twice
The multiple response messages returned, determine that device orientation state, the device orientation state include: the multiple neighbor device and institute
State the relationship between the distance of source device;
Third determining module, described in determining according at least to target bearing requirement and the device orientation state
At least one described target device in multiple neighbor devices.
In conjunction with second aspect, in the first possible implementation of the second aspect, at least one described operating parameter
It include: the first value of a quantity of state.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, second in second aspect can
In the implementation of energy, first determining module is specifically used for:
It is greater than a first threshold in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the third in second aspect can
In the implementation of energy, at least one described operating parameter a further include: second value of the quantity of state, and second value evening
It is obtained in first value.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the 4th kind in second aspect can
In the implementation of energy, first determining module is specifically used for:
It is less than the second value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the 5th kind in second aspect can
In the implementation of energy, at least one described operating parameter further include: at least one first operation direction;It wants the target bearing
It asks further include: the multiple neighbor device is in the corresponding at least at least one described first operation direction of the source device
Multiple neighbor devices on one first object direction.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the 6th kind in second aspect can
In the implementation of energy, the request message carries the position and at least one described first object direction of the source device, institute
It states request message and is used to indicate and receive any neighbor device of the request message and determining that the neighbor device itself is located at
Response message is sent when at least one described first object direction of the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the 7th kind in second aspect can
In the implementation of energy, second determining module is specifically used for:
The sound returned with the request message that the first transmission power is sent is directed in response to receiving the multiple neighbor device
Message is answered, and receives all other neighbor device in the multiple neighbor device in addition at least one described first equipment
For the response message that the request message sent with one second transmission power more smaller than first transmission power returns, determine
The device orientation state, the device orientation state include: at least one first equipment and institute in the multiple neighbor device
The distance for stating source device is farthest.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the 8th kind in second aspect can
In the implementation of energy, the third determining module is specifically used for: determining that at least one described target device is described at least one
A first equipment.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the 9th kind in second aspect can
In the implementation of energy, first determining module is specifically used for:
In response to first value less than a second threshold, the target bearing requirement, the target bearing requirement are determined
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the tenth kind in second aspect can
In the implementation of energy, at least one described operating parameter further include: a third value of the quantity of state, and third value evening
It is obtained in first value.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, the tenth in second aspect is a kind of
In possible implementation, first determining module is specifically used for:
It is greater than the third value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, at the 12nd kind of second aspect
In possible implementation, at least one described operating parameter further include: at least one second operation direction;The target bearing
It is required that further include: the multiple neighbor device is in the corresponding extremely at least one described second operation direction of the source device
Multiple neighbor devices on few second target direction.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, at the 13rd kind of second aspect
In possible implementation, the request message carry the source device position and at least one described second target direction,
The request message, which is used to indicate, to be received any neighbor device of the request message and is determining itself position of the neighbor device
Response message is sent when at least one second target direction described in the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, at the 14th kind of second aspect
In possible implementation, second determining module is specifically used for:
It is directed in response to only receiving at least one second equipment in the multiple neighbor device with third transmission power hair
The response message that the request message sent returns, and receive at least one described second equipment and at least one other neighbor device
For the response message that the request message sent with the 4th transmission power returns, the 4th transmission power is sent out greater than the third
Penetrate power, determine device orientation state, the device orientation state include: in the multiple neighbor device at least two first set
It is standby nearest at a distance from the source device.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, at the 15th kind of second aspect
In possible implementation, the third determining module is specifically used for:
Determine that at least one described target device is at least one described second equipment.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, at the 16th kind of second aspect
In possible implementation, the quantity of state includes following any: acceleration, height above sea level, touch pressure, deformation quantity.
In conjunction with any of the above-described kind of possible implementation of second aspect or second aspect, at the 17th kind of second aspect
In possible implementation, described device further include: communication module, for being communicated at least one described target device.
To achieve the above object, according to the third aspect of the embodiment of the present application, a kind of user equipment is provided, comprising:
Module is obtained, for obtaining at least one operating parameter of an at least user's operation;
First determining module, for determining target bearing requirement, the mesh according at least at least one described operating parameter
Mark orientation requires to include: at least one target device in multiple neighbor devices of the user equipment and the user equipment
The requirement of the relationship of distance and all other neighbor device at a distance from the user equipment;
Sending module, for being respectively sent to few Twice requests message at least two different transmission powers;
Second determining module, for distinguishing according at least to the multiple neighbor device for the request message at least twice
The multiple response messages returned, determine that device orientation state, the device orientation state include: the multiple neighbor device and institute
State the relationship between the distance of user equipment;
Third determining module, described in determining according at least to target bearing requirement and the device orientation state
At least one described target device in multiple neighbor devices.
At least one technical solution in above multiple technical solutions has the following beneficial effects:
The embodiment of the present application obtains at least one operating parameter of an at least user's operation by a source device, according at least to
At least one described operating parameter determines target bearing requirement, is respectively sent to less twice at least two different transmission powers
Request message, according at least to the multiple neighbor device for multiple response reports that request message returns respectively at least twice
Text determines device orientation state, requires according at least to the target bearing and the device orientation state determines the multiple neighbours
At least one described target device in equipment, provides a kind of scheme of determining target device.
Detailed description of the invention
Fig. 1 is the flow diagram that a kind of target device provided by the present application determines embodiment of the method;
Fig. 2 is a kind of structural schematic diagram of target device determining device embodiment provided by the present application;
Fig. 3 is a kind of structural schematic diagram of optional implementation of embodiment illustrated in fig. 2;
Fig. 4 is a kind of structural schematic diagram of user equipment embodiment one provided by the present application;
Fig. 5 is a kind of structural schematic diagram of optional implementation of embodiment illustrated in fig. 4;
Fig. 6 is a kind of structural schematic diagram of user equipment embodiment two provided by the present application.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the application is described in further detail.Implement below
Example is not intended to limit the scope of the invention for illustrating the present invention.
Fig. 1 is the flow diagram that a kind of target device provided by the present application determines embodiment of the method.As shown in Figure 1, this
Embodiment includes:
110, a source device obtains at least one operating parameter of an at least user's operation.
In the present embodiment, the source device can be any equipment, be optionally the manipulable any appliance of user, packet
It includes but is not limited to: smart phone, smartwatch, tablet computer etc..
In the present embodiment, the application object of at least one user's operation be can be on the source device, alternatively, with institute
State the associated another equipment of source device.For example, the source device is a smart phone, at least one user's operation
Apply object can be the smart phone, alternatively, to the associated Intelligent bracelet of the smart phone.
In the present embodiment, at least one described user's operation can there are many forms, at least one described user's operation
Application object it is related.For example, the equipment hand-holdable for one, a user can hold the equipment and make some gestures,
For example it throws, raise, lower;The equipment for having touch screen for one, a user can apply touching on the touch screen of the equipment
Touch operation, for example click, slide etc.;For the equipment with compliant member, a user can be to the compliant member of the equipment
Apply the active force, such as bending, folded flexible component etc. for being enough to make it to generate deformation.
In the present embodiment, there are many parameter types of at least one operating parameter, grasps at least one described user
The form of work is related.For example, a user's operation is to hold source device to do the gesture thrown, the user's operation at least one
Operating parameter optionally includes: acceleration value, acceleration direction;One user's operation is to click the touch screen of source device, the user
At least one operating parameter of operation optionally includes: the number of click, the dynamics clicked every time (i.e. touch pressure).
120, according at least at least one described operating parameter, target bearing requirement is determined, the target bearing requires packet
It includes: at least one target device in multiple neighbor devices of the source device at a distance from the source device and all other neighbour
Occupy the requirement of relationship of the equipment at a distance from the source device.
In the present embodiment, the target bearing, which requires to be equivalent to the user for making at least one user's operation, passes through institute
State the orientation requirement to target device that at least one user's operation is expressed out.Wherein, all other neighbor device refers to institute
State all neighbor devices in multiple neighbor devices in addition at least one described target device, including one or more neighbour
Equipment.
In the present embodiment, the number of target device be can be pre-set at least one described target device, or
Person, user pass through at least one user's operation selection, the number selection of at least one user's operation as described in passing through.It lifts
For example, three times with the touch screen of almost the same dynamics click source device, at least one of the user's operation operates a user
Parameter optionally includes: the average dynamics that the number 3 and 3 time of click is clicked, and correspondingly, the number 3 of click indicates that user wants
The number of the target device selected is 3, and the average dynamics of 3 clicks indicates 3 target devices at a distance from the source device
With relationship of all other neighbor device at a distance from the source device.
130, few Twice requests message is respectively sent to at least two different transmission powers.
In the present embodiment, at least with the purpose that two different transmission powers are respectively sent to few Twice requests message be for
Change the coverage area of the request message sent every time, that is, change the request message that can be received and to send every time at least
One neighbor device.Specifically, the maximum distance that the request message sent every time can travel to depends on the transmitting function of this time
Rate, and the neighbor device usually only at a distance from the source device within the maximum distance can receive the secondary transmission
Request message.For example, neighbor device A~E, neighbor device A~E and the source device are distributed with around the source device
Distance successively from small to large, the source device successively sends request message with transmission power P1, P2, P3, P1 > P2 > P3, for
With the request message that transmission power P1 is sent, neighbor device A~E can be received, for the request sent with transmission power P2
Message, neighbor device A~C can be received, neighbor device D~E is not received, for the request report sent with transmission power P3
Text, only neighbor device A can be received.
140, according at least to the multiple neighbor device for multiple sound that request message returns respectively at least twice
Answer message, determine device orientation state, the device orientation state include: the multiple neighbor device and the source device away from
Relationship between.
In the present embodiment, the possible returning response message of neighbor device of request message is only received, and sends request every time
The transmission power of message is different, and therefore, for the request message sent every time, the neighbor device of returning response message may not also
Together, correspondingly, which or which neighbor device can returns response report respectively according to the request message for sending every time
Text, and the size of the transmission power of request message is sent every time, determine the distance of each neighbor device Yu the source device.
For example, the source device successively sends request message, P1 > P2 > P3, for transmission power with transmission power P1, P2, P3
The request message that P1 is sent, has received the response message that neighbor device A~E is respectively returned, for transmission power P2 transmission
Request message, the response message that neighbor device A~C is respectively returned is had received, for the request sent with transmission power P3
Message, only have received neighbor device A return response message, determine according to this: the source device five neighbor device A~
In E, neighbor device A is nearest at a distance from the source device, and neighbor device B~C takes second place at a distance from the source device, Lin Jushe
Standby D~E is worst at a distance from the source device.
150, it according at least to target bearing requirement and the device orientation state, determines in the multiple neighbor device
At least one described target device.
In the present embodiment, at least one described target device in the multiple neighbor device of determination is specifically, really
At least one fixed described target device is to require at least one matched neighbour in the multiple neighbor device with the target bearing
Occupy equipment.
Although having not determined target device tool it should be noted that the orientation requirement to target device has been determined in 120
Body is which equipment or which equipment, until being just determined target device is specifically which equipment or which equipment in 150.
For example, a user wants to select a neighbour nearest from the source device by least one described user's operation
Occupying equipment is target device;Source device described in 120 is true according at least one operating parameter of at least one user's operation
The fixed target bearing requires to include: in multiple neighbor devices of the source device target device and the source device away from
From will be close at a distance from the source device than all other neighbor device;The device orientation shape that source device described in 140 determines
State includes: in five neighbor device A~E of the source device, and neighbor device A is nearest at a distance from the source device, neighbours
Equipment B~C takes second place at a distance from the source device, and neighbor device D~E is worst at a distance from the source device;According to upper in 150
Target bearing is stated to require to determine that neighbor device A is the target device that the user wants with device orientation state.
The present embodiment obtains at least one operating parameter of an at least user's operation by a source device, according at least to described
At least one operating parameter determines target bearing requirement, is respectively sent to few Twice requests at least two different transmission powers
Message, it is true for multiple response messages that request message returns respectively at least twice according at least to the multiple neighbor device
Locking equipment orientation mode requires according at least to the target bearing and the device orientation state determines the multiple neighbor device
In at least one described target device, provide a kind of scheme of determining target device.
The method for being further described through the present embodiment below by way of some optional implementations.
In the present embodiment, the parameter type of at least one operating parameter can there are many.
In an optional implementation manner, at least one described operating parameter includes: the first value of a quantity of state.
Wherein, the quantity of state includes but is not limited to any of the following: acceleration, height above sea level, touch pressure, deformation
Amount.For example, a user's operation is to hold source device to do the gesture thrown, and the quantity of state is optionally acceleration, described
First value of quantity of state is correspondingly the first acceleration value;One user's operation is to hold source device to do the gesture raised, the shape
State amount is optionally height above sea level, and the first value of the quantity of state is correspondingly the first height value;One user's operation is set in source
It is clicked on standby touch screen, the quantity of state is optionally touch pressure, and the first value of the quantity of state is correspondingly the first pressure
Force value;One user's operation is bending source device, and the quantity of state is optionally deformation quantity, and the first value of the quantity of state is correspondingly
For the first deformation values, first deformation values are optionally bending angle or the corresponding voltage value of the bending or current value.
In this implementation, implementation there are many 120.
It is described according at least at least one described operating parameter in the first possible scene, determine that target bearing is wanted
It asks, comprising:
It is greater than a first threshold in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
Wherein, the first threshold can be pre-set.
It should be noted that first value determines above-mentioned target bearing requirement when being greater than the first threshold, it is such
Rule is also possible to that user is pre-set, and certainly, user can also set different rule, rule such as in contrast
Then, that is, first value determines the target bearing requirement when being greater than the first threshold, the target bearing requires to include:
At least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
In this implementation, optionally, at least one described operating parameter further include: the one second of the quantity of state
Value, and the second value is later than first value and obtains.
Wherein, a second value of the quantity of state and one first value of the quantity of state optionally respectively correspond former and later two
User's operation, optionally, at least one operating parameter of first user's operation include: one first value of the quantity of state, In
At least one operating parameter of user's operation afterwards includes: a second value of the quantity of state.For example, a user holds source
Equipment has successively done gesture twice, then a preceding gesture is first user's operation, and a rear gesture is posterior user's operation,
Correspondingly, first value is the first acceleration value of a preceding gesture, and the second value is the second acceleration of a rear gesture
Angle value.
Further, described according at least at least one described operating parameter in second of possible scene, determine target
Orientation requirement, comprising:
It is less than the second value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
For example, a user holds source device and has successively done the gesture thrown twice, if the preceding dynamics once thrown is small
In the rear dynamics once thrown, correspondingly, preceding the first acceleration value once thrown is less than the second acceleration once thrown afterwards
Value, it is determined that user wants to select at least one farthest neighbor device as target device, otherwise determines that user thinks that selection is nearest
At least one neighbor device as target device.
It should be noted that first value determines above-mentioned target bearing requirement, such rule when being less than the second value
It is pre-set to be then also possible to user, certainly, user can also set different rule, rule such as in contrast,
That is, first value determines the target bearing requirement when being less than the second value, the target bearing is required to include: the source
At least one target device described in multiple neighbor devices of equipment is nearest at a distance from the source device.
In this implementation, 140 correspondingly there are many implementation.
It is optionally, described according at least to the multiple neighbor device in above-mentioned the first or second of possible scene
For the response message that the request message at least twice returns respectively, device orientation state is determined, comprising:
The sound returned with the request message that the first transmission power is sent is directed in response to receiving the multiple neighbor device
Message is answered, and receives all other neighbor device in the multiple neighbor device in addition at least one described first equipment
For the response message that the request message sent with one second transmission power more smaller than first transmission power returns, determine
The device orientation state, the device orientation state include: at least one first equipment and institute in the multiple neighbor device
The distance for stating source device is farthest.
Correspondingly, described according at least to target bearing requirement and the device orientation state, determine the multiple neighbour
Occupy at least one described target device in equipment, comprising:
Determine that at least one described target device is at least one described first equipment.
In the first or second of possible scene of this implementation or this implementation, optionally, it is described at least
One operating parameter further include: at least one first operation direction;The target bearing requirement further include: the multiple neighbours set
Standby is more at least one first object direction corresponding at least one described first operation direction of the source device
A neighbor device.
That is, user also passes through at least one described first operation side in addition to the requirement of the above-mentioned relationship adjusted the distance
To giving the requirement in the direction at least one described target device relative to the source device.
Wherein, there are many types at least one first operation direction, the shape at least one user's operation
Formula is related.For example, a user's operation is to hold source device to do gesture, and first operation direction can be the side of the gesture
To, can with acceleration direction characterize;One user's operation is slided on the touch screen of source device, correspondingly, first behaviour
It can be the direction of sliding as direction.
Wherein, the corresponding first object direction in each first operation direction, the first object direction and described first
The correspondence for operating direction can be there are many mode.Optionally, the first object direction is identical as the first operation direction, or
Person, the first object direction are projecting direction of first operation direction on some plane of reference (such as horizontal plane).
Further, there are ways to screen neighbor device according at least one described first object direction.
Optionally, the request message carries the position and at least one described first object direction of the source device, institute
It states request message and is used to indicate and receive any neighbor device of the request message and determining that the neighbor device itself is located at
Response message is sent when at least one described first object direction of the source device.
Optionally, the request message is used to indicate any neighbor device return carrying institute for receiving the request message
The response message of neighbor device self-position is stated, correspondingly, the source device is in the response for receiving any neighbor device return
When message, the neighbor device can be determined whether at itself according to the position of respective neighbours equipment in the response message described in extremely
On a few first object direction, to filtered out before 140 not described in itself at least one first object direction
Neighbor device, determine only consider an at least first object direction described in itself when the device orientation state in 140
On neighbor device at a distance from itself.
It should be noted that a neighbor device be located at it is any at least one described first object direction of the source device
On first object direction, it is equivalent to the neighbor device and is located at least one described first object direction of the source device;
In addition, optionally having an angle when judging whether a neighbor device is located on a first object direction of the source device
Threshold value, that is, as long as the neighbor device is located at using the source device as the center of circle, using the first object direction as angular bisector, the angle
It spends in the fan-shaped region that threshold value is central angle, it is determined that the neighbor device is located on the first object direction of the source device.
It is described according at least at least one described operating parameter in the third possible scene, determine that target bearing is wanted
It asks, comprising:
In response to first value less than a second threshold, the target bearing requirement, the target bearing requirement are determined
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
Wherein, the second threshold can be pre-set.
It should be noted that first value determines above-mentioned target bearing requirement when being less than the second threshold, it is such
Rule is also possible to that user is pre-set, and certainly, user can also set different rule, rule such as in contrast
Then, that is, first value determines the target bearing requirement when being less than the second threshold, the target bearing requires to include:
At least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
In this implementation, optionally, at least one described operating parameter a further include: third of the quantity of state
Value, and the third value is later than first value and obtains.
Wherein, a third value of the quantity of state and one first value of the quantity of state optionally respectively correspond former and later two
User's operation, optionally, at least one operating parameter of first user's operation include: one first value of the quantity of state, In
At least one operating parameter of user's operation afterwards includes: a third value of the quantity of state.For example, a user holds source
Equipment has successively done gesture twice, then a preceding gesture is first user's operation, and a rear gesture is posterior user's operation,
Correspondingly, the third value is the first acceleration value of a preceding gesture, and the 4th value is that the third of a rear gesture accelerates
Angle value.
Further, described according at least at least one described operating parameter in the 4th kind of possible scene, determine target
Orientation requirement, comprising:
It is greater than the third value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
For example, a user holds source device and has successively done the gesture thrown twice, if the preceding great efforts once thrown
In the rear dynamics once thrown, correspondingly, preceding the first acceleration value once thrown is greater than the third acceleration once thrown afterwards
Value, it is determined that user wants to select at least one nearest neighbor device as target device, otherwise determines that user thinks that selection is farthest
At least one neighbor device as target device.
It should be noted that first value determines above-mentioned target bearing requirement, such rule when being greater than the third value
It is pre-set to be then also possible to user, certainly, user can also set different rule, rule such as in contrast,
That is, first value determines the target bearing requirement when being greater than the third value, the target bearing is required to include: the source
At least one target device described in multiple neighbor devices of equipment is farthest at a distance from the source device.
It is optionally, described according at least to the multiple neighbor device in above-mentioned the third or the 4th kind of possible scene
For the response message that the request message at least twice returns respectively, device orientation state is determined, comprising:
It is directed in response to only receiving at least one second equipment in the multiple neighbor device with third transmission power hair
The response message that the request message sent returns, and receive at least one described second equipment and at least one other neighbor device
For the response message that the request message sent with the 4th transmission power returns, the 4th transmission power is sent out greater than the third
Penetrate power, determine device orientation state, the device orientation state include: in the multiple neighbor device at least two first set
It is standby nearest at a distance from the source device.
Correspondingly, described according at least to target bearing requirement and the device orientation state, determine the multiple neighbour
Occupy at least one described target device in equipment, comprising:
Determine that at least one described target device is at least one described second equipment.
In the third or the 4th kind of possible scene of this implementation or this implementation, optionally, it is described at least
One operating parameter further include: at least one second operation direction;The target bearing requirement further include: the multiple neighbours set
Standby is more at least one second target direction corresponding at least one described second operation direction of the source device
A neighbor device.
That is, user also passes through at least one described second operation side in addition to the requirement of the above-mentioned relationship adjusted the distance
To giving the requirement in the direction at least one described target device relative to the source device.
Wherein, there are many types at least one second operation direction, the shape at least one user's operation
Formula is related.For example, a user's operation is to hold source device to do gesture, and second operation direction can be the side of the gesture
To, can with acceleration direction characterize;One user's operation is slided on the touch screen of source device, correspondingly, second behaviour
It can be the direction of sliding as direction.
Wherein, corresponding second target direction in each second operation direction, second target direction and described second
The correspondence for operating direction can be there are many mode.Optionally, second target direction is identical as the second operation direction, or
Person, second target direction are projecting direction of second operation direction on some plane of reference (such as horizontal plane).
Further, there are ways to always screen neighbor device according at least one described second target side.
Optionally, the request message carry the source device position and at least one described second target direction, institute
It states request message and is used to indicate and receive any neighbor device of the request message and determining that the neighbor device itself is located at
Response message is sent when at least one described second target direction of the source device.
Optionally, the request message is used to indicate any neighbor device return carrying institute for receiving the request message
The response message of neighbor device self-position is stated, correspondingly, the source device is in the response for receiving any neighbor device return
When message, the neighbor device can be determined whether at itself according to the position of respective neighbours equipment in the response message described in extremely
On few second target direction, to filtered out before 140 not described in itself at least one second target direction
Neighbor device, determine only consider at least one second target side described in itself when the device orientation state in 140
Upward neighbor device is at a distance from itself.
It should be noted that a neighbor device be located at it is any at least one described second target direction of the source device
On second target direction, it is equivalent to the neighbor device and is located at least one described second target direction of the source device;
In addition, optionally having an angle when judging whether a neighbor device is located on one second target direction of the source device
Threshold value, that is, as long as the neighbor device is located at using the source device as the center of circle, using second target direction as center line, the angle
Threshold value is in the fan-shaped region of central angle, it is determined that the neighbor device is located on second target direction of the source device.
In another optional implementation, at least one described operating parameter includes: third operation direction.
Wherein, related with the form of at least one user's operation there are many types in third operation direction.It lifts
For example, a user's operation is to hold source device to do gesture, and third operation direction can be the direction of the gesture, Ke Yiyong
Acceleration direction characterization;One user's operation is slided on the touch screen of source device, and correspondingly, third operation direction can be with
It is the direction of sliding.
It is described according at least at least one described operating parameter in a kind of possible scene of this implementation, it determines
Target bearing requirement, comprising:
Direction is operated according to the third and operates the corresponding relationship in direction and target positioning requirements, determines the target
Orientation requirement.
Wherein, the corresponding relationship of the operation direction and target positioning requirements can be pre-set.
For example, in the corresponding relationship in the operation direction and target positioning requirements, vertical-horizontal is corresponding upwardly
Target positioning requirements include: at least one target device described in multiple neighbor devices of the source device and the source device
Distance is farthest, and corresponding target positioning requirements include: described in multiple neighbor devices of the source device to vertical-horizontal downwards
At least one target device is nearest at a distance from the source device, and the corresponding target positioning requirements in parallel, horizontal face include: described
At least one target device described in multiple neighbor devices of source device is placed in the middle at a distance from the source device, if a user holds
Source device does the gesture of " raising ", and the third operation direction of the user's operation faces upward for vertical-horizontal, correspondingly, described in determination
Target bearing requires to include: at least one target device described in multiple neighbor devices of the source device and the source device
Distance is farthest.
In this implementation, optionally, at least one described operating parameter further include: one the 4th operation direction, and institute
It states the 4th operation direction and is later than third operation direction acquisition.
Wherein, the third operation direction and the 4th operation direction optionally respectively correspond former and later two users behaviour
Make, optionally, at least one operating parameter of first user's operation includes: third operation direction, posterior user behaviour
At least one operating parameter made includes: the 4th operation direction.For example, a user holds source device and has successively done two
Secondary gesture, then a preceding gesture is first user's operation, and a rear gesture is posterior user's operation, correspondingly, described the
Three operation directions are the first acceleration direction of a preceding gesture, and the 4th operation direction is the second acceleration of a rear gesture
Spend direction.
Further, described according at least at least one described operation in another possible scene of this implementation
Parameter determines target bearing requirement, comprising:
It is greater than third threshold value in response to the angle in third operation direction and the 4th operation direction, determines the mesh
Orientation requirement is marked, the target bearing requires to include: at least one target described in multiple neighbor devices of the source device is set
It is standby farthest at a distance from the source device;And/or
In response to the angle in third operation direction and the 4th operation direction less than the 4th threshold value, the mesh is determined
Orientation requirement is marked, the target bearing requires to include: at least one target described in multiple neighbor devices of the source device is set
It is standby nearest at a distance from the source device.
Wherein, the third threshold value, the 4th threshold value can be pre-set.
In this implementation, 140, correspondingly there are many implementation, specifically be can refer in a 120 upper implementation
Corresponding description.
In the present embodiment, sent described at least two used by request message at least twice sequentially in time in 120
The size order of different transmission powers can be arbitrarily, alternatively, be to have certain rule, such as increasing or decreasing, optionally
It is also related to target bearing requirement.For example, when the target bearing requires to include: multiple neighbours of the source device
In equipment at least one target device at a distance from the source device than all other neighbor device at a distance from the source device
When remote, transmission power is optionally adjusted in a manner of generally successively decreasing, and specifically, is asked for the first time with maximum transmission power transmission
Message is sought, the response messages of all neighbor devices may be this time received, is next successively decreased small transmission power with a preset compensation,
Alternatively, second sends request message by transmission power of the half of maximum transmission power, set if this time not receiving any neighbours
Standby response message or the response message for not receiving any equipment more than certain amount, for the third time with maximum transmission power
3/4 sends request message for transmission power, otherwise, sends request report with the 1/4 of maximum transmission power for the third time for transmission power
Text successively continues.
In the present embodiment, there are many purposes at least one the described target device determined in 150.
In an optional implementation manner, the present embodiment further include: the source device is set at least one described target
It is standby to be communicated.
In a kind of application scenarios of the present embodiment, user wears smartwatch and is sitting on the sofa in parlor, in front of it
There is a tablet computer on tea table, then there are also a smart televisions in front, wherein smartwatch is source device, tablet computer and intelligence
TV is the neighbor device of the source device.If user, which wants smartwatch, connects smart television, user's intelligent hand of wearing
The hand of table is done towards front " throws " gesture twice, and the amplitude of first time is less than second, then smartwatch detects for the first time
Acceleration value be less than secondary acceleration value, determine that target device is farther equipment, and first with a larger transmission power
Request message is sent, tablet computer and smart television receive the request message this time sent and returning response message, so
Smartwatch is gradually reduced transmission power with a preset step-length afterwards, and only receives after certain primary transmission request message later
The response message that tablet computer returns, so, smartwatch judges that smart television is farther equipment, and connects therewith
It connects.If user, which wants smartwatch, connects tablet computer, user makes towards front of the hand for wearing smartwatch and " throws twice
Throw " gesture, for the amplitude of first time greater than second, then the acceleration value that smartwatch detects first time is greater than secondary add
Velocity amplitude determines that target device is closer equipment, and first sends request message with a smaller transmission power, and tablet computer receives
The request message that is sent to this and returning response message, and smart television can not receive the request message that this time sends from
And also non-returning response message, then smartwatch is gradually increased transmission power with a preset step-length, and certain is primary later
The response message that tablet computer and smart television return, so, smartwatch have been respectively received after sending request message
Judge that tablet computer is closer equipment, and is attached thereto.
Fig. 2 is a kind of structural schematic diagram of target device determining device embodiment provided by the present application.As shown in Fig. 2, mesh
Marking device determining device (hereinafter referred to as: device) 200 is arranged in a source device, and device 200 includes:
Module 21 is obtained, for obtaining at least one operating parameter of an at least user's operation;
First determining module 22, it is described for determining target bearing requirement according at least at least one described operating parameter
Target bearing requires to include: at least one target device in multiple neighbor devices of the source device and the source device away from
Requirement from the relationship with all other neighbor device at a distance from the source device;
Sending module 23, for being respectively sent to few Twice requests message at least two different transmission powers;
Second determining module 24, for dividing according at least to the multiple neighbor device for the request message at least twice
The multiple response messages not returned, determine device orientation state, the device orientation state include: the multiple neighbor device with
Relationship between the distance of the source device;
Third determining module 25, for determining institute according at least to target bearing requirement and the device orientation state
State at least one described target device in multiple neighbor devices.
In the present embodiment, device 200 is optionally arranged in the source device in a manner of software and/or hardware.
In the present embodiment, the source device can be any equipment, be optionally the manipulable any appliance of user, packet
It includes but is not limited to: smart phone, smartwatch, tablet computer etc..
In the present embodiment, the application object of at least one user's operation be can be on the source device, alternatively, with institute
State the associated another equipment of source device.For example, the source device is a smart phone, at least one user's operation
Apply object can be the smart phone, alternatively, to the associated Intelligent bracelet of the smart phone.
In the present embodiment, at least one described user's operation can there are many forms, at least one described user's operation
Application object it is related.For example, the equipment hand-holdable for one, a user can hold the equipment and make some gestures,
For example it throws, raise, lower;The equipment for having touch screen for one, a user can apply touching on the touch screen of the equipment
Touch operation, for example click, slide etc.;For the equipment with compliant member, a user can be to the compliant member of the equipment
Apply the active force, such as bending, folded flexible component etc. for being enough to make it to generate deformation.
In the present embodiment, there are many parameter types of at least one operating parameter, grasps at least one described user
The form of work is related.For example, a user's operation is to hold source device to do the gesture thrown, the user's operation at least one
Operating parameter optionally includes: acceleration value, acceleration direction;One user's operation is to click the touch screen of source device, the user
At least one operating parameter of operation optionally includes: the number of click, the dynamics clicked every time (i.e. touch pressure).
In the present embodiment, the target bearing, which requires to be equivalent to the user for making at least one user's operation, passes through institute
State the orientation requirement to target device that at least one user's operation is expressed out.Wherein, all other neighbor device refers to institute
State all neighbor devices in multiple neighbor devices in addition at least one described target device, including one or more neighbour
Equipment.
In the present embodiment, the number of target device be can be pre-set at least one described target device, or
Person, user pass through at least one user's operation selection, the number selection of at least one user's operation as described in passing through.It lifts
For example, three times with the touch screen of almost the same dynamics click source device, at least one of the user's operation operates a user
Parameter optionally includes: the average dynamics that the number 3 and 3 time of click is clicked, and correspondingly, the number 3 of click indicates that user wants
The number of the target device selected is 3, and the average dynamics of 3 clicks indicates 3 target devices at a distance from the source device
With relationship of all other neighbor device at a distance from the source device.
In the present embodiment, sending module 23 is at least respectively sent to few Twice requests message with two different transmission powers
Purpose be coverage area in order to change the request message sent every time, that is, change can receive the request sent every time
At least one neighbor device of message.Specifically, the most long distance that the request message that sending module 23 is sent every time can travel to
From the transmission power for depending on this time, and the usual only neighbor device at a distance from the source device within the maximum distance
The request message of the secondary transmission of sending module 23 can be received.For example, neighbours are distributed with around the source device to set
Standby A~E, neighbor device A~E at a distance from the source device successively from small to large, sending module 23 successively with transmission power P1,
P2, P3 send request message, and P1 > P2 > P3, for the request message sent with transmission power P1, neighbor device A~E can be connect
It receives, for the request message sent with transmission power P2, neighbor device A~C can be received, neighbor device D~E is received not
It arrives, for the request message sent with transmission power P3, only neighbor device A can be received.
In the present embodiment, the possible returning response message of neighbor device of request message is only received, and sends request every time
The transmission power of message is different, and therefore, for the request message sent every time, the neighbor device of returning response message may not also
Together, correspondingly, the second determining module 24 can have which or which neighbours to set respectively according to the request message for sending every time
It is standby to return response message, and the size of the transmission power of request message is sent every time, determine each neighbor device and the source
The distance of equipment.For example, sending module 23 successively with transmission power P1, P2, P3 send request message, P1 > P2 >
P3, for the request message sent with transmission power P1, the second determining module 24 has received neighbor device A~E and respectively returns
Response message, for the request message sent with transmission power P2, the second determining module 24 has received neighbor device A~C
The response message respectively returned, for the request message sent with transmission power P3, the second determining module 24 only has received neighbour
The response message of equipment A return is occupied, the second determining module 24 determines according to this: in five neighbor device A~E of the source device
In, neighbor device A is nearest at a distance from the source device, and neighbor device B~C takes second place at a distance from the source device, Lin Jushe
Standby D~E is worst at a distance from the source device.
In the present embodiment, third determining module 25 determines at least one described target device in the multiple neighbor device
Specifically, determine that at least one described target device is matched extremely with target bearing requirement in the multiple neighbor device
A few neighbor device.
Although being had not determined it should be noted that the first determining module 22 has determined the orientation requirement to target device
Target device is specifically which equipment or which equipment, and third determining module 25 has just determined which equipment target device is specifically
Or which equipment.
For example, a user wants to select a neighbour nearest from the source device by least one described user's operation
Occupying equipment is target device;First determining module 22 is determined according at least one operating parameter of at least one user's operation
The target bearing requires to include: a target device is at a distance from the source device in multiple neighbor devices of the source device
It will be close at a distance from the source device than all other neighbor device;The device orientation state packet that second determining module 24 determines
Include: in five neighbor device A~E of the source device, neighbor device A is nearest at a distance from the source device, neighbor device B
~C takes second place at a distance from the source device, and neighbor device D~E is worst at a distance from the source device;Third determining module 25
It is required according to above-mentioned target bearing and device orientation state determines that neighbor device A is the target device that the user wants.
The target device determining device of the present embodiment obtains at least one behaviour of an at least user's operation by obtaining module
Make parameter, the first determining module determines target bearing requirement according at least at least one described operating parameter, sending module so that
Few two different transmission powers are respectively sent to few Twice requests message, and the second determining module is according at least to the multiple neighbours
Equipment determines that device orientation state, third determine mould for multiple response messages that request message returns respectively at least twice
Block according at least to the target bearing require and the device orientation state determine in the multiple neighbor device described at least
One target device provides a kind of scheme of determining target device.
In the present embodiment, the parameter type of at least one operating parameter can there are many.
In an optional implementation manner, at least one described operating parameter includes: the first value of a quantity of state.
Wherein, the quantity of state includes but is not limited to any of the following: acceleration, height above sea level, touch pressure, deformation
Amount.
In this implementation, there are many implementations for the first determining module 22.
In the first possible scene, the first determining module 22 is specifically used for:
It is greater than a first threshold in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
In this implementation, optionally, at least one described operating parameter further include: the one second of the quantity of state
Value, and the second value is later than first value and obtains.
Further, in second of possible scene, the first determining module 22 is specifically used for:
It is less than the second value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
In this implementation, correspondingly there are many implementations for the second determining module 24.
In above-mentioned the first or second of possible scene, optionally, the second determining module 24 is specifically used for: in response to
It receives the multiple neighbor device and is directed to the response message returned with the request message that the first transmission power is sent, and receive
All other neighbor device in the multiple neighbor device in addition at least one described first equipment is directed to than described the
The response message that the request message that smaller one second transmission power of one transmission power is sent returns, determines the device orientation shape
State, the device orientation state include: in the multiple neighbor device at least one first equipment at a distance from the source device
Farthest.
Correspondingly, third determining module 25 is specifically used for: determine at least one described target device be it is described at least one
First equipment.
In the first or second of possible scene of this implementation or this implementation, optionally, it is described at least
One operating parameter further include: at least one first operation direction;The target bearing requirement further include: the multiple neighbours set
Standby is more at least one first object direction corresponding at least one described first operation direction of the source device
A neighbor device.
Further, there are ways to screen neighbor device according at least one described first object direction.
Optionally, the request message carries the position and at least one described first object direction of the source device, institute
It states request message and is used to indicate and receive any neighbor device of the request message and determining that the neighbor device itself is located at
Response message is sent when at least one described first object direction of the source device.
In the third possible scene, the first determining module 22 is specifically used for:
In response to first value less than a second threshold, the target bearing requirement, the target bearing requirement are determined
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
In this implementation, optionally, at least one described operating parameter a further include: third of the quantity of state
Value, and the third value is later than first value and obtains.
Further, in the 4th kind of possible scene, the first determining module 22 is specifically used for:
It is greater than the third value in response to first value, determines the target bearing requirement, the target bearing requirement
It include: that at least one target device described in multiple neighbor devices of the source device is nearest at a distance from the source device.
In above-mentioned the third or the 4th kind of possible scene, optionally, the second determining module 24 is specifically used for: in response to
At least one second equipment is only received in the multiple neighbor device for returning with the request message that third transmission power is sent
The response message returned, and at least one described second equipment and at least one other neighbor device are received for the 4th transmitting
The response message that the request message that power is sent returns, the 4th transmission power are greater than the third transmission power, and determination is set
Standby orientation mode, the device orientation state includes: that at least two the first equipment are set with the source in the multiple neighbor device
Standby distance is nearest.
Correspondingly, third determining module 25 is specifically used for:
Determine that at least one described target device is at least one described second equipment.
In the third or the 4th kind of possible scene of this implementation or this implementation, optionally, it is described at least
One operating parameter further include: at least one second operation direction;The target bearing requirement further include: the multiple neighbours set
Standby is more at least one second target direction corresponding at least one described second operation direction of the source device
A neighbor device.
Further, there are ways to always screen neighbor device according at least one described second target side.
Optionally, the request message carry the source device position and at least one described second target direction, institute
It states request message and is used to indicate and receive any neighbor device of the request message and determining that the neighbor device itself is located at
Response message is sent when at least one described second target direction of the source device.
The specific implementation of any scene of this implementation and this implementation can refer to a kind of target provided by the present application
Equipment determines the corresponding description in embodiment of the method.
In another optional implementation, at least one described operating parameter includes: third operation direction.
In a kind of possible scene of this implementation, the first determining module 22 is specifically used for:
Direction is operated according to the third and operates the corresponding relationship in direction and target positioning requirements, determines the target
Orientation requirement.
In this implementation, optionally, at least one described operating parameter further include: one the 4th operation direction, and institute
It states the 4th operation direction and is later than third operation direction acquisition.
Further, in another possible scene of this implementation, the first determining module 22 is specifically used for: in response to
The angle in the third operation direction and the 4th operation direction is greater than third threshold value, determines the target bearing requirement, institute
It states target bearing to require to include: at least one target device described in multiple neighbor devices of the source device and the source device
Distance it is farthest;And/or
In response to the angle in third operation direction and the 4th operation direction less than the 4th threshold value, the mesh is determined
Orientation requirement is marked, the target bearing requires to include: at least one target described in multiple neighbor devices of the source device is set
It is standby nearest at a distance from the source device.
The specific implementation of any scene of this implementation and this implementation can refer to a kind of target provided by the present application
Equipment determines the corresponding description in embodiment of the method.
In the present embodiment, sending module 23 send at least twice sequentially in time used by request message it is described at least
The size order of two different transmission powers can be arbitrarily, alternatively, be to have certain rule, it, can such as increasing or decreasing
Selection of land is also related to target bearing requirement.For example, when the target bearing requires to include: the source device it is multiple
At least one target device is at a distance from the source device than all other neighbor device and the source device in neighbor device
Apart from it is remote when, optionally sending module 23 adjusts transmission power in a manner of generally successively decreasing, specifically, sending module 23 first
Secondary to send request message with a maximum transmission power, the second determining module 24 may this time receive the response report of all neighbor devices
Text, following sending module 23 are successively decreased small transmission power with a preset compensation, alternatively, second of sending module 23 with maximum hair
The half for penetrating power is that transmission power sends request message, if the second determining module 24 does not receive the sound of any neighbor device this time
It answers message or does not receive the response message of any equipment more than certain amount, 23 third time of sending module is with emission maximum function
The 3/4 of rate is that transmission power sends request message, and otherwise, 23 third time of sending module is transmitting with the 1/4 of maximum transmission power
Power sends request message, successively continues.
In the present embodiment, there are many purposes at least one described target device that third determining module 25 determines.
In an optional implementation manner, as shown in figure 3, device 200 further include: communication module 26, for it is described
At least one target device is communicated.
The application scenarios of the present embodiment specifically can refer to a kind of target device provided by the present application and determine in embodiment of the method
Corresponding description.
Fig. 4 is a kind of structural schematic diagram of user equipment embodiment one provided by the present application.As shown in figure 4, user equipment
400 include:
Module 41 is obtained, for obtaining at least one operating parameter of an at least user's operation;
First determining module 42, it is described for determining target bearing requirement according at least at least one described operating parameter
Target bearing requires to include: at least one target device in multiple neighbor devices of the user equipment and the user equipment
Relationship at a distance from the user equipment of distance and all other neighbor device requirement;
Sending module 43, for being respectively sent to few Twice requests message at least two different transmission powers;
Second determining module 44, for dividing according at least to the multiple neighbor device for the request message at least twice
The multiple response messages not returned, determine device orientation state, the device orientation state include: the multiple neighbor device with
Relationship between the distance of the user equipment;
Third determining module 45, for determining institute according at least to target bearing requirement and the device orientation state
State at least one described target device in multiple neighbor devices.
The user equipment 400 of the present embodiment is the manipulable any appliance of user, including but not limited to: smart phone,
Smartwatch, tablet computer etc..
Optionally, as shown in figure 5, user equipment 400 further include: communication module 46 is used for and at least one described target
Equipment is communicated.
The specific implementation of each module can refer to a kind of target device determining device provided by the present application and implement in the present embodiment
Respective modules in example, specifically: obtaining the corresponding acquisition module 21 of module 41, corresponding first determining module of the first determining module 42
22, and so on.
The user equipment of the present embodiment obtains at least one operating parameter of an at least user's operation by obtaining module, the
One determining module determines target bearing requirement according at least at least one described operating parameter, and sending module is at least two differences
Transmission power be respectively sent to few Twice requests message, the second determining module is directed to institute according at least to the multiple neighbor device
State multiple response messages that request message at least twice returns respectively and determine device orientation state, third determining module according at least to
The target bearing requires and the device orientation state determines that at least one described target in the multiple neighbor device is set
It is standby, provide a kind of scheme of determining target device.
Fig. 6 is a kind of structural schematic diagram of user equipment embodiment two provided by the present application.As shown in fig. 6, user equipment
600 include:
Processor (processor) 61,62, memory communication interface (Communications Interface)
(memory) 63 and communication bus 64.Wherein:
Processor 61, communication interface 62 and memory 63 complete mutual communication by communication bus 64.
Communication interface 62, for the communication with the external equipments such as such as neighbor device.
Processor 61 can specifically execute above-mentioned target device and determine phase in embodiment of the method for executing program 632
Close step.
Specifically, program 632 may include program code, and said program code includes computer operation instruction.
Processor 61 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement above-mentioned target device determines embodiment of the method one
A or multiple integrated circuits.
Memory 63, for storing program 632.Memory 63 may include high speed RAM memory, it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least a magnetic disk storage.Program 632 specifically can be used for
So that user equipment 600 executes following steps:
Obtain at least one operating parameter of an at least user's operation;
According at least at least one described operating parameter, target bearing requirement is determined, the target bearing requires to include: right
At least one target device is set at a distance from user equipment 600 with all other neighbours in multiple neighbor devices of the source device
The requirement of the standby relationship at a distance from user equipment 600;
Few Twice requests message is respectively sent to at least two different transmission powers;
According at least to the multiple neighbor device for multiple response reports that request message returns respectively at least twice
Text determines that device orientation state, the device orientation state include: the multiple neighbor device at a distance from user equipment 600
Between relationship;
According at least to target bearing requirement and the device orientation state, the institute in the multiple neighbor device is determined
State at least one target device.
The specific implementation of each step may refer to above-mentioned target device and determine corresponding step in embodiment of the method in program 632
Corresponding description in rapid, this will not be repeated here.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part or the technical solutions that contribute to original technology can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above embodiments are only used to illustrate the present invention, and not limitation of the present invention, in relation to the common of technical field
Technical staff can also make a variety of changes and modification without departing from the spirit and scope of the present invention, therefore all
Equivalent technical solution also belongs to scope of the invention, and scope of patent protection of the invention should be defined by the claims.
Claims (10)
1. a kind of target device determines method, which is characterized in that the described method includes:
At least one operating parameter of an one source device acquisition at least user's operation;
According at least at least one described operating parameter, target bearing requirement is determined, the target bearing requires to include: to described
In multiple neighbor devices of source device at least one target device at a distance from the source device and all other neighbor device with
The requirement of the relationship of the distance of the source device;
Few Twice requests message is respectively sent to at least two different transmission powers;
According at least to the multiple neighbor device for multiple response messages that request message returns respectively at least twice, really
Locking equipment orientation mode, the device orientation state include: the multiple neighbor device at a distance from the source device between
Relationship;
According at least to the target bearing require and the device orientation state, determine in the multiple neighbor device it is described extremely
A few target device.
2. the method according to claim 1, wherein at least one described operating parameter includes: a quantity of state
First value.
3. according to the method described in claim 2, it is characterized in that, described according at least at least one described operating parameter, really
The orientation that sets the goal requirement, comprising:
It is greater than a first threshold in response to first value, determines the target bearing requirement, the target bearing requires to include:
At least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
4. according to the method described in claim 2, it is characterized in that, at least one described operating parameter further include: the state
One second value of amount, and the second value is later than first value and obtains.
5. according to the method described in claim 4, it is characterized in that, described according at least at least one described operating parameter, really
The orientation that sets the goal requirement, comprising:
It is less than the second value in response to first value, determines the target bearing requirement, the target bearing requires to include:
At least one target device described in multiple neighbor devices of the source device is farthest at a distance from the source device.
6. the method according to claim 3 or 5, which is characterized in that described to be directed to according at least to the multiple neighbor device
The response message that the request message at least twice returns respectively, determines device orientation state, comprising:
The response report returned with the request message that the first transmission power is sent is directed in response to receiving the multiple neighbor device
Text, and receive all other neighbor device in the multiple neighbor device in addition at least one first equipment be directed to than
The response message that the request message that smaller one second transmission power of first transmission power is sent returns, determines the equipment
Orientation mode, the device orientation state include: at least one first equipment and the source device in the multiple neighbor device
Distance it is farthest.
7. according to the method described in claim 6, it is characterized in that, described require to set with described according at least to the target bearing
Standby orientation mode, determines at least one described target device in the multiple neighbor device, comprising:
Determine that at least one described target device is at least one described first equipment.
8. according to the method any in claim 2~5, which is characterized in that the quantity of state includes following any: being added
Speed, height above sea level, touch pressure, deformation quantity.
9. a kind of target device determining device, it is arranged in a source device, which is characterized in that described device includes:
Module is obtained, for obtaining at least one operating parameter of an at least user's operation;
First determining module, for determining target bearing requirement, the target side according at least at least one described operating parameter
Position requires to include: at least one target device in multiple neighbor devices of the source device at a distance from the source device and institute
There is the requirement of relationship of other neighbor devices at a distance from the source device;
Sending module, for being respectively sent to few Twice requests message at least two different transmission powers;
Second determining module, for being returned respectively according at least to the multiple neighbor device for the request message at least twice
Multiple response messages, determine that device orientation state, the device orientation state include: the multiple neighbor device and the source
Relationship between the distance of equipment;
Third determining module, for determining the multiple according at least to target bearing requirement and the device orientation state
At least one described target device in neighbor device.
10. a kind of user equipment, which is characterized in that the user equipment includes:
Module is obtained, for obtaining at least one operating parameter of an at least user's operation;
First determining module, for determining target bearing requirement, the target side according at least at least one described operating parameter
Position requires to include: at least one target device in multiple neighbor devices of the user equipment at a distance from the user equipment
With the requirement of relationship of all other neighbor device at a distance from the user equipment;
Sending module, for being respectively sent to few Twice requests message at least two different transmission powers;
Second determining module, for being returned respectively according at least to the multiple neighbor device for the request message at least twice
Multiple response messages, determine that device orientation state, the device orientation state include: the multiple neighbor device and the use
Relationship between the distance of family equipment;
Third determining module, for determining the multiple according at least to target bearing requirement and the device orientation state
At least one described target device in neighbor device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510146546.2A CN106161737B (en) | 2015-03-31 | 2015-03-31 | Target device determines method, apparatus and user equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510146546.2A CN106161737B (en) | 2015-03-31 | 2015-03-31 | Target device determines method, apparatus and user equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106161737A CN106161737A (en) | 2016-11-23 |
CN106161737B true CN106161737B (en) | 2019-12-03 |
Family
ID=57337174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510146546.2A Active CN106161737B (en) | 2015-03-31 | 2015-03-31 | Target device determines method, apparatus and user equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161737B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114302501A (en) * | 2021-12-31 | 2022-04-08 | 联想(北京)有限公司 | Method and device for establishing connection and electronic system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101421995A (en) * | 2006-04-14 | 2009-04-29 | 高通股份有限公司 | Distance-based association |
CN103220618A (en) * | 2012-01-24 | 2013-07-24 | 诺基亚公司 | Method and device used for directional peer-to-peer networking |
CN103260127A (en) * | 2012-02-20 | 2013-08-21 | 联想(北京)有限公司 | Method for providing service for electronic equipment, target positioning method and electronic equipment |
CN103826208A (en) * | 2014-01-22 | 2014-05-28 | 深圳市同洲电子股份有限公司 | Wireless interaction method, terminal and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375527A (en) * | 2010-08-12 | 2012-03-14 | 财团法人工业技术研究院 | Method and system for triggering electronic device to execute corresponding function |
-
2015
- 2015-03-31 CN CN201510146546.2A patent/CN106161737B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101421995A (en) * | 2006-04-14 | 2009-04-29 | 高通股份有限公司 | Distance-based association |
CN103220618A (en) * | 2012-01-24 | 2013-07-24 | 诺基亚公司 | Method and device used for directional peer-to-peer networking |
CN103260127A (en) * | 2012-02-20 | 2013-08-21 | 联想(北京)有限公司 | Method for providing service for electronic equipment, target positioning method and electronic equipment |
CN103826208A (en) * | 2014-01-22 | 2014-05-28 | 深圳市同洲电子股份有限公司 | Wireless interaction method, terminal and system |
Also Published As
Publication number | Publication date |
---|---|
CN106161737A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104679336B (en) | Adjust the method and device of touch-screen parameter | |
CN105159505B (en) | A kind of interface operation method and terminal | |
CN105451090B (en) | Image processing method and image processing apparatus | |
KR20140009074A (en) | Smart scheduled sync method for sync applications and mobile device | |
CN109120524A (en) | Link aggregation method and relevant device | |
CN102693094A (en) | Method, client side and system for adjusting characters in instant messaging | |
CN104504428A (en) | Information transmission method, information transmission system and mobile terminal based on two-dimension code | |
CN107277917A (en) | Communication frequency system of selection, device, storage medium and mobile terminal | |
CN104469860A (en) | Resource distributing method and device | |
CN108901079A (en) | Time-out time determines method, apparatus, equipment and storage medium | |
CN104484038B (en) | The control method and device of smart machine | |
CN107734556B (en) | Data transfer control method and Related product | |
CN104411006A (en) | Method and device for adjusting power of router and router | |
CN108717325A (en) | Operating gesture setting method, device and mobile terminal | |
CN106161737B (en) | Target device determines method, apparatus and user equipment | |
CN108886750A (en) | Transmission, method, apparatus, base station and the terminal for monitoring secondary carrier configuration information | |
CN104507039A (en) | Communication method and user devices | |
CN103593137B (en) | Phone number transfer approach and phone number transmission system | |
CN109634428A (en) | Electronic equipment, feedback prompts method, apparatus and terminal device | |
CN105323141B (en) | A kind of information transferring method, system and mobile terminal based on image recognition | |
CN109479008A (en) | Conference system | |
CN109921975A (en) | Personal information distribution method and device | |
CN103593873B (en) | face image adjusting system and method | |
CN109587806A (en) | A kind of scheduling request sending method and terminal device | |
CN104571879B (en) | A kind of control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |