Disclosure of Invention
In view of the above, the present invention has been developed to provide a method for optimizing navigation data of an in-vehicle infotainment system that overcomes or at least partially solves the above-mentioned problems.
According to an aspect of the present invention, there is provided a method of optimizing navigation data for an in-vehicle infotainment system, comprising:
after the vehicle-mounted infotainment system is started, acquiring a nationwide map data packet prestored in the vehicle-mounted infotainment system;
determining map data of a common area belonging to a user in the national map data packet;
and deleting the map data of the map data which do not belong to the common area in the national map data packet.
Optionally, the determining map data of a common area belonging to a user in the national map data packet includes:
positioning the current position of the vehicle where the vehicle-mounted infotainment system is located;
determining a first area to which the current position belongs and at least one first adjacent area around the first area;
determining that the map data corresponding to the first region and the first neighboring region included in the national map data packet are map data of a common region of a user.
Optionally, the determining map data of a common area belonging to a user in the national map data packet includes:
positioning the current position of the vehicle where the vehicle-mounted infotainment system is located;
determining a first area to which the current position belongs and at least one first adjacent area around the first area;
displaying a national map plate on a user interface of a navigation application of the vehicle-mounted infotainment system, and highlighting the first area and the first adjacent area on the national map plate;
receiving the area selected by the user on the national map plate, and determining the map data corresponding to the area selected by the user, which is contained in the national map data packet, as the map data of the common area of the user.
Optionally, the determining map data of a common area belonging to a user in the national map data packet includes:
acquiring account information of a navigation application of a user logging in the vehicle-mounted information entertainment system;
determining at least one second area of multiple approaches of the user and at least one second adjacent area around the second area according to the account information;
and determining that the map data corresponding to the second area and the second adjacent area in the national map data packet are the map data of the common area of the user.
Optionally, the determining map data of a common area belonging to a user in the national map data packet includes:
acquiring account information of a navigation application of a user logging in the vehicle-mounted information entertainment system;
determining at least one second area of multiple approaches of the user and at least one second adjacent area around the second area according to the account information;
displaying a national map plate on a user interface of a navigation application of the vehicle-mounted infotainment system, and highlighting the second area and the second adjacent area on the national map plate;
receiving the area selected by the user on the national map plate, and determining the map data corresponding to the area selected by the user, which is contained in the national map data packet, as the map data of the common area of the user.
Optionally, the determining map data of a common area belonging to a user in the national map data packet includes:
displaying all areas contained in the national offline map data packet on a user interface of a navigation application of the in-vehicle infotainment system;
and receiving the area selected by the user, and determining the map data corresponding to the area selected by the user in the national map data packet as the map data of the common area of the user.
Optionally, the optimization method further includes:
and when a preset updating condition is reached, updating the national map data packet, wherein the preset updating condition comprises preset time at intervals.
Optionally, the updating the national map data packet includes:
acquiring the use data of the national map data packet by the user within a preset time length;
determining map data belonging to a new common area in the national map data packet according to the use data;
and deleting the map data of the map data which does not belong to the new common area in the national map data packet.
According to another aspect of the present invention, there is also provided an electronic device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the optimization method according to any one of the preceding claims.
According to yet another aspect of the present invention, there is also provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of code or set of instructions, which is loaded by a processor and which performs the optimization method according to any one of the preceding claims.
According to the scheme provided by the invention, after the vehicle-mounted infotainment host computer is started, a nationwide map data packet pre-stored in the vehicle-mounted infotainment system is obtained, then map data of common areas belonging to users in the nationwide map data packet are determined, and map data of map data which do not belong to the common areas in the nationwide map data packet are deleted. Therefore, the problems that the storage space of the system is wasted and the data space of the user is extruded due to a large amount of useless map data can be solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that the technical features of the embodiments and alternative embodiments of the present invention may be combined with each other without conflict.
FIG. 1 shows a flow diagram of a method for optimizing navigation data of an in-vehicle infotainment system according to one embodiment of the invention. As shown in fig. 1, the method may comprise at least the following steps:
step S102: after the vehicle-mounted information entertainment system is started, acquiring a nationwide map data packet prestored in the vehicle-mounted information entertainment system;
step S104: determining map data of common areas belonging to users in a nationwide map data packet;
step S106: and deleting the map data of the map data which do not belong to the common area in the national map data packet.
Based on the scheme provided by the invention, after the map data of the common areas belonging to the users in the nationwide map data packet are determined, the map data of the areas not belonging to the common areas in the nationwide map data packet are deleted, so that the storage space of the system can be saved, and the operation efficiency of the system can be improved.
The above-mentioned national map data packet includes map data of regions of provinces, cities, counties, and the following nationwide. The map data corresponding to the province level comprises map data of all areas in the province level coverage range, and navigation of the whole province can be achieved; the map data corresponding to the city level comprises map data of all areas in the city level coverage range, so that navigation of the whole city can be realized; the map data corresponding to the county level includes map data of all areas within the provincial level coverage, and navigation in the county level can be achieved.
In some embodiments of the present invention, as shown in fig. 2, the step S104 of determining the map data belonging to the common area of the user in the national map data packet may specifically include the following steps:
s1041 a: positioning the current position of a vehicle in which the vehicle-mounted infotainment system is positioned;
s1042 a: determining a first area to which the current position belongs and at least one first adjacent area around the first area;
s1043 a: and determining that the map data corresponding to the first area and the first adjacent area contained in the national map data packet are the map data of the common area of the user.
In this embodiment, the first area to which the current position belongs and at least one first adjacent area around the first area are used as the common area of the user.
If the current position belongs to the area, the province to which the area belongs can be determined as a first area, and other provinces adjacent to the province are determined as first adjacent areas. For example, if the current position of the vehicle in which the in-vehicle infotainment system is located is "refulgence international building" located in the hai lake district of beijing city, the first area can be determined as beijing city, the areas adjacent to beijing city include north heyday and tianjin city, north heyday and tianjin city can be determined as the first adjacent area, and the map data belonging to beijing city, north heyday and tianjin city in the national map data package is used as the map data of the commonly used areas of the user.
In addition, if the current position belongs to a region, the region may be determined as a first region, and another region adjacent to the region may be determined as a first adjacent region. For example, after the current position of the vehicle in which the in-vehicle infotainment system is located is "refulgence international building", the first area may be determined as a hai lake area, and the areas adjacent to the hai lake area include an sunny area, a west city area, a stone landscape area, an east city area, a chayote area, a xuanwu area, and a changping area, and then the sunny area, the west city area, the stone landscape area, the east city area, the chayote area, the xuanwu area, and the changping area may be determined as the first adjacent area, and the map data belonging to the areas of the hai lake area, the sunny area, the west city area, the stone landscape area, the east city area, the chayote area, the xuwu area, and the changping area in the national map data packet may be used as the map data of the common areas of the user.
It should be noted that the above criteria for selecting the first neighboring area may be determined according to the user's needs, and the invention is not limited thereto.
In some embodiments of the present invention, after step S1042a above, a national map tile may be displayed on the user interface of the navigation application of the in-vehicle infotainment system, the first area and the first neighboring area are highlighted on the national map tile, then the area selected by the user on the national map tile is received, and the map data corresponding to the area selected by the user and included in the national map packet is determined as the map data of the user' S common area.
Based on the above example, after determining that the first area is beijing city and the first adjacent area is hebei province and tianjin city according to the current position of the vehicle in which the vehicle-mounted infotainment system is located, in this embodiment, highlighting processing may be performed on beijing city, hebei province and tianjin city in a national map block displayed on a user interface of a navigation application of the vehicle-mounted infotainment system, and then an area selected by the user on the national map block is taken as a common area of the user, so that map data corresponding to the common area is determined in the national map data packet. The area selected by the user may be the aforementioned area in north Hebei province, Beijing City and Tianjin City, or may be other areas, specifically based on the area actually selected by the user.
The first region and the first adjacent region are highlighted on the national map tiles so that the user may be prompted to select these regions as commonly used regions.
In some other embodiments of the present invention, as shown in fig. 3, the step S104 of determining the map data belonging to the common area of the user in the national map data packet may further include the following steps:
step S1041 b: acquiring account information of a navigation application of a user logging in a vehicle-mounted information entertainment system;
step S1042 b: determining at least one second area of the multiple approaches of the user and at least one second adjacent area around the second area according to the account information;
step S1043 b: and determining that the map data corresponding to the second area and the second adjacent area contained in the national map data packet are the map data of the common area of the user.
The above account information is intercommunicated with account information of the navigation application in other terminal equipment of the user, for example, the user registers the account information at a mobile phone terminal. After the account information is acquired, at least one second area of multiple approaches of the user can be acquired according to the account information. The multiple times may be based on a time threshold, for example, the time threshold is 5, and then the area where the user approaches 5 times or more may be determined to be the common area of the user.
In one example, if it is determined that the at least one second area of the multiple paths of the user includes a hai lake area and a chang jun area according to the account information, the sunward area, the west city area, the stone landscape mountain area, the east city area, the rich platform area, and the xu wu area adjacent to the hai lake area may be determined as a second adjacent area, and the map data belonging to the hai lake area, the chang jun area, the sunward area, the west city area, the stone landscape mountain area, the east city area, the rich platform area, the xu wu area, the yan qing area, the huai huan, the yu wu area, the yu gou area in the national map data packet may be used as the map data of the common area of the user.
In some embodiments of the present invention, after step S1042b above, a national map tile may be displayed on the user interface of the navigation application of the in-vehicle infotainment system, the second region and the second neighboring region are highlighted on the national map tile, and then the region selected by the user on the national map tile is received, and the map data corresponding to the region selected by the user and included in the national map packet is determined as the map data of the user' S common region.
Based on the above example, after determining that the second area includes the hai lake area and the chang ping area according to the account information, and the second adjacent area includes the sunny area, the west city area, the stone landscape area, the east city area, the rich platform area, the xuan area, the delay celebration, the Huai Rui, the shui Rui and the gate head ditch, in this embodiment, the areas may be highlighted in a national map block displayed on a user interface of a navigation application of the vehicle-mounted information entertainment system, and then the area selected by the user on the national map block is used as the common area of the user, so that the map data corresponding to the common area is determined in the national map data packet. Wherein, the area selected by the user can be the area which is highlighted, or can be other areas, specifically the area actually selected by the user is taken as the standard,
the second region and the second adjacent region are highlighted on the national map tiles so that the user may be prompted to select these regions as commonly used regions.
In still other embodiments of the present invention, as shown in fig. 4, the step S104 of determining the map data belonging to the common area of the user in the national map data packet may further include the following steps:
step S1041 c: displaying all areas contained in a nationwide off-line map data packet on a user interface of a navigation application of the vehicle-mounted infotainment system;
step S1042 c: receiving the area selected by the user on the national map plate, and determining the map data corresponding to the area selected by the user in the national map data packet as the map data of the common area of the user.
In this embodiment, all areas included in the national offline map data packet may be displayed in a list/plate form on a user interface of a navigation application of the in-vehicle infotainment system, and then the area selected by the user is received, so that map data corresponding to the area selected by the user in the national map data packet is determined as map data of a commonly used area of the user, and the determined commonly used area may meet the requirements of the user.
In some embodiments of the invention, the national map data packet is updated when a preset update condition is reached, the preset update condition comprising a preset duration per interval.
Specifically, the usage data of the national map data packet by the user within the preset time length can be acquired, the map data belonging to the new common area in the national map data packet is determined according to the usage data, and the map data of the map data not belonging to the new common area in the national map data packet is deleted.
The usage data may include, for example, the number of times the user uses the application program of the national map data packet, each area through which the vehicle passes, the frequency of passing each area (that is, the frequency of using the map data of each area, based on which the user's common area can be identified), the area where the current position of the vehicle is located, and the like.
For example, the most recently determined common areas of the user include the haih lake area and the chang ping area, and after the usage data of the national map data packet by the user within the preset time length is acquired, the map data of the chang ping area is determined to be hardly used by the user within the preset time length, and then the map data of the chang ping area can be deleted from the national map data packet.
The preset time period may be one week, one month, or half a year, and the present invention is not particularly limited thereto.
According to another aspect of the present invention, there is also provided an electronic device comprising a processor and a memory, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the optimization method according to any one of the above embodiments.
According to an aspect of the present invention, there is also provided a computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, at least one program, set of codes, or set of instructions is loaded by a processor and executes the optimization method according to any one of the above embodiments.
The invention provides an optimization method of navigation data of a vehicle-mounted infotainment system. Therefore, the problems that the storage space of the system is wasted and the data space of the user is extruded due to a large amount of useless map data can be solved; in addition, the national map data packet is updated every preset time, so that the use requirement of a user on the map data can be further met.
It is clear to those skilled in the art that the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.