Search

CN-121980094-A - Time zone determining method, apparatus, vehicle-end control device, readable storage medium, and program product

CN121980094ACN 121980094 ACN121980094 ACN 121980094ACN-121980094-A

Abstract

The present application relates to a time zone determination method, apparatus, vehicle-end control device, readable storage medium, and program product. The method comprises the steps of obtaining current identification information by inquiring a local time zone database according to the position and the speed of the vehicle, configuring the time zone of the vehicle according to the basic identification in the current identification information if the vehicle is not located at the boundary, obtaining the accurate identification of the vehicle according to the current position information and the local time zone database if the vehicle is located at the boundary region, and configuring the time zone of the vehicle according to the accurate identification.

Inventors

  • LI PAN
  • YAN FANG
  • YU HONGCHAO

Assignees

  • 重庆蓝电汽车科技有限公司

Dates

Publication Date
20260505
Application Date
20260330

Claims (11)

  1. 1. A method of time zone determination, the method comprising: The method comprises the steps of inquiring a local time zone database according to current position information and current speed information of a vehicle to obtain current identification information corresponding to the vehicle, wherein the current identification information comprises basic identification and boundary identification, the local time zone database comprises identification information of a plurality of time zone grids, the identification information comprises time zone identifications and boundary identification, the time zone identifications comprise basic identifications corresponding to non-boundary areas and accurate identifications corresponding to boundary areas, and the time zone grid precision corresponding to the accurate identifications is higher than that corresponding to the basic identifications; if the boundary mark in the current mark information indicates that the vehicle is not located in the boundary area, configuring the time zone of the vehicle according to the basic mark in the current mark information; And if the boundary mark in the current mark information indicates that the vehicle is positioned in the boundary area, determining the accurate mark of the vehicle according to the current position information and the local time zone database, and configuring the time zone of the vehicle according to the accurate mark.
  2. 2. The method of claim 1, wherein querying a local time zone database based on current location information and current speed information of a vehicle to obtain current identification information corresponding to the vehicle comprises: determining the grid precision of the target time zone according to the current position information and the current speed information; inquiring the local time zone database according to the current position information to obtain a basic identifier and a boundary identifier with the grid precision of the target time zone; And obtaining the current identification information corresponding to the vehicle according to the basic identification and the boundary identification.
  3. 3. The method of claim 2, wherein determining a target time zone grid accuracy based on the current location information and the current speed information comprises: determining first time zone grid precision according to the geographic area type corresponding to the current position information; Determining second time zone grid precision according to the current speed information, wherein the second time zone grid precision is positively correlated with the current speed information; And determining the target time zone grid precision according to the first time zone grid precision and the second time zone grid precision.
  4. 4. The method of claim 1, wherein the step of constructing a local time zone database comprises: acquiring original region information; removing the region information belonging to the ocean region and the unmanned region in the original region information to obtain region information after region cutting; According to each geographical region type in the region information after region clipping, carrying out time zone grid division on the region information after region clipping, and determining the identification information of the divided time zone grids to obtain each time zone grid; and constructing the local time zone database according to each time zone grid containing the identification information.
  5. 5. The method of claim 4, wherein constructing the local time zone database from each of the time zone grids containing identifications comprises: acquiring each target time zone grid with continuous positions and identical identification information in each time zone grid; Generating time zone grid coding information corresponding to each group of target time zone grids according to the identification information of the group of target time zone grids and the number of the group of target time zone grids; compressing each time zone grid and each time zone grid coded information, and storing the compressed time zone grid and the time zone grid coded information in the local time zone database.
  6. 6. The method according to claim 1, wherein the method further comprises: detecting update information aiming at the local time zone database, and determining a target update strategy according to the current network delay; Updating the local time zone database according to the target updating strategy and the updating information; The target updating strategy comprises one or more of a differential updating strategy and an incremental snapshot updating strategy, wherein the differential updating strategy represents an updating strategy when the current network delay is in a first state, the incremental snapshot updating strategy represents an updating strategy when the current network delay is in a second state, and the current network delay in the first state is smaller than the current network delay in the second state.
  7. 7. The method according to any one of claims 1 to 6, further comprising: If the current position information is obtained abnormally, each backup strategy is sequentially executed according to a target execution sequence until a preset condition is met, wherein the preset condition comprises one or more of the current position information obtained and the current position information can not be obtained by each backup strategy; If the current position information cannot be obtained by each backup strategy, acquiring a time zone determination log corresponding to the vehicle; The maintenance equipment is used for carrying out abnormal maintenance on the vehicle according to the time zone determination log in the abnormal report; The backup strategy comprises one or more of obtaining the last cache position of the vehicle as the current position information, determining the current position information according to a user identification card in the vehicle, and determining the current position information according to a vehicle identification code of the vehicle.
  8. 8. A time zone determining apparatus, the apparatus comprising: The system comprises a query module, a local time zone database, a time zone identification module and a time zone identification module, wherein the query module is used for querying the local time zone database according to the current position information and the current speed information of a vehicle to obtain current identification information corresponding to the vehicle, the current identification information comprises a basic identification and a boundary identification, the local time zone database comprises identification information of a plurality of time zone grids, the identification information comprises a time zone identification and a boundary identification, the time zone identification comprises a basic identification corresponding to a non-boundary area and an accurate identification corresponding to a boundary area, and the time zone grid precision corresponding to the accurate identification is higher than the time zone grid precision corresponding to the basic identification; The first determining module is used for configuring the time zone of the vehicle according to the basic identifier in the current identifier information if the boundary identifier in the current identifier information indicates that the vehicle is not located in the boundary area; And the second determining module is used for determining the accurate identification of the vehicle according to the current position information and the local time zone database and configuring the time zone of the vehicle according to the accurate identification if the boundary identification in the current identification information indicates that the vehicle is positioned in the boundary area.
  9. 9. A vehicle-end control device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
  11. 11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.

