CN108897207A - A kind of method that onboard navigation system sets the local time automatically - Google Patents

A kind of method that onboard navigation system sets the local time automatically Download PDF

Info

Publication number
CN108897207A
CN108897207A CN201810838744.9A CN201810838744A CN108897207A CN 108897207 A CN108897207 A CN 108897207A CN 201810838744 A CN201810838744 A CN 201810838744A CN 108897207 A CN108897207 A CN 108897207A
Authority
CN
China
Prior art keywords
time
navigation system
local time
onboard navigation
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810838744.9A
Other languages
Chinese (zh)
Inventor
蔡泽锋
钟丽萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201810838744.9A priority Critical patent/CN108897207A/en
Publication of CN108897207A publication Critical patent/CN108897207A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G7/00Synchronisation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a kind of methods that onboard navigation system sets the local time automatically, including:Onboard navigation system is sent by local time zone, time, date information and UTC time;The onboard navigation system parses the data received, extracts local time zone, time, date information and UTC time respectively;According to local time zone information, the daylight-saving time calculation formula of this area is searched in algorithms library;In conjunction with local time zone, the ground daylight-saving time calculation formula, UTC time, the local time is calculated;The calculated local time is compared with the local time that parsing extracts, if coincideing, generates local time algorithm;The automatic setting to the local time can be completed according to local time zone, time, date information and UTC time in the onboard navigation system.Onboard navigation system is realized to the pre-setting function automatically of local time zone and time using the technical solution, transplantability is strong, and development cost reduces.

Description

