CN106714103A - Network location method and terminal equipment - Google Patents
Network location method and terminal equipment Download PDFInfo
- Publication number
- CN106714103A CN106714103A CN201611118615.XA CN201611118615A CN106714103A CN 106714103 A CN106714103 A CN 106714103A CN 201611118615 A CN201611118615 A CN 201611118615A CN 106714103 A CN106714103 A CN 106714103A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- target
- signal strength
- wifi
- geographic position
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000015654 memory Effects 0.000 claims description 35
- 238000003860 storage Methods 0.000 description 17
- 230000006854 communication Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- 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
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a network location method. In terminal equipment, the MAC address of a target Wifi, as well as N signal strengths and N geographical positions are recorded, wherein the N signal strengths and the N geographical positions correspond to the target Wifi, and are in one-to-one correspondence with each other. The network location method comprises the following steps: accessing the target Wifi; when a network location instruction is detected, obtaining a current signal strength, received by the current terminal equipment, of the target Wifi; and when the absolute value of a difference valve between the current signal strength and a target signal strength is equal to or less than a preset threshold, setting a target geographical position as a location position, wherein the target signal strength is a signal strength, received by the terminal equipment during location, of the target Wifi after the terminal equipment accesses the target Wifi for the latest time, the target geographical position is a geographical position obtained by performing location when the terminal equipment accesses the target Wifi for the latest time, the N signal strengths comprise the target signal strength, and the N geographical positions comprise the target geographical position. Embodiments of the invention further provide the terminal equipment. According to the embodiments of the invention, time required for location can be shortened.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of network locating method and terminal device.
Background technology
Mobile-terminal platform (such as ISO platforms or Android platform etc.), there is the demand of network positions, and uses
It is most common method that Wifi (Wireless Fidelity, Wireless Fidelity) carries out network positions.Wifi positioning refers to using shifting
Dynamic terminal measures the wireless signal of one or more WiFi on periphery, is then based on the wireless communication of these one or more WiFi
Number, calculate the localization method in mobile terminal geographical position.
WiFi positioning is typically mobile terminal and is positioned to server log on, and then server carries out localization process, most
Backward mobile terminal restoring to normal position result, it is seen then that whole position fixing process needs the regular hour, therefore it is required how to accelerate positioning
The time wanted is this area technical problem urgently to be resolved hurrily.
The content of the invention
The embodiment of the present invention provides a kind of network locating method and terminal device, to shorten the time required for positioning.
In a first aspect, the embodiment of the present invention provides a kind of network locating method, it is characterised in that there be record in terminal device
The corresponding N number of signal intensity of MAC Address of the MAC Address of target Wifi and the target Wifi and N number of geographical position, institute
State N number of signal intensity to be corresponded with N number of geographical position, the N is positive integer, including:
The terminal device accesses the target Wifi;
When the terminal device detects network positions to be instructed, the terminal device obtains presently described terminal device and connects
Receive the current signal strength of the target Wifi;
It is described when the absolute value of the current signal strength and Target Signal Strength difference is less than or equal to predetermined threshold value
Terminal device is using target geographic position as the terminal device current geographic position;
Wherein, after the Target Signal Strength accesses the target Wifi for the last terminal device, the end
End equipment when carrying out network positions the terminal device receive the signal intensity of the target Wifi, the target geographic position
After accessing the target Wifi for the last terminal device, the terminal device carries out the end that network positions are obtained
The geographical position of end equipment, N number of signal intensity includes the Target Signal Strength, and N number of geographical position includes described
Target geographic position.
Second aspect, the embodiment of the present invention provides a kind of terminal device, and record has the MAC ground of target Wifi in terminal device
The corresponding N number of signal intensity of MAC Address of location and the target Wifi and N number of geographical position, N number of signal intensity with
N number of geographical position corresponds, and the N is positive integer, including:
Wifi AM access modules, for accessing the target Wifi;
Data obtaining module, for when the terminal device detects network positions and instructs, obtaining presently described terminal
Equipment receives the current signal strength of the target Wifi;
Locating module, for the absolute value when the current signal strength and Target Signal Strength difference less than or equal to pre-
If during threshold value, using target geographic position as the terminal device current geographic position;
Wherein, after the Target Signal Strength accesses the target Wifi for the last terminal device, the end
End equipment when carrying out network positions the terminal device receive the signal intensity of the target Wifi, the target geographic position
After accessing the target Wifi for the last terminal device, the terminal device carries out the end that network positions are obtained
The geographical position of end equipment, N number of signal intensity includes the Target Signal Strength, and N number of geographical position includes described
Target geographic position.
The third aspect, the embodiment of the invention provides a kind of terminal device, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as the embodiment of the present invention
Part or all of step described in first aspect.
Fourth aspect, the present invention provides a kind of computer-readable storage medium, for saving as the embodiment of the present invention third aspect
Computer software instructions used by the terminal device of offer, it is included for performing the program designed by above-mentioned aspect.
Compared to prior art, terminal device is repeatedly carried out after being connected into target Wifi before the scheme record that the present invention is provided
Terminal device receives multiple signal intensities of target Wifi and positions multiple geographical position of the terminal device for obtaining during positioning,
This multiple signal intensity at least includes Target Signal Strength, and this multiple geographical position at least includes target geographic position, target letter
Number intensity is that terminal device receives target Wifi's when carrying out network positions after the last terminal device accesses target Wifi
Target Signal Strength, target geographic position is after the last terminal device accesses target Wifi, to carry out network positions and obtain end
The target geographic position of end equipment, when terminal device is after target Wifi is accessed, when carrying out network positions, in present terminal equipment
When the current signal strength and Target Signal Strength for receiving target Wifi are more or less the same, directly using target geographic position as end
End equipment current geographic position, and then shorten the time required for positioning.
The aspects of the invention or other aspects can more straightforwards in the following description.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of schematic flow sheet of network locating method that Fig. 1 is provided for first embodiment of the invention;
A kind of schematic flow sheet of network locating method that Fig. 2 is provided for second embodiment of the invention;
A kind of structural representation of terminal device that Fig. 3 is provided for first embodiment of the invention;
A kind of structural representation of terminal device that Fig. 4 is provided for second embodiment of the invention;
A kind of structural representation of terminal device that Fig. 5 is provided for third embodiment of the invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection
Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and "
Four " it is etc. for distinguishing different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and it
Any deformation, it is intended that covering non-exclusive is included.For example contain the process of series of steps or unit, method, be
System, product or equipment are not limited to the step of having listed or unit, but alternatively also include the step of not listing or list
Unit, or alternatively also include for these processes, method, product or other intrinsic steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
1), terminal device, also referred to as user equipment (User Equipment, UE), are that one kind provides a user with voice
And/or the equipment of data connectivity, for example, portable equipment, mobile unit with wireless connecting function etc..Common terminal
For example include:Mobile phone, panel computer, notebook computer, palm PC, mobile internet device (mobile internet
Device, MID), wearable device, such as intelligent watch, Intelligent bracelet, pedometer etc..
2), the last time is exactly nearest apart from current time, and completed.
3), " multiple " refers to two or more."and/or", describes the incidence relation of affiliated partner, and expression can be deposited
In three kinds of relations, for example, A and/or B, can represent:Individualism A, while there is A and B, individualism B these three situations.
Character "/" typicallys represent forward-backward correlation pair as if a kind of relation of "or".
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of network locating method provided in an embodiment of the present invention, wherein, eventually
Record has the corresponding N number of signal intensity of the MAC Address of MAC Address and the target Wifi and N of target Wifi in end equipment
Individual geographical position, N number of signal intensity and the N number of geographical position correspond, and the N is positive integer, including following step
Suddenly:
S101, the terminal device access the target Wifi.
S102, when the terminal device detects network positions and instructs, the terminal device obtains presently described terminal
Equipment receives the current signal strength of the target Wifi.
S103, when the current signal strength and Target Signal Strength difference absolute value be less than or equal to predetermined threshold value
When, the terminal device is using target geographic position as the terminal device current geographic position;Wherein, the echo signal is strong
Spend after accessing the target Wifi for the last terminal device, the terminal device carries out terminal during network positions
Equipment receives the signal intensity of the target Wifi, and the target geographic position accesses institute for the last terminal device
After stating target Wifi, the terminal device carries out the geographical position of the terminal device that network positions are obtained, N number of signal
Intensity includes the Target Signal Strength, and N number of geographical position includes the target geographic position.
, wherein it is desired to explanation, at least including Target Signal Strength, N number of geographical position at least includes N number of signal intensity
Target geographic position.
Wherein, above-mentioned predetermined threshold value for example can be 5db, 10db, 12db, 15db, 20db or other values.
As an example it is assumed that predetermined threshold value is 10db, the MAC Address of target Wifi is 123, and Target Signal Strength is
100db, target geographic position is A, and after present terminal equipment is linked into target Wifi, user initiates network positions, it is assumed that current
The current signal strength that terminal device receives target Wifi is 107db, it is seen then that terminal device connects same Wifi, and eventually
The signal intensity that end equipment is connected to the Wifi is close, then it is assumed that user does not move, now directly using address A as terminal device
Current geographic position.
Alternatively, if the N is the integer more than 1, methods described also includes:
When the current signal strength is more than the predetermined threshold value with the absolute value of the Target Signal Strength difference, institute
State terminal device and W signal intensity is selected from N number of signal intensity, and selected from N number of geographical position
The corresponding W geographical position of the W signal intensity, the W is the integer more than 1;The terminal device is according to described current
Signal intensity, the W signal intensity and the W geographical position, determine the terminal device current geographic position.
As an example it is assumed that Target Signal Strength is 100db, terminal device receives the current signal strength of target Wifi
It is 50db, predetermined threshold value is 10db, it is seen then that terminal device receives the current signal strength and Target Signal Strength of target Wifi
Difference it is larger, then it is assumed that user is moved, now can not directly using address A as terminal device current geographic position, it is necessary to
Terminal device current geographic position is reaffirmed, it reaffirms that terminal device current geographic position concrete mode is:From N number of letter
W signal intensity is selected in number intensity, and the corresponding W geographical position of W signal intensity is selected from N number of geographical position
Put, then determine based on current signal strength, W signal intensity and W geographical position.
Alternatively, methods described also includes:
The terminal device is by the current signal strength, the terminal device current geographic position and the target Wifi
MAC Address associated record.
Alternatively, the terminal device also records MAC Address corresponding N number of record time of the target Wifi, institute
State N number of record time and the N number of signal intensity is corresponded, the terminal device is using the target geographic position as described
Terminal device current geographic position, including:
When the target record time gap present system time is less than or equal to preset duration, the terminal device will
The target geographic position is believed as the terminal device current geographic position, the target record time to record the target
Number intensity corresponding record time.That is, when if target record time gap current time is shorter, terminal device is just
Last time was directly used to position the geographical position for obtaining as terminal device current geographic position.
Wherein, above-mentioned preset duration for example can be 1 day, 2 days, 3 days, 4 days, 8 days, 1 month or other values.
Alternatively, methods described also includes:
When the target record time gap present system time is more than the preset duration, the terminal device is again
Network positions are carried out, to obtain the terminal device current geographic position.
Wherein, terminal device re-starts network positions, to obtain the specific embodiment party of terminal device current geographic position
Formula can be:Terminal device starts the multiple focuses around Wifi module scans terminal devices, to obtain multiple hot informations (heat
Than the MAC Address if any focus, terminal device receives signal intensity of focus etc. to point information), then terminal device will be obtained
To multiple hot informations feed back to server, multiple hot informations that server is based on terminal device feedback determine terminal device
Current geographic position, then server the terminal device current geographic position of determination is fed back into terminal device.
Compared to prior art, terminal device is repeatedly carried out after being connected into target Wifi before the scheme record that the present invention is provided
Terminal device receives multiple signal intensities of target Wifi and positions multiple geographical position of the terminal device for obtaining during positioning,
This multiple signal intensity at least includes Target Signal Strength, and this multiple geographical position at least includes target geographic position, target letter
Number intensity is that terminal device receives target Wifi's when carrying out network positions after the last terminal device accesses target Wifi
Target Signal Strength, target geographic position is after the last terminal device accesses target Wifi, to carry out network positions and obtain end
The target geographic position of end equipment, when terminal device is after target Wifi is accessed, when carrying out network positions, in present terminal equipment
When the current signal strength and Target Signal Strength for receiving target Wifi are more or less the same, directly using target geographic position as end
End equipment current geographic position, positions, after then server is positioned, to end without terminal device to server log on
End equipment restoring to normal position result, and then shorten the time required for positioning.
The embodiment of the present invention additionally provides another more detailed method flow, and record has target Wifi's in terminal device
The corresponding N number of signal intensity of MAC Address of MAC Address and the target Wifi, N number of geographical position and N number of record time,
N number of signal intensity is corresponded with N number of geographical position, and N number of record time is with N number of signal intensity one by one
Correspondence, the N is the integer more than 1, as shown in Fig. 2 including:
S201, the terminal device access the target Wifi.
S202, terminal device detection network positions instruction.
The current demand signal that S203, the presently described terminal device of terminal device acquisition receive the target Wifi is strong
Degree.
S204, the terminal device determine whether the absolute value of the current signal strength and Target Signal Strength difference is small
In or equal to predetermined threshold value, the Target Signal Strength is institute after the last terminal device accesses the target Wifi
The terminal device receives the signal intensity of the target Wifi, N number of signal terminal device to be stated when carrying out network positions
Intensity includes the Target Signal Strength.
If the current signal strength is less than or equal to the predetermined threshold value with the absolute value of Target Signal Strength difference,
Perform step S205.
If the current signal strength is more than the predetermined threshold value with the absolute value of Target Signal Strength difference, step is performed
Rapid S208-S210.
When whether S205, the terminal device determine target record time gap present system time less than or equal to presetting
Long, the target record time is to record the Target Signal Strength corresponding record time.
If the target record time gap present system time is less than or equal to the preset duration, step is performed
S206。
If the target record time gap present system time is more than the preset duration, step S207 is performed.
S206, the terminal device are using target geographic position as the terminal device current geographic position.
S207, the terminal device re-start network positions, to obtain the terminal device current geographic position.Perform
Complete step S206 performs step S209.
S208, the terminal device select W signal intensity from N number of signal intensity, and from described N number of
Reason selects the corresponding W geographical position of the W signal intensity in position, and the W is the integer more than 1, the target ground
After the target Wifi is accessed in reason position for the last terminal device, the terminal device carries out what network positions were obtained
The geographical position of the terminal device, N number of geographical position includes the target geographic position.
S209, the terminal device are according to the current signal strength, the W signal intensity and the W geographical position
Put, determine the terminal device current geographic position.
S210, the terminal device are by the current signal strength, the terminal device current geographic position and the mesh
Mark the MAC Address associated record of Wifi.
It should be noted that each step of method shown in Fig. 2 implements process reference can be made to described in the above method
Implement process, no longer describe herein.
The embodiment of the present invention additionally provides a kind of terminal device 300, as shown in figure 3, record has target in terminal device
The corresponding N number of signal intensity of MAC Address of the MAC Address of Wifi and the target Wifi and N number of geographical position, it is described N number of
Signal intensity is corresponded with N number of geographical position, and the N is positive integer, including:
Wifi AM access modules 301, for accessing the target Wifi;
Data obtaining module 302, for when the terminal device detects network positions and instructs, obtaining presently described end
End equipment receives the current signal strength of the target Wifi;
Locating module 303, for being less than or waiting with the absolute value of Target Signal Strength difference when the current signal strength
When predetermined threshold value, using target geographic position as the terminal device current geographic position;
Wherein, after the Target Signal Strength accesses the target Wifi for the last terminal device, the end
End equipment when carrying out network positions the terminal device receive the signal intensity of the target Wifi, the target geographic position
After accessing the target Wifi for the last terminal device, the terminal device carries out the end that network positions are obtained
The geographical position of end equipment, N number of signal intensity includes the Target Signal Strength, and N number of geographical position includes described
Target geographic position.
Alternatively, if the N is the integer more than 1, the terminal device also includes:
Module 304 is chosen, for being more than with the absolute value of the Target Signal Strength difference when the current signal strength
During the predetermined threshold value, W signal intensity is selected from N number of signal intensity, and selected from N number of geographical position
The corresponding W geographical position of the W signal intensity is taken out, the W is the integer more than 1;
The locating module 303, is additionally operable to according to the current signal strength, the W signal intensity and the W ground
Reason position, determines the terminal device current geographic position.
Alternatively, the terminal device also includes:
Logging modle 305, for by the current signal strength, the terminal device current geographic position and the target
The MAC Address associated record of Wifi.
Alternatively, the terminal device also records MAC Address corresponding N number of record time of the target Wifi, institute
State N number of record time and the N number of signal intensity corresponded, the locating module 303 specifically for:
When the target record time gap present system time is less than or equal to preset duration, the terminal device will
The target geographic position is believed as the terminal device current geographic position, the target record time to record the target
Number intensity corresponding record time.
Alternatively, the locating module 303, is additionally operable to be more than institute when the target record time gap present system time
When stating preset duration, network positions are re-started, to obtain the terminal device current geographic position.
It should be noted that above-mentioned each module (Wifi AM access modules 301, data obtaining module 302, locating module 303,
Choose module 304 and logging modle 305) for performing the correlation step of the above method.
In the present embodiment, terminal device 300 is to present in modular form.Here " module " can refer to specific answering
With integrated circuit (application-specific integrated circuit, ASIC), perform one or more softwares or
The processor and memory of firmware program, integrated logic circuit, and/or other can provide the device of above-mentioned functions.Additionally, with
Upper Wifi AM access modules 301, data obtaining module 302, locating module 303, selection module 304 and logging modle 305 can pass through
The processor 401 of the terminal device shown in Fig. 4 is realized.
As shown in figure 4, terminal device 400 can be realized with the structure in Fig. 4, the terminal device 400 includes at least one
Individual processor 401, at least one memory 402 and at least one communication interface 403.The processor 401, the memory
402 and the communication interface 403 connected by the communication bus and complete mutual communication.
Processor 401 can be general central processor (CPU), microprocessor, ASIC
(application-specific integrated circuit, ASIC), or one or more are for controlling above scheme journey
The integrated circuit that sequence is performed.
Communication interface 403, for other equipment or communication, such as Ethernet, wireless access network (RAN), nothing
Line LAN (Wireless Local Area Networks, WLAN) etc..
Memory 402 can be read-only storage (read-only memory, ROM) or can store static information and instruction
Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored
Breath and the other kinds of dynamic memory, or EEPROM (Electrically of instruction
Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal
Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to
The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this.
Memory can be individually present, and be connected with processor by bus.Memory can also be integrated with processor.
Wherein, the memory 402 is used to store the application code for performing above scheme, and by processor 401
Control is performed.The processor 401 is used to perform the application code stored in the memory 402.
The code of the storage of memory 402 can perform the above-mentioned network locating method that terminal device provided above is performed, than
As record has the corresponding N number of signal of the MAC Address of MAC Address and the target Wifi of target Wifi strong in terminal device
Degree and N number of geographical position, N number of signal intensity are corresponded with N number of geographical position, and the N is positive integer, including:
Access the target Wifi;When the terminal device detects network positions to be instructed, obtain presently described terminal device and receive
To the current signal strength of the target Wifi;When the current signal strength is less than with the absolute value of Target Signal Strength difference
Or during equal to predetermined threshold value, using target geographic position as the terminal device current geographic position;Wherein, the echo signal
After intensity accesses the target Wifi for the last terminal device, the terminal device carries out end during network positions
End equipment receives the signal intensity of the target Wifi, and the target geographic position is accessed for the last terminal device
After the target Wifi, the terminal device carries out the geographical position of the terminal device that network positions are obtained, N number of letter
Number intensity includes the Target Signal Strength, and N number of geographical position includes the target geographic position.
In one embodiment, terminal device is mobile phone, and each component parts of mobile phone is carried out specifically with reference to Fig. 5
Introduction:
RF circuits 510 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, processed to processor 580;In addition, up data is activation will be designed to base station.Generally, RF circuits 510
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..Additionally, RF circuits 510 can also be communicated by radio communication with network and other equipment.
Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 520 can be used to store software program and module, and processor 580 is by running storage in memory 520
Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 520 can mainly include
Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function
Sequence (such as Wifi access functions, acquisition receive signal intensity function, positioning function, the information record function of Wifi) etc.;Deposit
Storage data field can store and (such as obtain and to receive the signal intensity of Wifi, determines according to the created data of using of mobile phone
Geographical position) etc..Additionally, memory 520 can include high-speed random access memory, non-volatile memories can also be included
Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 530 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with
And the relevant key signals input of function control.Specifically, input block 530 may include contact panel 531, other input equipments
532.Contact panel 531, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses hand
The operation of any suitable object such as finger, stylus or annex on contact panel 531 or near contact panel 531), and according to
Formula set in advance drives corresponding attachment means.Optionally, contact panel 531 may include touch detecting apparatus and touch to control
Two parts of device processed.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, will
Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact
Coordinate, then give processor 580, and the order sent of receiving processor 580 and can be performed.Furthermore, it is possible to using resistance
The polytypes such as formula, condenser type, infrared ray and surface acoustic wave realize contact panel 531.Divided by contact panel 531, input
Unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to secondary or physical bond
At least one in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 540 can be used for show by user input information or be supplied to user information and mobile phone it is various
Menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 541.Further, contact panel 531 can cover display panel 541, when contact panel 531 detect it is thereon or attached
After near touch operation, processor 580 is sent to determine the type of touch event, with preprocessor 580 according to touch event
Type corresponding visual output is provided on display panel 541.Although in Figure 5, contact panel 531 and display panel 541
It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control
Panel 531 and display panel 541 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 550, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 541, proximity transducer can close display panel 541 when mobile phone is moved in one's ear
And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor
Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data conversion that road 560 will can receive, is transferred to loudspeaker 561, and sound is converted to by loudspeaker 561
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is turned after being received by voicefrequency circuit 560
It is changed to voice data, then after voice data output processor 580 is processed, through RF circuits 510 to be sent to such as another mobile phone,
Or export to memory 520 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 570
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows
WiFi module 570, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 580 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform software program of the storage in memory 520 and/or module, and call storage in memory 520
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 580 can be wrapped
Include one or more processing units;Preferably, processor 580 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Mobile phone also includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe
Reason system is logically contiguous with processor 580, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In previous embodiment, the structure that each step method flow can be based on the terminal device shown in Fig. 5 is realized.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, the part or all of step including any network locating method described in the above method embodiment when program is performed
Suddenly.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces,
Can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part or technical scheme contributed to prior art all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are used to so that a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the invention
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable memory, memory
Can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to principle of the invention and
Implementation method is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept;
Simultaneously for those of ordinary skill in the art, according to thought of the invention, can in specific embodiments and applications
There is change part, to sum up above-mentioned, this specification content should not be construed as limiting the invention.
Claims (11)
1. a kind of network locating method, it is characterised in that record has the MAC Address of target Wifi and described in terminal device
The corresponding N number of signal intensity of MAC Address of target Wifi and N number of geographical position, N number of signal intensity and N number of geography
Position corresponds, and the N is positive integer, including:
The terminal device accesses the target Wifi;
When the terminal device detects network positions to be instructed, the terminal device obtains presently described terminal device and receives
The current signal strength of the target Wifi;
When the absolute value of the current signal strength and Target Signal Strength difference is less than or equal to predetermined threshold value, the terminal
Equipment is using target geographic position as the terminal device current geographic position;
Wherein, after the Target Signal Strength accesses the target Wifi for the last terminal device, the terminal sets
The signal intensity of the target Wifi is received for terminal device when carrying out network positions, the target geographic position is for most
After nearly once described terminal device accesses the target Wifi, the terminal device carries out the terminal that network positions obtain and sets
Standby geographical position, N number of signal intensity includes the Target Signal Strength, and N number of geographical position includes the target
Geographical position.
2. method according to claim 1, it is characterised in that if the N is the integer more than 1, methods described also includes:
When the current signal strength is more than the predetermined threshold value with the absolute value of the Target Signal Strength difference, the end
End equipment selects W signal intensity from N number of signal intensity, and selects the W from N number of geographical position
The corresponding W geographical position of individual signal intensity, the W is the integer more than 1;
The terminal device determines institute according to the current signal strength, the W signal intensity and the W geographical position
State terminal device current geographic position.
3. method according to claim 2, it is characterised in that methods described also includes:
The terminal device is by the current signal strength, the terminal device current geographic position and the target Wifi
MAC Address associated record.
4. the method according to claim any one of 1-3, it is characterised in that the terminal device has also recorded the target
MAC Address corresponding N number of record time of Wifi, N number of record time corresponds with N number of signal intensity, described
Terminal device using the target geographic position as the terminal device current geographic position, including:
When the target record time gap present system time is less than or equal to preset duration, the terminal device will be described
Target geographic position is used as the terminal device current geographic position, and the target record time is strong to record the echo signal
Spend the corresponding record time.
5. method according to claim 4, it is characterised in that methods described also includes:
When the target record time gap present system time is more than the preset duration, the terminal device is re-started
Network positions, to obtain the terminal device current geographic position.
6. a kind of terminal device, it is characterised in that record has the MAC Address and the target of target Wifi in terminal device
The corresponding N number of signal intensity of MAC Address of Wifi and N number of geographical position, N number of signal intensity and N number of geographical position
Correspond, the N is positive integer, including:
Wifi AM access modules, for accessing the target Wifi;
Data obtaining module, for when the terminal device detects network positions and instructs, obtaining presently described terminal device
Receive the current signal strength of the target Wifi;
Locating module, for being less than or equal to default threshold when the absolute value of the current signal strength and Target Signal Strength difference
During value, using target geographic position as the terminal device current geographic position;
Wherein, after the Target Signal Strength accesses the target Wifi for the last terminal device, the terminal sets
The signal intensity of the target Wifi is received for terminal device when carrying out network positions, the target geographic position is for most
After nearly once described terminal device accesses the target Wifi, the terminal device carries out the terminal that network positions obtain and sets
Standby geographical position, N number of signal intensity includes the Target Signal Strength, and N number of geographical position includes the target
Geographical position.
7. terminal device according to claim 6, it is characterised in that if the N is the integer more than 1, the terminal sets
It is standby also to include:
Module is chosen, for being preset more than described with the absolute value of the Target Signal Strength difference when the current signal strength
During threshold value, W signal intensity is selected from N number of signal intensity, and selected from N number of geographical position described
The corresponding W geographical position of W signal intensity, the W is the integer more than 1;
The locating module, is additionally operable to according to the current signal strength, the W signal intensity and the W geographical position,
Determine the terminal device current geographic position.
8. terminal device according to claim 7, it is characterised in that the terminal device also includes:
Logging modle, for by the current signal strength, the terminal device current geographic position and the target Wifi
MAC Address associated record.
9. the terminal device according to claim any one of 6-8, it is characterised in that the terminal device has also recorded described
MAC Address corresponding N number of record time of target Wifi, N number of record time corresponds with N number of signal intensity,
The locating module specifically for:
When the target record time gap present system time is less than or equal to preset duration, the terminal device will be described
Target geographic position is used as the terminal device current geographic position, and the target record time is strong to record the echo signal
Spend the corresponding record time.
10. terminal device according to claim 9, it is characterised in that
The locating module, is additionally operable to when the target record time gap present system time is more than the preset duration,
Network positions are re-started, to obtain the terminal device current geographic position.
A kind of 11. terminal devices, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as 1~right of claim
It is required that the network locating method described in 5 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611118615.XA CN106714103B (en) | 2016-12-07 | 2016-12-07 | A kind of network locating method and terminal device |
PCT/CN2017/105104 WO2018103441A1 (en) | 2016-12-07 | 2017-09-30 | Network positioning method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611118615.XA CN106714103B (en) | 2016-12-07 | 2016-12-07 | A kind of network locating method and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106714103A true CN106714103A (en) | 2017-05-24 |
CN106714103B CN106714103B (en) | 2019-09-27 |
Family
ID=58936203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611118615.XA Expired - Fee Related CN106714103B (en) | 2016-12-07 | 2016-12-07 | A kind of network locating method and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106714103B (en) |
WO (1) | WO2018103441A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018103441A1 (en) * | 2016-12-07 | 2018-06-14 | 广东欧珀移动通信有限公司 | Network positioning method and terminal device |
CN110320544A (en) * | 2018-03-30 | 2019-10-11 | 北京百度网讯科技有限公司 | Method, apparatus, equipment and the storage medium of identification terminal equipment position |
CN112383823A (en) * | 2020-10-16 | 2021-02-19 | 北京奇艺世纪科技有限公司 | Code rate self-adaption method and device, electronic equipment and storage medium |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111954198B (en) * | 2020-07-22 | 2024-02-02 | 深圳市微能信息科技有限公司 | Intelligent equipment searching method and device and charging seat |
CN111999724B (en) * | 2020-09-09 | 2024-04-30 | 合肥零碳技术有限公司 | Method, system and equipment for automatically identifying equipment position in photovoltaic system |
CN112468958B (en) * | 2020-11-23 | 2023-02-24 | 北京元心科技有限公司 | Region determination method and device, electronic equipment and computer readable storage medium |
CN113472611A (en) * | 2021-07-26 | 2021-10-01 | 东莞市金锐显数码科技有限公司 | Method and device for acquiring WiFi signal strength and readable storage medium |
CN114531649A (en) * | 2022-02-15 | 2022-05-24 | 深圳欧思微电子技术有限公司 | Method, device, terminal and storage medium for positioning signal source position |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533635A (en) * | 2012-07-03 | 2014-01-22 | 希姆通信息技术(上海)有限公司 | Mobile terminal positioning method and mobile terminal |
CN104427609A (en) * | 2013-08-27 | 2015-03-18 | 中国电信集团公司 | Positioning method and system |
CN105100292A (en) * | 2014-05-12 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and apparatus of determining position of terminal |
CN105263118A (en) * | 2015-10-31 | 2016-01-20 | 广东欧珀移动通信有限公司 | Positioning method of user terminal and user terminal |
US20160054865A1 (en) * | 2001-07-05 | 2016-02-25 | NexRf Corporation | System and method for map based exploration |
CN105847581A (en) * | 2016-05-05 | 2016-08-10 | 广东小天才科技有限公司 | User prompting method and user terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8594003B2 (en) * | 2011-01-05 | 2013-11-26 | Visoft Ltd. | Method of estimating location of mobile device in transportation using WiFi |
CN104768127A (en) * | 2014-01-07 | 2015-07-08 | 中兴通讯股份有限公司 | Positioning method, device and server |
CN106714103B (en) * | 2016-12-07 | 2019-09-27 | Oppo广东移动通信有限公司 | A kind of network locating method and terminal device |
-
2016
- 2016-12-07 CN CN201611118615.XA patent/CN106714103B/en not_active Expired - Fee Related
-
2017
- 2017-09-30 WO PCT/CN2017/105104 patent/WO2018103441A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160054865A1 (en) * | 2001-07-05 | 2016-02-25 | NexRf Corporation | System and method for map based exploration |
CN103533635A (en) * | 2012-07-03 | 2014-01-22 | 希姆通信息技术(上海)有限公司 | Mobile terminal positioning method and mobile terminal |
CN104427609A (en) * | 2013-08-27 | 2015-03-18 | 中国电信集团公司 | Positioning method and system |
CN105100292A (en) * | 2014-05-12 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and apparatus of determining position of terminal |
CN105263118A (en) * | 2015-10-31 | 2016-01-20 | 广东欧珀移动通信有限公司 | Positioning method of user terminal and user terminal |
CN105847581A (en) * | 2016-05-05 | 2016-08-10 | 广东小天才科技有限公司 | User prompting method and user terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018103441A1 (en) * | 2016-12-07 | 2018-06-14 | 广东欧珀移动通信有限公司 | Network positioning method and terminal device |
CN110320544A (en) * | 2018-03-30 | 2019-10-11 | 北京百度网讯科技有限公司 | Method, apparatus, equipment and the storage medium of identification terminal equipment position |
CN110320544B (en) * | 2018-03-30 | 2022-03-01 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for identifying position of terminal equipment |
CN112383823A (en) * | 2020-10-16 | 2021-02-19 | 北京奇艺世纪科技有限公司 | Code rate self-adaption method and device, electronic equipment and storage medium |
CN112383823B (en) * | 2020-10-16 | 2023-04-07 | 北京奇艺世纪科技有限公司 | Code rate self-adaption method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106714103B (en) | 2019-09-27 |
WO2018103441A1 (en) | 2018-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106714103A (en) | Network location method and terminal equipment | |
CN104135501B (en) | Page sharing method, Apparatus and system | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106714207B (en) | A kind of information processing method and terminal device | |
CN104618440A (en) | Intelligent equipment control method and device | |
CN104168175A (en) | Message group sensing method and terminal in instant messaging | |
CN104426919A (en) | Page sharing method, device and system | |
CN106055960B (en) | One kind solution lock control method and terminal device | |
CN106775323A (en) | Method, device and the mobile communication terminal of application program have been adjusted in communication process | |
CN105681161A (en) | Method, device and system for adding friend account | |
CN106170034A (en) | A kind of sound effect treatment method and mobile terminal | |
CN106331359A (en) | Speech signal acquisition method and apparatus and terminal | |
CN106445739B (en) | Data migration method and terminal equipment | |
CN106790981A (en) | A kind of terminal device method to set up and terminal device | |
CN109189202A (en) | Adjust the method and device of power consumption of terminal | |
CN106658353A (en) | Data migration method and mobile equipment | |
CN106227563A (en) | The data processing method of a kind of application program and relevant device | |
CN104836717A (en) | Data processing method and apparatus, and terminal equipment | |
CN106488391B (en) | A kind of data migration method and terminal device | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN106484563B (en) | Data migration method and terminal equipment | |
CN103312783B (en) | Method, device and system for switching function modes | |
CN104092657A (en) | Information transmission method, device and system | |
CN106385482A (en) | Contact information processing method and device, and mobile terminal | |
CN106658705B (en) | A kind of network locating method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190927 |
|
CF01 | Termination of patent right due to non-payment of annual fee |