CN107872875A - The method and device of network positions - Google Patents
The method and device of network positions Download PDFInfo
- Publication number
- CN107872875A CN107872875A CN201711397491.8A CN201711397491A CN107872875A CN 107872875 A CN107872875 A CN 107872875A CN 201711397491 A CN201711397491 A CN 201711397491A CN 107872875 A CN107872875 A CN 107872875A
- Authority
- CN
- China
- Prior art keywords
- information
- network
- user
- location
- location data
- 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.)
- Pending
Links
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
Abstract
The embodiment of the invention discloses a kind of method and device of network positions, to improve the efficiency of network positions, this method includes:The network information that user is presently in environment is obtained, the network information includes at least one in WLAN hot information, base station information;The network information is matched with the location data collection locally to prestore, obtains matching result, the location data collection includes the corresponding relation between the network information and geographical location information;The current geographical location information of the user is determined according to the matching result.The technical scheme largely improves the speed of network positions, and then improves the Experience Degree that user carries out network positions.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of method and device of network positions.
Background technology
With being skyrocketed through for more mobile devices (such as mobile phone, automobile) and swashing for application based on location aware
Increase, being positioned in life, work becomes more and more important.At present, both it is rapidly completed positioning in the presence of network positions are used alone
Application, there is also network positions and global position system, (such as global position system GPS, GLONASS Glonass, the Big Dipper are defended
Star navigation system) application that is combined.As can be seen here, network positions are essential during actual location.
Network positions are mainly carried out using two ways in the prior art.One kind is first to search for WLAN by equipment
Network wifi hotspot, then the relevant information of the wifi hotspot searched is uploaded to the location-based service of location provider by network
Device, and then by the current location of location server returning equipment.This positioning method requires positioning precision within 100 meters, and
It is more than 1 second the time required to positioning, therefore the limitation positioned is higher and location efficiency is low.Another kind is attached by equipment acquisition
The cell ID of nearly base station, is then uploaded to position by the relevant information of the cell ID of the base station got by network
The location server of provider, and then by the current location of location server returning equipment.Although this positioning method can incite somebody to action
Positioning precision is amplified to 2 kms, but location efficiency is equally relatively low.It follows that existing network location technology is remained in many
Defect.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and device of network positions, to solve network in the prior art
The problem of location efficiency is low.
In order to solve the above technical problems, what the embodiment of the present invention was realized in:
In a first aspect, the embodiments of the invention provide a kind of method of network positions, this method includes:
Obtain user and be presently in the network information of environment, the network information include WLAN hot information,
At least one of in base station information;
The network information is matched with the location data collection locally to prestore, obtains matching result, the positioning number
Include the corresponding relation between the network information and geographical location information according to collection;
The current geographical location information of the user is determined according to the matching result.
Second aspect, the embodiment of the present invention additionally provide a kind of device of network positions, and the device includes:
First acquisition module, the network information of environment is presently in for obtaining user, and the network information includes wireless
At least one of in LAN hot information, base station information;
Matching module, for the network information to be matched with the location data collection locally to prestore, obtain matching knot
Fruit, the location data collection include the corresponding relation between the network information and geographical location information;
First determining module, for determining the current geographical location information of the user according to the matching result.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including processor, memory and are stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is by the computing device
The step of realizing the method for the network positions described in any one as described above
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, described computer-readable to deposit
Computer program is stored on storage media, the network described in any one as described above is realized when the computer program is executed by processor
The step of method of positioning.
In embodiments of the present invention, the network information of environment is presently in by obtaining user, and by the network information and originally
The location data collection that ground prestores is matched, and determines the current geographical location information of user according to matching result so that Yong Hu
Without the network information for being presently in environment is sent to location-server when carrying out network positions, but directly deposited according to local
The location data collection of storage is positioned, and greatly enhances the speed of network positions, and then is improved user and carried out network
The Experience Degree of positioning.
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
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in invention, for those of ordinary skill in the art, do not paying the premise of creative labor
Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for network positions in one embodiment of the present of invention.
Fig. 2 is a kind of flow chart of the method for network positions in an alternative embodiment of the invention.
Fig. 3 is a kind of structural representation of the device of network positions in one embodiment of the present of invention.
Fig. 4 is the structural representation of mobile terminal in one embodiment of the present of invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Technical scheme, various communication systems are can apply to, such as:GSM(Global System of
Mobile communication, global system for mobile communications), CDMA (Code Division Multiple Access, code
Divide multiple access) system, (Wideband Code Division Multiple Access Wireless, wideband code division are more by WCDMA
Location), GPRS (General Packet Radio Service, GPRS), LTE (Long Term
Evolution, Long Term Evolution), NR (New Radio) etc..
The device of network positions provided by the invention, also referred to as mobile terminal (Mobile Terminal), access are eventually
It is end, subscriber unit, subscriber station, movement station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless
Communication equipment, user agent or user's set.Access terminal can be cell phone, wireless phone, SIP (Session
Initiation Protocol, session initiation protocol) phone, WLL (Wireless Local Loop, WLL)
Stand, PDA (Personal Digital Assistant, personal digital assistant), the handheld device with radio communication function, meter
Calculate equipment or be connected to other processing equipments of radio modem, mobile unit, wearable device, in following 5G networks
In terminal device or the PLMN of following evolution (Public Land Mobile Network, public land mobile network) network
Terminal device.
Fig. 1 is a kind of flow chart of the method for network positions in one embodiment of the present of invention.In the present embodiment, network
The method of positioning is applied to mobile terminal, and Fig. 1 method may include:
S101, obtain user and be presently in the network information of environment, the network information include WLAN hot information,
At least one of in base station information.
Wherein, WLAN focus (i.e. wifi hotspot) information can be the title of wifi hotspot, and base station information can
To be base station location region code LAC (Location Area Code), base station district identification code Cell-Id etc..
S102, the network information is matched with the location data collection locally to prestore, obtains matching result.
Wherein, location data collection includes the corresponding relation between the network information and geographical location information.Location data collection can
Acquired in advance from the location-server positioned at network side by mobile terminal, and be stored in local.
S103, the current geographical location information of user is determined according to matching result.
Specifically, matching result may include that the match is successful or it fails to match, according to the difference of matching result, determine that user works as
The method of preceding geographical location information is also different, and its difference will be described in detail below.
In embodiments of the present invention, the network information of environment is presently in by obtaining user, and by the network information and originally
The location data collection that ground prestores is matched, and determines the current geographical location information of user according to matching result so that Yong Hu
Without the network information for being presently in environment is sent to location-server when carrying out network positions, but directly deposited according to local
The location data collection of storage is positioned, and greatly enhances the speed of network positions, and then is improved user and carried out network
The Experience Degree of positioning.
Below, the method for the embodiment of the present invention will be further described in conjunction with specific embodiments.
When user carries out network positions using mobile terminal, S101 is first carried out, that is, obtains user and is presently in environment
The network information.Wherein, the network information includes at least one in WLAN hot information, base station information.
When the network information includes WLAN focus (i.e. wifi hotspot) information, can obtain in the following manner
Wifi hotspot information:The wifi hotspot information on priority channel is specified in scanning, wherein, specify the wifi hotspot on priority channel
Quantity is more than or equal to the first predetermined threshold value.
Being counted based on mobile terminal big data, more than 60% wifi hotspot channel concentrates on 1,6,11 these three channels,
And 1,6,11 do not interfere with each other between these three channels, therefore, in one embodiment, 1,6,11 these three channels can be set to refer to
Determine priority channel.So when obtaining wifi hotspot information, the wifi heat on 1,6,11 these three specified priority channels can be scanned
Point information.
In one embodiment, can be directly current as user using the wifi hotspot information scanned on specified priority channel
The wifi hotspot information of local environment, i.e. no matter specify the quantity of wifi hotspot that is scanned on priority channel how many,
The wifi hotspot information on other channels is not scanned.Wherein, other channels refer on wireless local area network band except specified priority channel
Outside channel, i.e., 2,3,4,5,7,8,9,10,12,13 this 10 channels.Wireless local area network band includes 2.4G frequency ranges and 5G
Frequency range.
In another embodiment, the quantity of the wifi hotspot scanned can also be preset.Assuming that what setting scanned
The quantity of wifi hotspot is the second predetermined threshold value, then, during the wifi hotspot information that scanning is specified on priority channel,
Whether the quantity for the wifi hotspot that can determine whether to scan on priority channel is specified is more than or equal to the second predetermined threshold value, if referring to
The quantity for the wifi hotspot for determining to scan on priority channel is more than or equal to the second predetermined threshold value, then need not scan on other channels
Wifi hotspot information, and the wifi hotspot information scanned on specified priority channel is presently in environment as user
Wifi hotspot information.In the present embodiment, during the wifi hotspot information that scanning is specified on priority channel, no matter scan
One or multiple specified priority channels, as long as the quantity of the wifi hotspot scanned is more than or equal to the second predetermined threshold value, i.e.,
It can stop scanning specified priority channel.For example, specify priority channel be 1,6,11 these three channels, successively to 1,6,11 these three
Specified priority channel is scanned, if the quantity of wifi hotspot scanned on priority channel 1 is specified is more than or equal to the
Two predetermined threshold values, then stop scanning and specify priority channel, i.e., without scanning specified priority channel 6 and 11 again.
If the quantity of the wifi hotspot scanned on priority channel is specified is less than the second predetermined threshold value, other letters are scanned
Wifi hotspot information on road, until the quantity of the wifi hotspot scanned reaches on the second predetermined threshold value or other channels
Wifi hotspot information is completely scanned.
In above-described embodiment, specify the setting of priority channel to be not limited to 1,6,11 these three channels, specify preferential letter
Road can adjust accordingly according to the quantity situation of the wifi hotspot in actual environment using each channel.
In above-described embodiment, the wifi hotspot information on priority channel is specified to be presently in ring to obtain user by scanning
The wifi hotspot information in border, due to specifying the wifi hotspot quantity on priority channel more, therefore it can rapidly get use
Family is presently in the wifi hotspot information of environment, and then rapidly carries out network positions according to wifi hotspot information.
Get user to be presently in after the network information of environment, continue executing with S102, i.e., by the network information and local
The location data collection to prestore is matched.Wherein, location data collection can be by mobile terminal from the location-server positioned at network side
Obtain, and store to local.
In one embodiment, location-server is stored with the corresponding relation between region and location data collection.Each positioning
Data set is used to record the corresponding relation between the network information of corresponding region and geographical location information, wherein, geographical position letter
Breath can be recorded in the form of longitude and latitude.Based on this, location data collection can acquire by the following method:
First, the historical location data of user is gathered.
Wherein, historical location data may include the data that network positions are carried out during user's go off daily.For example, user goes to
During mall A, " XX maps " instrument of use is navigated, then the location data in navigation procedure can be collected going through for user
History location data.
Secondly, the target area according to residing for historical location data determines user.
Finally, obtain location data collection corresponding with target area from location-server and store to local, wherein, positioning
Server storage has the corresponding relation between region and location data collection.
In the present embodiment, because the location data collection of location-server storage is typically corresponding with urban district, therefore here
Different regions can be characterized using different urban districts.Certainly, region is not limited to divide according to urban district, and it can also be according to
Such as province, town, region area etc. divide.The present embodiment illustrates by taking urban district as an example.
For example, the target area according to residing for historical location data determines user is " Beijing ", location-server is stored with
Distinguish corresponding location data collection with regionals such as Beijing, Tianjin, Shanghai, then mobile terminal will be by that will carry user institute
The information of the target area " Beijing " at place is sent to location-server, by location-server according to the information searching and target area
" Beijing " corresponding location data collection is back to mobile terminal.
Further, since the historical location data of the user collected generally include it is multiple, and in these historical location datas
The data that the target area generally residing with user is not consistent, such as location data during user's out on tours may be included, because
This, in one embodiment, after the historical location data for gathering user, can also sieve to the historical location data collected
Choosing, i.e. screen out the historical location data that the target area generally residing with user is not consistent.Wherein, it is generally residing with user
The historical location data that target area is not consistent, which refers to, deviates considerably from the location data that user is typically located target area.
In one embodiment, the historical location data in one section of duration can be gathered.Under normal circumstances, to make user current
Residing target area can accurately determine, should gather the historical location data of user in nearest a period of time as much as possible.Example
Such as, the historical location data of user in nearest one month is gathered, and it is true according to the historical location data of user in nearest one month
Determine the target area residing for user.
In one embodiment, the location data collection being locally stored can be updated according to predetermined period, for example, updating every month
One-time positioning data set;The location data collection that can be also locally stored with location-server synchronized update, i.e. monitoring location-server
In location data collection corresponding with target area whether have renewal, if there is renewal, from location-server obtain renewal after determine
Position data set is stored.
In the present embodiment, can upgrade in time the location data collection being locally stored so that user is locally stored in basis
When location data collection carries out network positions, network positions can be quickly and accurately realized, avoid the location data because being locally stored
Collection updates caused deviations problem not in time.
The network information is matched after obtaining matching result with the location data collection locally to prestore, continued executing with
S103, i.e., the current geographical location information of user is determined according to matching result.
The network information for including being presently in environment is concentrated to believe with geographical position specifically, if matching result is location data
Corresponding relation between breath, then being presently in geographical location information corresponding to the network information of environment, to be defined as user current
Geographical location information;If matching result, which is location data, which to be concentrated, does not include the network information for being presently in environment and geographical position letter
Corresponding relation between breath, then the network information for being presently in environment is sent to location-server, by location-server according to
The network information determines the current geographical location information of user.
Wherein, geographical location information can be characterized by the way of longitude and latitude.So, being concentrated when location data includes current institute
When locating the corresponding relation between the network information of environment and geographical location information, you can according to the network information for being presently in environment
Corresponding geographical location information determines the current geographical location information of user, i.e. latitude and longitude information, and then believe according to longitude and latitude
Breath can determine that the current geographical position of user.
Fig. 2 is a kind of flow chart of the method for network positions in one embodiment of the present of invention.In the present embodiment, it is mobile
Terminal carries out network positions according only to wifi hotspot information (title of such as wifi hotspot).As shown in Fig. 2 the side of network positions
Method includes:
S201, scan the wifi hotspot information specified on priority channel.
In the present embodiment, priority channel is specified to include 1,6,11 3 channel.
S202, judge to specify whether the quantity of the wifi hotspot scanned on priority channel is more than or equal to predetermined threshold value;
If so, then perform S204;If it is not, then perform S203.
S203, the wifi hotspot information on other channels is continued to scan on, until the quantity of the wifi hotspot scanned is more than
Or it is completely scanned equal to the wifi hotspot information in predetermined threshold value or other channels.
Wherein, other channels refer to the channel in addition to specified priority channel on wireless local area network band, preferential due to specifying
Channel includes 1,6,11 3 channel, therefore other channels include 2,3,4,5,7,8,9,10,12,13 this 10 channels.
S204, the location data for judging locally to prestore concentrate the wifi hotspot information for whether including scanning;If so, then hold
Row S205;If it is not, then perform S207.
Wherein, the location data collection locally to prestore includes the corresponding pass between multiple network informations and geographical location information
System, and the location data collection is corresponding with the target area residing for user.For example, it is assumed that the target area residing for user is " north
Capital ", then the location data concentrates the corresponding relation between each network information and the geographical location information included in Beijing.
S205, obtain the geographical location information corresponding with wifi hotspot information.
S206, the geographical position that user is presently in is determined according to the geographical location information got.
S207, the wifi hotspot information scanned is sent to the location-server positioned at network side, by location-server
The current geographical location information of user is determined according to wifi hotspot information, and is back to mobile terminal.
In embodiments of the present invention, it is presently in the wifi hotspot information of environment by obtaining user, and by wifi hotspot
Information is matched with the location data collection locally to prestore, the final geographical location information for determining that user is current so that Yong Hu
Without the wifi hotspot information for being presently in environment is sent to location-server when carrying out network positions, but directly according to this
The location data collection of ground storage is positioned, and greatly enhances the speed of network positions, and then is improved user and carried out
The Experience Degree of network positions.
In the embodiment depicted in figure 2, the method for illustrating to carry out network positions according only to wifi hotspot information.At another
In embodiment, wifi hotspot information can be combined to carry out network positions with base station information.Shown in specific localization method and Fig. 2
Step is similar, and difference is, also needs to scan base station information while scanning wifi hotspot information, and by wifi hotspot information
Matched with together with base station information with the location data collection being locally stored.Wherein, location data, which is concentrated, includes wifi hotspot letter
Corresponding relation between breath, base station information and geographical location information.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the order in embodiment
Perform and still can realize desired result.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable
Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can
With or be probably favourable.
Fig. 3 is a kind of structural representation of the device of network positions in one embodiment of the present of invention.It refer to Fig. 3, one
The device of kind network positions may include:
First acquisition module 310, the network information of environment is presently in for obtaining user, and the network information includes nothing
At least one of in line LAN hot information, base station information;
Matching module 320, for the network information to be matched with the location data collection locally to prestore, matched
As a result, the location data collection includes the corresponding relation between the network information and geographical location information;
First determining module 330, for determining the current geographical location information of the user according to the matching result.
In one embodiment, said apparatus also includes:
Acquisition module, for gathering the historical location data of the user;
Second determining module, for the target area residing for determining the user according to the historical location data;
Second acquisition module, for obtaining positioning corresponding with the target area from the location-server positioned at network side
Data set is simultaneously stored to local, wherein, the location-server is stored with the corresponding relation between region and location data collection.
In one embodiment, the network information includes the WLAN hot information;Described first obtains
Module 310 includes:
First scanning element, for scanning the WLAN hot information on specified priority channel, wherein, the finger
The quantity for determining the WLAN focus on priority channel is more than or equal to the first predetermined threshold value.
In one embodiment, first acquisition module 310 also includes:
Judging unit, during the WLAN hot information on priority channel is specified in scanning, judge
Whether the quantity of the WLAN focus scanned on the specified priority channel is more than or equal to the second predetermined threshold value;
Stop scanning element, for if so, then stopping scanning the specified priority channel;
Second scanning element, for if it is not, the WLAN hot information on other channels is then scanned, until scanning
To WLAN focus the wireless office that is more than or equal on second predetermined threshold value or other described channels of quantity
Domain network hotspot information is completely scanned;
Wherein, other described channels refer to the channel in addition to the specified priority channel on wireless local area network band.
In one embodiment, first determining module 330 includes:
Determining unit, if being that the location data is concentrated including the net for being presently in environment for the matching result
Corresponding relation between network information and geographical location information, then it is presently in geographical position corresponding to the network information of environment by described
Confidence breath is defined as the current geographical location information of the user;
Transmitting element, if being not to be presently in environment described in location data concentration does not include for the matching result
Corresponding relation between the network information and geographical location information, then the network information for being presently in environment is sent to being located at
The location-server of network side, and receive the corresponding with the network information for being presently in environment of the location-server return
Geographical location information.
The device of network positions provided in an embodiment of the present invention can realize the side of network positions in above method embodiment
Each process that method is realized, to avoid repeating, is repeated no more here.
In embodiments of the present invention, the network information of environment is presently in by obtaining user, and by the network information and originally
The location data collection that ground prestores is matched, and determines the current geographical location information of user according to matching result so that Yong Hu
Without the network information for being presently in environment is sent to location-server when carrying out network positions, but directly deposited according to local
The location data collection of storage is positioned, and greatly enhances the speed of network positions, and then is improved user and carried out network
The Experience Degree of positioning.
Fig. 4 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention,
The mobile terminal 400 includes but is not limited to:It is radio frequency unit 401, mixed-media network modules mixed-media 402, audio output unit 403, defeated
Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor
The part such as 410 and power supply 411.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 4 is not formed
Restriction to mobile terminal, mobile terminal can be included than illustrating more or less parts, either combine some parts or
Different part arrangements.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, the network information of environment is presently in for obtaining user, and the network information includes nothing
At least one of in line LAN hot information, base station information;By the network information and the location data collection that locally prestores
Matched, obtain matching result, the location data collection includes the corresponding relation between the network information and geographical location information;
The current geographical location information of the user is determined according to the matching result.
In embodiments of the present invention, the network information of environment is presently in by obtaining user, and by the network information and originally
The location data collection that ground prestores is matched, and determines the current geographical location information of user according to matching result so that Yong Hu
Without the network information for being presently in environment is sent to location-server when carrying out network positions, but directly deposited according to local
The location data collection of storage is positioned, and greatly enhances the speed of network positions, and then is improved user and carried out network
The Experience Degree of positioning.
It should be understood that in the embodiment of the present invention, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 410;In addition, will be up
Data are sent to base station.Generally, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 402 and accessed, and such as helps user to receive
Send e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be receiving by radio frequency unit 401 or mixed-media network modules mixed-media 402 or in memory 409
It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 403 can also be provided and moved
The audio output for the specific function correlation that dynamic terminal 400 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input block 404 is used to receive audio or video signal.Input block 404 can include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 406.Picture frame after the processing of graphics processor 4041 can be deposited
Storage is transmitted in memory 409 (or other storage mediums) or via radio frequency unit 401 or mixed-media network modules mixed-media 402.Mike
Wind 4042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be
The form output of mobile communication base station can be sent to via radio frequency unit 401 by being converted in the case of telephone calling model.
Mobile terminal 400 also includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity transducer can close when mobile terminal 400 is moved in one's ear
Display panel 4061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 406 is used for the information for showing the information inputted by user or being supplied to user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 4061.
User input unit 407 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 407 include contact panel 4071 and
Other input equipments 4072.Contact panel 4071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 4071 or in contact panel 4071
Neighbouring operation).Contact panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
Manage the order that device 410 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes contact panel 4071.Except contact panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 4071 can be covered on display panel 4061, when contact panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, contact panel 4071 and display
Panel 4061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments
In, can be integrated by contact panel 4071 and display panel 4061 and realize input and the output function of mobile terminal, it is specific this
Place does not limit.
Interface unit 408 is the interface that external device (ED) is connected with mobile terminal 400.For example, external device (ED) can include
Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 400 can be used in the He of mobile terminal 400
Data are transmitted between external device (ED).
Memory 409 can be used for storage software program and various data.Memory 409 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 409 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 409, and call and be stored in storage
Data in device 409, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) to all parts power supply, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, memory 409, is stored in
On memory 409 and the computer program that can be run on the processor 410, the computer program are performed by processor 410
A kind of above-mentioned each processes of the embodiment of the method for network positions of Shi Shixian, and identical technique effect can be reached, to avoid weight
It is multiple, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize a kind of each mistake of the embodiment of the method for above-mentioned network positions when being executed by processor
Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium
Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, belong within the protection of the present invention.
Claims (11)
- A kind of 1. method of network positions, it is characterised in that including:The network information that user is presently in environment is obtained, the network information includes WLAN hot information, base station At least one of in information;The network information is matched with the location data collection locally to prestore, obtains matching result, the location data collection Including the corresponding relation between the network information and geographical location information;The current geographical location information of the user is determined according to the matching result.
- 2. according to the method for claim 1, it is characterised in that also include:Gather the historical location data of the user;Target area according to residing for the historical location data determines the user;Location data collection corresponding with the target area is obtained from the location-server positioned at network side and is stored to local, its In, the location-server is stored with the corresponding relation between region and location data collection.
- 3. according to the method for claim 1, it is characterised in that the network information includes the WLAN focus Information, the network information for obtaining user and being presently in environment, including:The WLAN hot information on priority channel is specified in scanning, wherein, the wireless office on the specified priority channel The quantity of domain network hotspot is more than or equal to the first predetermined threshold value.
- 4. according to the method for claim 3, it is characterised in that the network information for obtaining user and being presently in environment, Also include:During the WLAN hot information that scanning is specified on priority channel, judge in the specified priority channel Whether the quantity of the upper WLAN focus scanned is more than or equal to the second predetermined threshold value;If so, then stop scanning the specified priority channel;If it is not, the WLAN hot information on other channels is then scanned, until the WLAN focus scanned The WLAN hot information that is more than or equal on second predetermined threshold value or other described channels of quantity by whole Scanning;Wherein, other described channels refer to the channel in addition to the specified priority channel on wireless local area network band.
- 5. according to the method for claim 1, it is characterised in that described to determine that the user is current according to the matching result Geographical location information, including:If the matching result, which is the location data, which to be concentrated, includes the network information and the geographical position for being presently in environment Corresponding relation between information, then by it is described be presently in geographical location information corresponding to the network information of environment be defined as it is described The current geographical location information of user;If the matching result, which is the location data, which to be concentrated, does not include the network information for being presently in environment and geographical position Corresponding relation between confidence breath, then send the network information for being presently in environment to the positioning service positioned at network side Device, and receive the geographical location information corresponding with the network information for being presently in environment that the location-server returns.
- A kind of 6. device of network positions, it is characterised in that including:First acquisition module, the network information of environment is presently in for obtaining user, and the network information includes wireless local At least one of in network hotspot information, base station information;Matching module, for the network information to be matched with the location data collection locally to prestore, matching result is obtained, institute Stating location data collection includes the corresponding relation between the network information and geographical location information;First determining module, for determining the current geographical location information of the user according to the matching result.
- 7. device according to claim 6, it is characterised in that also include:Acquisition module, for gathering the historical location data of the user;Second determining module, for the target area residing for determining the user according to the historical location data;Second acquisition module, for obtaining location data corresponding with the target area from the location-server positioned at network side Collect and store to local, wherein, the location-server is stored with the corresponding relation between region and location data collection.
- 8. device according to claim 6, it is characterised in that the network information includes the WLAN focus Information;First acquisition module includes:First scanning element, for scanning the WLAN hot information on specified priority channel, wherein, it is described specified excellent The quantity of WLAN focus on first channel is more than or equal to the first predetermined threshold value.
- 9. device according to claim 8, it is characterised in that first acquisition module also includes:Judging unit, during the WLAN hot information on priority channel is specified in scanning, judge in institute Whether the quantity for stating the WLAN focus scanned on specified priority channel is more than or equal to the second predetermined threshold value;Stop scanning element, for if so, then stopping scanning the specified priority channel;Second scanning element, for if it is not, the WLAN hot information on other channels is then scanned, up to what is scanned The WLAN that the quantity of WLAN focus is more than or equal on second predetermined threshold value or other described channels Network hot information is completely scanned;Wherein, other described channels refer to the channel in addition to the specified priority channel on wireless local area network band.
- 10. device according to claim 6, it is characterised in that first determining module includes:Determining unit, if being that the location data is concentrated including the network letter for being presently in environment for the matching result Corresponding relation between breath and geographical location information, then it is presently in geographical position letter corresponding to the network information of environment by described Breath is defined as the current geographical location information of the user;Transmitting element, if being that the location data is concentrated not including the network for being presently in environment for the matching result Corresponding relation between information and geographical location information, then the network information for being presently in environment is sent to positioned at network The location-server of side, and receive that the location-server returns correspondingly with the network information for being presently in environment Manage positional information.
- 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 5 during the computing device Any one of network positions method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711397491.8A CN107872875A (en) | 2017-12-21 | 2017-12-21 | The method and device of network positions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711397491.8A CN107872875A (en) | 2017-12-21 | 2017-12-21 | The method and device of network positions |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107872875A true CN107872875A (en) | 2018-04-03 |
Family
ID=61756202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711397491.8A Pending CN107872875A (en) | 2017-12-21 | 2017-12-21 | The method and device of network positions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107872875A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430559A (en) * | 2019-07-08 | 2019-11-08 | 深圳市优博讯科技股份有限公司 | The localization method of intelligent terminal, system and communication equipment under private network environment |
CN110519698A (en) * | 2019-08-15 | 2019-11-29 | 中国平安财产保险股份有限公司 | Personnel positioning statistical method, device, equipment and readable storage medium storing program for executing |
CN111083778A (en) * | 2019-11-29 | 2020-04-28 | 维沃移动通信有限公司 | Positioning method and electronic equipment |
CN111757439A (en) * | 2019-08-08 | 2020-10-09 | 广东小天才科技有限公司 | Power consumption control method of wearable device and wearable device |
CN111885699A (en) * | 2020-05-21 | 2020-11-03 | 北京嘀嘀无限科技发展有限公司 | Method and system for determining current position of user |
CN112738887A (en) * | 2020-12-31 | 2021-04-30 | 上海杉诺信息技术有限公司 | Positioning method and system, communication terminal and computer readable storage medium |
CN113722604A (en) * | 2021-11-03 | 2021-11-30 | 北京奇岱松科技有限公司 | Spatial knowledge information stream pushing method and device and computing equipment |
WO2023071804A1 (en) * | 2021-10-27 | 2023-05-04 | 华为技术有限公司 | Location positioning-based service implementation method, and data processing method and apparatus |
CN116668576A (en) * | 2022-10-26 | 2023-08-29 | 荣耀终端有限公司 | Method, device, cloud management platform, system and storage medium for acquiring data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101552909A (en) * | 2009-04-28 | 2009-10-07 | 山东大学 | Frame rate controlling method based on wireless video monitoring |
CN101599854A (en) * | 2008-06-06 | 2009-12-09 | 中国移动通信集团公司 | Protocol stack method for reconfiguration, equipment and system based on assembly |
US20120047147A1 (en) * | 2010-08-18 | 2012-02-23 | Joshua Redstone | Dynamic place visibility in geo-social networking system |
CN103533635A (en) * | 2012-07-03 | 2014-01-22 | 希姆通信息技术(上海)有限公司 | Mobile terminal positioning method and mobile terminal |
-
2017
- 2017-12-21 CN CN201711397491.8A patent/CN107872875A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599854A (en) * | 2008-06-06 | 2009-12-09 | 中国移动通信集团公司 | Protocol stack method for reconfiguration, equipment and system based on assembly |
CN101552909A (en) * | 2009-04-28 | 2009-10-07 | 山东大学 | Frame rate controlling method based on wireless video monitoring |
US20120047147A1 (en) * | 2010-08-18 | 2012-02-23 | Joshua Redstone | Dynamic place visibility in geo-social networking system |
CN103533635A (en) * | 2012-07-03 | 2014-01-22 | 希姆通信息技术(上海)有限公司 | Mobile terminal positioning method and mobile terminal |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110430559A (en) * | 2019-07-08 | 2019-11-08 | 深圳市优博讯科技股份有限公司 | The localization method of intelligent terminal, system and communication equipment under private network environment |
CN111757439A (en) * | 2019-08-08 | 2020-10-09 | 广东小天才科技有限公司 | Power consumption control method of wearable device and wearable device |
CN110519698B (en) * | 2019-08-15 | 2022-10-18 | 中国平安财产保险股份有限公司 | Personnel positioning statistical method, device, equipment and readable storage medium |
CN110519698A (en) * | 2019-08-15 | 2019-11-29 | 中国平安财产保险股份有限公司 | Personnel positioning statistical method, device, equipment and readable storage medium storing program for executing |
CN111083778A (en) * | 2019-11-29 | 2020-04-28 | 维沃移动通信有限公司 | Positioning method and electronic equipment |
CN111083778B (en) * | 2019-11-29 | 2021-08-31 | 维沃移动通信有限公司 | Positioning method and electronic equipment |
CN111885699A (en) * | 2020-05-21 | 2020-11-03 | 北京嘀嘀无限科技发展有限公司 | Method and system for determining current position of user |
CN112738887A (en) * | 2020-12-31 | 2021-04-30 | 上海杉诺信息技术有限公司 | Positioning method and system, communication terminal and computer readable storage medium |
WO2022144005A1 (en) * | 2020-12-31 | 2022-07-07 | 上海杉诺信息技术有限公司 | Positioning method and system, communication terminal, and computer-readable storage medium |
WO2023071804A1 (en) * | 2021-10-27 | 2023-05-04 | 华为技术有限公司 | Location positioning-based service implementation method, and data processing method and apparatus |
CN113722604A (en) * | 2021-11-03 | 2021-11-30 | 北京奇岱松科技有限公司 | Spatial knowledge information stream pushing method and device and computing equipment |
CN116668576A (en) * | 2022-10-26 | 2023-08-29 | 荣耀终端有限公司 | Method, device, cloud management platform, system and storage medium for acquiring data |
CN116668576B (en) * | 2022-10-26 | 2024-04-12 | 荣耀终端有限公司 | Method, device, cloud management platform, system and storage medium for acquiring data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107872875A (en) | The method and device of network positions | |
CN105005457B (en) | Geographical location methods of exhibiting and device | |
CN103874018B (en) | Access-in point information sharing method and device | |
CN108196778A (en) | Control method, mobile terminal and the computer readable storage medium of screen state | |
CN107885346A (en) | A kind of candidate's words recommending method, terminal and computer-readable recording medium | |
CN108347704A (en) | Information recommendation method and mobile terminal | |
CN110231039A (en) | A kind of location information modification method and terminal device | |
CN102932412A (en) | File transmission method and system, and master control equipment | |
CN108022446A (en) | A kind of parking spot acquisition methods, mobile terminal | |
CN108507541A (en) | Building recognition method and system and mobile terminal | |
CN107911812A (en) | It is preferred that public land mobile network PPLMN lists method of adjustment and mobile terminal | |
CN108519080A (en) | A kind of navigation route planning method and terminal | |
CN106412818A (en) | Method and apparatus for locating device | |
CN106993327B (en) | Network locating method, device and computer equipment | |
CN110290469A (en) | A kind of air navigation aid and mobile terminal | |
CN107889044A (en) | The processing method and processing device of voice data | |
CN107592615A (en) | Localization method and device | |
WO2019052450A1 (en) | Photo taking control method and system based on mobile terminal, and storage medium | |
CN105303591B (en) | Method, terminal and server for superimposing location information on jigsaw puzzle | |
CN108061557A (en) | A kind of air navigation aid and mobile terminal | |
CN107239567A (en) | A kind of recognition methods of object scene, equipment and computer-readable recording medium | |
CN107454637A (en) | Cell switching method, mobile terminal and computer-readable recording medium | |
CN109862607B (en) | Network recommendation method and mobile terminal | |
CN109936817B (en) | Positioning method and terminal equipment | |
CN110234068A (en) | A kind of localization method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180403 |