A kind of method that onboard navigation system sets the local time automatically
Technical field
The present invention relates to vehicle technology field, in particular to a kind of onboard navigation system sets the side of local time automatically Method.
Background technique
With the rise of domestic automobile independent brand and the gradually saturation of domestic motor market, depot of more and more country Select overseas market as following business development direction.Along with the overseas enlargement of independent brand, the vehicle-mounted of configuration of automobiles is led Therefore boat system also produces corresponding adaptation demand.To the adaptation of exported product in addition to consider local national legislation, hand over Drift then, user's habit it is outer, there are one important adaptation demands, exactly set the local time.
For domestic project, onboard navigation system only needs to combine from GPS (Global Positioning System:Entirely Ball positioning system) obtain UTC (Dinated Universal Time:Coordinated Universal Time(UTC)) time and Chinese time zone, Ji Keshe Determine the local time.And for overseas project is exported, designer is it must be appreciated which country and area product specifically export to, so Afterwards according to the time zone on the ground and daylight-saving time, the local time algorithm on the ground is written in system software in advance, to realize locality The set-up function of time.Or increase network savvy in onboard navigation system, when directly acquiring locality by network server Between.
The first scheme lacks reusability at present, and system development quotient needs to carry out algorithm for different countries and area Design and adaptation work, increase development cost;And second scheme needs to increase network savvy, not only software development investment increases Add, and hardware cost also improves.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of method that onboard navigation system sets the local time automatically, realizes For onboard navigation system to the pre-setting function automatically of local time zone and time, transplantability is strong, and development cost reduces.
The method that a kind of onboard navigation system provided in an embodiment of the present invention sets the local time automatically, including:
Onboard navigation system is sent by local time zone, time, date information and UTC time;
The onboard navigation system parses the data received, extracts local time zone, time, date information respectively And UTC time;According to local time zone information, the daylight-saving time calculation formula of this area is searched in algorithms library;In conjunction with local time zone, The ground daylight-saving time calculation formula, UTC time, calculate the local time;The calculated local time is worked as with what parsing extracted The ground time is compared, if coincideing, generates local time algorithm;The onboard navigation system is according to local time zone, time, day The automatic setting to the local time can be completed in phase information and UTC time.
Optionally, mobile phone is sent by local time zone, time, date information time;Mobile phone is by bluetooth connection to vehicle-mounted Local time zone, time, date information are sent onboard navigation system by navigation system, mobile phone.
Optionally, UTC time information is provided to the onboard navigation system by GPS.
Optionally, after local time algorithm generates, the UTC time provided using GPS can set the local time, including: The onboard navigation system system obtains UTC time;When the onboard navigation system loads the locality generated by Bluetooth of mobile phone Between algorithm;By local time algorithm and real-time UTC time, the local time is calculated, the onboard navigation system setting is worked as The ground time.
Optionally, the onboard navigation system is in subsequent use process, if again through bluetooth connection mobile phone, it can be to working as Ground time algorithm is updated.
Optionally, mobile operator server is sent local time zone, time, date information in one's hands by NITZ agreement Machine.
Optionally, mobile phone gives the data forwarding received to the onboard navigation system by Bluetooth agreement.
Therefore using the present embodiment technical solution, due to the NITZ protocol data that is provided using mobile operator and Bluetooth function realizes that onboard navigation system to the pre-setting function automatically of local time zone and time, only develops a set of algorithm, nothing Need to be for the individually designed time algorithm of country variant and area, transplantability is strong, and software management difficulty decline, development cost reduces, Without increasing additional hardware cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is the structural schematic diagram that a kind of Bluetooth of mobile phone provided by the invention automatically generates local time algorithm;
Fig. 2 is a kind of method flow diagram for automatically generating local time algorithm provided by the invention;
Fig. 3 is a kind of method flow diagram for setting the local time provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment:
The present embodiment provides a kind of methods that onboard navigation system sets the local time automatically, as shown in Figure 1, including:
User mobile phone must access SIM (the Subscriber Identification of local mobile operator Module:Subscriber identification card) card, or accessed the mobile network that local mobile operator is provided, mobile operator service Device passes through NITZ (Network Identity and Time Zone:Network identity and time zone) agreement, by local time zone, when Between, date information be handed down to mobile phone, mobile phone, to onboard navigation system, and passes through Bluetooth agreement, general by bluetooth connection NITZ data forwarding is to onboard navigation system;By NMEA, (NMEA is National Marine Electronics to GPS The abbreviation of Association is the abbreviation of National Marine Electronics association, is the unified RTCM of GPS navigation equipment now (Radio Technical Commission for Maritime services:International ocean shipping cause radio technology committee member Meeting) standard agreement) agreement, current UTC time is sent to onboard navigation system.
As shown in Fig. 2, the onboard navigation system judges whether Bluetooth switch is opened, if bluetooth state is to open, under execution One step, otherwise terminates process;Further judgement, whether the onboard navigation system has passed through bluetooth connection to mobile phone, if connecting, It performs the next step, otherwise terminates process;The onboard navigation system issues mobile operation to handset requests by Bluetooth The NITZ data that quotient provides;The onboard navigation system obtains the NMEA data that GPS module provides, and extracts UTC time therein.
The onboard navigation system parses the NITZ data received, extracts local time zone, time a, day respectively Phase information and UTC time;The time zone in local library, the corresponding daylight-saving time algorithm in area are loaded, according to local time zone information, inside Set the daylight-saving time calculation formula that this area is searched in daylight-saving time algorithms library;From GPS receiver to NMEA protocol data in extract UTC Time;In conjunction with local time zone, the ground daylight-saving time calculation formula, UTC time, local time b is calculated;When will be calculated local Between b be compared with the local time a that extracts of parsing, if coincideing, generate local time algorithm.The local time algorithm After determination, subsequent of the onboard navigation system needs to obtain the UTC time of GPS offer, can be completed to local time b from Dynamic setting.When next bluetooth connection, local time algorithm can be updated automatically.
The onboard navigation system sets the local time, as shown in figure 3, including:The onboard navigation system system obtains UTC time;The onboard navigation system loads the local time algorithm generated by Bluetooth of mobile phone;By local time algorithm and Real-time UTC time, calculates local time b, and the onboard navigation system sets the local time.The onboard navigation system exists In subsequent use process, if can be updated to local time algorithm again through bluetooth connection mobile phone.
The NITZ protocol data and Bluetooth function that the present invention utilizes mobile operator to provide realize onboard navigation system to working as The pre-setting function automatically of ground time zone and time only develop a set of algorithm, without individually designed for country variant and area Time algorithm, transplantability is strong, and software management difficulty decline, development cost reduces;It is directly equal using most of onboard navigation system The ready-made NITZ agreement of the blue tooth interface and mobile operator that can be equipped with, without increasing additional hardware cost;Do not have in vehicle When time zone being caused to change, only automatically generating for time algorithm need to can be completed by a bluetooth connection in switching area;With a National different regions are likely to be at different time zone, using different daylight-saving time calculation methods, and this programme also can be realized vehicle and exist Automatic identification and the local time is set when switching different regions.
Embodiments described above does not constitute the restriction to the technical solution protection scope.It is any in above-mentioned implementation Made modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution within the spirit and principle of mode Within enclosing.

