Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method, a system, an electronic terminal and a storage medium for downloading an electronic map, which are used to solve the technical problems that the electronic map cannot be automatically downloaded in the prior art.
In order to achieve the above and other related objects, the present invention provides an electronic map downloading method, which includes: acquiring navigation destination position information; judging whether the electronic map of the navigation destination is stored in the local data storage module; if the electronic map of the navigation destination is stored, the operation of downloading the electronic map of the navigation destination is not executed; and if the electronic map of the navigation destination is not stored, executing the operation of downloading the electronic map of the navigation destination.
In an embodiment of the present invention, the method includes: judging whether the electronic map of the navigation destination stored in the local data storage module or newly downloaded is the electronic map of the latest version; if the electronic map is the latest version, the operation of updating the electronic map is not executed; and if the electronic map is not the latest version, executing the operation of updating the electronic map.
In an embodiment of the present invention, the manner of determining whether the electronic map of the navigation destination stored in the local data storage module or newly downloaded is the latest version of the electronic map includes: acquiring version information of the latest version of electronic map corresponding to the navigation destination from the outside; judging whether the version information of the electronic map of the navigation destination stored or newly downloaded in a local data storage module is matched with the version information of the electronic map of the latest version; if so, judging that the navigation destination electronic map is the latest version electronic map; if not, the navigation destination electronic map is judged to be not the latest version electronic map.
In an embodiment of the present invention, the method includes: detecting the updating state of the electronic map every other preset time period; and if the electronic map is detected not to be downloaded completely, re-executing the operation of downloading the electronic map.
In an embodiment of the invention, the electronic map downloading method is applied to a vehicle-mounted terminal; the method for acquiring the navigation destination position information by the vehicle-mounted terminal comprises the following steps: receiving a navigation instruction input by a user to acquire navigation destination position information; and/or; and receiving a navigation instruction from the external equipment to acquire navigation destination position information.
In an embodiment of the present invention, the type of the vehicle-mounted terminal includes a vehicle-mounted device; the type of the external equipment comprises any one or a plurality of combinations of a mobile terminal, a pad computer and intelligent wearable equipment.
To achieve the above and other related objects, the present invention provides an electronic map downloading system, which comprises: the acquisition module is used for acquiring navigation destination position information; the judging module is used for judging whether the electronic map of the navigation destination is stored in the local data storage module; and the downloading module is used for not executing the operation of downloading the electronic map of the navigation destination after the judging module judges that the electronic map of the navigation destination is stored, or executing the operation of downloading the electronic map of the navigation destination after the judging module judges that the electronic map of the navigation destination is not stored.
In an embodiment of the present invention, the electronic map downloading system includes: the updating module is used for not executing the operation of updating the electronic map after the judging module judges that the electronic map of the navigation destination stored or newly downloaded in the local data storage module is the electronic map of the latest version; or the judging module is used for executing the operation of updating the electronic map after judging that the electronic map of the navigation destination stored or newly downloaded in the local data storage module is not the electronic map of the latest version.
To achieve the above and other related objects, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method.
To achieve the above and other related objects, the present invention provides an electronic terminal, comprising: a processor and a memory; the memory is for storing a computer program and the processor is for executing the computer program stored by the memory to cause the terminal to perform the method.
As described above, the electronic map downloading method, system, electronic terminal and storage medium of the present invention have the following advantages: the invention can help the user to automatically download the destination map when navigating to the destination and automatically update the destination map to the latest version, thereby avoiding that the user needs to search the network map again when searching to navigate to the destination every time, thereby saving network flow and saving precious time of the user.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It is noted that in the following description, reference is made to the accompanying drawings which illustrate several embodiments of the present application. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present application is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "over," "upper," and the like, may be used herein to facilitate describing one element or feature's relationship to another element or feature as illustrated in the figures.
Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," and/or "comprising," when used in this specification, specify the presence of stated features, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, operations, elements, components, items, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions or operations are inherently mutually exclusive in some way.
The invention provides an electronic map downloading method, an electronic map downloading system, an electronic terminal and a storage medium, which are used for helping a user to automatically download a destination map when navigating to a destination and automatically update the destination map to the latest version, so that the situation that the user needs to search a network map again every time searching to navigate to the destination is avoided, and therefore network flow is saved and precious time of the user is saved. Hereinafter, the embodiment and the operation principle of the present invention will be described with reference to specific examples.
Fig. 1 is a schematic view showing an application scenario of the electronic map downloading method according to an embodiment of the present invention. The application scenario in this embodiment is a vehicle, the electronic map downloading method is applied to a vehicle 11 of the vehicle, and an image displayed on the vehicle 11 is an electronic map of current vehicle navigation. The vehicle machine is a vehicle-mounted terminal and is mainly used for realizing information communication between people and vehicles and between vehicles and external equipment of the vehicles.
In consideration of different navigation habits of different users, the vehicle machine is configured to directly receive the navigation instruction input by the user to acquire the destination position information, and the vehicle machine can also acquire the destination position information through the external equipment in communication connection with the vehicle machine.
In one embodiment, the car machine 11 directly receives the navigation instruction from the user, so as to obtain the navigation destination location information. For example, the car machine 11 is a capacitive touch screen car machine, and a user inputs a navigation destination through finger touch, and the capacitive touch screen car machine can determine the destination position information of the navigation according to the user input information.
In one embodiment, the car machine 11 is communicatively connected to theexternal device 12, and obtains the navigation destination location information by receiving a navigation instruction from the external device. Theexternal device 12 includes, but is not limited to, a mobile phone, a pad computer, a smart wearable device, and the like, and the smart wearable device may be, for example, a smart watch, a smart bracelet, a smart helmet, a smart glove, and the like.
It should be noted that the application terminal of the electronic map downloading method provided by the present invention includes, but is not limited to, a vehicle, and in other embodiments, the electronic map downloading method may also be directly applied to, for example, a mobile phone, a pad computer, a server, or a wearable device, and the present invention is not limited thereto.
In the above, an application scenario of the electronic map downloading method of the present invention is explained in detail. Hereinafter, a detailed flow of the electronic map downloading method, an electronic map downloading system, a storage medium, and an electronic terminal will be explained in detail.
Fig. 2 is a schematic flow chart showing an electronic map downloading method according to an embodiment of the present invention. In this embodiment, the method for downloading an electronic map specifically includes:
s21: navigation destination position information is acquired.
The method for acquiring the navigation destination position information comprises the following steps: receiving a navigation instruction input by a user to acquire navigation destination position information; and/or receiving a navigation instruction from an external device to acquire navigation destination location information.
Take the user from place a to place B as an example: in one embodiment, a user uses a vehicle machine as a navigation device to input a destination B to the vehicle machine, and the vehicle machine receives a user input instruction, so that the current destination position information is obtained; in another embodiment, the user uses a mobile phone as a navigation device and inputs the destination B to the mobile phone, the mobile phone of the user is in communication connection with a vehicle machine of a vehicle where the user is located, so that destination information input to the mobile phone by the user is transmitted to the vehicle machine of the vehicle, and the vehicle machine of the vehicle can acquire the current destination position information after receiving the information of the mobile phone.
S22: and judging whether the electronic map of the navigation destination is stored in the local data storage module.
S23: if the electronic map of the navigation destination is stored, the operation of downloading the electronic map of the navigation destination is not executed.
S24: and if the electronic map of the navigation destination is not stored, executing the operation of downloading the electronic map of the navigation destination.
It should be noted that, in the prior art, the downloading operation of the electronic map is based on the user's active request for downloading, and the downloading function of the electronic map can only be realized based on the manual downloading operation of the user. Therefore, when the user forgets to download the map, the map cannot be downloaded manually while driving the vehicle, or when the network status is good during the search and navigation but not good when the map is to be downloaded, the electronic map cannot be downloaded.
The electronic map downloading method provided by the invention can well solve the various problems, and automatically executes the operation of downloading the map when the navigation destination position information of the user is acquired and the local data storage module is confirmed not to download the destination map, so that the situation that the user needs to search through the network map again when searching the navigation destination every time is avoided, off-line map data is provided under the condition of no network or poor network state, the network flow is saved for the user, and the travel time is saved.
Fig. 3 is a schematic flow chart showing an electronic map downloading method according to an embodiment of the invention. In this embodiment, the method for downloading an electronic map specifically includes:
s31: navigation destination position information is acquired.
S32: and judging whether the electronic map of the navigation destination is stored in the local data storage module.
S33: if the electronic map of the navigation destination is stored, the operation of downloading the electronic map of the navigation destination is not executed.
S34: and if the electronic map of the navigation destination is not stored, executing the operation of downloading the electronic map of the navigation destination. It should be noted that the implementation of steps S31 to S34 in this embodiment is similar to the implementation of steps S21 to S24 in the previous embodiment, and therefore, the description thereof is omitted.
S35: and judging whether the electronic map of the navigation destination stored or newly downloaded in the local data storage module is the latest version of electronic map.
In an embodiment, the manner of determining whether the electronic map of the navigation destination stored in the local data storage module or newly downloaded in the local data storage module is the latest version of the electronic map includes: and acquiring version information of the latest version of electronic map corresponding to the navigation destination from the outside, for example, acquiring the version information of the latest version of electronic map currently on the network from the internet. And judging whether the version information of the electronic map of the navigation destination stored or newly downloaded in the local data storage module is matched with the version information of the electronic map of the latest version, for example, judging according to information such as version number, version release time, version corresponding code and the like.
S36: and if the electronic map is the latest version, the operation of updating the electronic map is not executed.
S37: and if the electronic map is not the latest version, executing the operation of updating the electronic map.
Preferably, the update state of the electronic map is detected every preset time period, and the downloading operation is re-executed after the download failure of the electronic map is detected. Taking a vehicle machine as an example, if the vehicle is in a better communication signal position when a user sends a navigation request, the operation of downloading the destination electronic map can be started after the local data storage module is judged that the destination map is not stored. However, if the vehicle enters a poor position of the communication signal during the downloading process, the downloading may be interrupted or failed, so in the electronic map downloading method of this embodiment, the update state of the electronic map is detected every predetermined time period, and the situation that the updating is interrupted or failed but is unknown is avoided.
It is worth saying that the electronic map downloading method of the present invention not only can help the user to download the destination map in time, but also can help the user to update the map data in time, so as to avoid the inconvenience brought to the user by the map data lag, thereby further improving the user experience.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 4 is a schematic diagram of an electronic map downloading system according to an embodiment of the invention. In this embodiment, the electronic map downloading system includes an obtainingmodule 41, a determiningmodule 42, a downloadingmodule 43, and an updatingmodule 44. The obtainingmodule 41 is configured to obtain navigation destination location information; the judgingmodule 42 is used for judging whether the electronic map of the navigation destination is stored in the local data storage module; thedownloading module 43 is configured to not perform the operation of downloading the electronic map of the navigation destination after the determining module determines that the electronic map of the navigation destination is stored, or is configured to perform the operation of downloading the electronic map of the navigation destination after the determining module determines that the electronic map of the navigation destination is not stored; the updatingmodule 44 is configured to not execute an operation of updating the electronic map after the determining module determines that the electronic map of the navigation destination stored in the local data storage module or newly downloaded is the electronic map of the latest version; or the judging module is used for executing the operation of updating the electronic map after judging that the electronic map of the navigation destination stored or newly downloaded in the local data storage module is not the electronic map of the latest version.
In an embodiment, the obtainingmodule 41 is configured to obtain version information of a latest version of the electronic map corresponding to the navigation destination from the outside. The judgingmodule 42 is configured to judge whether version information of the electronic map of the navigation destination stored in the local data storage module or newly downloaded is matched with version information of the electronic map of the latest version, and if so, judge that the electronic map of the navigation destination is the electronic map of the latest version; if not, the navigation destination electronic map is judged to be not the latest version electronic map.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the determining module may be a processing element separately set up, or may be implemented by being integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the determining module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 5 is a schematic structural diagram of an electronic terminal according to an embodiment of the invention. This example provides an electronic terminal, includes: aprocessor 51, amemory 52, atransceiver 53, acommunication interface 54, and asystem bus 55; thememory 52 and thecommunication interface 54 are connected to theprocessor 51 and thetransceiver 53 through thesystem bus 55 and perform communication with each other, thememory 52 is used for storing computer programs, thecommunication interface 54 and thetransceiver 53 are used for communicating with other devices, and theprocessor 51 is used for running the computer programs to enable the electronic terminal to execute the steps of the electronic map downloading method.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In summary, the electronic map downloading method, the electronic map downloading system, the electronic terminal and the storage medium provided by the invention are used for helping the user to automatically download the destination map when navigating to the destination and automatically update the destination map to the latest version, so that the user is prevented from searching the network map again every time searching the destination, thereby saving network traffic and saving precious time of the user. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.