CN103731800A - Terminal positioning method and apparatus - Google Patents

Terminal positioning method and apparatus Download PDF

Info

Publication number
CN103731800A
CN103731800A CN201210389995.6A CN201210389995A CN103731800A CN 103731800 A CN103731800 A CN 103731800A CN 201210389995 A CN201210389995 A CN 201210389995A CN 103731800 A CN103731800 A CN 103731800A
Authority
CN
China
Prior art keywords
terminal equipment
terminal
equipment
electronic compass
pointed
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.)
Granted
Application number
CN201210389995.6A
Other languages
Chinese (zh)
Other versions
CN103731800B (en
Inventor
孟超峰
陈晓薇
陈凌云
祝枫
胡研
夏炎
罗凯耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210389995.6A priority Critical patent/CN103731800B/en
Publication of CN103731800A publication Critical patent/CN103731800A/en
Application granted granted Critical
Publication of CN103731800B publication Critical patent/CN103731800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a terminal positioning method and apparatus. The method includes the steps that a first terminal positioning request sent by a first terminal device is received; current position information of the first terminal device is obtained; all second terminal devices falling in a positioning area corresponding to the current position information of the first terminal device are searched for; the directions pointed to by electronic compasses in all the found second terminal devices and the first terminal device are obtained; the second terminal device is determined from all the found second terminal devices, wherein the direction pointed to by the corresponding electronic compass, of the second terminal device and the direction, pointed to by the corresponding electronic compass, of the first terminal device meet a preset matching rule. By the adoption of the technical scheme, the problems that in the prior art, terminal positioning is low in accuracy and poor in flexibility, and the positioning process is tedious are solved.

Description

Method of locating terminal and device
Technical field
The application relates to field of locating technology, relates in particular to a kind of method of locating terminal and device.
Background technology
In prior art, between two very near terminal equipments of distance, may need transmission information (such as card information or image information etc.), now, one of them terminal equipment need to find another terminal equipment by near the terminal equipment being arranged in, and then establish a communications link with this another terminal equipment finding, to carry out communication.
Wherein, can adopt collision (Bump) technology to carry out positioning terminal equipment, concrete steps are: use the user of terminal equipment A to want by terminal equipment A and other-end device transmission information, now use the user of terminal equipment A need to rock terminal equipment A, gravity sensor in terminal equipment A senses and rocks after operation, can be to the location-server transmitting terminal Location Request of network side, the coordinate of self current present position is reported to location-server, location-server just can access the coordinate of this terminal equipment A, or under terminal equipment A is current by self, the sign of base station and reporting signal strength are to location-server, sign and the signal strength signal intensity of base station under location-server is current according to this terminal equipment A, just can calculate the coordinate of this terminal equipment A, in addition, location-server can be carried out using the time point of receiving terminal Location Request as this terminal equipment A the time point that rocks operation, location-server is oriented and is carried out with terminal equipment A that to rock the time point of operation identical, and the terminal equipment of coordinate difference in default coordinate difference threshold value, and the sign of the terminal equipment of orienting is offered to terminal equipment A, so that terminal equipment A establishes a communications link with this terminal equipment of orienting.
Therefore, if terminal equipment A need to terminal equipment B transmission information, the user who uses terminal equipment B also need to be when terminal equipment A carries out and rocks operation, rock terminal equipment B, if two terminal equipments are carried out the time point difference of rocking operation, location-server just can not be for terminal equipment A orients terminal equipment B so, and this just makes the ratio of precision of terminal positioning lower, and require higher to user's interaction.
In addition, also can Bluetooth technology carry out positioning terminal equipment, concrete steps are: when terminal equipment A need to be with terminal equipment B transmission information, two terminal equipments all need to open Bluetooth function, be that user need to start the bluetooth module in terminal equipment, if terminal equipment A need to search terminal equipment B, use the state that the user of terminal equipment B need to terminal equipment B to be set to externally visible, at terminal equipment A, search after terminal equipment B, the user who uses terminal equipment A also need in terminal equipment A, input terminal equipment B arranges authorization code, could set up the communication connection between terminal equipment A and terminal equipment B.
Therefore while carrying out positioning terminal equipment by Bluetooth technology, user's operation is more loaded down with trivial details, make the flexibility of terminal positioning poor.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of method of locating terminal and device, lower for solving the ratio of precision of prior art terminal positioning, and position fixing process is more loaded down with trivial details, the problem that flexibility is poor.
The embodiment of the present application is achieved through the following technical solutions:
A method of locating terminal, the method comprising the steps of: receive the first terminal Location Request that first terminal equipment sends; Obtain the current positional information of first terminal equipment; Search each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment; Electronic compass direction pointed in each second terminal equipment that obtains described first terminal equipment and find; In each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
A terminal positioning device, comprising: the first Location Request receiving element, the first terminal Location Request sending for receiving first terminal equipment; Positional information obtains unit, for obtaining the current positional information of first terminal equipment; Equipment is searched unit, for searching each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment; Direction acquiring unit, searches for obtaining described first terminal equipment and equipment the respectively electronic compass direction pointed of second terminal equipment that unit finds; Equipment determining unit, each second terminal equipment finding for search unit at equipment, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
Equipment determining unit, each second terminal equipment finding for search unit at equipment, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
In the embodiment of the present application technical scheme, after receiving the first terminal Location Request of first terminal equipment transmission, first obtain the current positional information of first terminal equipment, search each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment, then the electronic compass direction pointed in each second terminal equipment that obtains described first terminal equipment and find, in each second terminal finding, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule, seen from the above description, if first terminal equipment need to the second terminal equipment transmission information, only need to use the user of first terminal equipment to rotate this first terminal equipment, so that the electronic compass of the electronic compass of first terminal equipment direction pointed and this second terminal equipment direction pointed meets default matched rule, terminal positioning device just can be oriented this second terminal equipment for first terminal equipment, without user, in position fixing process, rock terminal equipment, also without the time point that rocks operation according to terminal equipment execution, position, therefore effectively improved the precision of terminal positioning, and reduced the interactive requirement to user, in addition, the method of locating terminal that the embodiment of the present application proposes is carried out the operation of state and input authorization code that terminal equipment is set without user, simplified the flow process of terminal positioning, effectively improved the flexibility of terminal positioning.
The application's further feature and advantage will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the application.The application's object and other advantages can be realized and be obtained by specifically noted structure in the specification write, claims and accompanying drawing.
Accompanying drawing explanation
Accompanying drawing is used to provide further understanding of the present application, and forms a part for specification, is used from explanation the application with the embodiment of the present application one, does not form the restriction to the application.In the accompanying drawings:
Fig. 1 is in the embodiment of the present application one, method of locating terminal schematic flow sheet;
Fig. 2 is in the embodiment of the present application one, the electronic compass direction schematic diagram one of terminal equipment A and terminal equipment B;
Fig. 3 is in the embodiment of the present application one, the electronic compass direction schematic diagram two of terminal equipment A and terminal equipment B;
Fig. 4 is in the embodiment of the present application one, the electronic compass direction schematic diagram three of terminal equipment A and terminal equipment B;
Fig. 5 is in the embodiment of the present application one, the electronic compass direction schematic diagram four of terminal equipment A and terminal equipment B;
Fig. 6 is in the embodiment of the present application two, method of locating terminal specific implementation schematic flow sheet one;
Fig. 7 is in the embodiment of the present application three, method of locating terminal specific implementation schematic flow sheet two;
Fig. 8 is in the embodiment of the present application four, method of locating terminal specific implementation schematic flow sheet three;
Fig. 9 is in the embodiment of the present application five, terminal positioning apparatus structure schematic diagram.
Embodiment
Below in conjunction with Figure of description, the application's preferred embodiment is described, should be appreciated that preferred embodiment described herein is only for description and interpretation the application, and be not used in restriction the application.And in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
Embodiment mono-
As shown in Figure 1, be the method for locating terminal flow chart that the embodiment of the present application one proposes, its concrete handling process is as follows:
Step 11, receives the first terminal Location Request that first terminal equipment sends.
Wherein, the terminal equipment of mentioning in the embodiment of the present application one can be mobile terminal device, can be also personal computer (PC, Personal Computer) equipment.The terminal positioning device of carrying out method of locating terminal can be, but not limited to be placed in location-server.
If use the user of first terminal equipment to want by first terminal equipment and other-end device transmission information, can pass through the above-mentioned first terminal equipment of use to the terminal positioning device transmission first terminal Location Request of network side, wherein, above-mentioned first terminal equipment can be information sender equipment, be that first terminal equipment is need to send information to other-end equipment time, terminal positioning device to network side sends first terminal Location Request, above-mentioned first terminal equipment can be also receiving party's equipment, be that first terminal equipment is need to receive the information that other-end equipment sends time, terminal positioning device to network side sends first terminal Location Request.
In the embodiment of the present application one, if use the user of first terminal equipment to open certain application in first terminal equipment with positioning function, first terminal equipment can send first terminal Location Request to terminal positioning device; Or the user who uses first terminal equipment has opened certain application in first terminal equipment with positioning function, and supresses the navigation button on application interface, and first terminal equipment can send first terminal Location Request to terminal positioning device; Or use the user of first terminal equipment to open certain application in first terminal equipment with positioning function, and use the user of first terminal equipment that first terminal equipment is kept flat, being first terminal equipment detects self in horizontal positioned state by self gravity sensor, and first terminal equipment can send first terminal Location Request to terminal positioning device.
Step 12, obtains the current positional information of first terminal equipment, searches each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment.
In the embodiment of the present application one, terminal positioning device is when positioning, first according to the localization method of prior art, carry out fuzzy location, to orient near each terminal equipment being positioned at first terminal equipment, wherein, each terminal equipment that terminal positioning device is oriented after carrying out fuzzy location can be called each the second terminal equipment.
Terminal positioning device is when carrying out fuzzy location, first obtain the current positional information of first terminal equipment, then search each second terminal equipment falling in locating area corresponding to this current present position of first terminal equipment, each second terminal equipment finding is fuzzy the second terminal equipment of orienting.
Wherein, the current positional information of first terminal equipment can be the coordinate of the current present position of first terminal equipment, and terminal positioning device can be, but not limited to adopt GPS positioning mode or architecture method to carry out fuzzy location.Below simple lower GPS positioning mode and the architecture method introduced.
One, GPS positioning mode.
GPS module in each terminal equipment periodically reports terminal positioning device by the coordinate of self current present position, terminal positioning device receives after the first terminal Location Request of first terminal equipment transmission, the coordinate of the current present position of other-end equipment is compared with the coordinate of the current present position of first terminal equipment respectively, orient and first terminal equipment between other each terminal equipments in default coordinate difference threshold value of coordinate difference, the terminal equipment of orienting so just falls in locating area corresponding to the current positional information of this first terminal equipment.
Two, architecture method.
When terminal equipment is when indoor, under self is current, the sign of base station and reporting signal strength are to terminal positioning device, terminal positioning device receives after the first terminal Location Request of first terminal equipment transmission, sign and the signal strength signal intensity of base station under current according to this first terminal equipment, just can calculate the coordinate of this current present position of first terminal equipment, terminal positioning device is compared the coordinate of other-end equipment respectively with the coordinate of first terminal equipment, orient and first terminal equipment between other each terminal equipments in default coordinate difference threshold value of coordinate difference, the terminal equipment of orienting so just falls in locating area corresponding to the current positional information of this first terminal equipment.
Step 13, obtain described first terminal equipment and each second terminal equipment of finding in electronic compass direction pointed.
Terminal positioning device is after carrying out fuzzy location, according to electronic compass direction pointed, accurately locate again, terminal positioning device is when accurately locating, first will obtain the electronic compass direction pointed in first terminal equipment and fuzzy each second terminal equipment of orienting, the mode of obtaining electronic compass direction pointed can be, but not limited to comprise following three kinds of modes:
The first obtain manner, terminal positioning device active obtaining, terminal positioning device is in the time need to obtaining electronic compass direction pointed, to first terminal equipment and fuzzy each second terminal equipment of orienting respectively sending direction obtain request, first terminal equipment and each second terminal equipment are receiving after above-mentioned direction obtains request, gather the direction signs of self electronic compass direction pointed, and the direction signs that collect are fed back to terminal positioning device, terminal positioning device just can be according to the direction signs that receive so, determine the electronic compass direction pointed in first terminal equipment and each second terminal equipment.
The second obtain manner, terminal equipment active reporting, each terminal equipment periodically gathers the direction signs of self electronic compass direction pointed, and reports terminal positioning device, and wherein, report cycle can arrange.Terminal positioning device receives after the direction signs that terminal equipment reports for the first time, by the sign corresponding stored of the direction signs that receive and this terminal equipment, the sign of terminal equipment and the corresponding relation between direction signs have so just been obtained, follow-up, receive after the direction signs that terminal equipment periodically reports, terminal positioning device upgrades the direction signs of the terminal equipment in above-mentioned corresponding relation, concrete: terminal positioning device is for each terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding, and the direction signs that this time report according to this terminal equipment receiving, renewal finds, the direction signs that this terminal equipment is corresponding, therefore, in the sign of terminal equipment and the corresponding relation between direction signs, store the direction signs that each terminal equipment the last time reports.Wherein, above-mentioned corresponding relation can be, but not limited to as shown in the table:
The sign of terminal equipment Direction signs
The sign of terminal equipment A Direction a
The sign of terminal equipment B Direction b
The sign of terminal equipment C Direction c
Follow-up terminal positioning device is when the electronic compass that need to obtain first terminal equipment and the second terminal equipment direction pointed, for first terminal equipment and each second terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding, and according to the direction signs that find, determine the electronic compass direction pointed in this terminal equipment.
In the embodiment of the present application, the sign of terminal equipment is the sign for marking terminal equipment, the sign of terminal equipment can be device identification corresponding to terminal equipment, can be also user's mark (hereinafter to be referred as user ID corresponding to terminal equipment) of the device identification binding corresponding with terminal equipment.
In the above-mentioned second way, if adopt GPS positioning mode, carry out fuzzy location, terminal equipment can report terminal positioning device together with the coordinate of the direction signs of collection and self current present position, and the cycle that now reports direction signs is with to report the cycle of coordinate consistent; If adopt architecture method, carry out fuzzy location, terminal equipment can report terminal positioning device together with the sign of the current affiliated base station of the direction signs of collection and self and signal strength signal intensity, now reports the cycle of the cycle of direction signs and the sign of reporting base station and signal strength signal intensity consistent.
The third obtain manner, before first terminal equipment need to send first terminal Location Request to terminal positioning device, gather the direction signs of self electronic compass direction pointed, and the direction signs of the electronic compass of collection direction pointed are carried at and in first terminal Location Request, send to terminal positioning device, terminal positioning device receives after first terminal Location Request, from first terminal Location Request, extract direction signs, and according to the direction signs that extract, obtain the electronic compass direction pointed of first terminal equipment.
The electronic compass direction pointed that terminal positioning device can obtain first terminal equipment according to above-mentioned the third obtain manner, then obtains the respectively electronic compass direction pointed of second terminal equipment according to above-mentioned the first obtain manner or the second obtain manner.
Electronic compass in terminal equipment is also digital compass, is a kind of equipment that utilizes the Lai Ding arctic, earth magnetic field, all has electronic compass in general terminal equipment.
Step 14, in each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
Terminal positioning device is when accurately locating, in fuzzy each second terminal equipment of orienting, the electronic compass direction pointed of determining electronic compass direction pointed and first terminal equipment meets the second terminal equipment of default matched rule, and it is the second terminal equipment that first terminal equipment is accurately oriented that the second terminal equipment of determining is terminal positioning device.
Wherein, above-mentioned default matched rule can be: the electronic compass of the second terminal equipment direction pointed direction pointed with the electronic compass of first terminal equipment is identical.Now, when the electronic compass of the second terminal equipment direction pointed direction pointed with the electronic compass of first terminal equipment is identical, this second terminal equipment is the terminal equipment that terminal positioning device is accurately oriented.If use the user of first terminal equipment to want by first terminal equipment and near the second terminal equipment transmission information, use the user of first terminal equipment just can rotate first terminal equipment, so that the electronic compass of first terminal equipment direction pointed is identical with direction that need to be pointed with the electronic compass of the second terminal equipment of first terminal device transmission information, terminal positioning device just can be by the electronic compass direction pointed of each terminal equipment of judgement so, at near each second terminal equipment being arranged in first terminal equipment, for first terminal equipment accurately orient need to the second terminal equipment of first terminal device transmission information.
For example, the direction that the electronic compass of terminal equipment A is pointed and the electronic compass of terminal equipment B direction pointed as shown in Figure 2, if use the user of terminal equipment A to want by terminal equipment A and terminal equipment B transmission information, this user rotates the direction of terminal equipment A, as shown in Figure 3, the electronic compass of the terminal equipment A after the rotation direction pointed direction pointed with the electronic compass of terminal equipment B is identical.
Above-mentioned default matched rule can be: the opposite direction that the direction that the electronic compass of the second terminal equipment is pointed and the electronic compass of first terminal equipment are pointed.Now, when the electronic compass of the electronic compass of the second terminal equipment direction pointed and first terminal equipment opposite direction pointed, this second terminal equipment is the terminal equipment that terminal positioning device is accurately oriented.If use the user of first terminal equipment to want by first terminal equipment and near the second terminal equipment transmission information, use the user of first terminal equipment just can rotate first terminal equipment, so that the electronic compass of first terminal equipment direction pointed and opposite direction that need to be pointed with the electronic compass of the second terminal equipment of first terminal device transmission information, terminal positioning device just can be by the electronic compass direction pointed of each terminal equipment of judgement so, at near each second terminal equipment being arranged in first terminal equipment, for first terminal equipment accurately orient need to the second terminal equipment of first terminal device transmission information.
For example, the direction that the electronic compass of terminal equipment A is pointed and the electronic compass of terminal equipment B direction pointed as shown in Figure 4, if use the user of terminal equipment A to want by terminal equipment A and terminal equipment B transmission information, this user rotates the direction of terminal equipment A, as shown in Figure 5, the electronic compass of the electronic compass of the terminal equipment A after rotation direction pointed and terminal equipment B opposite direction pointed.
The embodiment of the present application one proposes, terminal positioning device is according to the electronic compass of each terminal equipment direction pointed, for first terminal equipment orient need to the second terminal equipment of first terminal device transmission information after, first terminal equipment the sign of the second terminal equipment of orienting can be sent to first terminal equipment, so that can establish a communications link to carry out communication with the second terminal equipment of orienting.Wherein, the sign of the second terminal equipment can be device identification corresponding to the second terminal equipment, can be also the user ID (i.e. user ID corresponding to the second terminal equipment) of the device identification binding corresponding with the second terminal equipment.
Wherein, terminal positioning device can directly send to first terminal equipment by the sign of each second terminal equipment of accurately orienting.
In addition, first terminal equipment also can set in advance the defined amount of the sign of the terminal equipment that needs feedback, the defined amount that for example first terminal equipment sets in advance is one, that is to say that sign that terminal positioning device only need to feed back a terminal equipment is to first terminal equipment.If being first terminal equipment, terminal positioning device accurately orients at least two the second terminal equipments, terminal positioning device can be before sending to first terminal equipment by the sign of the second terminal equipment of orienting, first obtain that first terminal equipment sets in advance, the defined amount of the sign of the terminal equipment that need to feed back, whether the number of the second terminal equipment that then judgement is accurately oriented is greater than the afore mentioned rules number of acquisition, if the determination result is NO, terminal positioning device can directly send to first terminal equipment by the sign of the second terminal equipment of accurately orienting.
If the determination result is YES, it is the defined amount of the sign of the number of the second terminal equipment of accurately orienting of the terminal positioning device terminal equipment that surpassed the needs feedback that first terminal equipment sets in advance, terminal positioning device can send failed information to first terminal equipment, with prompting first terminal equipment, locate unsuccessfully, in addition, terminal positioning device also can be selected afore mentioned rules number the second terminal equipment in each second terminal equipment of accurately orienting, then the sign of each second terminal equipment of selecting is sent to first terminal equipment.
In the embodiment of the present application one, when terminal positioning device is selected individual the second terminal equipment of defined amount in each second terminal equipment of accurately orienting, can according to and first terminal equipment between order from the close-by examples to those far off of distance, the sign of each second terminal equipment of accurately orienting is sorted, then in the sign of each second terminal equipment after sequence, the sign of defined amount the second terminal equipment before selecting, and by the identification feedback of the defined amount of selecting second terminal equipment to first terminal equipment.
In addition, if the sign of at least two the second terminal equipments of the final feedback of terminal positioning device is to first terminal equipment, terminal positioning device can first sort the sign of the second terminal equipment to be feedback, then by the identification feedback of the second terminal equipment after sequence to first terminal equipment.Wherein, terminal positioning device can according to and first terminal equipment between order from the close-by examples to those far off of distance, the sign of each the second terminal equipment is sorted.
In the embodiment of the present application one, terminal positioning device is after sending to first terminal equipment by the sign of the second terminal equipment, can send the inquiry message connecting with the second terminal equipment of determining (the second terminal equipment of accurately orienting) for whether inquiring to first terminal equipment, first terminal equipment represents the inquiry message receiving, if in the sign of the second terminal equipment that first terminal equipment receives, comprise and need to carry out with first terminal equipment the sign of the second terminal equipment of communication, use the user of first terminal equipment can pass through first terminal equipment, the sign that need to carry out the second terminal equipment of communication with first terminal equipment feeds back to terminal positioning device in being carried at and confirming to reply, terminal positioning device is after the confirmation that receives first terminal equipment feedback is replied, set up the communication connection between the second terminal equipment that first terminal equipment is corresponding with the sign of carrying in the definite reply receiving.
Terminal positioning device by the identification feedback of the second terminal equipment to after first terminal equipment, if use the user of first terminal equipment in the sign of the second terminal equipment receiving, do not find need to the sign of the second terminal equipment of first terminal device transmission information, this user may be rotated further first terminal equipment so, now the electronic compass of first terminal equipment direction pointed will change, in addition, terminal positioning device is that the direction of fuzzy each second terminal equipment oriented of first terminal equipment also may change, in order further to improve the precision of terminal positioning, the embodiment of the present application one proposes, whether the electronic compass direction pointed that terminal positioning device detects in first terminal equipment and fuzzy each second terminal equipment of orienting changes, if the electronic compass direction pointed of at least one terminal equipment in each second terminal equipment that first terminal equipment detected and find changes, terminal positioning device is again in fuzzy each second terminal equipment of orienting, determine that the electronic compass direction pointed of direction that electronic compass is pointed and first terminal equipment meets the second terminal equipment of default matched rule, whether the second terminal equipment that then judgement of terminal positioning device is this time determined is identical with last the second terminal equipment of determining, if judge identical, can not process, if judge difference, the sign of the second terminal equipment that terminal positioning device can be determined this sends to first terminal equipment, to upgrade the sign of last the second terminal equipment sending.
In the embodiment of the present application one, terminal positioning device is after orienting each second terminal equipment for first terminal equipment is fuzzy, and before the direction pointed of the electronic compass in obtaining each terminal equipment, the sign of fuzzy each second terminal equipment of orienting (each second terminal equipment in locating area corresponding to the current positional information of the first terminal equipment that falls into that finds) can be sent to first terminal equipment, first terminal equipment represents the sign of each second terminal equipment receiving to user, wherein, the sign of terminal equipment can comprise use the user of terminal equipment arrange image and Word message, the electronic compass direction pointed that follow-up terminal positioning device is accurately oriented electronic compass direction pointed and first terminal equipment meets after the second terminal equipment of default matched rule, the sign of the second terminal equipment of accurately orienting is sent to first terminal equipment, the sign that first terminal equipment is searched the second terminal equipment of accurately orienting in the sign of fuzzy each second terminal equipment of orienting, and the image in the sign finding is amplified, so that use the user of first terminal equipment to know, be positioned near each second terminal equipment of first terminal equipment, pointed reverse identical or contrary of the electronic compass of which the second terminal equipment and first terminal equipment.
In addition, the embodiment of the present application one also proposes, terminal positioning device is accurately being oriented after the second terminal equipment for first terminal equipment, can be directly between first terminal equipment and the second terminal equipment of accurately orienting, establish a communications link, first terminal equipment just can be directly and the second terminal equipment transmission information of accurately orienting so, the flexibility that has effectively improved transmission information between terminal equipment.
Seen from the above description, method of locating terminal in the embodiment of the present application one comprises fuzzy location, accurately locates and feed back three steps of positioning result, or comprise fuzzy location, accurate three steps of locating and establish a communications link, terminal positioning device receives after the first terminal Location Request of first terminal equipment transmission, carry out the step of fuzzy location, wherein, terminal positioning device can be after carrying out fuzzy location, directly carry out the step of accurately locating and feed back positioning result, or the step that directly execution is accurately located and established a communications link; Terminal positioning device also can be after receiving the second terminal positioning request that first terminal equipment sends, then carry out the accurately step of location and feedback positioning result, or carry out the step of accurately locating and establishing a communications link; In addition, terminal positioning device also can be carried out pinpoint step after carrying out fuzzy location, then, after receiving the second terminal positioning request of first terminal equipment transmission, carries out the step of feeding back positioning result or establishing a communications link.Therefore, the method for locating terminal in the embodiment of the present application one at least comprises following three kinds of positioning flows, is specially:
The first positioning flow, first terminal equipment sends first terminal Location Request to terminal positioning device, terminal positioning device receives after first terminal Location Request, carry out fuzzy location, search each second terminal equipment falling in locating area corresponding to the current positional information of this first terminal equipment, then accurately locate, the electronic compass direction pointed in each second terminal equipment that obtains first terminal equipment and find, and in each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and first terminal equipment meets the second terminal equipment of default matched rule, then terminal positioning device is to first terminal equipment feedback positioning result, the sign of the second terminal equipment that feedback is accurately oriented, or terminal positioning device establishes a communications link between first terminal equipment and the second terminal equipment of accurately orienting.
The second positioning flow, first terminal equipment sends first terminal Location Request to terminal positioning device, terminal positioning device receives after first terminal Location Request, carry out fuzzy location, search each second terminal equipment falling in locating area corresponding to the current positional information of this first terminal equipment, if use the user of first terminal equipment to want to orient the second terminal equipment that the direction pointed with the electronic compass of first terminal equipment is identical or contrary, will trigger so first terminal equipment and send the second terminal positioning request to terminal positioning device, terminal positioning device receives after the second terminal positioning request, accurately locate, the electronic compass direction pointed in each second terminal equipment that obtains first terminal equipment and find, and in each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and first terminal equipment meets the second terminal equipment of default matched rule, then terminal positioning device is to first terminal equipment feedback positioning result, the sign of the second terminal equipment that feedback is accurately oriented, or terminal positioning device establishes a communications link between first terminal equipment and the second terminal equipment of accurately orienting.
The third positioning flow, first terminal equipment sends first terminal Location Request to terminal positioning device, terminal positioning device receives after first terminal Location Request, carry out fuzzy location, search each second terminal equipment falling in locating area corresponding to the current positional information of this first terminal equipment, then terminal positioning device is accurately located, the electronic compass direction pointed in each second terminal equipment that obtains first terminal equipment and find, and in each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and first terminal equipment meets the second terminal equipment of default matched rule, if use the user of first terminal equipment to want to orient the second terminal equipment that the direction pointed with the electronic compass of first terminal equipment is identical or contrary, will trigger so first terminal equipment and send the second terminal positioning request to terminal positioning device, terminal positioning device receives after the second terminal positioning request, to first terminal equipment feedback positioning result, the sign of the second terminal equipment that feedback is accurately oriented, or terminal positioning device establishes a communications link between first terminal equipment and the second terminal equipment of accurately orienting.
In actual application, can carry out which kind of positioning flow of choice for use according to business demand, also can select according to business demand is the sign of feeding back the second terminal equipment of accurately orienting, still directly set up first terminal equipment and the second terminal equipment of accurately orienting between communication connection.
In the embodiment of the present application one, if trigger first terminal equipment, to being operating as of terminal positioning device transmission first terminal Location Request, use the user of first terminal equipment to open certain application in first terminal equipment with positioning function, trigger first terminal equipment to terminal positioning device, send the operation of the second terminal positioning request can be for using the user of first terminal equipment supress the navigation button on application interface, or can be for using the user of first terminal equipment that first terminal equipment is kept flat, being first terminal equipment detects self in horizontal positioned state by self gravity sensor.
The method of locating terminal that the embodiment of the present application one proposes can be, but not limited to be applied to user and uses terminal equipment to carry out the process of payment face-to-face, paying party user or beneficiary user turn to the electronic compass of used terminal equipment the identical or contrary direction of electronic compass in the terminal equipment using with beneficiary user or paying party user, and triggering terminal positioner carries out fuzzy location or accurately locates, terminal positioning device is used the identification feedback of the terminal equipment of accurately orienting terminal equipment to paying party user or beneficiary user, communication connection between the terminal equipment that the terminal equipment that paying party user or beneficiary user just can use so and beneficiary user or paying party user use, carry out payment process, terminal positioning device also can directly be set up the communication connection between the terminal equipment that the terminal equipment accurately oriented and paying party user or beneficiary user use, so that paying party user and beneficiary user can carry out payment process, effectively improved the flexibility of payment, also improved payment efficiency.
From above-mentioned handling process, in the embodiment of the present application technical scheme, after receiving the first terminal Location Request of first terminal equipment transmission, first obtain the current positional information of first terminal equipment, search each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment, then the electronic compass direction pointed in each second terminal equipment that obtains described first terminal equipment and find, in each second terminal finding, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule, seen from the above description, if first terminal equipment need to the second terminal equipment transmission information, only need to use the user of first terminal equipment to rotate this first terminal equipment, so that the electronic compass of the electronic compass of first terminal equipment direction pointed and this second terminal equipment direction pointed meets default matched rule, terminal positioning device just can be oriented this second terminal equipment for first terminal equipment, without user, in position fixing process, rock terminal equipment, also without the time point that rocks operation according to terminal equipment execution, position, therefore effectively improved the precision of terminal positioning, and reduced the interactive requirement to user, in addition, the method of locating terminal that the embodiment of the present application proposes is carried out the operation of state and input authorization code that terminal equipment is set without user, simplified the flow process of terminal positioning, effectively improved the flexibility of terminal positioning.
Embodiment bis-
If positioning flow is above-mentioned the first positioning flow, and terminal positioning device accurately orients the backward first terminal equipment of the second terminal equipment feedback positioning result, and as shown in Figure 6, its concrete handling process is as follows for the specific implementation of method of locating terminal:
Step 61, while using the user of terminal equipment A to open a terminal to have certain application of positioning function in device A, terminal equipment A sends first terminal Location Request to terminal positioning device;
Step 62, terminal positioning device receives after first terminal Location Request, obtains the current positional information of terminal equipment A, searches each terminal equipment falling in locating area corresponding to the current positional information of this terminal equipment A;
Step 63, terminal positioning device obtains the electronic compass direction pointed in terminal equipment A and each terminal equipment of finding;
Step 64, terminal positioning device is in each terminal equipment finding, determine the terminal equipment of the electronic compass of electronic compass direction pointed and terminal equipment A opposite direction pointed, determine that the electronic compass direction pointed of direction that electronic compass is pointed and terminal equipment A meets the terminal equipment of default matched rule;
Step 65, terminal positioning device is to the sign of the terminal equipment of the electronic compass of terminal equipment A feedback direction that determine, that electronic compass is pointed and terminal equipment A opposite direction pointed.
Embodiment tri-
If positioning flow is above-mentioned the second positioning flow, and terminal positioning device accurately orients the backward first terminal equipment of the second terminal equipment feedback positioning result, and as shown in Figure 7, its concrete handling process is as follows for the specific implementation of method of locating terminal:
Step 71, while using the user of terminal equipment A to open a terminal to have certain application of positioning function in device A, terminal equipment A sends first terminal Location Request to terminal positioning device;
Step 72, terminal positioning device receives after first terminal Location Request, obtains the current positional information of terminal equipment A, searches each terminal equipment falling in locating area corresponding to the current positional information of this terminal equipment A;
Step 73, is used the user of terminal equipment A that terminal equipment A is kept flat, and terminal equipment A detects self in horizontal positioned state by the gravity sensor of self, and terminal equipment A sends the second terminal positioning request to terminal positioning device;
Step 74, terminal positioning device receives after the second terminal positioning request, obtains the electronic compass direction pointed in terminal equipment A and each terminal equipment of finding;
Step 75, terminal positioning device is in each terminal equipment finding, determine the terminal equipment of the electronic compass of electronic compass direction pointed and terminal equipment A opposite direction pointed, determine that the electronic compass direction pointed of direction that electronic compass is pointed and terminal equipment A meets the terminal equipment of default matched rule;
Step 76, terminal positioning device is to the sign of the terminal equipment of the electronic compass of terminal equipment A feedback direction that determine, that electronic compass is pointed and terminal equipment A opposite direction pointed.
Embodiment tetra-
If positioning flow is above-mentioned the third positioning flow, and terminal positioning device accurately orients the backward first terminal equipment of the second terminal equipment feedback positioning result, and as shown in Figure 8, its concrete handling process is as follows for the specific implementation of method of locating terminal:
Step 81, while using the user of terminal equipment A to open a terminal to have certain application of positioning function in device A, terminal equipment A sends first terminal Location Request to terminal positioning device;
Step 82, terminal positioning device receives after first terminal Location Request, obtains the current positional information of terminal equipment A, searches each terminal equipment falling in locating area corresponding to the current positional information of this terminal equipment A;
Step 83, terminal positioning device obtains the electronic compass direction pointed in terminal equipment A and each terminal equipment of finding;
Step 84, terminal positioning device is in each terminal equipment finding, determine the terminal equipment of the electronic compass of electronic compass direction pointed and terminal equipment A opposite direction pointed, determine that the electronic compass direction pointed of direction that electronic compass is pointed and terminal equipment A meets the terminal equipment of default matched rule;
Step 85, is used the user of terminal equipment A that terminal equipment A is kept flat, and terminal equipment A detects self in horizontal positioned state by the gravity sensor of self, and terminal equipment A sends the second terminal positioning request to terminal positioning device;
Step 86, terminal positioning device receives after the second terminal positioning request, to the sign of the terminal equipment of the electronic compass of terminal equipment A feedback direction that determine, that electronic compass is pointed and terminal equipment A opposite direction pointed.
Embodiment five
The method of locating terminal proposing with the embodiment of the present application one is corresponding, and the embodiment of the present application five proposes a kind of terminal positioning device, and its structure as shown in Figure 9, comprising:
The first Location Request receiving element 91, the first terminal Location Request sending for receiving first terminal equipment;
Positional information obtains unit 92, for obtaining the current positional information of first terminal equipment;
Equipment is searched unit 93, for searching each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment;
Direction acquiring unit 94, searches for obtaining described first terminal equipment and equipment the respectively electronic compass direction pointed of second terminal equipment that unit 92 finds;
Equipment determining unit 95, each second terminal equipment finding for search unit 93 at equipment, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
Preferably, the current positional information of described first terminal equipment is the coordinate of the current present position of described first terminal equipment;
Described positional information obtains unit 92, specifically for obtaining the coordinate of the current present position that described first terminal equipment reports, or obtain sign and the signal strength signal intensity of base station under current that described first terminal equipment reports, and according to sign and the signal strength signal intensity of the current affiliated base station of described first terminal equipment, calculate the coordinate of the current present position of first terminal equipment.
Preferably, described direction acquiring unit 94 specifically comprises:
The request of obtaining sends subelement, for to first terminal equipment and equipment, search each second terminal equipment that unit 93 finds respectively sending direction obtain request;
Direction signs receive subelement, for receiving first terminal equipment and equipment, search that each second terminal equipment that unit 93 finds gathers after receiving the request of obtaining of described direction and the direction signs of the direction fed back, self electronic compass is pointed;
Orientation determination subelement, for receive the direction signs that subelement receives according to direction signs, determines that described first terminal equipment and equipment searches the electronic compass direction pointed in each second terminal equipment that unit 93 finds.
Preferably, described terminal positioning device also comprises:
Direction signs receiving element, the direction signs of the direction that, self electronic compass that each terminal equipment periodically reports for receiving is pointed;
Direction signs are searched unit, for for each terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding;
Direction signs updating block, for for each terminal equipment, the direction signs that report according to this terminal equipment receiving respectively, upgrade direction signs and search direction signs that unit finds, that this terminal equipment is corresponding;
Described direction acquiring unit 94, specifically for for first terminal equipment and each second terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding, and according to the direction signs that find, determine the electronic compass direction pointed in this terminal equipment.
Preferably, in the first terminal Location Request that described the first Location Request receiving element 91 receives, carry the direction signs of the electronic compass of first terminal equipment direction pointed;
Described direction acquiring unit 94, specifically for extracting direction signs the first terminal Location Request receiving from the first Location Request receiving element 91, and determines the electronic compass direction pointed of described first terminal equipment according to the direction signs that extract.
Preferably, described default matched rule is:
The electronic compass of the second terminal equipment direction pointed direction pointed with the electronic compass of first terminal equipment is identical; Or
The opposite direction that the direction that the electronic compass of the second terminal equipment is pointed and the electronic compass of first terminal equipment are pointed.
Preferably, described terminal positioning device also comprises:
The second Location Request receiving element, for obtain described first terminal equipment and the electronic compass of each second terminal equipment finding direction pointed at direction acquiring unit 94 before, receives the second terminal positioning request that described first terminal equipment sends.
Preferably, described terminal positioning device also comprises:
The first device identification transmitting element, sends to described first terminal equipment for the sign of the second terminal equipment that equipment determining unit 95 is determined.
More preferably, described terminal positioning device also comprises:
The second device identification transmitting element, for obtaining at direction acquiring unit 94 before described first terminal equipment and equipment searches the electronic compass of each second terminal equipment that unit 93 finds direction pointed, equipment is searched to the sign that falls into each second terminal equipment in locating area corresponding to the current positional information of described first terminal equipment that unit 93 finds and send to described first terminal equipment.
More preferably, described terminal positioning device also comprises:
Inquiry message transmitting element, for sending the inquiry message for whether inquiring that the second terminal equipment of determining with equipment determining unit connects to described first terminal equipment;
Confirm to reply receiving element, for receiving the confirmation of described first terminal equipment feedback, reply, described confirmation carries the sign of second terminal equipment that need to establish a communications link with first terminal equipment in replying;
Unit is set up in the first communication connection, for confirming that replying receiving element receives after the confirmation reply of described first terminal equipment feedback, sets up the communication connection between the second terminal equipment that described first terminal equipment is corresponding with the sign of carrying in described definite reply.
More preferably, described terminal positioning device also comprises:
Defined amount obtains unit, while meeting default matched rule for determine the electronic compass direction pointed of the electronic compass of at least two the second terminal equipments direction pointed and described first terminal equipment in equipment determining unit 95, before the sign of the second terminal equipment of equipment determining unit 95 being determined at the first device identification transmitting element sends to described first terminal equipment, obtain the defined amount of the sign of that described first terminal equipment sets in advance, to need feedback terminal equipment;
Number of devices judging unit, whether the number of the second terminal equipment of determining for judgment device determining unit 95 is greater than defined amount and obtains the described defined amount that unit obtains;
Described the first device identification transmitting element, when at number of devices judging unit, the determination result is NO, the sign of carrying out the second terminal equipment that equipment determining unit 95 is determined sends to the step of described first terminal equipment.
More preferably, described terminal positioning device also comprises:
Equipment selected cell, for when judgment result is that of number of devices judging unit is, selects described defined amount the second terminal equipment in equipment determining unit 95 in each second terminal equipment of determining;
The 3rd device identification transmitting element, sends to described first terminal equipment for the respectively sign of second terminal equipment that equipment selected cell is selected.
More preferably, described terminal positioning device also comprises:
The 3rd Location Request receiving element, before sending to described first terminal equipment for the sign of the second terminal equipment of equipment determining unit 95 being determined at the first device identification transmitting element, receive the second terminal positioning request that described first terminal equipment sends.
More preferably, described terminal positioning device also comprises:
Direction detecting unit, whether the electronic compass direction pointed of searching in each second terminal equipment that unit 93 finds for detection of described first terminal equipment and equipment changes;
Described equipment determining unit 95, when the electronic compass direction pointed of also searching at least one terminal equipment of each second terminal equipment that unit 93 finds for described first terminal equipment and equipment detected at direction detecting unit changes, again at equipment, search in each second terminal equipment that unit 93 finds, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule;
Equipment judging unit, whether the second terminal equipment of this time determining for judgment device determining unit 95 is identical with last the second terminal equipment of determining;
The 4th device identification transmitting element, for when equipment judging unit is judged difference, the sign of the second terminal equipment that equipment determining unit 95 is this time determined sends to described first terminal equipment.
Preferably, described terminal positioning device also comprises:
Second communication connects sets up unit, for establishing a communications link between the second terminal equipment of determining in described first terminal equipment and equipment determining unit 95.
More preferably, described terminal positioning device also comprises:
The 4th Location Request receiving element, before establishing a communications link between the second terminal equipment of determining in described first terminal equipment and equipment determining unit 95, receives the second terminal positioning request that described first terminal equipment sends.
The terminal positioning device that the embodiment of the present application five provides can be realized by computer program.Those skilled in the art should be understood that; above-mentioned dividing elements mode is only a kind of in plurality of cells dividing mode; if be divided into other unit or without inner cells, as long as terminal positioning device has above-mentioned functions, all should be within the application's protection range.
In the embodiment of the present application five, terminal positioning device can be arranged in location-server, that is to say that location-server has the above-mentioned functions of terminal positioning device, and in addition, terminal positioning device also can be arranged in other servers.
The embodiment that it will be understood by those skilled in the art that the application can be provided as method, device (equipment) or computer program.Therefore, the application can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the application can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The application is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present application, device (equipment) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described the application's preferred embodiment, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the application's scope.Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not depart from the application to the application.Like this, if within these of the application are revised and modification belongs to the scope of the application's claim and equivalent technologies thereof, the application is also intended to comprise these changes and modification interior.

Claims (13)

1. a method of locating terminal, is characterized in that, comprising:
Receive the first terminal Location Request that first terminal equipment sends;
Obtain the current positional information of first terminal equipment;
Search each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment;
Electronic compass direction pointed in each second terminal equipment that obtains described first terminal equipment and find;
In each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
2. the method for claim 1, is characterized in that, obtain described first terminal equipment and each second terminal equipment of finding in electronic compass direction pointed, specifically comprise:
To first terminal equipment and each second terminal equipment of finding respectively sending direction obtain request;
Each second terminal equipment that receives first terminal equipment and find gathers and the direction signs of the direction fed back, self electronic compass is pointed after receiving the request of obtaining of described direction;
According to the direction signs that receive, determine described first terminal equipment and each second terminal equipment of finding in electronic compass direction pointed.
3. the method for claim 1, is characterized in that, also comprises:
Receive direction signs that each terminal equipment periodically reports, direction that self electronic compass is pointed;
For each terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding, and the direction signs that report according to this terminal equipment receiving, upgrade direction signs that find, that this terminal equipment is corresponding;
Electronic compass direction pointed in each second terminal equipment that obtains described first terminal equipment and find, specifically comprises:
For first terminal equipment and each second terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding, and according to the direction signs that find, determine the electronic compass direction pointed in this terminal equipment.
4. the method for claim 1, is characterized in that, described default matched rule is:
The electronic compass of the second terminal equipment direction pointed direction pointed with the electronic compass of first terminal equipment is identical; Or
The opposite direction that the direction that the electronic compass of the second terminal equipment is pointed and the electronic compass of first terminal equipment are pointed.
5. the method for claim 1, is characterized in that, also comprises:
The sign of the second terminal equipment of determining is sent to described first terminal equipment.
6. method as claimed in claim 5, is characterized in that, also comprises:
To described first terminal equipment, send the inquiry message connecting with the second terminal equipment of determining for whether inquiring; And
The confirmation that receives described first terminal equipment feedback is replied, and described confirmation carries the sign of second terminal equipment that need to establish a communications link with first terminal equipment in replying;
Set up the communication connection between the second terminal equipment that described first terminal equipment is corresponding with the sign of carrying in the definite reply receiving.
7. the method as described in claim as arbitrary in claim 1~6, is characterized in that, also comprises:
If the electronic compass direction pointed of at least one terminal equipment in each second terminal equipment that described first terminal equipment detected and find changes, again in each second terminal equipment finding, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule;
Whether the second terminal equipment that judgement is this time determined is identical with last the second terminal equipment of determining;
If judge difference, the sign of the second terminal equipment of this being determined sends to described first terminal equipment.
8. a terminal positioning device, is characterized in that, comprising:
The first Location Request receiving element, the first terminal Location Request sending for receiving first terminal equipment;
Positional information obtains unit, for obtaining the current positional information of first terminal equipment;
Equipment is searched unit, for searching each second terminal equipment falling in locating area corresponding to the current positional information of described first terminal equipment;
Direction acquiring unit, searches for obtaining described first terminal equipment and equipment the respectively electronic compass direction pointed of second terminal equipment that unit finds;
Equipment determining unit, each second terminal equipment finding for search unit at equipment, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule.
9. device as claimed in claim 8, is characterized in that, described direction acquiring unit specifically comprises:
The request of obtaining sends subelement, for to first terminal equipment and equipment, search each second terminal equipment that unit finds respectively sending direction obtain request;
Direction signs receive subelement, for receiving first terminal equipment and equipment, search that each second terminal equipment that unit finds gathers after receiving the request of obtaining of described direction and the direction signs of the direction fed back, self electronic compass is pointed;
Orientation determination subelement, for receive the direction signs that subelement receives according to direction signs, determines that described first terminal equipment and equipment searches the electronic compass direction pointed in each second terminal equipment that unit finds.
10. device as claimed in claim 8, is characterized in that, also comprises:
Direction signs receiving element, the direction signs of the direction that, self electronic compass that each terminal equipment periodically reports for receiving is pointed;
Direction signs are searched unit, for for each terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding;
Direction signs updating block, for for each terminal equipment, the direction signs that report according to this terminal equipment receiving respectively, upgrade direction signs and search direction signs that unit finds, that this terminal equipment is corresponding;
Described direction acquiring unit, specifically for for first terminal equipment and each second terminal equipment, respectively according to the sign of this terminal equipment, in the sign and the corresponding relation between direction signs of the terminal equipment of storing, search the direction signs that this terminal equipment is corresponding, and according to the direction signs that find, determine the electronic compass direction pointed in this terminal equipment.
11. devices as claimed in claim 8, is characterized in that, also comprise:
The first device identification transmitting element, sends to described first terminal equipment for the sign of the second terminal equipment that equipment determining unit is determined.
12. devices as claimed in claim 11, is characterized in that, also comprise:
Inquiry message transmitting element, for sending the inquiry message for whether inquiring that the second terminal equipment of determining with equipment determining unit connects to described first terminal equipment;
Confirm to reply receiving element, for receiving the confirmation of described first terminal equipment feedback, reply, described confirmation carries the sign of second terminal equipment that need to establish a communications link with first terminal equipment in replying;
Unit is set up in the first communication connection, for confirming that replying receiving element receives after the confirmation reply of described first terminal equipment feedback, sets up the communication connection between the second terminal equipment that described first terminal equipment is corresponding with the sign of carrying in described definite reply.
Device as described in 13. claims as arbitrary in claim 8~12, is characterized in that, also comprises:
Direction detecting unit, whether the electronic compass direction pointed of searching in each second terminal equipment that unit finds for detection of described first terminal equipment and equipment changes;
Described equipment determining unit, when the electronic compass direction pointed of also searching at least one terminal equipment of each second terminal equipment that unit finds for described first terminal equipment and equipment detected at direction detecting unit changes, again at equipment, search in each second terminal equipment that unit finds, the electronic compass direction pointed of determining electronic compass direction pointed and described first terminal equipment meets the second terminal equipment of default matched rule;
Equipment judging unit, whether the second terminal equipment of this time determining for judgment device determining unit is identical with last the second terminal equipment of determining;
The 4th device identification transmitting element, for when equipment judging unit is judged difference, the sign of the second terminal equipment that equipment determining unit is this time determined sends to described first terminal equipment.
CN201210389995.6A 2012-10-15 2012-10-15 Method of locating terminal and device Active CN103731800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210389995.6A CN103731800B (en) 2012-10-15 2012-10-15 Method of locating terminal and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210389995.6A CN103731800B (en) 2012-10-15 2012-10-15 Method of locating terminal and device

Publications (2)

Publication Number Publication Date
CN103731800A true CN103731800A (en) 2014-04-16
CN103731800B CN103731800B (en) 2017-07-21

Family

ID=50455692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210389995.6A Active CN103731800B (en) 2012-10-15 2012-10-15 Method of locating terminal and device

Country Status (1)

Country Link
CN (1) CN103731800B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869538A (en) * 2015-05-18 2015-08-26 小米科技有限责任公司 Positioning method and positioning apparatus
CN105494286A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Mosquito eradication method and device
CN105554563A (en) * 2015-12-14 2016-05-04 小米科技有限责任公司 Method and device for multimedia playing
CN105871952A (en) * 2015-01-20 2016-08-17 阿里巴巴集团控股有限公司 Method and device for information processing
CN106412819A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Method and device for positioning device
CN108004990A (en) * 2017-11-21 2018-05-08 浙江工商大学 Change robot and variation in a kind of tide track using avoiding obstacles by supersonic wave
CN108109358A (en) * 2017-12-15 2018-06-01 广众通电子(深圳)有限公司 Information interaction method and system
WO2018153158A1 (en) * 2017-02-22 2018-08-30 中兴通讯股份有限公司 Communication method, mobile terminal and server
US10425765B2 (en) 2014-10-17 2019-09-24 Zte Corporation Positioning method and corresponding terminal and system
CN110440808A (en) * 2019-08-13 2019-11-12 Oppo(重庆)智能科技有限公司 Indoor orientation method, system and device based on visible light communication
CN111093181A (en) * 2019-11-19 2020-05-01 深圳优克云联科技有限公司 Device matching method, electronic device and storage medium
CN111541815A (en) * 2020-04-16 2020-08-14 广东好太太科技集团股份有限公司 Terminal interaction method and device based on electronic compass and storage medium
WO2020232999A1 (en) * 2019-05-21 2020-11-26 平安普惠企业管理有限公司 Information security-based positioning data monitoring method and related device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300149A (en) * 2010-06-23 2011-12-28 上海博路信息技术有限公司 Target recognition mobile phone system based on global positioning system (GPS) and electronic compass
CN102566757B (en) * 2011-12-27 2014-11-12 Tcl集团股份有限公司 Electronic-compass-based mobile terminal and data interaction method thereof
CN102630076A (en) * 2012-03-20 2012-08-08 广州市动景计算机科技有限公司 Display method and system of target position direction pointing information based on electronic compass

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10425765B2 (en) 2014-10-17 2019-09-24 Zte Corporation Positioning method and corresponding terminal and system
CN105871952A (en) * 2015-01-20 2016-08-17 阿里巴巴集团控股有限公司 Method and device for information processing
CN104869538A (en) * 2015-05-18 2015-08-26 小米科技有限责任公司 Positioning method and positioning apparatus
CN104869538B (en) * 2015-05-18 2018-09-18 小米科技有限责任公司 Localization method and device
CN106412819A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Method and device for positioning device
CN105494286A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Mosquito eradication method and device
CN105554563A (en) * 2015-12-14 2016-05-04 小米科技有限责任公司 Method and device for multimedia playing
WO2018153158A1 (en) * 2017-02-22 2018-08-30 中兴通讯股份有限公司 Communication method, mobile terminal and server
CN108004990A (en) * 2017-11-21 2018-05-08 浙江工商大学 Change robot and variation in a kind of tide track using avoiding obstacles by supersonic wave
CN108004990B (en) * 2017-11-21 2020-01-07 浙江工商大学 Tidal lane change method adopting ultrasonic obstacle avoidance
CN108109358A (en) * 2017-12-15 2018-06-01 广众通电子(深圳)有限公司 Information interaction method and system
CN108109358B (en) * 2017-12-15 2021-06-29 广众通电子(深圳)有限公司 Information interaction method and system
WO2020232999A1 (en) * 2019-05-21 2020-11-26 平安普惠企业管理有限公司 Information security-based positioning data monitoring method and related device
CN110440808A (en) * 2019-08-13 2019-11-12 Oppo(重庆)智能科技有限公司 Indoor orientation method, system and device based on visible light communication
CN111093181A (en) * 2019-11-19 2020-05-01 深圳优克云联科技有限公司 Device matching method, electronic device and storage medium
CN111541815A (en) * 2020-04-16 2020-08-14 广东好太太科技集团股份有限公司 Terminal interaction method and device based on electronic compass and storage medium

Also Published As

Publication number Publication date
CN103731800B (en) 2017-07-21

Similar Documents

Publication Publication Date Title
CN103731800A (en) Terminal positioning method and apparatus
CN103563406B (en) Monitoring geofence exit
CN101194528B (en) Localization system and localization method and mobile position data transmitter
CN103685428A (en) A method and an apparatus for positioning a terminal
CN102804184A (en) Determining a location of a mobile device using a location database
CN101129078A (en) System and method for asset location in wireless networks
CN105809337A (en) Method and server for generating and distributing prompt information of tour inspection tasks
CN103957594A (en) Method and device for positioning terminal
CN1940590B (en) Positioning method and system
CN105228106A (en) A kind of medical personnel's lookup method based on indoor, location-server and system
CN105577907A (en) Information processing method and device
CN107655474A (en) A kind of air navigation aid and navigation system based on intelligent terminal
CN104704861A (en) Mobile terminal, method, program, and storage medium for locating said terminal based on the identification of access points associated with the time of reception of said identification
CN102782519A (en) Method and apparatus for estimating cellular tower location
CN107153171A (en) Indoor orientation method, device and system
CN203775285U (en) RFID mobile phone with positioning function
CN105163279A (en) Information processing method and terminal
CN107071708B (en) Passive wireless signal acquisition and positioning method for intelligent mobile terminal
CN103269394A (en) Setting method and system of application theme of mobile terminal
CN103686588A (en) Content information obtaining and processing method and system as well as information publishing server
CN102542232B (en) Precise personnel positioning system based on TOA (Time of Arrival) ranging and positioning method thereof
CN106383458A (en) General wireless control method and system for electrical equipment
CN106226802A (en) Alignment system that a kind of Big Dipper is combined with RFID and localization method thereof
CN105974458A (en) Wireless airdrop supplies searching system
CN102665169A (en) Mobile terminal location reminding method and mobile terminal location reminding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1194591

Country of ref document: HK

GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1194591

Country of ref document: HK

TR01 Transfer of patent right

Effective date of registration: 20191211

Address after: P.O. Box 31119, grand exhibition hall, hibiscus street, 802 West Bay Road, Grand Cayman, Cayman Islands

Patentee after: Innovative advanced technology Co., Ltd

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: Alibaba Group Holding Co., Ltd.

TR01 Transfer of patent right