CN106814344B - Localization method and system - Google Patents
Localization method and system Download PDFInfo
- Publication number
- CN106814344B CN106814344B CN201710042452.XA CN201710042452A CN106814344B CN 106814344 B CN106814344 B CN 106814344B CN 201710042452 A CN201710042452 A CN 201710042452A CN 106814344 B CN106814344 B CN 106814344B
- Authority
- CN
- China
- Prior art keywords
- wireless telecom
- telecom equipment
- user terminal
- data packet
- distance
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000004807 localization Effects 0.000 title claims abstract description 18
- 238000004891 communication Methods 0.000 claims abstract description 33
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 6
- 241000209094 Oryza Species 0.000 description 3
- 235000007164 Oryza sativa Nutrition 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 235000009566 rice Nutrition 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000008450 motivation Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of localization method and system.Positioning system includes the first wireless telecom equipment communicated to connect between each other, the second wireless telecom equipment and the user terminal with first wireless telecom equipment communication connection.This method comprises: first wireless telecom equipment obtains the data packet of the second wireless telecom equipment within the scope of the first pre-determined distance, and the data packet is sent to the user terminal;The user terminal carries out data processing to the data packet, calculates the distance between second wireless telecom equipment and first wireless telecom equipment;When the distance between second wireless telecom equipment and first wireless telecom equipment are less than the second pre-determined distance, the user terminal issues the user with default prompting.The present invention can be realized accurately small range positioning, and make prompting to user under preset conditions.
Description
Technical field
The present invention relates to field of locating technology, in particular to a kind of localization method and system.
Background technique
In the prior art, subscriber terminal equipment is mainly positioned by GPS satellite in real time, however, GPS positioning essence at present
Degree is not high, and there are bigger deviations, cannot achieve the precise positioning of a small range.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the purpose of the present invention is to provide a kind of localization method and system,
It can be realized accurately small range positioning, and make prompting to user under preset conditions.
To achieve the goals above, present pre-ferred embodiments the technical solution adopted is as follows:
Present pre-ferred embodiments provide a kind of localization method, are applied to positioning system.The positioning system includes mutual
Between communicate to connect the first wireless telecom equipment, the second wireless telecom equipment and communicated with first wireless telecom equipment
The user terminal of connection.The described method includes:
First wireless telecom equipment obtains the data packet of the second wireless telecom equipment within the scope of the first pre-determined distance,
And the data packet is sent to the user terminal;
The user terminal to the data packet carry out data processing, calculate second wireless telecom equipment with it is described
The distance between first wireless telecom equipment;
When the distance between second wireless telecom equipment and first wireless telecom equipment it is default less than second away from
From when, the user terminal issues the user with default prompting.
In a preferred embodiment of the present invention, first wireless telecom equipment obtains second within the scope of the first pre-determined distance
The step of data packet of wireless telecom equipment includes:
First wireless telecom equipment, which is searched for, whether there is the second wireless telecom equipment within the scope of the first pre-determined distance;
When within the scope of the first pre-determined distance there are when the second wireless telecom equipment, first wireless telecom equipment and
Two wireless telecom equipments are matched;
Obtain the data packet of matched second wireless telecom equipment.
In a preferred embodiment of the present invention, the user terminal carries out data processing to the data packet, calculates described
The step of the distance between second wireless telecom equipment and first wireless telecom equipment includes:
The signal strength of second wireless telecom equipment is obtained from the data packet;
According to the signal strength, calculate between second wireless telecom equipment and first wireless telecom equipment
Distance.
In a preferred embodiment of the present invention, the method also includes:
The user terminal obtains the parameter information of second wireless telecom equipment from the data packet, for
The distance between corresponding second wireless telecom equipment of parameter information and first wireless telecom equipment are repeatedly less than
When two pre-determined distances, different default promptings is issued the user with, wherein the parameter information includes MAC information, match time letter
Breath and matching times information.
In a preferred embodiment of the present invention, the method also includes:
The user terminal sets the default prompting;
The mode that the user terminal sets the default prompting includes:
Acquire multiple prompting messages of user's input;
The corresponding triggering rule of each prompting message is set, and the triggering rule includes that first wireless telecom equipment exists
From same second wireless telecom equipment repeatedly less than the second pre-determined distance when corresponding different triggerings rule, wherein each triggering
The corresponding at least one prompting message of rule.
Present pre-ferred embodiments also provide a kind of positioning system.The positioning system includes communicating to connect between each other
First wireless telecom equipment, the second wireless telecom equipment and the user terminal with first wireless telecom equipment communication connection:
First wireless telecom equipment, for obtaining the number of the second wireless telecom equipment within the scope of the first pre-determined distance
The user terminal is sent to according to packet, and by the data packet;
The user terminal calculates second wireless telecom equipment for carrying out data processing to the data packet
The distance between described first wireless telecom equipment;When second wireless telecom equipment and first wireless telecom equipment
The distance between less than the second pre-determined distance when, the user terminal issues the user with default prompting.
In a preferred embodiment of the present invention:
First wireless telecom equipment is also used to search within the scope of the first pre-determined distance with the presence or absence of the second wireless communication
Equipment;When within the scope of the first pre-determined distance there are when the second wireless telecom equipment, first wireless telecom equipment and second
Wireless telecom equipment is matched;Obtain the data packet of matched second wireless telecom equipment.
In a preferred embodiment of the present invention:
The user terminal is also used to obtain the signal strength of second wireless telecom equipment from the data packet;
According to the signal strength, the distance between second wireless telecom equipment and first wireless telecom equipment are calculated.
In a preferred embodiment of the present invention:
The user terminal is also used to obtain the parameter information of second wireless telecom equipment from the data packet,
For more at a distance between the second wireless telecom equipment corresponding with the parameter information and first wireless telecom equipment
It is secondary less than the second pre-determined distance when, issue the user with different default promptings, wherein the parameter information include MAC information,
With temporal information and matching times information.
In a preferred embodiment of the present invention:
The user terminal is also used to set the default prompting;
The mode that the user terminal sets the default prompting includes:
Acquire multiple prompting messages of user's input;
The corresponding triggering rule of each prompting message is set, and the triggering rule includes that first wireless telecom equipment exists
From same second wireless telecom equipment repeatedly less than the second pre-determined distance when corresponding different triggerings rule, wherein each triggering
The corresponding at least one prompting message of rule.
In terms of existing technologies, the invention has the following advantages:
Localization method provided by the invention and system obtain the first pre-determined distance model by first wireless telecom equipment
The data packet of the second wireless telecom equipment in enclosing, and the data packet is sent to the user terminal.The user terminal
Data processing is carried out to the data packet, is calculated between second wireless telecom equipment and first wireless telecom equipment
Distance.When the distance between second wireless telecom equipment and first wireless telecom equipment are less than the second pre-determined distance
When, the user terminal issues the user with default prompting.By above-mentioned design, accurately small range may be implemented to position, and
Prompting is made to user under the conditions of preset, increases aspectant interactive opportunity.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the interaction schematic diagram of positioning system provided in an embodiment of the present invention;
Fig. 2 is the structural block diagram of user terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of localization method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram for the sub-step that step S210 includes in Fig. 3;
Fig. 5 is the flow diagram for the sub-step that step S220 includes in Fig. 3;
Fig. 6 is another flow diagram of localization method provided in an embodiment of the present invention;
Fig. 7 is another flow diagram of localization method provided in an embodiment of the present invention.
Icon: 10- positioning system;100- user terminal;The first wireless telecom equipment of 200-;The wireless communication of 300- second is set
It is standby;110- memory;120- processor;130- communication unit.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Usually herein
The component of the embodiment of the present invention described and illustrated in place's attached drawing can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
Fig. 1 is please referred to, Fig. 1 is the interaction schematic diagram for the positioning system 10 that present pre-ferred embodiments provide.
The positioning system 10 includes user terminal 100, the first wireless telecom equipment 200 and the second wireless telecom equipment
300.First wireless telecom equipment 200 and second wireless telecom equipment 300 communicate to connect between each other, the user
Terminal 100 and first wireless telecom equipment 200 communicate to connect.
The user terminal 100 may be, but not limited to, smart phone, PC (Personal Computer,
PC), tablet computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet surfing equipment (Mobile
Internet Device, MID) etc..The operating system of the user terminal 100 may be, but not limited to, Android (Android)
System, iOS (iPhone Operating System) system, Windows phone system, Windows system etc..The use
Application program for realizing the embodiment of the present invention can be installed in family terminal 100, may be implemented by the application program described
Data communication between user terminal 100 and first wireless telecom equipment 200.Preferably, in the present embodiment, the use
Family terminal 100 can be smart phone.The user terminal 100 is used to carry out data processing to data packet, calculates described the
The distance between two wireless telecom equipments 300 and first wireless telecom equipment 200.When second wireless telecom equipment
When the distance between 300 and first wireless telecom equipment 200 are less than the second pre-determined distance, the user terminal 100 to
Family issues default remind.
First wireless telecom equipment 200 may be, but not limited to, bluetooth equipment, radio frequency communication devices etc..Described
Two wireless telecom equipments 300 may be, but not limited to, bluetooth equipment, radio frequency communication devices etc..Preferably, in the present embodiment,
First wireless telecom equipment 200 can be bluetooth equipment, and second wireless telecom equipment 300 uses and first nothing
The equipment of the identical configuration of line communication equipment 200 or same model.First wireless telecom equipment 200 and described second is wireless
Communication equipment 300 can carry out active search and match each other within the scope of the first pre-determined distance.
In the present embodiment, first wireless telecom equipment 200 is used to obtain second within the scope of the first pre-determined distance
The data packet of wireless telecom equipment 300, and the data packet is sent to the user terminal 100.
Referring to figure 2., Fig. 2 is the structural block diagram for the user terminal shown in FIG. 1 100 that present pre-ferred embodiments provide.
The user terminal 100 includes memory 110, processor 120 and communication unit 130.
The memory 110, processor 120 and communication unit 130 are directly or indirectly electrically connected between each other, with
Realize the transmission or interaction of data.For example, these elements between each other can be real by one or more communication bus or signal wire
Now it is electrically connected.
Wherein, the memory 110 may be, but not limited to, random access memory (Random Access
Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable
Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only
Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only
Memory, EEPROM) etc..Wherein, memory 110 is for storing program, the processor 120 after receiving and executing instruction,
Execute described program.Further, the software program in above-mentioned memory 110 and module may also include operating system, can
Including the various component softwares for management system task (such as memory management, storage equipment control, power management etc.) and/or
Driving, and can mutually be communicated with various hardware or component software, to provide the running environment of other software component.
The processor 120 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor
120 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..Can also be digital signal processor (DSP)), specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group
Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with
It is that microprocessor or the processor are also possible to any conventional processor etc..
Communication unit 130 by network for being established between user terminal 100 and first wireless telecom equipment 200
Communication connection, to realize the transmitting-receiving operation of network signal and data.Wherein, above-mentioned network signal may include wireless signal or
Wire signal.
It is appreciated that structure described in Fig. 2 is only to illustrate, the user terminal 100 may also include more than shown in Fig. 2
Perhaps less component or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software
Or combinations thereof realize.
Referring to figure 3., Fig. 3 is the flow diagram for the localization method that present pre-ferred embodiments provide.It needs to illustrate
It is that localization method provided by the invention is not limitation with Fig. 3 and specific order as described below.The method includes each step
Detailed process it is as follows:
Step S210, first wireless telecom equipment 200 obtain the second wireless communication within the scope of the first pre-determined distance
The data packet of equipment 300, and the data packet is sent to the user terminal 100.
Referring to Fig. 4, the step S210 includes sub-step S211, sub-step S212 and sub-step S213.The step
The detailed process for each sub-steps that S210 includes is as follows:
Sub-step S211, first wireless telecom equipment 200, which is searched for, whether there is second within the scope of the first pre-determined distance
Wireless telecom equipment 300.
It is following that bluetooth equipment is all made of with first wireless telecom equipment 200 and second wireless telecom equipment 300
It is illustrated.It should be noted that in the other embodiment of the present embodiment, first wireless telecom equipment 200
Other configurations (for example, radio frequency communication devices) can also be used with second wireless telecom equipment 300.
In addition, in the present embodiment, first wireless telecom equipment 200 is associated in advance with user terminal 100, tool
Body, the user terminal 100 is connect with first wireless telecom equipment 200 by Bluetooth communication.
First wireless telecom equipment 200 is in second wireless telecom equipment 300 actively opens shape in real time
State, that is, first wireless telecom equipment 200 opens bluetooth communication mode with second wireless telecom equipment 300 in real time, and
Real-time perfoming is actively searched for.Since effective search range of bluetooth is within the scope of certain distance, set in second wireless communication
When entering within the scope of the first pre-determined distance of first wireless telecom equipment 200 for 300, first wireless telecom equipment
200 can just search second wireless telecom equipment 300.Or first wireless telecom equipment 200 enters described the
When within the scope of the first pre-determined distance of two wireless telecom equipments 300, second wireless telecom equipment 300 can just search described
First wireless telecom equipment 200.That is, first wireless telecom equipment 200 and second wireless telecom equipment 300
The distance between be not more than first pre-determined distance when, can just search counterpart device.It should be noted that above-mentioned first is pre-
If depending on the Bluetooth chip that distance is carried by first wireless telecom equipment 200 and second wireless telecom equipment 300, i.e.,
First pre-determined distance is a fixed value, and optionally, first pre-determined distance can be 30 meters.
It should be noted that the present embodiment is not specifically limited the quantity of second wireless telecom equipment 300.
Sub-step S212, when within the scope of the first pre-determined distance there are when the second wireless telecom equipment 300, first nothing
Line communication equipment 200 is matched with the second wireless telecom equipment 300.
If there are the second wireless telecom equipment 300, first wireless telecom equipments 200 within the scope of the first pre-determined distance
The MAC Address of its own is sent to the second wireless telecom equipment 300.Second wireless telecom equipment 300 receives the first channel radio
The MAC Address that letter equipment 200 sends over, and Bluetooth matching order is generated according to the MAC Address, in the second wireless telecom equipment
The bluetooth equipment for only possessing the MAC Address in 300 matching order could be completed to match with the second wireless telecom equipment 300.
For example, the MAC Address that second wireless telecom equipment 300 receives is A, the second wireless telecom equipment 300 is according to MAC Address
Bluetooth matching order is generated for A, that is to say, that only MAC Address is that the bluetooth equipment of A could be with the second wireless telecom equipment
300 complete matching, and the MAC Address of the first wireless telecom equipment 200 is exactly A, and the first wireless telecom equipment 200 can be with the second nothing
Line communication equipment 300 completes matching.
Sub-step S213 obtains the data packet of matched second wireless telecom equipment 300.
First wireless telecom equipment 200, which receives, is completed what matched all second wireless telecom equipments 300 were sent
Data packet.It include that the parameter information of second wireless telecom equipment 300 and described first wirelessly communicate in the data packet
Equipment 200 completes the signal strength information after matching.
Referring to Fig. 3, step S220, the user terminal 100 carries out data processing to the data packet, calculates
The distance between second wireless telecom equipment 300 and first wireless telecom equipment 200.
Referring to Fig. 5, the step S220 includes sub-step S221 and sub-step S222.The step S220 includes each
The detailed process of sub-steps is as follows:
Sub-step S221 obtains the signal strength of second wireless telecom equipment 300 from the data packet.
Sub-step S222 calculates second wireless telecom equipment 300 and first nothing according to the signal strength
The distance between line communication equipment 200.
The data packet that the user terminal 100 sends first wireless telecom equipment 200 parses, from the number
According to getting the signal for completing matched all second wireless telecom equipments 300 with first wireless telecom equipment 200 in packet
Intensity calculates to obtain each second wireless telecom equipment 300 and institute according to the signal strength of each second wireless telecom equipment 300
State the distance between first wireless telecom equipment 200.
Specifically, the formula that the user terminal 100 calculates to obtain distance according to signal strength is as follows:
D=10^ ((abs (RSSI)-A)/(10*n))
In above formula, d is to calculate gained distance, and RSSI is the signal strength, and A is first wireless telecom equipment 200
Signal strength when distance is 1 meter between second wireless telecom equipment 300, n are the environmental attenuation factor.
By being passed to the RSSI value of each second wireless telecom equipment 300, each second wireless telecom equipment can be returned
The distance between 300 and first wireless telecom equipment 200.Wherein, in the present embodiment, the A parameter can be assigned a value of
59, n can be assigned a value of 2.0, that is, calculating gained distance can be with are as follows:
D=10^ ((abs (RSSI) -59)/(10*2.0))
Referring to Fig. 3, step S230, when second wireless telecom equipment 300 and first wireless communication are set
When for the distance between 200 less than the second pre-determined distance, the user terminal 100 issues the user with default prompting.
By constantly calculate between first wireless telecom equipment 200 and each second wireless telecom equipment 300 away from
From when there are the distance between the second wireless telecom equipment 300 and described first wireless telecom equipment 200 are default less than second
Apart from when, the user terminal 100 issues the user with default prompting, the default prompting may be, but not limited to, voice reminder,
The combination of one or more of vibrating alert, sparkling prompting.Wherein, the voice reminder can be the language that user pre-enters
Sound content, the voice content are independently set by user, and the present embodiment is not specifically limited the voice content.
Referring to Fig. 6, the method also includes:
Step S240, the user terminal 100 obtain the ginseng of second wireless telecom equipment 300 from the data packet
Number information, in the second wireless telecom equipment 300 corresponding with the parameter information and first wireless telecom equipment 200
The distance between repeatedly less than the second pre-determined distance when, issue the user with different default promptings.
Second pre-determined distance can be carried out by the corresponding application program that user installs on the user terminal 100
Setting.In an embodiment of the present embodiment, second pre-determined distance can be set to 2 meters.
Wherein, the parameter information includes MAC information, match time information and matching times information.The MAC information
For the authentication information (unique) of each second wireless telecom equipment 300, the match time information is each second wireless communication
At the time of when equipment 300 match with first wireless telecom equipment 200 completion every time, the matching times information is each the
(first wireless telecom equipment 200 obtains two wireless telecom equipments 300 with 200 successful match of the first wireless telecom equipment
Get the data packet that second wireless telecom equipment 300 is sent) number.
Referring to Fig. 7, the method also includes:
Step S209, the user terminal 100 set the default prompting.
Specifically, in the present embodiment, the mode that the user terminal 100 sets the default prompting includes:
Acquire multiple prompting messages of user's input.
User can set the default prompting by the corresponding application program installed on the user terminal 100
It is fixed, multiple prompting messages are inputted by the related function module in application program, and the corresponding triggering of each prompting message is set
Rule.The triggering rule includes first wireless telecom equipment 200 more than 300 times small with same second wireless telecom equipment
Corresponding different triggering rules when the second pre-determined distance, wherein each corresponding at least one prompting message of triggering rule.
It is briefly described below with reference to technical solution of the specific example to above-described embodiment, it should be noted that under
It is merely illustrative to state description, the protection scope of the embodiment of the present invention is not imposed any restrictions.
Assuming that two carry the running of above-mentioned first wireless telecom equipment 200 and the second wireless telecom equipment 300 respectively
When person is run face-to-face, bluetooth discovery function and positive match function are in real-time active open state.When being separated by for the two
When distance is less than the first pre-determined distance (30m), first wireless telecom equipment 200 and second wireless telecom equipment 300
Actively matched, the signal strength or weakness data of first wireless telecom equipment 200 and second wireless telecom equipment 300 by
Data packet is collected and passes through Bluetooth transmission to smart phone, by the correspondence application program root installed in smart phone by counterpart device
First wireless telecom equipment 200 and described second can be calculated wirelessly according to bluetooth signal intensity data and calculation formula
Rice number apart between communication equipment 300.Above-mentioned blue-teeth data signal strength data is in 200 He of the first wireless telecom equipment
First channel radio will be acquired, analyzed and obtained in real time in real time after second wireless telecom equipment, 300 successful match
The rice number apart between equipment 200 and second wireless telecom equipment 300 is believed, when 200 He of the first wireless telecom equipment
Actively being issued when reaching within 2 meters at a distance of rice number by application program between second wireless telecom equipment 300 instructs, it is desirable that
Mobile phone plays default reminded contents with hands-free max volume, to cause the attention of other side.
Simultaneously under application records counterpart device parameter information, when both sides repeatedly meet, application program is according to race
Corresponding rule plays different prompting messages in the pre-set multiple prompting messages of step person.For example, runner is answering in advance
With when setting is met (in 2 meters of distance) with an equipment for the first time in program, play S1 prompting message (for example, meeting for the first time), the
It is secondary to play S2 prompting message (for example, luckily meeting for the second time very much) when meeting with same equipment, for the third time with same equipment phase
When chance, play S3 information (for example, luckily meeting for the third time very much).
In conclusion localization method provided by the invention and system, the is obtained by first wireless telecom equipment 200
The data packet of the second wireless telecom equipment 300 within the scope of one pre-determined distance, and the data packet is sent to user's end
End 100.The user terminal 100 carries out data processing to the data packet, calculate second wireless telecom equipment 300 with
The distance between described first wireless telecom equipment 200.When second wireless telecom equipment 300 and first wireless communication
When the distance between equipment 200 is less than the second pre-determined distance, the user terminal 100 issues the user with default prompting.By upper
Design is stated, accurately small range positioning may be implemented, and prompting is made to user under preset conditions, is increased aspectant mutual
Motivation meeting.
In several embodiments provided by the embodiment of the present invention, it should be understood that disclosed system and method, it can also
To realize by another way.System and method embodiment described above is only schematical, for example, in attached drawing
Flow chart and block diagram show that the systems of multiple embodiments according to the present invention, method and computer program product are able to achieve
Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program
A part of section or code, a part of the module, section or code include that one or more is patrolled for realizing defined
Collect the executable instruction of function.It should also be noted that in some implementations as replacement, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
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 that contributes to existing technology or the technical solution 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, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the present invention
Suddenly.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
Claims (10)
1. a kind of localization method, be applied to positioning system, the positioning system include communicate to connect between each other it is first wireless
Communication equipment, the second wireless telecom equipment and the user terminal with first wireless telecom equipment communication connection, feature
It is, which comprises
First wireless telecom equipment obtains the data packet of the second wireless telecom equipment within the scope of the first pre-determined distance, and will
The data packet is sent to the user terminal;
The user terminal carries out data processing to the data packet, calculates second wireless telecom equipment and described first
The distance between wireless telecom equipment;
When the distance between second wireless telecom equipment and first wireless telecom equipment are less than the second pre-determined distance,
The user terminal issues the user with default prompting.
2. localization method according to claim 1, which is characterized in that it is default that first wireless telecom equipment obtains first
The step of data packet of the second wireless telecom equipment in distance range includes:
First wireless telecom equipment, which is searched for, whether there is the second wireless telecom equipment within the scope of the first pre-determined distance;
When within the scope of the first pre-determined distance there are when the second wireless telecom equipment, first wireless telecom equipment and the second nothing
Line communication equipment is matched;
Obtain the data packet of matched second wireless telecom equipment.
3. localization method according to claim 1, which is characterized in that the user terminal carries out data to the data packet
Processing, the step of calculating the distance between second wireless telecom equipment and first wireless telecom equipment include:
The signal strength of second wireless telecom equipment is obtained from the data packet;
According to the signal strength, calculate between second wireless telecom equipment and first wireless telecom equipment away from
From.
4. localization method according to claim 1, which is characterized in that the method also includes:
The user terminal obtains the parameter information of second wireless telecom equipment from the data packet, for it is described
The distance between corresponding second wireless telecom equipment of parameter information and first wireless telecom equipment are repeatedly pre- less than second
If apart from when, issue the user with different default promptings, wherein the parameter information include MAC information, match time information with
And matching times information.
5. localization method according to claim 4, which is characterized in that the method also includes:
The user terminal sets the default prompting;
The mode that the user terminal sets the default prompting includes:
Acquire multiple prompting messages of user's input;
Each prompting message corresponding triggering rule is set, the triggering rule including first wireless telecom equipment with it is same
One second wireless telecom equipment repeatedly less than the second pre-determined distance when corresponding different triggering rules, wherein each triggering is regular
Corresponding at least one prompting message.
6. a kind of positioning system, the positioning system includes the first wireless telecom equipment communicated to connect between each other, the second nothing
Line communication equipment and the user terminal communicated to connect with first wireless telecom equipment, it is characterised in that:
First wireless telecom equipment, for obtaining the data of the second wireless telecom equipment within the scope of the first pre-determined distance
Packet, and the data packet is sent to the user terminal;
The user terminal calculates second wireless telecom equipment and institute for carrying out data processing to the data packet
State the distance between first wireless telecom equipment;When between second wireless telecom equipment and first wireless telecom equipment
Distance less than the second pre-determined distance when, the user terminal issues the user with default prompting.
7. positioning system according to claim 6, it is characterised in that:
First wireless telecom equipment is also used to search within the scope of the first pre-determined distance and sets with the presence or absence of the second wireless communication
It is standby;When within the scope of the first pre-determined distance there are when the second wireless telecom equipment, first wireless telecom equipment and the second nothing
Line communication equipment is matched;Obtain the data packet of matched second wireless telecom equipment.
8. positioning system according to claim 6, it is characterised in that:
The user terminal is also used to obtain the signal strength of second wireless telecom equipment from the data packet;According to
The signal strength calculates the distance between second wireless telecom equipment and first wireless telecom equipment.
9. positioning system according to claim 6, it is characterised in that:
The user terminal is also used to obtain the parameter information of second wireless telecom equipment from the data packet, is used for
It is repeatedly small at a distance between the second wireless telecom equipment corresponding with the parameter information and first wireless telecom equipment
When the second pre-determined distance, different default promptings is issued the user with, wherein when the parameter information includes MAC information, matching
Between information and matching times information.
10. positioning system according to claim 9, it is characterised in that:
The user terminal is also used to set the default prompting;
The mode that the user terminal sets the default prompting includes:
Acquire multiple prompting messages of user's input;
Each prompting message corresponding triggering rule is set, the triggering rule including first wireless telecom equipment with it is same
One second wireless telecom equipment repeatedly less than the second pre-determined distance when corresponding different triggering rules, wherein each triggering is regular
Corresponding at least one prompting message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710042452.XA CN106814344B (en) | 2017-01-20 | 2017-01-20 | Localization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710042452.XA CN106814344B (en) | 2017-01-20 | 2017-01-20 | Localization method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106814344A CN106814344A (en) | 2017-06-09 |
CN106814344B true CN106814344B (en) | 2019-09-13 |
Family
ID=59111547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710042452.XA Expired - Fee Related CN106814344B (en) | 2017-01-20 | 2017-01-20 | Localization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106814344B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109391840A (en) * | 2017-08-10 | 2019-02-26 | 深圳市中兴微电子技术有限公司 | A kind of volume is shown and adjusting method and system |
CN107422298A (en) * | 2017-09-19 | 2017-12-01 | 深圳市深层互联科技有限公司 | Bluetooth ranging parameters optimization method, system, storage medium and mobile terminal |
CN108012251B (en) * | 2017-12-07 | 2020-12-01 | 北京摩拜科技有限公司 | Method, system and mobile terminal for positioning target Bluetooth device |
CN109243436A (en) * | 2018-08-23 | 2019-01-18 | 珠海格力电器股份有限公司 | Control method and device, electronic device and the storage medium of equipment |
CN110493369A (en) * | 2019-08-27 | 2019-11-22 | 王晓阳 | Method, system and the detection device that a kind of pair of concealment electronic equipment is detected |
CN115414121B (en) * | 2022-11-07 | 2023-03-24 | 中南大学 | Surgical operation navigation system based on radio frequency positioning chip |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103368619A (en) * | 2013-07-23 | 2013-10-23 | 京东方科技集团股份有限公司 | Mobile terminal and method and device for communication between mobile terminals |
CN204168332U (en) * | 2014-05-22 | 2015-02-18 | 北汽福田汽车股份有限公司 | For data transfer control system and the electric automobile of automobile |
CN106019218A (en) * | 2016-05-13 | 2016-10-12 | 中科劲点(北京)科技有限公司 | Method for acquiring the relative distance of terminals and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011128722A1 (en) * | 2010-04-12 | 2011-10-20 | Nokia Corporation | Selection of a relative positioning method |
US9494432B2 (en) * | 2012-06-19 | 2016-11-15 | Qualcomm Incorporated | Collaborative navigation techniques for mobile devices |
-
2017
- 2017-01-20 CN CN201710042452.XA patent/CN106814344B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103368619A (en) * | 2013-07-23 | 2013-10-23 | 京东方科技集团股份有限公司 | Mobile terminal and method and device for communication between mobile terminals |
CN204168332U (en) * | 2014-05-22 | 2015-02-18 | 北汽福田汽车股份有限公司 | For data transfer control system and the electric automobile of automobile |
CN106019218A (en) * | 2016-05-13 | 2016-10-12 | 中科劲点(北京)科技有限公司 | Method for acquiring the relative distance of terminals and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106814344A (en) | 2017-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106814344B (en) | Localization method and system | |
CN106683485B (en) | Parking stall recommended method and system | |
CN103945344B (en) | A kind of method for sending information, the network equipment and terminal | |
CN104243517B (en) | Content share method and device between different terminals | |
CN107146614A (en) | A kind of audio signal processing method, device and electronic equipment | |
CN107144819A (en) | A kind of sound localization method, device and electronic equipment | |
US8933822B2 (en) | Method and apparatus for extra-vehicular emergency updates following an accident | |
CN105962955B (en) | A kind of child's focus acquisition methods and system | |
CN107277754A (en) | The method and Bluetooth peripheral of a kind of bluetooth connection | |
US20150245164A1 (en) | Interaction between wearable devices via broadcasted sensor-related data | |
CN103490466B (en) | Battery electric quantity shares method, device and server | |
US9479601B2 (en) | Method and apparatus for seamless application portability over multiple environments | |
CN108574515A (en) | A kind of data sharing method based on intelligent sound box equipment, device and system | |
CN107452383B (en) | Information processing method, server, terminal and information processing system | |
CN105841693B (en) | Air navigation aid and device | |
CN105117121B (en) | A kind of method that smartwatch is sought help and smartwatch | |
CN112312308A (en) | Indoor positioning method and terminal equipment | |
CN105872980B (en) | A kind of method and device scanning wireless network signal | |
CN101087227A (en) | Wireless short distance friends making agency system | |
WO2015093203A1 (en) | Communication system, communication terminal, management server, recording medium, information inquiry method, information response method, and information provision method | |
CN105956007A (en) | Social information search system and searching method thereof | |
CN109640272B (en) | Positioning method and mobile terminal | |
CN109688402A (en) | A kind of exchange method based on hologram, client and system | |
CN103258031A (en) | Medical institution information query system based on mobile terminal | |
CN103369459A (en) | Method and device for providing position-related services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190913 |
|
CF01 | Termination of patent right due to non-payment of annual fee |