CN106507482A - A kind of network locating method and terminal device - Google Patents
A kind of network locating method and terminal device Download PDFInfo
- Publication number
- CN106507482A CN106507482A CN201611117792.6A CN201611117792A CN106507482A CN 106507482 A CN106507482 A CN 106507482A CN 201611117792 A CN201611117792 A CN 201611117792A CN 106507482 A CN106507482 A CN 106507482A
- Authority
- CN
- China
- Prior art keywords
- wifi
- terminal device
- information
- location server
- 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 45
- 230000006870 function Effects 0.000 claims description 30
- 230000029058 respiratory gaseous exchange Effects 0.000 claims 1
- 230000006854 communication Effects 0.000 description 16
- 238000004891 communication Methods 0.000 description 15
- 238000003860 storage Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 9
- 230000009471 action Effects 0.000 description 8
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000006243 chemical reaction 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
- 238000007689 inspection 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
- 238000000060 site-specific infrared dichroism spectroscopy Methods 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
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Abstract
The invention discloses a kind of network locating method, including:When detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, to obtain the information of N number of Wifi, the N is the integer more than 1;During N number of Wifi is scanned, start positioning function;When terminating to scan N number of Wifi, positioning instruction is sent to location server, the positioning instruction carries the information of N number of Wifi, and the positioning instruction is used for indicating that the location server determines the current geographic position of the terminal device according to the information of N number of Wifi;The current geographic position of the terminal device that the location server is returned is received for the positioning instruction.The embodiment of the present invention additionally provides a kind of terminal device.Time required for positioning can be shortened using the embodiment of the present invention.
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
Most of mobile-terminal platform (such as ISO platforms or Android platform etc.), is equipped with Wifi chips, supports
Connection route device is surfed the Net.Take pictures now or send out circle of friends and have become the habits and customs of majority, in upload pictures or send out
The network site for obtaining at that time is may require that when circle of friends.
Generally in the case of position-sensing switch closing, user needs first to open position-sensing switch, is then turned on positioning service, then
Then start Wifi modules to be scanned Wifi, to get the information of Wifi, then again by the information of these Wifi to clothes
Business device, server determine position based on these Wifi information again, it is seen then that whole position fixing process needs the regular hour, therefore such as
It is this area technical problem urgently to be resolved hurrily that what accelerates the time required for positioning.
Content of the invention
The embodiment of the present invention provides a kind of network locating method and terminal device, to shortening 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 include:
When detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, to obtain N number of Wifi
Information, the N is the integer more than 1;
During N number of Wifi is scanned, start positioning function;
When terminating to scan N number of Wifi, positioning instruction is sent to location server, the positioning instruction carries described
The information of N number of Wifi, the positioning instruction are used for indicating the location server according to the information of N number of Wifi determines
The current geographic position of terminal device;
The current geographic position of the terminal device that the location server is returned is received for the positioning instruction.
Second aspect, the embodiment of the present invention provide a kind of terminal device, including:
Scan module, for when detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, to obtain
The information of N number of Wifi is taken, the N is the integer more than 1;
Starting module, for, during N number of Wifi is scanned, starting positioning function;
Sending module, for when terminating to scan N number of Wifi, sending positioning instruction to location server, described fixed
Bit instruction carries the information of N number of Wifi, and the positioning instruction is used for indicating the location server according to N number of Wifi
Information determine the current geographic position of the terminal device;
Receiver module, for receive the location server for the positioning instruction terminal device that returns
Current geographic position.
The third aspect, embodiments 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, executes such as the embodiment of the present invention
Part or all of step described in first aspect.
Fourth aspect, the present invention provide 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, its include for executing the program designed by above-mentioned aspect.
It can be seen that, compared to prior art, the scheme that the present invention is provided after positioning function is started, then need not be carried out to Wifi
Scanning, but when detecting position-sensing switch and being opened, directly Wifi is scanned, then during Wifi scannings,
Start positioning function, finally after Wifi scannings are terminated, by the information of the Wifi for getting to location server, location server
Geographical position is determined based on these information, this geographical position is returned to terminal device then, and then is shortened needed for positioning
Time.
The aspects of the invention or other in terms of can more straightforward in the following description.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
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.
Fig. 1 is a kind of communication system schematic diagram provided in an embodiment of the present invention;
A kind of schematic flow sheet of network locating method that Fig. 2 is provided for one embodiment of the invention;
A kind of schematic flow sheet of network locating method that Fig. 3 is provided for one embodiment of the invention;
A kind of structural representation of terminal device that Fig. 4 is provided for one embodiment of the invention;
A kind of structural representation of terminal device that Fig. 5 is provided for one embodiment of the invention;
A kind of structural representation of terminal device that Fig. 6 is provided for one 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 in
Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Embodiment in based on the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, 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 cover and non-exclusive include.For example contain the process of series of steps or unit, method, be
System, product or equipment are not limited to the step of listing or unit, but alternatively also include the step of not listing or list
Unit, or alternatively also include other steps intrinsic for these processes, method, product or 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
It is contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
Hereinafter, to the application in part term explain, 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) executed in parallel is execution action A and action B respectively in two lines journey, such as, executes dynamic in first thread
Make A, execution action B on the second thread, the two can be and meanwhile carrying out, or execute an action during
Execute another action.
3), " multiple " refer 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 be represented:Individualism A, while there is A and B, individualism B these three situations.
Character "/" typicallys represent forward-backward correlation to liking a kind of relation of "or".
Below in conjunction with the accompanying drawings embodiments herein is described.
Fig. 1 is referred to, Fig. 1 is a kind of schematic diagram of communication system disclosed in the embodiment of the present invention.Communication system shown in Fig. 1
System includes terminal device 110 and location server 120, wherein, when terminal device 110 detects position-sensing switch to be opened, eventually
N number of Wifi around 110 end of scan equipment 110 of end equipment, to obtain the information of this N number of Wifi, (these information include Wifi
MAC Address, terminal device 110 receives signal strength signal intensity of Wifi etc.), N is the integer more than 1, scans in terminal device 110
During Wifi, terminal device 110 starts positioning function, and when Wifi scannings are terminated, terminal device 110 is to location server
120 send positioning instruction, and the positioning instruction carries the information of this N number of Wifi, and the positioning instruction is used for indicating positions server 120
Information according to this N number of Wifi determines the current geographic position of terminal device 110, and location server 120 is according to this N number of Wifi's
Information determines the current geographic position of terminal device 110, and the current geographic position for determining the terminal device 110 for arriving is returned
Give terminal device 110.
It can be seen that, compared to the network locating method of prior art:Position-sensing switch is opened first, positioning service is then turned on, then
Then start Wifi modules to be scanned Wifi, to get the information of Wifi, then location server is based on these Wifi
Information positioned, the scheme that the present invention is provided without the need for, after positioning function is started, then being scanned to Wifi, but in inspection
When measuring position-sensing switch and being opened, directly Wifi is scanned, then during Wifi scannings, starts positioning function,
Finally after Wifi scannings are terminated, by the information of the Wifi for getting to location server, to determine the position of terminal device, enter
And the time required to shortening positioning.
Refer to Fig. 2, Fig. 2 is a kind of schematic flow sheet of network locating method provided in an embodiment of the present invention, including with
Lower step:
S201, when detecting position-sensing switch and being opened, the N number of Wifi around the terminal device scans terminal device,
To obtain the information of N number of Wifi, the N is the integer more than 1.
S202, during N number of Wifi is scanned, the terminal device starts positioning function.
S203, terminate scan N number of Wifi when, the terminal device to location server send positioning instruction, institute
The information that positioning instruction carries N number of Wifi is stated, the positioning instruction is used for indicating the location server according to described N number of
The information of Wifi determines the current geographic position of the terminal device.
S204, the location server receive the positioning instruction, and according to the described N number of of positioning instruction carrying
The information of Wifi determines the current geographic position of the terminal device.
The terminal device that S205, the location server are returned to the terminal device for the positioning instruction
Current geographic position, the terminal device receives the terminal that the location server is returned for the positioning instruction
The current geographic position of equipment.
Wherein, the information of Wifi can for example include the MAC Address of Wifi, service set (the Service Set of Wifi
Identifier, SSID), terminal device receives signal strength signal intensity of Wifi etc..
In the embodiment of the present invention, due to the N number of Wifi around terminal device scans terminal device described in above step S201
It is executed in parallel to start positioning function with terminal device described in above step S202, is like this possible to opening positioning
When function, terminal device has completed the scanning of Wifi, and compared to prior art, this programme is saved needed for the scanning of Wifi
Time, and then shorten the time required for positioning.
Alternatively, the specific embodiment of the N number of Wifi around the terminal device scans terminal device is:The terminal
Equipment sends agreement broadcast;When the Wifi modules of the terminal device receive the agreement broadcast, the terminal device leads to
The N number of Wifi crossed around the Wifi module scans terminal devices of the terminal device.
Alternatively, 3, method according to claim 1 and 2, it is characterised in that associated record in the terminal device
The information of position and M Wifi is targetedly managed, and wherein, the information of the target geographic position and the M Wifi is to work as
The geographical position that the location server returns to the terminal device in preset duration is that the number of times of target geographic position exceedes
During predetermined threshold value, the terminal device associated record.
Wherein, preset duration can for example be 1 day, 2 days, 4 days, 5 days, 8 days or other values.
Wherein, predetermined threshold value can for example be 10 times, 12 times, 13 times, 16 times, 18 times or other values.
Alternatively, before the transmission positioning instruction to location server, methods described also includes:
The information of N number of Wifi and the information of the M Wifi are contrasted;
If the information phase of W Wifi in there is no the information of W Wifi and the M Wifi in N number of Wifi
Coupling, then send positioning instruction to location server, and the W is more than or equal to the M/2.
Alternatively, methods described also includes:
If the information match of W Wifi in there is the information of W Wifi and the M Wifi in N number of Wifi,
Then using the target geographic position as the terminal device current geographic position.
As an example it is assumed that preset duration is 2 days, predetermined threshold value is 13 times, and target geographic position is A, M=5, if
When in 2 days, location server returns to the number of times of the geographical position of terminal device for A more than 13 times, it is often in place that represents user
Put A, now, terminal device can by position A and for determining that position A and the information of this 5 Wifi are associated record, in order to
Follow-up use.
Such as, it is assumed that N=6, W=4, if present terminal device scan to 6 Wifi in exist 4 Wifi information
With the information match of 4 Wifi in 5 Wifi of terminal device records, it is position that represents the position that user is currently located
A, now, terminal device, need not be again by the letter of this 6 Wifi directly using position A as terminal device current geographic position
Breath is sent to location server carries out position determination, further shorten the time required for positioning.If present terminal equipment
There is no the information of 4 Wifi in the information of 4 Wifi and 5 Wifi of terminal device records in 6 Wifi for scanning
Match, it may not be position A that represents the position that user is currently located, now, the information of this 6 Wifi is sent out by terminal device
Giving location server carries out position determination.
It can be seen that, compared to prior art, the scheme that the present invention is provided after positioning function is started, then need not be carried out to Wifi
Scanning, but when detecting position-sensing switch and being opened, directly Wifi is scanned, then during Wifi scannings,
Start positioning function, finally after Wifi scannings are terminated, by the information of the Wifi for getting to location server, location server
Geographical position is determined based on these information, this geographical position is returned to terminal device then, and then is shortened needed for positioning
Time.
The embodiment of the present invention additionally provides another more detailed method flow, as shown in figure 3, including:
S301, when detecting position-sensing switch and being opened, the terminal device sends agreement broadcast.
S302, the terminal device Wifi modules receive described agreement broadcast when, the terminal device pass through institute
State the N number of Wifi around the Wifi module scans terminal devices of terminal device.
S303, during N number of Wifi is scanned, the terminal device starts positioning function.
S304, when terminating to scan N number of Wifi, the terminal is by the letter of the information of N number of Wifi and M Wifi
Breath is contrasted, and in the terminal device, associated record targetedly manages the information of position and M Wifi, wherein, the target
The information of geographical position and the M Wifi when in preset duration the location server return to the terminal device
When geographical position exceedes predetermined threshold value for the number of times of target geographic position, the terminal device associated record.
If the information match of W Wifi in there is the information of W Wifi and the M Wifi in N number of Wifi,
Then execution step S305.
If the information phase of W Wifi in there is no the information of W Wifi and the M Wifi in N number of Wifi
Match somebody with somebody, then execution step S306~step S309.
S305, the terminal device using the target geographic position as the terminal device current geographic position.
S306, the terminal device send positioning instruction to location server, and the positioning instruction carries N number of Wifi
Information, the positioning instruction be used for indicate according to the information of N number of Wifi, the location server determines that the terminal sets
Standby current geographic position.
S307, the location server receive the positioning instruction, and according to the described N number of of positioning instruction carrying
The information of Wifi determines the current geographic position of the terminal device.
The terminal device that S308, the location server are returned to the terminal device for the positioning instruction
Current geographic position, the terminal device receives the terminal that the location server is returned for the positioning instruction
The current geographic position of equipment.
It should be noted that the process that implements of each step of method shown in Fig. 3 is can be found in described in said method
Implement process, here is no longer described.
The embodiment of the present invention additionally provides a kind of terminal device 400, as shown in figure 4, including:
Scan module 401, for when detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, with
The information of N number of Wifi is obtained, the N is the integer more than 1;
Starting module 402, for, during N number of Wifi is scanned, starting positioning function;
Sending module 403, for when terminating to scan N number of Wifi, sending positioning instruction to location server, described
Positioning instruction carries the information of N number of Wifi, and the positioning instruction is used for indicating the location server according to described N number of
The information of Wifi determines the current geographic position of the terminal device;
Receiver module 404, sets for receiving the terminal that the location server is returned for the positioning instruction
Standby current geographic position.
Alternatively, the scan module 401 specifically for:
Send agreement broadcast;
When the Wifi modules of the terminal device receive the agreement broadcast, by the Wifi moulds of the terminal device
N number of Wifi around block scan terminal device.
Alternatively, in the terminal device, associated record targetedly manages the information of position and M Wifi, wherein, described
The information of target geographic position and the M Wifi is when in preset duration, the location server returns to the terminal and sets
When standby geographical position exceedes predetermined threshold value for the number of times of target geographic position, the terminal device associated record.
Alternatively, the terminal device also includes:
Contrast module 405, for being contrasted the information of N number of Wifi and the information of the M Wifi;
The sending module 403 specifically for:If the information that there is no W Wifi in N number of Wifi is individual with the M
The information match of W Wifi in Wifi, then send positioning instruction to location server, and the W is more than or equal to the M/
2.
Alternatively, the terminal device also includes:
Locating module 406, if the information for there is W Wifi in N number of Wifi is individual with the W in the M Wifi
The information match of Wifi, then using the target geographic position as the terminal device current geographic position.
It should be noted that above-mentioned each module (scan module 401, starting module 402, sending module 403, receiver module
404th, 406) contrast module 405 and locating module are used for the correlation step for executing said method.
In the present embodiment, terminal device 300 is in modular form presenting.Here " module " can refer to specific answering
With integrated circuit (application-specific integrated circuit, ASIC), execute 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 scan module 401, starting module 402, sending module 403, receiver module 404, contrast module 405 and locating module 406 can
Realized by the processor 401 of the terminal device shown in Fig. 5.
As shown in figure 5, terminal device 500 can with Fig. 5 in structure realizing, the terminal device 500 includes at least one
Individual processor 501, at least one memory 502 and at least one communication interface 503.The processor 501, the memory
502 and the communication interface 503 connected by the communication bus and complete mutual communication.
Processor 501 can be general central processor (CPU), microprocessor, ASIC
(application-specific integrated circuit, ASIC), or one or more for controlling above scheme journey
The integrated circuit that sequence is executed.
Communication interface 503, for other equipment or communication, such as Ethernet, wireless access network (RAN), nothing
Line LAN (Wireless Local Area Networks, WLAN) etc..
Memory 502 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) can store letter
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 compress 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 to have 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 502 is used for storing the application code for executing above scheme, and by processor 501
Control is executed.The processor 501 is used for executing the application code stored in the memory 502.
The code of the storage of memory 502 can perform the above-mentioned network locating method that terminal device provided above is executed, than
Such as when detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, to obtain the information of N number of Wifi,
The N is the integer more than 1;During N number of Wifi is scanned, start positioning function;Terminating, scanning is described N number of
During Wifi, positioning instruction is sent to location server, the positioning instruction carries the information of N number of Wifi, and the positioning refers to
Make for indicating that the location server determines the current geographic position of the terminal device according to the information of N number of Wifi;
The current geographic position of the terminal device that the location server is returned is received for the positioning instruction.
In one embodiment, terminal device is mobile phone, each component parts of mobile phone is carried out specifically with reference to Fig. 6
Introduction:
RF circuits 610 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, process to processor 680;In addition, up data is activation will be designed to base station.Generally, RF circuits 610
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..Additionally, RF circuits 610 can also be communicated with network and other equipment by radio communication.
Above-mentioned radio communication can use arbitrary 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 620 can be used to store software program and module, and processor 680 is stored in memory 620 by operation
Software program and module, so as to execute various function application and the data processing of mobile phone.Memory 620 mainly can include
Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function
Sequence (such as Wifi scan functions, positioning function, message sending function) etc.;Storage data field can store the use institute according to mobile phone
Data (the such as information of N number of Wifi that the geographical position of location server return, Wifi scannings obtain) of establishment etc..Additionally,
Memory 620 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one disk
Memory device, flush memory device or other volatile solid-state parts.
Input block 630 can be used for the numeral of receives input or character information, and produce with the user setup of mobile phone with
And the key signals input that function control is relevant.Specifically, input block 630 may include contact panel 631, other input equipments
632.Contact panel 631, 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 631 or near the contact panel 631), and according to
Formula set in advance drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch control
Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, will
Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact
Coordinate, then give processor 680, and the order sent of receiving processor 680 can be executed.Furthermore, it is possible to adopt resistance
The polytypes such as formula, condenser type, infrared ray and surface acoustic wave realize contact panel 631.Divided by contact panel 631, input
Unit 630 can also include other input equipments 632.Specifically, other input equipments 632 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 640 can be used for show by user input information or be supplied to user information and mobile phone various
Menu.Display unit 640 may include display floater 641, optionally, can adopt liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) aobvious to configure
Show panel 641.Further, contact panel 631 can cover display floater 641, when contact panel 631 detect thereon or attached
After near touch operation, processor 580 is sent to determine the type of touch event, with preprocessor 680 according to touch event
Type corresponding visual output is provided on display floater 641.Although in figure 6, contact panel 631 and display floater 641
It is the part independent as two realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control
Panel 631 is integrated with display floater 641 and realizes mobile phone input and output function.
Mobile phone may also include at least one sensor 650, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light
Light and shade adjusting the brightness of display floater 641, proximity transducer can cut out display floater 641 when mobile phone is moved in one's ear
And/or backlight.Used as one kind of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions
Size, can detect that size and the direction of gravity 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 the gyroscope of configuration, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 661, is converted to sound by loudspeaker 661 by road 660
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, is turned after being received by voicefrequency circuit 660
Voice data is changed to, then after voice data output processor 680 is processed, through RF circuits 610 to be sent to such as another mobile phone,
Or export voice data to memory 620 further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 670
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows
WiFi module 670, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Omit in the scope of the essence for becoming invention.
Processor 680 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, leads to
Cross operation or execute the software program and/or the module that are stored in memory 620, and call and be stored in memory 620
Data, execute the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 680 can be wrapped
Include one or more processing units;Preferably, processor 680 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly processed with processor, and modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) that powers to all parts, it is preferred that power supply can pass through power supply pipe
Reason system is logically contiguous with processor 680, 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 include camera, bluetooth module etc., will not be described here.
In previous embodiment, each step method flow process can be realized based on the structure of the terminal device shown in Fig. 6.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, the computer-readable storage medium can be stored with journey
Sequence, includes the part or all of step of any network locating method described in said method embodiment during the program performing
Suddenly.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because
According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module are not necessarily of the invention
Necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the portion that describes in detail
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 the schematically division of for example described unit, is only one kind
Division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or can
To be integrated into another system, or some features can be ignored, or not execute.Another, shown or discussed each other
Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit,
Can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, 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 both can 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 realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer-readable access to memory.Be based on such understanding, technical scheme substantially or
Person say the part or technical scheme contributed by prior art all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, use so that a computer equipment including some instructions
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment methods described of the invention
Step.And aforesaid memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), portable hard drive, 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..
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and
Embodiment 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 one of ordinary skill in the art, according to the thought of the present 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 include:
When detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, to obtain the letter of N number of Wifi
Breath, the N is the integer more than 1;
During N number of Wifi is scanned, start positioning function;
When terminating to scan N number of Wifi, positioning instruction is sent to location server, the positioning instruction carries described N number of
The information of Wifi, the positioning instruction are used for indicating that the location server determines the end according to the information of N number of Wifi
The current geographic position of end equipment;
The current geographic position of the terminal device that the location server is returned is received for the positioning instruction.
2. method according to claim 1, it is characterised in that the N number of Wifi around the end of scan equipment, including:
Send agreement broadcast;
When the Wifi modules of the terminal device receive the agreement broadcast, swept by the Wifi modules of the terminal device
Retouch the N number of Wifi around terminal device.
3. method according to claim 1 and 2, it is characterised in that associated record is targetedly managed in the terminal device
Position and the information of M Wifi, wherein, the information of the target geographic position and the M Wifi is when in preset duration
When the location server returns to the geographical position of the terminal device and exceedes predetermined threshold value for the number of times of target geographic position,
The terminal device associated record.
4. method according to claim 3, it is characterised in that described send positioning instruction to location server before, institute
Stating method also includes:
The information of N number of Wifi and the information of the M Wifi are contrasted;
If the information match of W Wifi in there is no the information of W Wifi and the M Wifi in N number of Wifi,
Positioning instruction is sent to location server, the W is more than or equal to the M/2.
5. method according to claim 4, it is characterised in that methods described also includes:
If the information match of W Wifi in there is the information of W Wifi and the M Wifi in N number of Wifi, will
Current geographic position of the target geographic position as the terminal device.
6. a kind of terminal device, it is characterised in that include:
Scan module, for when detecting position-sensing switch and being opened, the N number of Wifi around end of scan equipment, to obtain
The information of N number of Wifi is stated, the N is the integer more than 1;
Starting module, for, during N number of Wifi is scanned, starting positioning function;
Sending module, for when terminating to scan N number of Wifi, sending positioning instruction to location server, the positioning refers to
Order carries the information of N number of Wifi, and the positioning instruction is used for indicating letter of the location server according to N number of Wifi
Breath determines the current geographic position of the terminal device;
Receiver module, for receiving the current of location server terminal device for returning for the positioning instruction
Geographical position.
7. method according to claim 6, it is characterised in that the scan module specifically for:
Send agreement broadcast;
When the Wifi modules of the terminal device receive the agreement broadcast, swept by the Wifi modules of the terminal device
Retouch the N number of Wifi around terminal device.
8. the terminal device according to claim 6 or 7, it is characterised in that associated record has target in the terminal device
Geographical position and the information of M Wifi, wherein, the information of the target geographic position and the M Wifi is when when default
The geographical position that the location server returns to the terminal device in long is that the number of times of target geographic position exceedes default threshold
During value, the terminal device associated record.
9. terminal device according to claim 8, it is characterised in that the terminal device also includes:
Contrast module, for being contrasted the information of N number of Wifi and the information of the M Wifi;
The sending module specifically for:If the W in there is no the information of W Wifi and the M Wifi in N number of Wifi
The information match of individual Wifi, then send positioning instruction to location server, and the W is more than or equal to the M/2.
10. terminal device according to claim 9, it is characterised in that the terminal device also includes:
Locating module, if the letter for W Wifi in the information that there is W Wifi in N number of Wifi and the M Wifi
Manner of breathing mate, then using the target geographic position as the terminal device current geographic position.
11. a kind of terminal devices, it is characterised in that include:
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, executes such as 1~right of claim
Require the network locating method described in 5 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117792.6A CN106507482B (en) | 2016-12-07 | 2016-12-07 | A kind of network locating method and terminal device |
PCT/CN2017/105149 WO2018103443A1 (en) | 2016-12-07 | 2017-09-30 | Network positioning method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117792.6A CN106507482B (en) | 2016-12-07 | 2016-12-07 | A kind of network locating method and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106507482A true CN106507482A (en) | 2017-03-15 |
CN106507482B CN106507482B (en) | 2019-07-26 |
Family
ID=58330231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611117792.6A Expired - Fee Related CN106507482B (en) | 2016-12-07 | 2016-12-07 | A kind of network locating method and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106507482B (en) |
WO (1) | WO2018103443A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040323A (en) * | 2017-12-05 | 2018-05-15 | 北京睿智荟聚科技发展有限公司 | A kind of localization method and device |
WO2018103443A1 (en) * | 2016-12-07 | 2018-06-14 | 广东欧珀移动通信有限公司 | Network positioning method and terminal device |
CN108668221A (en) * | 2018-04-28 | 2018-10-16 | 北京万兔思睿科技有限公司 | A kind of intelligent positioning system and method |
CN111481114A (en) * | 2019-01-29 | 2020-08-04 | 北京奇虎科技有限公司 | Method and device for detecting working environment of sweeper and sweeper |
CN112565248A (en) * | 2020-12-02 | 2021-03-26 | 北京知道创宇信息技术股份有限公司 | Network scanning scheduling method, device and control equipment |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868345B (en) * | 2019-11-06 | 2022-01-04 | Oppo广东移动通信有限公司 | Information sharing method and related product |
CN113518304A (en) * | 2021-03-18 | 2021-10-19 | 深圳云里物里科技股份有限公司 | Indoor positioning method and device |
CN116321268B (en) * | 2023-03-06 | 2023-11-03 | 乾位智通(深圳)技术有限公司 | Detection data recording system, method and device and UWB module detection device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103533649A (en) * | 2013-10-25 | 2014-01-22 | 北京航空航天大学 | Indoor and outdoor seamless positioning system |
CN103796308A (en) * | 2014-03-03 | 2014-05-14 | 成都西加云杉科技有限公司 | Method, device and system for positioning user terminal |
CN103813448A (en) * | 2014-02-26 | 2014-05-21 | 江苏亿通高科技股份有限公司 | Indoor positioning method based on RSSI |
US20140317102A1 (en) * | 2011-07-27 | 2014-10-23 | Unwired Planet, Llc | System and method for providing location information for communications through an access network |
CN104349456A (en) * | 2013-08-07 | 2015-02-11 | 中国电信股份有限公司 | WiFi (Wireless Fidelity) positioning method and WiFi positioning platform |
CN104661305A (en) * | 2015-02-16 | 2015-05-27 | 百度在线网络技术(北京)有限公司 | Method and device for locating user terminal as well as server |
CN105486302A (en) * | 2015-11-20 | 2016-04-13 | 魅族科技(中国)有限公司 | Map displaying method and terminal |
US20160249177A1 (en) * | 2013-01-29 | 2016-08-25 | Apple Inc. | Sharing Location Information Among Devices |
CN106131767A (en) * | 2016-06-28 | 2016-11-16 | 河南航飞光电科技有限公司 | A kind of combination WiFi and the mobile phone positioning method of bluetooth |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747520B (en) * | 2013-12-20 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | A kind of localization method and device of mobile terminal |
CN105100292B (en) * | 2014-05-12 | 2018-12-18 | 阿里巴巴集团控股有限公司 | Determine the method and device of the position of terminal |
KR102239090B1 (en) * | 2014-06-05 | 2021-04-13 | 삼성전자 주식회사 | Method and apparatus for providing location information |
CN104837215A (en) * | 2015-04-14 | 2015-08-12 | 广东欧珀移动通信有限公司 | Wireless access point connecting method and device |
CN106507482B (en) * | 2016-12-07 | 2019-07-26 | Oppo广东移动通信有限公司 | A kind of network locating method and terminal device |
-
2016
- 2016-12-07 CN CN201611117792.6A patent/CN106507482B/en not_active Expired - Fee Related
-
2017
- 2017-09-30 WO PCT/CN2017/105149 patent/WO2018103443A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140317102A1 (en) * | 2011-07-27 | 2014-10-23 | Unwired Planet, Llc | System and method for providing location information for communications through an access network |
US20160249177A1 (en) * | 2013-01-29 | 2016-08-25 | Apple Inc. | Sharing Location Information Among Devices |
CN104349456A (en) * | 2013-08-07 | 2015-02-11 | 中国电信股份有限公司 | WiFi (Wireless Fidelity) positioning method and WiFi positioning platform |
CN103533649A (en) * | 2013-10-25 | 2014-01-22 | 北京航空航天大学 | Indoor and outdoor seamless positioning system |
CN103813448A (en) * | 2014-02-26 | 2014-05-21 | 江苏亿通高科技股份有限公司 | Indoor positioning method based on RSSI |
CN103796308A (en) * | 2014-03-03 | 2014-05-14 | 成都西加云杉科技有限公司 | Method, device and system for positioning user terminal |
CN104661305A (en) * | 2015-02-16 | 2015-05-27 | 百度在线网络技术(北京)有限公司 | Method and device for locating user terminal as well as server |
CN105486302A (en) * | 2015-11-20 | 2016-04-13 | 魅族科技(中国)有限公司 | Map displaying method and terminal |
CN106131767A (en) * | 2016-06-28 | 2016-11-16 | 河南航飞光电科技有限公司 | A kind of combination WiFi and the mobile phone positioning method of bluetooth |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018103443A1 (en) * | 2016-12-07 | 2018-06-14 | 广东欧珀移动通信有限公司 | Network positioning method and terminal device |
CN108040323A (en) * | 2017-12-05 | 2018-05-15 | 北京睿智荟聚科技发展有限公司 | A kind of localization method and device |
CN108040323B (en) * | 2017-12-05 | 2020-04-17 | 北京睿智荟聚科技发展有限公司 | Positioning method and device |
CN108668221A (en) * | 2018-04-28 | 2018-10-16 | 北京万兔思睿科技有限公司 | A kind of intelligent positioning system and method |
CN111481114A (en) * | 2019-01-29 | 2020-08-04 | 北京奇虎科技有限公司 | Method and device for detecting working environment of sweeper and sweeper |
CN112565248A (en) * | 2020-12-02 | 2021-03-26 | 北京知道创宇信息技术股份有限公司 | Network scanning scheduling method, device and control equipment |
CN112565248B (en) * | 2020-12-02 | 2023-06-02 | 北京知道创宇信息技术股份有限公司 | Network scanning scheduling method, device and control equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2018103443A1 (en) | 2018-06-14 |
CN106507482B (en) | 2019-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106507482A (en) | A kind of network locating method and terminal device | |
CN104135501B (en) | Page sharing method, Apparatus and system | |
CN106686626B (en) | The setting method and terminal device of WiFi roaming | |
CN104426919B (en) | Page sharing method, apparatus and system | |
CN104093123B (en) | The information-pushing method of application program, device and system, mobile terminal | |
CN106714103B (en) | A kind of network locating method and terminal device | |
CN106170034A (en) | A kind of sound effect treatment method and mobile terminal | |
CN106331370A (en) | Data transmission method and terminal device | |
CN106454810A (en) | Hotspot establishing method and terminal equipment | |
CN106658623A (en) | Hotspot network switching method and terminal equipment | |
CN106790981A (en) | A kind of terminal device method to set up and terminal device | |
CN106507269A (en) | A kind of data migration method and terminal device | |
CN106879055A (en) | A kind of wireless network scan control method and relevant device | |
CN106454975A (en) | Hotspot network switching method and terminal equipment | |
CN106658353A (en) | Data migration method and mobile equipment | |
CN106445739A (en) | Data migration method and terminal device | |
CN106227563A (en) | The data processing method of a kind of application program and relevant device | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN103546632A (en) | Method and device for alarm ringing of mobile terminal and mobile terminal | |
CN107466015A (en) | Access control method and Related product | |
CN106484563A (en) | A kind of data migration method and terminal unit | |
CN106488391A (en) | A kind of data migration method and terminal device | |
CN109189538A (en) | A kind of method and apparatus sending orientation red packet | |
CN106331302A (en) | Method and equipment for adding contact | |
CN106792434A (en) | A kind of focus method for building up and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190726 |