Claims (7)

1. a kind of method that onboard navigation system sets the local time automatically, which is characterized in that including:
Onboard navigation system is sent by local time zone, time, date information and UTC time;
The onboard navigation system parses the data received, respectively extract local time zone, the time, date information and UTC time;According to local time zone information, the daylight-saving time calculation formula of this area is searched in algorithms library;In conjunction with local time zone, it is somebody's turn to do Ground daylight-saving time calculation formula, UTC time, calculate the local time;The locality that calculated local time and parsing are extracted Time is compared, if coincideing, generates local time algorithm;The onboard navigation system is according to local time zone, time, date The automatic setting to the local time can be completed in information and UTC time.
2. a kind of method that onboard navigation system sets the local time automatically as described in claim 1, which is characterized in that will work as Ground time zone, time, date information time are sent to mobile phone;For mobile phone by bluetooth connection to onboard navigation system, mobile phone will be local Time zone, time, date information are sent to onboard navigation system.
3. a kind of method that onboard navigation system sets the local time automatically as claimed in claim 2, which is characterized in that pass through GPS provides UTC time information to the onboard navigation system.
4. a kind of method that onboard navigation system sets the local time automatically as claimed in claim 3, which is characterized in that local After time algorithm generates, the UTC time provided using GPS can set the local time, including:The onboard navigation system obtains Take UTC time;The onboard navigation system loads the local time algorithm generated by Bluetooth of mobile phone;Pass through local time algorithm And real-time UTC time, the local time is calculated, the onboard navigation system sets the local time.
5. a kind of method that onboard navigation system sets the local time automatically as claimed in claim 4, which is characterized in that described Onboard navigation system is in subsequent use process, if can be updated to local time algorithm again through bluetooth connection mobile phone.
6. a kind of method that onboard navigation system sets the local time automatically as claimed in claim 5, which is characterized in that mobile Carrier server sends mobile phone for local time zone, time, date information by NITZ agreement.
7. a kind of method that onboard navigation system sets the local time automatically as claimed in claim 6, which is characterized in that mobile phone By Bluetooth agreement, the data forwarding received is given to the onboard navigation system.
CN201810838744.9A 2018-07-27 2018-07-27 A kind of method that onboard navigation system sets the local time automatically Pending CN108897207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810838744.9A CN108897207A (en) 2018-07-27 2018-07-27 A kind of method that onboard navigation system sets the local time automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810838744.9A CN108897207A (en) 2018-07-27 2018-07-27 A kind of method that onboard navigation system sets the local time automatically

Publications (1)

Publication Number Publication Date
CN108897207A true CN108897207A (en) 2018-11-27

Family

ID=64352607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810838744.9A Pending CN108897207A (en) 2018-07-27 2018-07-27 A kind of method that onboard navigation system sets the local time automatically

Country Status (1)

