CN115426263B - A method for updating map data, terminal and computer storage medium - Google Patents
A method for updating map data, terminal and computer storage medium Download PDFInfo
- Publication number
- CN115426263B CN115426263B CN202211014000.8A CN202211014000A CN115426263B CN 115426263 B CN115426263 B CN 115426263B CN 202211014000 A CN202211014000 A CN 202211014000A CN 115426263 B CN115426263 B CN 115426263B
- Authority
- CN
- China
- Prior art keywords
- terminal
- map data
- current
- identifier
- updating
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Navigation (AREA)
Abstract
本申请实施例公开了一种地图数据的更新方法,该方法应用于终端中,包括:当与终端的地图数据的更新相关联的标识发生变化时,向云端发送更新请求,接收来自云端发送的目标地图数据的安装包,基于目标地图数据的安装包,将终端的当前地图数据更新为目标地图数据。本申请实施例还同时提供了一种终端及计算机存储介质。
The embodiment of the present application discloses a method for updating map data, which is applied in a terminal, and includes: when an identifier associated with the update of the map data of the terminal changes, sending an update request to the cloud, receiving an installation package of target map data sent from the cloud, and updating the current map data of the terminal to the target map data based on the installation package of the target map data. The embodiment of the present application also provides a terminal and a computer storage medium.
Description
Technical Field
The present application relates to a map data updating technology, and in particular, to a map data updating method, a terminal, and a computer storage medium.
Background
At present, the terminal acquires map data according to the real-time position of the terminal, so that the terminal consumes more power consumption on the updated map data, and the conventional terminal can generate more power consumption when updating the map data.
Disclosure of Invention
The embodiment of the application provides a map data updating method, a terminal and a computer storage medium, which can reduce the power consumption of the terminal when updating map data.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a map data updating method, which is applied to a terminal and comprises the following steps:
when an identifier associated with updating of the map data of the terminal changes, sending an updating request to a cloud, wherein the updating request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of the current map data of the terminal;
Receiving an installation package of the target map data sent by the cloud;
And updating the current map data of the terminal into the target map data based on the installation package of the target map data.
The embodiment of the application provides a map data updating method, which is applied to a terminal and comprises the following steps:
Receiving an update request from a terminal, wherein the update request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of current map data of the terminal;
determining an installation package of the map data corresponding to the update request as an installation package of the target map data;
And sending the installation package of the target map data to the terminal.
An embodiment of the present application provides a terminal, including:
The system comprises a first sending module, a cloud end and a second sending module, wherein the first sending module is used for sending an update request to the cloud end when an identifier associated with updating of the map data of the terminal is changed, and the update request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of the current map data of the terminal;
the first receiving module is used for receiving an installation packet of the target map data sent by the cloud;
And the updating module is used for updating the current map data of the terminal into the target map data based on the installation package of the target map data.
The embodiment of the application provides a cloud, which comprises the following steps:
The cloud terminal comprises a first receiving module, a second receiving module and a cloud terminal, wherein the first receiving module is used for receiving an update request from the terminal, and the update request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of current map data of the terminal;
a determining module, configured to determine an installation package of map data corresponding to the update request as an installation package of target map data;
and the second sending module is used for sending the installation package of the target map data to the terminal.
An embodiment of the present application provides a terminal, including:
A processor and a storage medium storing instructions executable by the processor, the storage medium performing operations in dependence upon the processor through a communication bus, the instructions, when executed by the processor, performing the map data updating method described in one or more embodiments above.
Embodiments of the present application provide a computer storage medium storing executable instructions that, when executed by one or more processors, perform a method of updating map data as described in one or more embodiments.
The embodiment of the application provides a map data updating method, a terminal and a computer storage medium, wherein the method comprises the steps of sending an updating request to a cloud when an identifier associated with updating of the map data of the terminal changes; the updating request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of current map data of the terminal; in the embodiment of the application, the current map data of the terminal is updated into the target map data by judging whether the identification related to the update of the map data of the terminal changes or not, after the judging result is obtained, only when the judging result is that the identification related to the update of the map data of the terminal changes, the current map data is required to be updated at the moment so as to be suitable for the change of the identification related to the update of the map data of the terminal, so that the update request comprising the current position identification, the current operator identification and the version identification of the current map data is sent to the cloud so as to acquire the installation package of the required target map data from the cloud, and then the current map data is updated into the target map data.
Drawings
Fig. 1 is a flowchart of an alternative map data updating method according to an embodiment of the present application;
Fig. 2 is a flowchart illustrating an example one of an alternative map data updating method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an example two of an alternative map data updating method according to an embodiment of the present application;
Fig. 4 is a flowchart illustrating an example three of an alternative map data updating method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an alternative terminal according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another alternative terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
The embodiment of the application provides a map data updating method, which is applied to a terminal, and fig. 1 is a flow chart of an alternative map data updating method provided by the embodiment of the application, as shown in fig. 1, the map data updating may include:
s101, when an identifier associated with updating of the map data of the terminal changes, sending an updating request to a cloud;
at present, map data in a terminal is updated according to the real-time position of the terminal, namely, the position of the terminal is monitored in real time, and when the position changes, an update request of the map data is sent to a cloud to update the map data in the terminal, however, the update method makes the power consumption of the terminal higher.
In order to reduce power consumption consumed by updating map data, an embodiment of the present application provides a map data updating method, first, determining whether an identifier associated with updating of the map data of a terminal changes, and sending an update request to a cloud only when the identifier associated with updating of the map data of the terminal changes, where the update request includes a current location identifier of the terminal, a current operator identifier of the terminal, and a version identifier of the current map data of the terminal, and the update request is used for determining an installation package of target map data by the cloud.
After the update request is sent to the cloud, the cloud determines the latest version of map data corresponding to the current position identifier and the current operator identifier according to the current position identifier of the terminal, the current operator identifier of the terminal and the version identifier of the current map data in the update request, and when the latest version of map data is consistent with the current map version identifier, the map data is not returned to the target map data if the latest version of map data is consistent with the current map version identifier, and if the latest version of map data is inconsistent with the current map version identifier, the map data of the latest version is taken as the target map data, and an installation package of the target map data is returned to the terminal, so that the terminal obtains the installation package of the map data corresponding to the update request.
The identifier associated with updating of the map data of the terminal may include a location identifier, and/or an operator identifier, that is, the above-mentioned scheme may include at least three schemes, that is, a first scheme of determining that the identifier associated with the map data of the terminal changes when the location identifier changes, a second scheme of determining that the identifier associated with the map data of the terminal changes when the operator identifier changes, and a third scheme of determining that the identifier associated with the map data of the terminal changes when the location identifier changes and the operator identifier changes, and the above-mentioned location identifier is a city identifier, that is, the first scheme may be a scheme of determining that the identifier associated with the map data of the terminal changes when the city identifier changes, for example, when the city identifier changes from a to B.
It should be noted that, the map data of the terminal is map data of signal intensity distribution obtained by the wireless communication service quality prediction function, and it is seen that the map data of the terminal is map data of wireless communication signal intensity distribution, and then, map data of different wireless communication signal intensity distribution is provided for different operators, and of course, map data of different wireless communication signal intensity distribution is provided for different cities, and the map data includes cell identification, lowest signal intensity and highest signal intensity.
S102, receiving an installation package of target map data sent by a cloud;
And S103, updating the current map data of the terminal into target map data based on the installation package of the target map data.
The terminal receives an installation package of target map data sent by the cloud, and updates the current map data of the terminal into the target map data by utilizing the installation package of the target map data so as to be used by the terminal for calling.
In order to determine whether the identity associated with the update of the map data of the terminal has changed, in an alternative embodiment, the method may comprise, for the case where the identity associated with the update of the map data of the terminal is a location identity:
Acquiring a current position identifier of a terminal;
When the current position identification of the terminal is different from the last position identification of the terminal, the identification associated with updating of the map data of the terminal is determined to change.
It can be understood that, in order to determine whether the location identifier changes, it is necessary to acquire the current location identifier of the terminal first, then determine whether the current location identifier of the terminal is the same as the last location identifier of the acquired terminal, and if different, indicate that the location identifier of the terminal changes, at this time, the terminal needs to update the current map data so that the current map data of the terminal is required by the user.
Therefore, through monitoring the position identification of the terminal, only when the position identification of the terminal changes, an update request is sent to the cloud end, and the power consumption of the terminal for updating the map data can be reduced.
In addition, for the case that the identification associated with the update of the map data of the terminal is the location identification, in an alternative embodiment, the above method may include:
When the current location identifier of the terminal is the same as the last location identifier of the terminal, it is determined that the identifier associated with updating of the map data of the terminal has not changed.
It can be understood that by judging whether the current position identifier of the terminal is the same as the last position identifier of the obtained terminal, when the obtained result is different, the position identifier of the terminal is not changed, and the current map data of the terminal is considered to meet the requirement of the user at the moment, so that the update request is not sent to the cloud, and the power consumption of the terminal can be reduced.
In order to reduce power consumption of the terminal and monitor a change of a location identifier of the terminal in time, in an alternative embodiment, obtaining a current location identifier of the terminal includes:
and acquiring the current position identification of the terminal every preset time period.
It can be appreciated that, in acquiring the current location identifier of the terminal, the current location identifier of the terminal may be acquired periodically, that is, the current location identifier of the terminal may be acquired every preset time period, where the preset time period may be set according to the requirement of the user, for example, the location of the terminal is positioned by using a global positioning system (Global Positioning System, GPS) positioning technology every 2 hours, and the location of the city of the terminal is known through positioning, and the acquired current location identifier of the terminal is a.
Further, in order to obtain the target map data in the case that the location identifier of the terminal changes, the update request needs to carry the current operator identifier of the terminal, and in an optional embodiment, the method further includes:
When the identifier associated with updating of the map data of the terminal changes, acquiring an operator identifier corresponding to a user identity module (Subscriber Identity Module, SIM) card of the terminal;
and determining the operator identifier corresponding to the SIM card as the current operator identifier of the terminal.
When determining that the identifier associated with updating of the map data of the terminal changes, the update request needs to be sent to the cloud end, the update request is generated before the update request is sent, the current operator identifier of the terminal needs to be determined in the process of generating the update request, and in order to acquire the current operator identifier of the terminal, the operator identifier corresponding to the SIM card of the terminal is acquired first, and the operator identifier corresponding to the SIM card is the current operator identifier of the terminal.
Therefore, the current operator identifier of the terminal in the update request can be determined, so that the cloud end can acquire the map data corresponding to the current operator identifier of the terminal for the terminal user to call.
Further, in order to obtain the target map data in the case that the location identifier of the terminal changes, the update request needs to carry the version identifier of the current map data of the terminal, and in an optional embodiment, the method further includes:
When the identifier associated with updating of the map data of the terminal changes, the version number of the current map data of the terminal is acquired;
And determining the version number of the current map data of the terminal as the version identification of the current map data of the terminal.
When determining that the identifier associated with updating of the map data of the terminal changes, the update request needs to be sent to the cloud end, the update request is generated before the update request is sent, the version identifier of the current map data of the terminal needs to be determined in the process of generating the update request, and in order to acquire the version identifier of the current map data of the terminal, the version number of the current map data of the terminal is acquired first, and the version number of the current map data is the version identifier of the current map data of the terminal.
Therefore, the version identification of the current map data of the terminal in the update request can be determined, so that the cloud can determine whether the latest version identification exists locally according to the version identification of the current map data of the terminal, and if so, the cloud sends an installation package of the map data corresponding to the latest version identification to the terminal for a terminal user to call.
In addition, when the version number of the map data does not exist in the terminal, the version identification of the current map data is set as a preset identification.
In order to determine whether the identity associated with the update of the map data of the terminal has changed, in an alternative embodiment, the method further comprises, for the case where the identity associated with the update of the map data of the terminal is an operator identity:
When the SIM card of the terminal is changed, acquiring an operator corresponding to the changed SIM card;
when the operator corresponding to the changed SIM card is different from the operator corresponding to the SIM card before the change, the identification related to updating of the map data of the terminal is determined to be changed.
Here, when the SIM card of the terminal is changed, the terminal needs to acquire the operator corresponding to the SIM card after the change, and compares whether the operator corresponding to the SIM card after the change is the same as the operator corresponding to the SIM card before the change, if different, it indicates that the current map data of the terminal at this time is the map data corresponding to the operator of the SIM card before the change, and obviously does not correspond to the operator of the SIM card after the change, that is, does not correspond to the current condition of the terminal, so it is determined that the identifier associated with the update of the map data of the terminal at this time changes, and an update request is sent to the cloud end so that the current map data of the terminal is updated to correspond to the operator of the SIM card after the change.
Therefore, through monitoring the operator identifier of the SIM card of the terminal, only when the operator identifier of the SIM card of the terminal changes, an update request is sent to the cloud end, and the power consumption consumed by the terminal for updating the map data can be reduced.
In addition, in an alternative embodiment, for the case that the identifier associated with the update of the map data of the terminal is an operator identifier, the method further includes:
When the operator corresponding to the changed SIM card is the same as the operator corresponding to the SIM card before the change, the identification associated with updating the map data of the terminal is determined to be unchanged.
It can be understood that by judging whether the operator corresponding to the SIM card after the change of the terminal is the same as the operator corresponding to the SIM card before the change, when the obtained result is different, it is indicated that the operator identifier of the terminal has not changed, and the current map data of the terminal is considered to meet the requirements of the user at this time, so that the update request is not sent to the cloud, and thus, the power consumption of the terminal can be reduced.
Further, in order to obtain the target map data in the case that the identifier of the operator of the terminal changes, the update request needs to carry the current location identifier of the terminal, and in an optional embodiment, the method further includes:
when the identity associated with the update of the map data of the terminal changes, the current location identity of the terminal is obtained.
That is, when the operator corresponding to the SIM card after the change is different from the operator corresponding to the SIM card before the change, an update request needs to be sent to the cloud end, the update request is generated before the update request is sent, and in the process of generating the update request, the current location identifier of the terminal needs to be determined.
In the method, in the process that the terminal acquires the current position identifier of the terminal, the terminal positions the position of the terminal by using a GPS positioning technology, and the city of the position A of the terminal can be known through positioning, and the acquired current position identifier of the terminal is A.
Therefore, the current position identification of the terminal in the update request can be determined, and the cloud end can acquire the map data corresponding to the current position identification of the terminal for the terminal user to call.
Further, in order to obtain the target map data in the case that the identifier of the operator of the terminal changes, the update request needs to carry the current identifier of the operator of the terminal, and in an optional embodiment, the method further includes:
And determining the operator identifier corresponding to the changed SIM card as the current operator identifier of the terminal.
When it is determined that the identifier associated with updating of the map data of the terminal changes, an update request needs to be sent to the cloud end, the update request is generated before the update request is sent, and in the process of generating the update request, the current operator identifier of the terminal needs to be determined.
Therefore, the current operator identifier of the terminal in the update request can be determined, so that the cloud end can acquire the map data corresponding to the current operator identifier of the terminal for the terminal user to call.
Further, in order to obtain the target map data in the case that the identifier of the operator of the terminal changes, the update request needs to carry the version identifier of the current map data of the terminal, and in an optional embodiment, the method further includes:
When the identifier associated with updating of the map data of the terminal changes, the version number of the current map data of the terminal is acquired;
And determining the version number of the current map data of the terminal as the version identification of the current map data of the terminal.
When determining that the identifier associated with updating of the map data of the terminal changes, the update request needs to be sent to the cloud end, the update request is generated before the update request is sent, the version identifier of the current map data of the terminal needs to be determined in the process of generating the update request, and in order to acquire the version identifier of the current map data of the terminal, the version number of the current map data of the terminal is acquired first, and the version number of the current map data is the version identifier of the current map data of the terminal.
In addition, when the version number of the map data does not exist in the terminal, the version identification of the current map data is set as a preset identification.
Therefore, the version identification of the current map data of the terminal in the update request can be determined, so that the cloud can determine whether the latest version identification exists locally according to the version identification of the current map data of the terminal, and if so, the cloud sends an installation package of the map data corresponding to the latest version identification to the terminal for a terminal user to call.
In order to determine whether the identity associated with the update of the map data of the terminal has changed, in an alternative embodiment, the method further comprises, for the case where the identity associated with the update of the map data of the terminal is a location identity:
When a third party application program on the terminal is started, acquiring a position identifier corresponding to current map data provided by the terminal for the third party application program, and acquiring the current position identifier of the terminal;
when the provided location identifier corresponding to the current map data is different from the current location identifier of the terminal, it is determined that the identifier associated with updating of the map data of the terminal is changed.
Here, the terminal is installed with a third party application program, which provides map services for map data of the terminal, where the third party application program may be an application program of a geographic map class, an application program of a social class, or an application program of a playing class.
When a third party application on the terminal is started, because the map service of the third party application is provided by the terminal itself, here, the location identifier corresponding to the current map data provided by the terminal for the third party application is first acquired, and the current location identifier of the terminal is also acquired.
And comparing whether the position identifier corresponding to the current map data provided by the third-party application program is the same as the current position identifier, if so, indicating that the current map data provided by the terminal by the third-party application program does not coincide with the actual position, and updating the current map data by the terminal at the moment so that the current map data of the terminal are required by a user, thereby determining that the identifier associated with the updating of the map data of the terminal changes.
Therefore, when the third party application program is started, the position identification corresponding to the current map data provided by the third party application program is compared with whether the position identification is consistent with the current position identification, and only if the position identification is consistent with the current position identification, an update request is sent to the cloud, so that the power consumption consumed by the terminal for updating the map data can be reduced.
In addition, for the scenario where the identifier associated with the update of the map data of the terminal is a location identifier, and the third party application is started, in an alternative embodiment, the method further includes:
when the location identifier corresponding to the provided current map data is the same as the current location identifier of the terminal, it is determined that the identifier associated with updating of the map data of the terminal has not changed.
It can be understood that by judging whether the position identifier corresponding to the current map data provided by the third-party application program by the terminal is the same as the current position identifier of the terminal, when the obtained result is the same, the current map data of the terminal is described and map service can be provided for the third-party application program, so that an update request is not sent to the cloud end, and the power consumption of the terminal is reduced.
Further, in a case that the location identifier of the terminal changes, and the third party application program is started, in order to obtain the target map data, the update request carries the current operator identifier of the terminal, and in an optional embodiment, the method further includes:
When the identifier associated with updating of the map data of the terminal changes, acquiring an operator identifier corresponding to the SIM card of the terminal;
and determining the operator identifier corresponding to the SIM card as the current operator identifier of the terminal.
When determining that the identifier associated with updating of the map data of the terminal changes, the update request needs to be sent to the cloud end, the update request is generated before the update request is sent, the current operator identifier of the terminal needs to be determined in the process of generating the update request, and in order to acquire the current operator identifier of the terminal, the operator identifier corresponding to the SIM card of the terminal is acquired first, and the operator identifier corresponding to the SIM card is the current operator identifier of the terminal.
Therefore, the current operator identifier of the terminal in the update request can be determined, so that the cloud end can acquire the map data corresponding to the current operator identifier of the terminal for the terminal user to call.
Further, in a case that the location identifier of the terminal changes, and the third party application program is started, in order to obtain the target map data, the update request carries the version identifier of the current map data of the terminal, and in an optional embodiment, the method further includes:
when the identifier associated with updating of the map data of the terminal changes, the version number of the current map data provided by the terminal for the third party application program is obtained;
and determining the version number of the current map data provided by the terminal for the third-party application program as the version identification of the current map data of the terminal.
When determining that the identifier associated with updating of the map data of the terminal changes, the update request needs to be sent to the cloud end, the update request is generated before the update request is sent, the version identifier of the current map data of the terminal needs to be determined in the process of generating the update request, and in order to acquire the version identifier of the current map data of the terminal, the version number of the current map data of the terminal is acquired first, and the version number of the current map data is the version identifier of the current map data of the terminal.
In addition, when the version number of the map data does not exist in the terminal, the version identification of the current map data is set as a preset identification.
Therefore, the version identification of the current map data of the terminal in the update request can be determined, so that the cloud can determine whether the latest version identification exists locally according to the version identification of the current map data of the terminal, and if so, the cloud sends an installation package of the map data corresponding to the latest version identification to the terminal for a terminal user to call.
For the case that the identity associated with the update of the map data of the terminal has not changed, in an alternative embodiment, the method further comprises:
when the identification associated with the update of the map data of the terminal has not changed, the current map data of the terminal is maintained unchanged.
It will be appreciated that when the identifier associated with the update of the map data of the terminal is unchanged, it is indicated that the current map data of the terminal can meet the requirements of the user at this time, so the update request is not sent to the cloud end, and the current map data of the terminal is maintained unchanged, so that the terminal still uses the current map data.
The method of updating map data in one or more of the above embodiments is described below by way of example.
Fig. 2 is a flowchart of an example one of an alternative map data updating method according to an embodiment of the present application, as shown in fig. 2, the map data updating method may include:
S201, a terminal performs city positioning by using a GPS technology;
S202, the terminal compares the urban positioning result with the last urban positioning result to be the same or not, and if the urban positioning result is different, the terminal executes S203;
S203, sending an update request to the cloud, and judging whether an installation package of the target map data is received or not, if yes, executing S205, otherwise, executing S204;
S204, waiting for the next period, and executing S201 when the next period is reached;
s205, the terminal stores an installation package of target map data returned by the cloud, records the city positioning result, and executes S204.
In this example, the geographic position of the city is changed, where the GPS city positioning information is periodically detected, and if the GPS city positioning information is changed, a map update request is initiated to the cloud.
Fig. 3 is a flowchart of an example two of an alternative map data updating method according to an embodiment of the present application, where as shown in fig. 3, the map data updating method may include:
s301, the terminal determines that the operator corresponding to the SIM card is changed, and S302 is executed;
S302, the terminal compares the operators corresponding to the SIM card after the change with the operators corresponding to the SIM card before the change, if yes, the terminal executes S303;
S303, sending an update request to the cloud, and judging whether an installation package of target map data is received or not, if yes, executing S305, if not, executing S304;
S304, continuing to monitor operators corresponding to the SIM card;
s305, the terminal stores an installation package of target map data returned by the cloud, records an operator identifier corresponding to the changed SIM card, and executes S304.
It should be noted that, in this example, the SIM card information of the terminal is changed, and if the operator changes, a map update request is initiated to the cloud end by detecting the operator network where the SIM card module of the terminal can reside.
Fig. 4 is a flowchart illustrating an example three of an alternative map data updating method according to an embodiment of the present application, where, as shown in fig. 4, the map data updating method may include:
S401, a terminal starts a third party application program;
s402, the terminal acquires current map data provided for a third party application program;
S403, the terminal judges whether the city corresponding to the current map data provided by the third party application program is the same as the city in which the terminal is currently located or not, if yes, S404 is executed, and if yes, S405 is executed;
s404, sending an update request to the cloud, and judging whether an installation package of target map data is received or not, if yes, executing S406, if not, executing S405;
s405, continuing to use the current map data.
S406, the terminal stores an installation package of the target map data returned by the cloud, and updates the current map data by using the installation package.
In this example, the term "user habit" refers to that when a user needs to use a map service in a specific scenario, whether to update map data is determined according to a package name registered by a user side (corresponding to the third party application) android application package (Android application package, APK) with the map service.
In the above example, the terminal is responsible for initiating an update request of map data to the cloud according to the user GPS city location, the SIM card operator service information, and the specific user habit, and the cloud is responsible for returning the minimum set data (corresponding to the installation package of the target map data) required by the terminal after calculation according to the current map version number and the SIM card operator information and other information reported in the update request uploaded by the terminal.
Wherein the map data update management dimension is to distinguish operators, geographical city locations, applicable user parties, i.e. which cities under one operator are map data with wireless communication quality of service (Quality of Service, qoS), and to which user parties the data are applicable. When the factors are changed, the update of new map data is requested by uploading the version of the current QoS map data, the name information of the city and the operator where the current QoS map data is located, and the cloud side returns the minimum set of adaptive map data to the terminal through calculation after receiving the request.
The core of the embodiment is how to accurately minimize the data content required by updating the terminal business in time through the cooperative work of the terminal cloud, compared with the situation that the position of the terminal is required to be tracked in real time, the method has great improvement in the aspect of terminal power consumption, and in the aspect of updating the data content, the evaluation result is uploaded and predicted through evaluating the terminal data from the aspects of geographic position, operator information, user habit and the like, and the cloud terminal picks the data set of the optimal terminal in a large database.
It should be noted that, the above map data updating method may also be extended to the adaptation of configuration parameters of other functions of the terminal, for example, whether to open an independent networking (Standalone, SA) mode in a fifth Generation mobile communication technology (5 th-Generation 5G) network mode, where the terminal sends the learned data to the cloud through learning the self-function data, and returns an optimal configuration policy from the cloud to the terminal side.
The embodiment of the application provides a map data updating method, which comprises the steps of sending an updating request to a cloud when an identifier associated with updating of the map data of a terminal changes; the updating request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of current map data of the terminal; in the embodiment of the application, the current map data of the terminal is updated into the target map data by judging whether the identification related to the update of the map data of the terminal changes or not, after the judging result is obtained, only when the judging result is that the identification related to the update of the map data of the terminal changes, the current map data is required to be updated at the moment so as to be suitable for the change of the identification related to the update of the map data of the terminal, so that the update request comprising the current position identification, the current operator identification and the version identification of the current map data is sent to the cloud so as to acquire the installation package of the required target map data from the cloud, and then the current map data is updated into the target map data.
Based on the same inventive concept as the foregoing embodiments, an embodiment of the present application provides a terminal, and fig. 5 is a schematic structural diagram of an alternative terminal provided by the embodiment of the present application, as shown in fig. 5, where the terminal includes:
The first sending module 51 is configured to send an update request to the cloud end when an identifier associated with updating of the map data of the terminal changes, where the update request includes a current location identifier of the terminal, a current operator identifier of the terminal, and a version identifier of the current map data of the terminal;
the first receiving module 52 is configured to receive an installation package of target map data sent from the cloud;
And an updating module 53 for updating the current map data of the terminal to the target map data based on the installation package of the target map data.
In an alternative embodiment, the identification associated with the updating of the map data of the terminal comprises:
location identification, and/or operator identification.
In an alternative embodiment, the location identity is a city identity.
In an alternative embodiment, the terminal is further configured to:
Acquiring a current position identifier of a terminal;
When the current position identification of the terminal is different from the last position identification of the terminal, the identification associated with updating of the map data of the terminal is determined to change.
In an alternative embodiment, the terminal is further configured to:
When the current location identifier of the terminal is the same as the last location identifier of the terminal, it is determined that the identifier associated with updating of the map data of the terminal has not changed.
In an alternative embodiment, the terminal obtains the current location identifier of the terminal, including:
and acquiring the current position identification of the terminal every preset time period. .
In an alternative embodiment, the terminal is further configured to:
When the identifier associated with updating of the map data of the terminal changes, acquiring an operator identifier corresponding to the SIM card of the terminal;
and determining the operator identifier corresponding to the SIM card as the current operator identifier of the terminal.
In an alternative embodiment, the terminal is further configured to:
When the identifier associated with updating of the map data of the terminal changes, the version number of the current map data of the terminal is acquired;
And determining the version number of the current map data of the terminal as the version identification of the current map data of the terminal.
In an alternative embodiment, the terminal is further configured to:
When the SIM card of the terminal is changed, acquiring an operator corresponding to the changed SIM card;
when the operator corresponding to the changed SIM card is different from the operator corresponding to the SIM card before the change, the identification related to updating of the map data of the terminal is determined to be changed.
In an alternative embodiment, the terminal is further configured to:
When the operator corresponding to the changed SIM card is the same as the operator corresponding to the SIM card before the change, the identification associated with updating the map data of the terminal is determined to be unchanged.
In an alternative embodiment, the terminal is further configured to:
when the identity associated with the update of the map data of the terminal changes, the current location identity of the terminal is obtained.
In an alternative embodiment, the terminal is further configured to:
And determining the operator identifier corresponding to the changed SIM card as the current operator identifier of the terminal.
In an alternative embodiment, the terminal is further configured to:
When the identifier associated with updating of the map data of the terminal changes, the version number of the current map data of the terminal is acquired;
And determining the version number of the current map data of the terminal as the version identification of the current map data of the terminal.
In an alternative embodiment, the terminal is further configured to:
When a third party application program on the terminal is started, acquiring a position identifier corresponding to current map data provided by the terminal for the third party application program, and acquiring the current position identifier of the terminal;
when the provided location identifier corresponding to the current map data is different from the current location identifier of the terminal, it is determined that the identifier associated with updating of the map data of the terminal is changed.
In an alternative embodiment, the terminal is further configured to:
when the location identifier corresponding to the provided current map data is the same as the current location identifier of the terminal, it is determined that the identifier associated with updating of the map data of the terminal has not changed.
In an alternative embodiment, the terminal is further configured to:
When the identifier associated with updating of the map data of the terminal changes, acquiring an operator identifier corresponding to the SIM card of the terminal;
and determining the operator identifier corresponding to the SIM card as the current operator identifier of the terminal.
In an alternative embodiment, the terminal is further configured to:
when the identifier associated with updating of the map data of the terminal changes, the version number of the current map data provided by the terminal for the third party application program is obtained;
and determining the version number of the current map data provided by the terminal for the third-party application program as the version identification of the current map data of the terminal.
In an alternative embodiment, the terminal is further configured to:
when the identification associated with the update of the map data of the terminal has not changed, the current map data of the terminal is maintained unchanged.
In practical applications, the first sending module 51, the first receiving module 52, and the receiving module 53 may be implemented by a processor located on a network node, specifically, a central Processing unit (CPU, central Processing Unit), a microprocessor (MPU, microprocessor Unit), a digital signal processor (DSP, digital Signal Processing), or a field programmable gate array (FPGA, field Programmable GATE ARRAY), etc.
Fig. 6 is a schematic structural diagram of another alternative terminal provided in an embodiment of the present application, as shown in fig. 6, an embodiment of the present application provides a terminal 600, including:
A processor 61 and a storage medium 62 storing instructions executable by the processor 61, the storage medium 62 performing operations in dependence on the processor 61 through a communication bus 63, the instructions, when executed by the processor 61, performing the map data updating method performed in one or more embodiments described above.
In practical use, the components in the terminal are coupled together via the communication bus 63. It is understood that the communication bus 63 is used to enable connected communication between these components. The communication bus 63 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as communication bus 63 in fig. 6.
Embodiments of the present application provide a computer storage medium storing executable instructions that, when executed by one or more processors, perform the method of updating map data as described above for the control device in one or more embodiments.
The computer readable storage medium may be a magnetic random access Memory (ferromagnetic random access Memory, FRAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable Read Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or Read Only optical disk (Compact Disc Read-Only Memory, CD-ROM), etc.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the present application.
Claims (21)
1. A method for updating map data, the method being applied to a terminal and comprising:
when an identifier associated with updating of the map data of the terminal changes, sending an updating request to a cloud, wherein the updating request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of the current map data of the terminal;
Receiving an installation package of the target map data sent by the cloud;
Updating current map data of the terminal into the target map data based on the installation package of the target map data;
Wherein the method further comprises:
When a third party application program on the terminal is started, acquiring a position identifier corresponding to current map data provided by the terminal for the third party application program, and acquiring the current position identifier of the terminal;
and when the position identifier corresponding to the provided current map data is different from the current position identifier of the terminal, determining that the identifier associated with updating of the map data of the terminal is changed.
2. The method according to claim 1, wherein the map data of the terminal is map data of a signal intensity distribution obtained by a wireless communication service quality prediction function.
3. The method of claim 1, wherein the identification associated with the updating of the map data of the terminal comprises:
location identification, and/or operator identification.
4. A method according to claim 3, wherein the location identity is a city identity.
5. The method according to any one of claims 1 to 4, further comprising:
acquiring a current position identifier of the terminal;
When the current position identification of the terminal is different from the acquired last position identification of the terminal, determining that the identification associated with updating of the map data of the terminal is changed.
6. The method of claim 5, wherein the method further comprises:
When the current position identification of the terminal is the same as the last position identification of the terminal, the identification associated with updating of the map data of the terminal is determined to be unchanged.
7. The method of claim 5, wherein the obtaining the current location identity of the terminal comprises:
and acquiring the current position identification of the terminal every preset time period.
8. The method of claim 5, wherein the method further comprises:
when the identifier associated with updating of the map data of the terminal changes, acquiring an operator identifier corresponding to the SIM card of the terminal;
and determining the operator identifier corresponding to the SIM card as the current operator identifier of the terminal.
9. The method of claim 5, wherein the method further comprises:
When the identification associated with updating of the map data of the terminal changes, the version number of the current map data of the terminal is acquired;
and determining the version number of the current map data of the terminal as the version identification of the current map data of the terminal.
10. The method according to any one of claims 1 to 4, further comprising:
when the SIM card of the terminal is changed, acquiring an operator corresponding to the changed SIM card;
When the operator corresponding to the changed SIM card is different from the operator corresponding to the SIM card before the change, the identification associated with updating of the map data of the terminal is determined to be changed.
11. The method according to claim 10, wherein the method further comprises:
When the operator corresponding to the changed SIM card is the same as the operator corresponding to the SIM card before the change, determining that the identification associated with updating of the map data of the terminal is unchanged.
12. The method according to claim 10, wherein the method further comprises:
and when the identification associated with updating of the map data of the terminal changes, acquiring the current position identification of the terminal.
13. The method according to claim 10, wherein the method further comprises:
And determining the operator identifier corresponding to the changed SIM card as the current operator identifier of the terminal.
14. The method according to claim 10, wherein the method further comprises:
When the identification associated with updating of the map data of the terminal changes, the version number of the current map data of the terminal is acquired;
and determining the version number of the current map data of the terminal as the version identification of the current map data of the terminal.
15. The method according to claim 1, wherein the method further comprises:
And when the position identifier corresponding to the provided current map data is the same as the current position identifier of the terminal, determining that the identifier associated with updating of the map data of the terminal is unchanged.
16. The method according to claim 1, wherein the method further comprises:
when the identifier associated with updating of the map data of the terminal changes, acquiring an operator identifier corresponding to the SIM card of the terminal;
and determining the operator identifier corresponding to the SIM card as the current operator identifier of the terminal.
17. The method according to claim 1, wherein the method further comprises:
when the identification associated with updating of the map data of the terminal changes, the version number of the current map data provided by the terminal for the third-party application program is obtained;
and determining the version number of the current map data provided by the terminal for the third-party application program as the version identification of the current map data of the terminal.
18. The method according to claim 1, wherein the method further comprises:
when the identification associated with the update of the map data of the terminal is unchanged, maintaining the current map data of the terminal unchanged.
19. A terminal, comprising:
The system comprises a first sending module, a cloud end and a second sending module, wherein the first sending module is used for sending an update request to the cloud end when an identifier associated with updating of the map data of the terminal is changed, and the update request comprises a current position identifier of the terminal, a current operator identifier of the terminal and a version identifier of the current map data of the terminal;
the first receiving module is used for receiving an installation packet of the target map data sent by the cloud;
An updating module, configured to update current map data of the terminal to the target map data based on an installation package of the target map data;
Wherein, the terminal is further used for:
When a third party application program on the terminal is started, acquiring a position identifier corresponding to current map data provided by the terminal for the third party application program, and acquiring the current position identifier of the terminal;
and when the position identifier corresponding to the provided current map data is different from the current position identifier of the terminal, determining that the identifier associated with updating of the map data of the terminal is changed.
20. A terminal, comprising:
A processor and a storage medium storing instructions executable by the processor, the storage medium performing operations in dependence on the processor through a communications bus, the instructions, when executed by the processor, performing the method of updating map data of any one of claims 1 to 18.
21. A computer storage medium storing executable instructions which, when executed by one or more processors, perform the method of updating map data as claimed in any one of claims 1 to 18.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211014000.8A CN115426263B (en) | 2022-08-23 | 2022-08-23 | A method for updating map data, terminal and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211014000.8A CN115426263B (en) | 2022-08-23 | 2022-08-23 | A method for updating map data, terminal and computer storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115426263A CN115426263A (en) | 2022-12-02 |
| CN115426263B true CN115426263B (en) | 2024-11-29 |
Family
ID=84197907
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211014000.8A Active CN115426263B (en) | 2022-08-23 | 2022-08-23 | A method for updating map data, terminal and computer storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115426263B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103620661A (en) * | 2011-06-22 | 2014-03-05 | Sk普兰尼特有限公司 | System and method for partially updating map data based on user's movement path, service device, terminal device, and recording medium |
| CN111510318A (en) * | 2020-03-10 | 2020-08-07 | 深圳市广和通无线股份有限公司 | Positioning information configuration method, positioning information configuration device, communication equipment and storage medium |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11768965B2 (en) * | 2017-08-09 | 2023-09-26 | Icrypto, Inc | System and method for securely storing data in a SIM |
| CN110118570A (en) * | 2019-04-18 | 2019-08-13 | 百度国际科技(深圳)有限公司 | Map data updating method, device, server, engine end and storage medium |
| CN110134755B (en) * | 2019-05-28 | 2021-06-01 | 北京百度网讯科技有限公司 | Map update method, device, device, server and medium |
| CN110765223A (en) * | 2019-10-24 | 2020-02-07 | 北京百度网讯科技有限公司 | Map update processing method, device, device and storage medium |
| CN111966776B (en) * | 2020-08-27 | 2024-05-03 | Oppo广东移动通信有限公司 | Map construction method, map construction device, electronic equipment and storage medium |
-
2022
- 2022-08-23 CN CN202211014000.8A patent/CN115426263B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103620661A (en) * | 2011-06-22 | 2014-03-05 | Sk普兰尼特有限公司 | System and method for partially updating map data based on user's movement path, service device, terminal device, and recording medium |
| CN111510318A (en) * | 2020-03-10 | 2020-08-07 | 深圳市广和通无线股份有限公司 | Positioning information configuration method, positioning information configuration device, communication equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115426263A (en) | 2022-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101600149B (en) | Cell position obtaining and positioning method, positioning service device and system | |
| KR101693948B1 (en) | Method and system for converting the settings of mobile terminal using cell identification inforation | |
| CN110769038A (en) | Server scheduling method and device, storage medium and electronic equipment | |
| KR101696508B1 (en) | Enhancement of positioning quality of service | |
| CN108280995B (en) | Road condition data processing method and device of Internet of vehicles and computer equipment | |
| CN102523278B (en) | Cloud-computing based service providing method and network operator server | |
| CN110362598B (en) | Data query method and device, storage medium and electronic equipment | |
| CN114158035B (en) | OTA upgrade message pushing method and device | |
| CN112272358B (en) | Weather early warning method and device and electronic equipment | |
| CN110972071A (en) | Multi-mode positioning method, positioning server, terminal and storage medium | |
| CN105763595A (en) | Method of improving data processing efficiency and server | |
| CN111787483A (en) | Position determination method and device | |
| CN115426263B (en) | A method for updating map data, terminal and computer storage medium | |
| CN114205329A (en) | Equipment coding method and device | |
| CN113608856A (en) | Node scheduling method, system and device | |
| CN103763731A (en) | Positioning detection method and device | |
| CN113947231A (en) | Method and device for predicting idleness of charging station | |
| WO2020181819A1 (en) | Intelligent scheduling method and apparatus, computer device and storage medium | |
| WO2021121176A1 (en) | Method and device for updating status information of sim card, and server | |
| CN112788153B (en) | Internet of things equipment upgrading management method, device, equipment and storage medium | |
| CN103248506B (en) | The authority control method of equipment control and terminal | |
| CN107766212B (en) | Method and device for determining installation status of application program | |
| CN115185658B (en) | A task offloading scheduling method based on time and communication reliability and related products | |
| CN113721938B (en) | Edge-to-edge collaborative task processing method, device and system adapted to power Internet of Things | |
| CN104219641A (en) | Information transmitting method and 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |