CN108871352A - A kind of map updating method and device - Google Patents
A kind of map updating method and device Download PDFInfo
- Publication number
- CN108871352A CN108871352A CN201810681498.0A CN201810681498A CN108871352A CN 108871352 A CN108871352 A CN 108871352A CN 201810681498 A CN201810681498 A CN 201810681498A CN 108871352 A CN108871352 A CN 108871352A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- path
- map
- geographical location
- new route
- 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/28—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
- G01C21/30—Map- or contour-matching
- G01C21/32—Structuring or formatting of map data
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
The present invention provides a kind of map updating method, device and mobile terminals.Applied to mobile terminal, terminal map is preset in the mobile terminal, the method includes:Judge whether the mobile terminal is in driving states;When the mobile terminal is in the driving states, the geographical location of the mobile terminal is obtained;The geographical location is searched on the formal path of the terminal map;When the geographical location of preset quantity is not found on the formal path, new route is generated according to the geographical location of the preset quantity;The terminal map is updated according to the new route.Through the embodiment of the present invention, new route is generated according to the geographical location of mobile terminal, and terminal map is updated according to new route, when mobile terminal carries out path planning again, path planning can be carried out according to updated path, to provide most short, optimal Path selection for user, the user experience is improved.
Description
Technical field
The present embodiments relate to field of navigation technology more particularly to a kind of map updating methods and device.
Background technique
As being constantly progressive for society, and country vigorously support construction of rural road, road enters quick
Development and construction period, most area realize village to village road.Project of "Communication with Every Village" is rural development and rural development, peasant
Shake off poverty and set out on the road to prosperity and provide solid foundation.
In trip, people usually use mobile terminal as navigational tool.But in rural area, mobile terminal
Map is not perfect, and mobile terminal may select distant path.The road that especially many project of "Communication with Every Village" are newly repaired, does not all have
There is update into map, what is often selected in navigation is not most suitable path.
Summary of the invention
The embodiment of the present invention provides a kind of map updating method and device, does not have with the road for solving newly to repair in the prior art
Update in map, when leading to path planning it is non-selected to suitable path the problem of.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of map updating methods, are applied to mobile whole
It holds, presets terminal map in the mobile terminal, the method includes:
Judge whether the mobile terminal is in driving states;
When the mobile terminal is in the driving states, the geographical location of the mobile terminal is obtained;
The geographical location is searched on the formal path of the terminal map;
When the geographical location of preset quantity is not found on the formal path, according to the ground of the preset quantity
It manages position and generates new route;
The terminal map is updated according to the new route.
The embodiment of the invention also provides a kind of map rejuvenation device, it is deployed in mobile terminal, it is pre- in the mobile terminal
It is equipped with terminal map, described device includes:
Driving states judgment module, for judging whether the mobile terminal is in driving states;
Geographical location obtains module, described mobile whole for obtaining when the mobile terminal is in the driving states
The geographical location at end;
Geographical location searching module, for searching the geographical location on the formal path of the terminal map;
Path-generating module, for when the geographical location of preset quantity is not found on the formal path, root
New route is generated according to the geographical location of the preset quantity;
Routing update module, for updating the terminal map according to the new route.
The embodiment of the invention also provides a kind of mobile terminal, including processor, memory and it is stored in the memory
Computer program that is upper and can running on the processor, is realized as above when the computer program is executed by the processor
The step of map updating method stated.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium
Computer program is stored up, is realized when the computer program is executed by processor such as the step of above-mentioned map updating method.
In embodiments of the present invention, judge whether mobile terminal is in driving states, when mobile terminal is in driving states
When, obtain the geographical location of mobile terminal;Geographical location is searched on the formal path of terminal map;When the geography of preset quantity
Position not when finding on formal path, generates new route according to the geographical location of preset quantity;It is updated according to new route
Terminal map.Through the embodiment of the present invention, new route is generated according to the geographical location of mobile terminal, and is updated eventually according to new route
Map is held, when mobile terminal carries out path planning again, path planning can be carried out according to updated formal path, thus
Most short, optimal Path selection is provided for user, the user experience is improved.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of step flow chart of map updating method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of map updating method of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of map rejuvenation device of the embodiment of the present invention three;
Fig. 4 is the structural block diagram of another map rejuvenation device of the embodiment of the present invention three;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention four.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of map updating method provided in an embodiment of the present invention is shown.Applied to shifting
Terminal is moved, presets terminal map in the mobile terminal, the method includes:
Step 101, judge whether the mobile terminal is in driving states.
In the present embodiment, velocity sensor can be set in mobile terminal, mobile terminal is acquired by velocity sensor
Movement speed.After collecting movement speed, judge whether movement speed is greater than pre-set velocity, if more than pre-set velocity, then sentences
Determine mobile terminal and is in driving states.For example, pre-set velocity is 5km/h, collecting movement speed is 20km/h, and movement speed is big
In pre-set velocity, then determine that mobile terminal is in driving states.The embodiment of the present invention does not limit pre-set velocity in detail, can be with
It is configured according to the actual situation.
Step 102, when the mobile terminal is in the driving states, the geographical location of the mobile terminal is obtained.
It, can be by the GPS that is arranged in mobile terminal when mobile terminal is in driving states in the present embodiment
The geographical location of (Global Positioning System, global positioning system) module acquisition mobile terminal.Specifically, GPS
The geographical location of satellite monitoring mobile terminal, and signal is sent to GPS module, GPS module is conversed according to the signal of GPS satellite
The geographical location of mobile terminal.In practical application, the geographical location of mobile terminal can be obtained in real time, when can also be spaced setting
The long geographical location for obtaining mobile terminal.For example, obtaining the geographical location of a mobile terminal every 30 seconds.The embodiment of the present invention
This is not limited in detail, can be configured according to the actual situation.Mobile terminal can also be to get geographical location laggard
Row display.
Step 103, the geographical location is searched on the formal path in the terminal map.
In the present embodiment, as soon as mobile terminal often gets a geographical location, looked on the formal path in terminal map
It looks for and the matched coordinate in geographical location.For example, getting geographical location A, then searches on formal path and matched with geographical location A
Coordinate.
Step 104, when the geographical location of preset quantity is not found on the formal path, according to preset quantity
Geographical location generate new route.
In the present embodiment, when mobile terminal is located on the road newly repaired, it might have multiple geographical locations formal
On path search less than.For example, the road that project of "Communication with Every Village" is newly repaired does not timely update in terminal map, the ground of mobile terminal
Reason position searched in formal path less than.When a geographical location is not found on formal path, the geography position is stored
It sets;When the quantity in the geographical location of storage reaches preset quantity, the geographical location for being sequentially connected storage according to storage order is raw
At new route.For example, interval one geographical location of acquisition in 2 minutes, gets geographical location A, determine geographical location A not formal
On path, store geographical location A, and so on obtain geographical location B, C, D, E ....When preset quantity is 5, if geographical
Position A, B, C, D, E not on formal path and have been stored, then according to storage order by geographical location A, B, C, D, E successively
It connects to form new route.The embodiment of the present invention does not limit preset value in detail, can be configured according to the actual situation.
Step 105, the terminal map is updated according to the new route.
In the present embodiment, new route can be directly updated to the formal path of terminal map, new road can also passed through
New route is updated to the formal path of terminal map when the number of diameter reaches preset times.For example, when time by new route
When number reaches preset times 3 times, new route is updated to the formal path of terminal map.Prompt information can also be generated, is inquired
Whether user is updated to new route the formal path of terminal map.For example, user drives to a unknown small road,
This path is not appropriate for driving a vehicle, and mobile terminal asks the user whether to be updated, and user, which can choose, not to be updated.Selectivity
Terminal map is updated, it can be to avoid the path planning of mistake.When updating terminal map, formal path can be shown as
Solid line, new route are shown as dotted line, can also be by new route and formal path all shown as solid line.The embodiment of the present invention to this not
Make to limit in detail, can be configured according to the actual situation.
After terminal map being updated, user drives next time when, mobile terminal can be carried out according to updated path
Path planning, to provide closer, more preferably path for user.
In conclusion judging whether mobile terminal is in driving states in the embodiment of the present invention, when mobile terminal is in row
When car state, the geographical location of mobile terminal is obtained;Geographical location is searched on the formal path of terminal map;When multiple geography
Position not when finding on formal path, generates new route according to multiple geographical locations;Institute is updated according to the new route
State terminal map.Through the embodiment of the present invention, new route is generated according to the geographical location of mobile terminal, and is updated according to new route
Terminal map can carry out path planning according to updated path, to be when mobile terminal carries out path planning again
User provides most short, optimal Path selection, and the user experience is improved.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of map updating method provided in an embodiment of the present invention is shown.Applied to shifting
Terminal is moved, presets terminal map in the mobile terminal, the method includes:
Step 201, judge whether the mobile terminal is in driving states.
In the present embodiment, when judging whether mobile terminal is in driving states, AI (Artificial can be passed through
Intelligence, artificial intelligence) technology realization.Specifically, the behavior characteristic information of the mobile terminal is acquired;According to described
Behavior characteristic information judges whether the mobile terminal is in the driving states.Behavior characteristic information may include on-vehicle Bluetooth
Link information, translational speed information etc..For example, collecting mobile terminal connection on-vehicle Bluetooth, and velocity sensor collects
Movement speed be greater than pre-set velocity, then determine that mobile terminal is in driving states.Either taking mobile terminal is in vehicle
Interior environment, the collected acceleration information of acceleration transducer are met the requirements, and also can be determined that mobile terminal is in driving states.
Or be the historical movement state for counting mobile terminal, identify whether mobile terminal is in driving shape by machine learning
State.How the embodiment of the present invention judges not limit in detail to AI technology, can be configured according to the actual situation.As it can be seen that AI
Technological synthesis much information can make judgement more accurate.
Step 202, when the mobile terminal is in driving states, the geographical location of the mobile terminal is obtained.
Step 203, the geographical location is searched on the formal path of the terminal map.
Step 204, when the geographical location of preset quantity is not found on the formal path, according to described default
The geographical location of quantity generates new route.
Step 205, the terminal map is updated according to the new route.
Step 206, the new route is sent to server, so that the server is according to the new route received
Quantity judge whether the new route is formal path, and according to judging result update server map.
In the present embodiment, mobile terminal can send server for new route.For example, mobile terminal M sends out new route X
It is sent to server, new route Y is sent server by mobile terminal N.Server updates server according to the new route received
Map.Specifically, server receives new route, judges whether new route is formal road according to the quantity of the new route received
Diameter, and server map is updated according to judging result.For example, server receives the new route X that multiple mobile terminals are sent, such as
The quantity for the new route X that fruit receives is not up to preset value 50, then determining new route X not is formal path;If received
The quantity of new route X reaches preset value 50, then determines that new route X is formal path.The embodiment of the present invention does not make preset quantity
It limits, can be configured according to the actual situation in detail.Server can also judge whether new route Y is formal path, finally
It whether is that the judging result in formal path is updated into server map by new route X, Y and new route X, Y, above step
Server can be realized by big data analysis.
Step 207, the server map is obtained from the server.
In the present embodiment, mobile terminal obtains server map from server, can be from server download server
Figure, is also possible to interact with server in real time.For example, mobile terminal is before carrying out path planning from server download service
Device map, or periodically from server download server map, it can also be according to the operational order that user inputs in real time from clothes
Business device obtains server map.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Mobile terminal obtains server map from server, can obtain the new route of other mobile terminals offer.For example,
Mobile terminal M obtain server map when, also it is available to mobile terminal N provide new route Y, thus according to new route X,
Y carries out path planning, provides more preferably Path selection for user.
Step 208, when in the server map there are when unofficial path, to the unofficial path and described formal
Path is differently shown.
In the present embodiment, after acquisition for mobile terminal to server map, can directly it be shown, it can also be according to service
Device map is updated terminal map, is shown further according to updated terminal map.When there are non-in server map
When formal path, unofficial path and formal path are differently shown.For example, unofficial path X is shown as dotted line, just
Formula path is shown as solid line.Since road is less through backland user base number, the new route X of multiple mobile terminals transmissions
Quantity preset value may be not achieved, and then make new route X become unofficial path, distinctly displaying in this way can be utmostly
The possible path of user's whole is prompted, so that user selects path of suitably driving according to demand, mobile terminal provides for user
Multiple choices, the user experience is improved.
In conclusion generating new route according to the geographical location of mobile terminal, and according to new route in the embodiment of the present invention
Terminal map is updated, when mobile terminal carries out path planning again, path planning can be carried out according to updated path, from
And most short, optimal Path selection is provided for user, the user experience is improved.
Embodiment three
Referring to Fig. 3, a kind of map rejuvenation device provided in an embodiment of the present invention is shown.It is deployed in mobile terminal, it is described
Preset terminal map in mobile terminal, described device include driving states judgment module 301, geographical location obtain module 302,
Geographical location searching module 303, path-generating module 304, routing update module 305:
Driving states judgment module 301, for judging whether the mobile terminal is in driving states;
Geographical location obtains module 302, for obtaining the movement when the mobile terminal is in the driving states
The geographical location of terminal;
Geographical location searching module 303, for searching the geographical location on the formal path of the terminal map;
Path-generating module 304, for when the geographical location of preset quantity is not found on the formal path,
New route is generated according to the geographical location of the preset quantity;
Routing update module 305, for updating the terminal map according to the new route.
On the basis of Fig. 3, optionally, the driving states judgment module 301, including:
Information collection submodule, for acquiring the behavior characteristic information of the mobile terminal;
State judging submodule, for judging whether the mobile terminal is in the row according to the behavior characteristic information
Car state.
On the basis of Fig. 3, optionally, after the path-generating module 304, described device further includes that path is sent
Module 306, is shown in Fig. 4:
Path sending module 306, for the new route to be sent to server, so that the server is according to receiving
The quantity of the new route judge whether the new route is formal path, and server map is updated according to judging result.
On the basis of Fig. 3, optionally, described device further includes that server map obtains module 307, path display module
308, see Fig. 4:
Server map obtains module 307, for obtaining the server map from the server;
Path display module 308, for when in the server map there are when unofficial path, to the unofficial road
Diameter and the formal path are differently shown.
Map rejuvenation device provided in an embodiment of the present invention can be realized each mistake realized in the embodiment of the method for Fig. 1-2
Journey, to avoid repeating, which is not described herein again.The embodiment of the present invention generates new route, and root according to the geographical location of mobile terminal
Updating terminal map according to new route can be according to updated path carry out road when mobile terminal carries out path planning again
Diameter planning, to provide most short, optimal Path selection for user, the user experience is improved.
Example IV
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 400 includes but is not limited to:It is radio frequency unit 401, network module 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 components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, for judging whether the mobile terminal is in driving states;At the mobile terminal
When the driving states, the geographical location of the mobile terminal is obtained;Institute is searched on the formal path of the terminal map
State geographical location;When the geographical location of preset quantity is not found on the formal path, according to the preset quantity
Geographical location generate new route;The terminal map is updated according to the new route.
In the embodiment of the present invention, new route is generated according to the geographical location of mobile terminal, and according to new route more new terminal
Map can carry out path planning according to updated path when mobile terminal carries out path planning again, to be user
Most short, optimal Path selection is provided, the user experience is improved.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, 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 provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further 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 sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear
Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of 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) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, 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
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch 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, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch 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 touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 3, touch panel 4071 and display
Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it 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 entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless 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) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned map updating method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned map updating method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, 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 be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of map updating method, which is characterized in that be applied to mobile terminal, in the mobile terminal with presetting terminal
Figure, the method includes:
Judge whether the mobile terminal is in driving states;
When the mobile terminal is in the driving states, the geographical location of the mobile terminal is obtained;
The geographical location is searched on the formal path of the terminal map;
When the geographical location of preset quantity is not found on the formal path, according to the geographical position of the preset quantity
Set generation new route;
The terminal map is updated according to the new route.
2. judging whether the mobile terminal is in driving shape the method according to claim 1, wherein described
State, including:
Acquire the behavior characteristic information of the mobile terminal;
Judge whether the mobile terminal is in the driving states according to the behavior characteristic information.
3. the method according to claim 1, wherein being generated described according to the geographical location of the preset quantity
After new route, the method also includes:
The new route is sent to server, so that the server judges institute according to the quantity of the new route received
State whether new route is formal path, and server map is updated according to judging result.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The server map is obtained from the server;
When, there are when unofficial path, being distinguished to the unofficial path and the formal path in the server map
Display.
5. a kind of map rejuvenation device, which is characterized in that be deployed in mobile terminal, in the mobile terminal with presetting terminal
Figure, described device include:
Driving states judgment module, for judging whether the mobile terminal is in driving states;
Geographical location obtains module, for obtaining the mobile terminal when the mobile terminal is in the driving states
Geographical location;
Geographical location searching module, for searching the geographical location on the formal path of the terminal map;
Path-generating module, for when the geographical location of preset quantity is not found on the formal path, according to institute
The geographical location for stating preset quantity generates new route;
Routing update module, for updating the terminal map according to the new route.
6. device according to claim 5, which is characterized in that the driving states judgment module, including:
Information collection submodule, for acquiring the behavior characteristic information of the mobile terminal;
State judging submodule, for judging whether the mobile terminal is in the driving shape according to the behavior characteristic information
State.
7. device according to claim 5, which is characterized in that after the path-generating module, described device is also wrapped
It includes:
Path sending module, for the new route to be sent to server, so that the server is according to what is received
The quantity of new route judges whether the new route is formal path, and updates server map according to judging result.
8. device according to claim 7, which is characterized in that described device further includes:
Server map obtains module, for obtaining the server map from the server;
Path display module, for when in the server map there are when unofficial path, to the unofficial path and institute
Formal path is stated to be differently shown.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in Claims 1-4
The step of described in any item map updating methods.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the computer program realize map updating method according to any one of claims 1 to 4 when being executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681498.0A CN108871352A (en) | 2018-06-27 | 2018-06-27 | A kind of map updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681498.0A CN108871352A (en) | 2018-06-27 | 2018-06-27 | A kind of map updating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108871352A true CN108871352A (en) | 2018-11-23 |
Family
ID=64295322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810681498.0A Pending CN108871352A (en) | 2018-06-27 | 2018-06-27 | A kind of map updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108871352A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109870169A (en) * | 2019-02-18 | 2019-06-11 | 广州小鹏汽车科技有限公司 | A kind of data processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1743809A (en) * | 2004-08-31 | 2006-03-08 | 株式会社电装 | Map display device |
US20170122749A1 (en) * | 2015-11-04 | 2017-05-04 | Toyota Jidosha Kabushiki Kaisha | Map update determination system |
CN106767855A (en) * | 2016-12-23 | 2017-05-31 | 常州机电职业技术学院 | Electronic map data updating method and system |
CN107871400A (en) * | 2016-09-26 | 2018-04-03 | 腾讯科技(深圳)有限公司 | Road network information update method and device |
-
2018
- 2018-06-27 CN CN201810681498.0A patent/CN108871352A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1743809A (en) * | 2004-08-31 | 2006-03-08 | 株式会社电装 | Map display device |
US20170122749A1 (en) * | 2015-11-04 | 2017-05-04 | Toyota Jidosha Kabushiki Kaisha | Map update determination system |
CN107871400A (en) * | 2016-09-26 | 2018-04-03 | 腾讯科技(深圳)有限公司 | Road network information update method and device |
CN106767855A (en) * | 2016-12-23 | 2017-05-31 | 常州机电职业技术学院 | Electronic map data updating method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109870169A (en) * | 2019-02-18 | 2019-06-11 | 广州小鹏汽车科技有限公司 | A kind of data processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110231039A (en) | A kind of location information modification method and terminal device | |
CN108337368B (en) | Method for updating positioning data and mobile terminal | |
CN108174425A (en) | A kind of method for switching network and mobile terminal | |
CN108647957A (en) | A kind of method of payment, device and mobile terminal | |
CN106126207B (en) | Desktop information display method and device and mobile terminal | |
CN109041148A (en) | A kind of mobile terminal operating method and mobile terminal | |
CN108363524B (en) | A kind of application icon display methods and mobile terminal | |
CN108051010B (en) | Method for determining time of arrival at destination and mobile terminal | |
CN108022446A (en) | A kind of parking spot acquisition methods, mobile terminal | |
CN108364498A (en) | A kind of parking reminding method, server and terminal | |
CN108882142A (en) | Reminder message sending method and mobile terminal | |
CN108279948A (en) | A kind of application program launching method and mobile terminal | |
CN109164477A (en) | A kind of method and mobile terminal of application positioning | |
CN110290469A (en) | A kind of air navigation aid and mobile terminal | |
CN108061557A (en) | A kind of air navigation aid and mobile terminal | |
CN108541015A (en) | A kind of signal strength reminding method and mobile terminal | |
CN107608855A (en) | Based reminding method and mobile terminal | |
CN109388456A (en) | A kind of head portrait selection method and mobile terminal | |
CN109708657A (en) | A kind of based reminding method and mobile terminal | |
CN110456395A (en) | A kind of localization method and terminal device | |
CN105608095A (en) | Multimedia playing method and device as well as mobile terminal | |
CN108917766A (en) | A kind of air navigation aid and mobile terminal | |
CN108362303A (en) | A kind of air navigation aid and mobile terminal | |
CN108540651A (en) | A kind of the recommendation method and mobile terminal of application program | |
CN109167872A (en) | A kind of application program open method and mobile terminal |
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 |
Application publication date: 20181123 |
|
RJ01 | Rejection of invention patent application after publication |