Country Link
CN (1) CN108897207A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356024A (en) * 2021-12-08 2022-04-15 杭州华橙软件技术有限公司 Method for automatically setting daylight saving time in intelligent equipment, cloud platform and storage medium
CN114488226A (en) * 2022-01-15 2022-05-13 重庆长安汽车股份有限公司 Method and system for automatically switching time zone and time of vehicle-mounted unit based on GNSS positioning

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000221287A (en) * 1999-02-03 2000-08-11 Tamagawa Seiki Co Ltd Time correction method
CN102340567A (en) * 2010-07-20 2012-02-01 上海闻泰电子科技有限公司 Mobile phone and method for automatically setting time according to positioning of global positioning system (GPS)
CN102455656A (en) * 2010-10-22 2012-05-16 比亚迪股份有限公司 Automobile clock calibration system and calibration method
CN102538798A (en) * 2012-01-11 2012-07-04 广东好帮手电子科技股份有限公司 Navigation equipment as well as automatic switchover method and system of navigation display mode
CN102695145A (en) * 2012-05-11 2012-09-26 深圳天珑无线科技有限公司 Method and device for implementing time calibration of mobile terminal and mobile terminal
CN104396180A (en) * 2012-06-19 2015-03-04 日本电气株式会社 Clock synchronization system, clock synchronization method, and storage medium whereupon clock synchronization program is stored
CN105700337A (en) * 2014-11-28 2016-06-22 奇点新源国际技术开发(北京)有限公司 Clock synchronization method and device applied to vehicle-borne terminal
CN105910617A (en) * 2016-04-14 2016-08-31 和芯星通科技(北京)有限公司 Method and device for synchronization of sampling point time in vehicle navigation system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000221287A (en) * 1999-02-03 2000-08-11 Tamagawa Seiki Co Ltd Time correction method
CN102340567A (en) * 2010-07-20 2012-02-01 上海闻泰电子科技有限公司 Mobile phone and method for automatically setting time according to positioning of global positioning system (GPS)
CN102455656A (en) * 2010-10-22 2012-05-16 比亚迪股份有限公司 Automobile clock calibration system and calibration method
CN102538798A (en) * 2012-01-11 2012-07-04 广东好帮手电子科技股份有限公司 Navigation equipment as well as automatic switchover method and system of navigation display mode
CN102695145A (en) * 2012-05-11 2012-09-26 深圳天珑无线科技有限公司 Method and device for implementing time calibration of mobile terminal and mobile terminal
CN104396180A (en) * 2012-06-19 2015-03-04 日本电气株式会社 Clock synchronization system, clock synchronization method, and storage medium whereupon clock synchronization program is stored
CN105700337A (en) * 2014-11-28 2016-06-22 奇点新源国际技术开发(北京)有限公司 Clock synchronization method and device applied to vehicle-borne terminal
CN105910617A (en) * 2016-04-14 2016-08-31 和芯星通科技(北京)有限公司 Method and device for synchronization of sampling point time in vehicle navigation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356024A (en) * 2021-12-08 2022-04-15 杭州华橙软件技术有限公司 Method for automatically setting daylight saving time in intelligent equipment, cloud platform and storage medium
CN114356024B (en) * 2021-12-08 2023-11-21 杭州华橙软件技术有限公司 Method for automatically setting summer time in intelligent equipment, cloud platform and storage medium
CN114488226A (en) * 2022-01-15 2022-05-13 重庆长安汽车股份有限公司 Method and system for automatically switching time zone and time of vehicle-mounted unit based on GNSS positioning

Similar Documents

Publication Publication Date Title
US20060167627A1 (en) Method of generating a map display for a graphical user interface
CN102164342A (en) A method and system for physical mapassisted wireless access point locating
US20060213966A1 (en) Methods for determining operational settings and related devices
CN102056135A (en) Registering method for mobile terminal, mobile terminal and server
CN108897207A (en) A kind of method that onboard navigation system sets the local time automatically
CN111372238B (en) Login method, login device, electronic equipment and computer-readable storage medium
CN103179503A (en) Mobile terminal and reminding method
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
CN103837155B (en) Artificial background service-based navigation system and navigation method thereof
CN103327451A (en) Mobile phone location system, mobile phone location method and mobile phone
CN103987022A (en) Position information checking method and system based on mobile terminal and mobile terminal
US20030008619A1 (en) Location-based information service for identifying areas with degraded radio signal strength
CN105376715B (en) Location information acquisition methods and device
CN102706353B (en) Automatic switching method and navigating method of agent client map based on TSP (total suspended particulate)
CN109923506A (en) Information processing method and positioning chip, mobile terminal
CN106161813A (en) Transfer control method and device and transfer collocation method and device
KR20130017907A (en) Position data auto transmitting system over wireless data network and method of the same
CN109151765A (en) Method, the system, car-mounted terminal of automatic information reply when driving based on car-mounted terminal
US20040110491A1 (en) Portable terminal suitable for displaying related electronic mail, method of displaying electronic mail and program for displaying electronic mail
US20150095297A1 (en) Method and system for acquiring and issuing instruction, terminal, server and storage medium
CN104933557B (en) A kind of method and system for preventing POS machine strange land from trading
CN104410951A (en) Intelligent terminal tracking locating method and intelligent terminal
CN107708064A (en) A kind of method and system of mobile unit locating cellphone
CN113055961A (en) Wireless network connection method, device, router and storage medium
CN109120496A (en) A kind of information processing method based on converged communication, server and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127

RJ01 Rejection of invention patent application after publication