Description

Time zone determining method, apparatus, vehicle-end control device, readable storage medium, and program product Technical Field The present application relates to the field of satellite positioning technology, and in particular, to a time zone determining method, a time zone determining device, a vehicle-end control device, a computer readable storage medium, and a computer program product. Background Vehicles span various regions during travel and often have different time zones for different regions and countries. In order to accurately reflect the local time of the vehicle, it is necessary to timely determine the time zone of the vehicle machine in the vehicle. The current way to determine the time zone of a vehicle in a vehicle is generally to rely on a network connection to query time zone information. However, depending on the wireless network to query time zone information, the wireless network is prone to failure in unstable network areas such as tunnels, remote areas and the like, so that time zone update cannot be performed. Therefore, the current method for determining the time zone in the vehicle has the defect of strong network dependence. Disclosure of Invention In view of the foregoing, it is desirable to provide a time zone determination method, apparatus, vehicle-end control device, computer-readable storage medium, and computer program product that can reduce network dependency. In a first aspect, the present application provides a time zone determination method comprising: The method comprises the steps of inquiring a local time zone database according to current position information and current speed information of a vehicle to obtain current identification information corresponding to the vehicle, wherein the current identification information comprises basic identification and boundary identification, the local time zone database comprises identification information of a plurality of time zone grids, the identification information comprises time zone identifications and boundary identification, the time zone identifications comprise basic identifications corresponding to non-boundary areas and accurate identifications corresponding to boundary areas, and the time zone grid precision corresponding to the accurate identifications is higher than that corresponding to the basic identifications; if the boundary mark in the current mark information indicates that the vehicle is not located in the boundary area, configuring the time zone of the vehicle according to the basic mark in the current mark information; And if the boundary mark in the current mark information indicates that the vehicle is positioned in the boundary area, determining the accurate mark of the vehicle according to the current position information and the local time zone database, and configuring the time zone of the vehicle according to the accurate mark. In a second aspect, the present application also provides a time zone determining apparatus comprising: The system comprises a query module, a local time zone database, a time zone identification module and a time zone identification module, wherein the query module is used for querying the local time zone database according to the current position information and the current speed information of a vehicle to obtain current identification information corresponding to the vehicle, the current identification information comprises a basic identification and a boundary identification, the local time zone database comprises identification information of a plurality of time zone grids, the identification information comprises a time zone identification and a boundary identification, the time zone identification comprises a basic identification corresponding to a non-boundary area and an accurate identification corresponding to a boundary area, and the time zone grid precision corresponding to the accurate identification is higher than the time zone grid precision corresponding to the basic identification; The first determining module is used for configuring the time zone of the vehicle according to the basic identifier in the current identifier information if the boundary identifier in the current identifier information indicates that the vehicle is not located in the boundary area; And the second determining module is used for determining the accurate identification of the vehicle according to the current position information and the local time zone database and configuring the time zone of the vehicle according to the accurate identification if the boundary identification in the current identification information indicates that the vehicle is positioned in the boundary area. In a third aspect, the present application also provides a vehicle-end control device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method when executing the computer program. In a fourth aspect, the present application