CN115297539A - Time synchronization method and system for Internet of vehicles terminal and electronic equipment - Google Patents

Time synchronization method and system for Internet of vehicles terminal and electronic equipment Download PDF

Info

Publication number
CN115297539A
CN115297539A CN202211232448.7A CN202211232448A CN115297539A CN 115297539 A CN115297539 A CN 115297539A CN 202211232448 A CN202211232448 A CN 202211232448A CN 115297539 A CN115297539 A CN 115297539A
Authority
CN
China
Prior art keywords
time
time data
data
server
target server
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.)
Granted
Application number
CN202211232448.7A
Other languages
Chinese (zh)
Other versions
CN115297539B (en
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.)
Lianyou Zhilian Technology Co ltd
Original Assignee
Lianyou Zhilian Technology 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 Lianyou Zhilian Technology Co ltd filed Critical Lianyou Zhilian Technology Co ltd
Priority to CN202211232448.7A priority Critical patent/CN115297539B/en
Publication of CN115297539A publication Critical patent/CN115297539A/en
Application granted granted Critical
Publication of CN115297539B publication Critical patent/CN115297539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/06Airborne or Satellite Networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a method and a system for synchronizing time of a vehicle networking terminal and electronic equipment, wherein the method comprises the following steps: a) Acquiring time data from a private server or a public server and synchronizing the time data into local time data; b) Logging in a target server to perform service interaction; c) The method comprises the steps of regularly acquiring and comparing time data of a target server and a global navigation satellite system, and regulating and controlling the time data of the target server or the time data of the global navigation satellite system to be credible time data according to the size relation between the time difference between the target server and the global navigation satellite system and a preset value; and regulating and controlling the trusted time data to be synchronous into new local time data according to the judged magnitude relation between the time difference between the trusted time data and the local time data and a preset value. According to the technical scheme, the time accuracy of the vehicle terminal in a long-time research and development working state can be improved, the reliability of the rotation data is improved, and the accuracy of data analysis is improved.

Description

Time synchronization method and system for Internet of vehicles terminal and electronic equipment
Technical Field
The invention belongs to the technical field of Internet of vehicles, and particularly relates to a time synchronization method for a terminal of the Internet of vehicles; the invention also relates to a time synchronization system of the Internet of vehicles terminal; the invention also relates to an electronic device.
Background
With the advent of the internet of everything era, the internet of vehicles is an inevitable trend, at present, most terminals of the internet of vehicles have the problem of inaccurate time, so that target background servers cannot be connected, the data of the whole vehicles cannot be received, the information of the vehicles cannot be inquired by a background, meanwhile, the inaccurate time for receiving the data of the whole vehicles cannot be accurately caused by the inaccurate time, the problems of abnormal data analysis and the like caused by the inaccurate time in the vehicle research and development process can be caused, and therefore, the method for synchronizing the time of the terminals of the internet of vehicles avoids the problem that the servers cannot be connected, and brings convenience to the research, development and testing of the vehicles.
Therefore, how to provide a time synchronization method for a car networking terminal, which can improve the time accuracy of the car terminal in a long-time research and development working state, improve the reliability of the rotation data, and improve the accuracy of data analysis, has become a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In order to solve the technical problems, the invention provides a time synchronization method for a vehicle networking terminal, which can improve the time accuracy of the vehicle terminal in a long-time research and development working state, improve the reliability of rotation data and improve the accuracy of data analysis.
The technical scheme provided by the invention is as follows:
the invention provides a time synchronization method for a car networking terminal, which comprises the following steps: a) When the initial power-on correction is executed, time data are obtained from a private server or a public server and synchronized into local time data; b) Logging in a target server to perform service interaction; c) Executing working state timing, regularly acquiring and comparing time data of a target server and a global navigation satellite system, and regulating and controlling the time data of the target server or the time data of the global navigation satellite system to be credible time data according to the size relation between the time difference between the target server and the global navigation satellite system obtained by judgment and a preset value; and regulating and controlling the trusted time data to be synchronous into new local time data according to the judged magnitude relation between the time difference between the trusted time data and the local time data and a preset value.
Further, in a preferred embodiment of the present invention, the executing the initial power-on calibration specifically includes: performing a first judgment, wherein the first judgment is to judge whether the first time data of the private server can be acquired: if yes, synchronizing the first time data, and if not, performing second judgment; the second judgment is to judge whether second time data of the common server can be acquired: if yes, synchronizing the second time data, and if not, waiting for the first preset time and then re-executing the step a).
Further, in a preferred mode of the present invention, the executing the initial power-on calibration further specifically includes: and synchronizing the first time data or the second time data into local time data.
Further, in a preferred mode of the present invention, the first preset time is 1 to 10 seconds.
Further, in a preferred mode of the present invention, the executing the working state timing specifically includes: performing a third judgment, namely judging whether third time data of a target server and fourth time data of a global navigation satellite system can be acquired or not, and if so, performing a first comparison judgment on the third time data and the fourth time data; if not, the step c) is executed again after waiting for the second preset time; the first comparison judgment is to judge the size of a difference value A between the third time data and the fourth time data, if the difference value A is greater than a third preset time, the fourth time data is used as credible time data, and if the difference value A is less than the third preset time, the third time data is used as credible time data.
Further, in a preferred embodiment of the present invention, the executing the working state timing further specifically includes: and performing a fourth judgment, wherein the fourth judgment is to judge the size of a difference B between the trusted time data and the local time data, if the difference B is greater than a fourth preset time, synchronizing the trusted time data as new local time data, and if the difference B is less than the fourth preset time, waiting for a fifth preset time, and then re-executing the step c).
Further, in a preferred mode of the present invention, the second preset time is 1 to 10 seconds; the third preset time is 1-10 seconds; the fourth preset time is 1-10 seconds; the fifth preset time is 3-300min.
The invention also provides a time synchronization system for the car networking terminal, which comprises: the first execution module is used for executing initial power-on timing; the second execution module is used for logging in the target server to perform service interaction; and the third execution module is used for executing working state timing.
The invention also provides a time synchronization system of the car networking terminal, which comprises: a data processing module; the networking module is in signal connection with the data processing module and is used for being connected with the private server, the public server and the target server; and the GNSS module is in signal connection with the data processing module.
The present invention also provides an electronic device, comprising: a memory for storing a computer program for executing the time synchronization method of the internet of vehicles terminal; a processor for processing the computer program.
Compared with the prior art, the time synchronization method for the car networking terminal provided by the invention comprises the following steps: a) When the initial power-on correction is executed, time data are obtained from a private server or a public server and synchronized into local time data; b) Logging in a target server to perform service interaction; c) Executing working state timing, regularly acquiring and comparing time data of the target server and the global navigation satellite system, and regulating and controlling the time data of the target server or the time data of the global navigation satellite system to be credible time data according to the size relation between the time difference between the target server and the global navigation satellite system obtained by judgment and a preset value; and regulating and controlling the trusted time data to be synchronous into new local time data according to the judged magnitude relation between the time difference between the trusted time data and the local time data and a preset value. Compared with the prior art, the technical scheme provided by the invention can improve the time accuracy of the vehicle terminal in a long-time research and development working state, improve the reliability of the rotation data and improve the accuracy of data analysis.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating steps of a method for synchronizing time of terminals in a vehicle networking system according to an embodiment of the present invention;
fig. 2 is a service flow chart of a time synchronization method for a terminal in a vehicle networking system according to an embodiment of the present invention;
fig. 3 is a connection structure diagram of the time synchronization system of the car networking terminal according to the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that when an element is referred to as being "fixed" or "disposed" on another element, it can be directly on the other element or be indirectly disposed on the other element; when an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
It will be understood that the terms "length," "width," "upper," "lower," "front," "rear," "first," "second," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship indicated in the drawings that is solely for the purpose of facilitating the description and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and is therefore not to be construed as limiting the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "plurality" or "a plurality" means two or more unless specifically defined otherwise.
It should be understood that the structures, ratios, sizes, and the like shown in the drawings are only used for matching the disclosure of the present disclosure, and are not used for limiting the conditions of the present disclosure, so that the present disclosure is not limited to the technical essence, and any modifications of the structures, changes of the ratios, or adjustments of the sizes, can still fall within the scope of the present disclosure without affecting the function and the achievable purpose of the present disclosure.
As shown in fig. 1 and fig. 3, a time synchronization method for a car networking terminal provided by an embodiment of the present invention includes: a) When the initial power-on correction is executed, time data are obtained from a private server or a public server and synchronized into local time data; b) Logging in a target server to perform service interaction; c) Executing working state timing, regularly acquiring and comparing time data of a target server and a global navigation satellite system, and regulating and controlling the time data of the target server or the time data of the global navigation satellite system to be credible time data according to the size relation between the time difference between the target server and the global navigation satellite system obtained by judgment and a preset value; and regulating and controlling the trusted time data to be synchronous into new local time data according to the judged magnitude relation between the time difference between the trusted time data and the local time data and a preset value.
The embodiment of the invention provides a time synchronization method for a vehicle networking terminal, wherein a vehicle terminal (locally) is connected with a private server or a public server and then is subjected to online operation; the time of basic data information sent by the current vehicle terminal is ensured to be synchronous with the server, so that the accuracy of the vehicle data is improved. Further, in the prior art, after the vehicle terminal logs in the target server, along with the operation of the vehicle, the connection between the vehicle terminal and the target server is interrupted instantaneously, so that the time of the vehicle data uploaded by the vehicle terminal is gradually increased to be longer than the time of the target server, and further, the time of the data received by the target server later is not matched with the time of the previous whole data, and a data error is caused. In order to solve the above problems, in the embodiments of the present invention, a method step of performing timing in the operating state is included to ensure that a difference between a time of the vehicle terminal and a time of the target server is within a reasonable range along with the duration of the operating state, so as to improve reliability of returned data in the long-time operating state of the vehicle terminal. Still further, in the solution of the present invention, the time of the vehicle terminal is calibrated by combining the time data of the target server and the Global Navigation Satellite System (GNSS) at the same time. When the received time difference between the target server and a Global Navigation Satellite System (GNSS) is larger than a certain value, the time of the target server is preferentially selected as the credible time, and on the basis, when the time difference between the vehicle terminal and the credible time is larger than the certain value, the time of the credible time is synchronized to the vehicle terminal, so that the time accuracy of the vehicle terminal in a long-time working state is further improved. The technical scheme provided by the invention can improve the time accuracy of the vehicle terminal in a long-time research and development working state, improve the reliability of the rotation data and improve the accuracy of data analysis.
In the prior art, as the vehicle moves, the networking state of the vehicle terminal is continuously changed, so that the time of the target server received by the vehicle terminal is different, that is, the time of the target server is not reliable relative to the vehicle terminal. When the target server has a time difference with a Global Navigation Satellite System (GNSS), the time of the vehicle terminal needs to be aligned with a trusted time.
Specifically, in the embodiment of the present invention, the executing of the initial power-on timing specifically includes: performing a first judgment, wherein the first judgment is to judge whether the first time data of the private server can be acquired: if yes, synchronizing the first time data, and if not, performing second judgment; the second judgment is to judge whether second time data of the common server can be acquired: if yes, synchronizing the second time data, and if not, waiting for the first preset time and then re-executing the step a).
It should be noted that, in this embodiment, the private server is preferentially selected to perform timing on the vehicle terminal (local), so as to improve the efficiency of logging in the target server by the vehicle terminal. If the private server is not connected, the public server is selected to be connected to ensure that the vehicle terminal can be connected with the target server as much as possible.
Specifically, in the embodiment of the present invention, the executing the initial power-on timing further specifically includes: and synchronizing the first time data or the second time data into local time data.
The synchronization of the first time data or the synchronization of the second time data means that the time of the vehicle terminal is adjusted to be consistent with the first time data or the second time data.
Specifically, in the embodiment of the present invention, the first preset time is 1 to 10 seconds.
It should be noted that, in a specific embodiment, the first preset time is 3 seconds.
Specifically, in the embodiment of the present invention, the performing the working state timing specifically includes: performing a third judgment, namely judging whether third time data of a target server and fourth time data of a Global Navigation Satellite System (GNSS) can be acquired or not, and if so, performing a first comparison judgment on the third time data and the fourth time data; if not, the step c) is executed again after waiting for the second preset time; the first comparison judgment is to judge the size of a difference value A between the third time data and the fourth time data, if the difference value A is greater than a third preset time, the fourth time data is used as credible time data, and if the difference value A is less than the third preset time, the third time data is used as credible time data.
Specifically, in the embodiment of the present invention, the executing of the working state timing further specifically includes: and performing a fourth judgment, wherein the fourth judgment is to judge the size of a difference B between the trusted time data and the local time data, if the difference B is greater than a fourth preset time, synchronizing the trusted time data as new local time data, and if the difference B is less than the fourth preset time, waiting for a fifth preset time, and then re-executing the step c).
It should be noted that, during the operation of the vehicle terminal, the third determination is performed within a certain time range, but the fourth determination is initiated whenever the vehicle terminal is capable of connecting to the target server and a Global Navigation Satellite System (GNSS) at the same time. The essence of the fourth judgment is that a time delay exists in a target server to which the vehicle terminal is connected along with the movement of the vehicle, whether the connection state of the vehicle terminal and the target server meets requirements or not can be judged by judging the time difference between the target server and a Global Navigation Satellite System (GNSS), and then the trusted time is obtained, and when the time difference between the vehicle terminal and the trusted time is larger than a certain value, the time of the vehicle terminal is aligned with the trusted time, so that the data reliability of the vehicle system is improved.
Specifically, in the embodiment of the present invention, the second preset time is 1 to 10 seconds; the third preset time is 1-10 seconds; the fourth preset time is 1-10 seconds; the fifth preset time is 3-300min.
The invention also provides a time synchronization system of the car networking terminal, which comprises: the first execution module is used for executing initial power-on timing; the second execution module is used for logging in the target server to perform service interaction; and the third execution module is used for executing working state timing.
The invention provides a time synchronization system of a car networking terminal, and the time synchronization system also has the technical effects.
The invention also provides a time synchronization system for the car networking terminal, which comprises: a data processing module; the networking module is in signal connection with the data processing module and is used for being connected with the private server, the public server and the target server; and the GNSS module is in signal connection with the data processing module.
The invention provides a time synchronization system of a car networking terminal, and the time synchronization system also has the technical effects.
It should be noted that the GNSS module is used for connecting a global navigation satellite system.
The present invention also provides an electronic device, comprising: a memory for storing a computer program for executing the time synchronization method of the in-vehicle networking terminal; a processor for processing the computer program.
The invention provides an electronic device which also has the technical effects.
More specifically, the invention relates to the technical field of vehicle networking, in particular to a time synchronization method for a vehicle networking terminal, and the current time synchronization source of the vehicle networking terminal comprises: the system comprises a private server time synchronization source, a public server time synchronization source, a GNSS time source and a target server time synchronization source. The time synchronization of the Internet of vehicles comprises two parts, namely initial power-on time correction and working state time correction, in order to avoid that the target server cannot be connected due to time check errors during the initial power-on, the time of the private server is firstly obtained, the time of the public server is obtained if the private server is unavailable, time synchronization initialization is carried out so as to be convenient for connecting the target server and start service interaction, and in the working state, GNSS time and the time of the target server are periodically obtained to judge the time correction. The time synchronization method avoids the problems that the GNSS signal is poor in time acquisition and cannot be connected with a target server due to the time verification problem, meanwhile, accurate time is provided for the Internet of vehicles terminal, the time is continuously calibrated in long-term work, and the monitoring and testing of vehicles are more convenient.
The technical scheme adopted by the invention is as follows: a time synchronization method for a vehicle networking terminal is characterized in that a networking module in the vehicle networking terminal acquires time from a private server time synchronization source, a public server time synchronization source and a target server time synchronization source, and a GNSS module in the vehicle networking terminal (vehicle terminal) is connected with a satellite (global navigation satellite system) to acquire GNSS time source time. The time correction stage of the Internet of vehicles comprises initial power-on time correction and working state time correction.
In the foregoing method for synchronizing time of a terminal in a vehicle networking system, the initial power-on timing includes: firstly, time of a private server time synchronization source is obtained, if the time is obtained, the time is synchronized to the local, if the time is not obtained, the time is obtained from a public server time synchronization source, if the time is obtained, the time is synchronized to the local, if the time is not obtained, and the rule is circulated for 3 seconds periodically. And after any available time is obtained, time synchronization initialization is completed, and the target server is logged in to start service interaction.
In the foregoing method for synchronizing time of the car networking terminal, the working state timing includes: firstly, judging whether the target server time and the GNSS time can be acquired simultaneously or not, waiting for three seconds to continue acquiring the two times until the two times are acquired simultaneously, if the time difference between the two times is more than 3 seconds, considering the GNSS time to be credible, otherwise, considering the target server time to be credible, if the time difference between the credible time and the local time is more than three seconds, performing time synchronization to the local, otherwise, not performing time synchronization, and circularly continuing to execute the rule after waiting for two hours.
In a use embodiment of the invention:
as shown in fig. 2, which is a schematic view of the overall structure, the networking module in the car networking terminal connects with a private server (time synchronization source), a public server (time synchronization source), and a target server (time synchronization source) through a base station to obtain time, and the GNSS module connects with a satellite to obtain GNSS time source time.
As shown in fig. 3, which is a flow chart of a time synchronization execution process, when the power is initially turned on, the time of the time synchronization source of the private server is firstly acquired, the acquired time is synchronized to the local, the time is acquired from the time synchronization source of the public server if the time is not acquired, the acquired time is synchronized to the local (vehicle terminal), neither time is acquired, and the rule is periodically circulated for 3 seconds. And after any available time is obtained, time synchronization initialization is completed, and the target server is logged in to start service interaction.
In the working state, firstly, judging whether the target server time and the GNSS time can be acquired simultaneously or not, if the target server time and the GNSS time cannot be acquired simultaneously, waiting for three seconds to continue acquiring the two times until the two times are acquired simultaneously, if the time difference between the two times is more than 3 seconds, considering the GNSS time to be credible, otherwise, considering the target server time to be credible, if the time difference between the credible time and the local time is more than three seconds, carrying out time synchronization to the local, otherwise, not carrying out time synchronization, and waiting for two hours to circularly continue executing the rule.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A time synchronization method for terminals in the Internet of vehicles is characterized by comprising the following steps:
a) When the initial power-on correction is executed, time data are obtained from a private server or a public server and synchronized into local time data;
b) Logging in a target server to perform service interaction;
c) Executing working state timing, regularly acquiring and comparing time data of a target server and a global navigation satellite system, and regulating and controlling the time data of the target server or the time data of the global navigation satellite system to be credible time data according to the size relation between the time difference between the target server and the global navigation satellite system obtained by judgment and a preset value;
and regulating and controlling the trusted time data to be synchronous into new local time data according to the judged magnitude relation between the time difference between the trusted time data and the local time data and a preset value.
2. The time synchronization method for the car networking terminal according to claim 1, wherein the executing of the initial power-on calibration specifically comprises:
performing a first judgment, wherein the first judgment is to judge whether the first time data of the private server can be acquired: if yes, synchronizing the first time data, and if not, performing second judgment;
the second judgment is to judge whether second time data of the common server can be acquired: if yes, synchronizing the second time data, and if not, waiting for the first preset time and then re-executing the step a).
3. The time synchronization method for the terminals in the internet of vehicles according to claim 2, wherein the initial power-on calibration is further specifically performed as follows:
and synchronizing the first time data or the second time data into local time data.
4. The time synchronization method for the terminals in the Internet of vehicles according to claim 3, wherein the first preset time is 1 to 10 seconds.
5. The time synchronization method for the terminals in the internet of vehicles according to claim 1, wherein the performing of the working state timing specifically comprises:
performing a third judgment, namely judging whether third time data of a target server and fourth time data of a global navigation satellite system can be acquired or not, and if so, performing a first comparison judgment on the third time data and the fourth time data; if not, the step c) is executed again after the second preset time is waited for;
the first comparison judgment is to judge the size of a difference value A between the third time data and the fourth time data, if the difference value A is greater than a third preset time, the fourth time data is used as credible time data, and if the difference value A is less than the third preset time, the third time data is used as credible time data.
6. The time synchronization method for the terminals in the internet of vehicles according to claim 5, wherein the executing of the working state timing further specifically comprises: and performing a fourth judgment, wherein the fourth judgment is to judge the size of a difference B between the trusted time data and the local time data, if the difference B is greater than a fourth preset time, synchronizing the trusted time data as new local time data, and if the difference B is less than the fourth preset time, waiting for a fifth preset time, and then re-executing the step c).
7. The time synchronization method for the terminals in the Internet of vehicles according to claim 6, wherein the second preset time is 1 to 10 seconds; the third preset time is 1 to 10 seconds; the fourth preset time is 1 to 10 seconds; the fifth preset time is 3 to 300min.
8. A vehicle networking terminal time synchronization system is used for realizing the vehicle networking terminal time synchronization method of any one of claims 1 to 7, and comprises the following steps: the first execution module is used for executing initial power-on timing; the second execution module is used for logging in the target server to perform service interaction; and the third execution module is used for executing working state timing.
9. A vehicle networking terminal time synchronization system is used for realizing the vehicle networking terminal time synchronization method of any one of claims 1 to 7, and comprises the following steps: a data processing module; the networking module is in signal connection with the data processing module and is used for being connected with the private server, the public server and the target server; and the GNSS module is in signal connection with the data processing module.
10. An electronic device, comprising:
a computer program for executing the time synchronization method of the vehicle networking terminal according to any one of claims 1 to 7;
a memory for storing the computer program;
a processor for executing the computer program.
CN202211232448.7A 2022-10-10 2022-10-10 Internet of vehicles terminal time synchronization method, system and electronic equipment Active CN115297539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211232448.7A CN115297539B (en) 2022-10-10 2022-10-10 Internet of vehicles terminal time synchronization method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211232448.7A CN115297539B (en) 2022-10-10 2022-10-10 Internet of vehicles terminal time synchronization method, system and electronic equipment

Publications (2)

Publication Number Publication Date
CN115297539A true CN115297539A (en) 2022-11-04
CN115297539B CN115297539B (en) 2023-02-03

Family

ID=83819297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211232448.7A Active CN115297539B (en) 2022-10-10 2022-10-10 Internet of vehicles terminal time synchronization method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN115297539B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180011199A1 (en) * 2016-07-05 2018-01-11 Government Of United States Of America, As Represented By The Secretary Of Commerce Disciplined clock for providing a disciplined time and a disciplined frequency synchronous with a reference clock
US20200137706A1 (en) * 2013-07-26 2020-04-30 Huawei Device Co., Ltd. Synchronization signal carrying method and user equipment
CN111464978A (en) * 2019-01-22 2020-07-28 岳秀兰 Vehicle remote driving system established by connection of primary wireless equipment and secondary wireless equipment through Internet of things
CN112203223A (en) * 2020-12-02 2021-01-08 北京大唐高鸿数据网络技术有限公司 Position determination method and device and Internet of vehicles equipment
CN114826463A (en) * 2021-01-28 2022-07-29 华为技术有限公司 Time synchronization method and vehicle-mounted equipment
CN115102656A (en) * 2022-06-22 2022-09-23 北斗星通智联科技有限责任公司 Time correction method and device based on multiple time sources and vehicle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200137706A1 (en) * 2013-07-26 2020-04-30 Huawei Device Co., Ltd. Synchronization signal carrying method and user equipment
US20180011199A1 (en) * 2016-07-05 2018-01-11 Government Of United States Of America, As Represented By The Secretary Of Commerce Disciplined clock for providing a disciplined time and a disciplined frequency synchronous with a reference clock
CN111464978A (en) * 2019-01-22 2020-07-28 岳秀兰 Vehicle remote driving system established by connection of primary wireless equipment and secondary wireless equipment through Internet of things
CN112203223A (en) * 2020-12-02 2021-01-08 北京大唐高鸿数据网络技术有限公司 Position determination method and device and Internet of vehicles equipment
CN114826463A (en) * 2021-01-28 2022-07-29 华为技术有限公司 Time synchronization method and vehicle-mounted equipment
CN115102656A (en) * 2022-06-22 2022-09-23 北斗星通智联科技有限责任公司 Time correction method and device based on multiple time sources and vehicle

Also Published As

Publication number Publication date
CN115297539B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
EP3194892B1 (en) Automotive obd-ii device generating navigational information
US8510587B2 (en) Time synchronization system and server using a baseboard management controller acquiring time signals to record occurrence time of system logs before than host system
CN103309228B (en) The time-correcting method of vehicle-mounted terminal system
EP2790425B1 (en) Time calibration method and device
US7987298B2 (en) System and method for detecting the status of a universal serial bus port of a mobile phone
CN109903345B (en) Depth module calibration method, calibration device and computer readable storage medium
CN110460505B (en) Parallel bus time sequence calibration method and device and receiving end equipment
CN113075710B (en) Positioning difference information acquisition method, device, equipment and computer storage medium
US20140149815A1 (en) System and method for programming chips on circuit board through boundary scan technology
CN115297539B (en) Internet of vehicles terminal time synchronization method, system and electronic equipment
CN115022223A (en) Method and system for carrying out automatic test on TBOX through UDS
CN109308235B (en) Point inspection method and related device
US20090055125A1 (en) System and method for testing the accuracy of real time clocks
WO2023197600A1 (en) 5g signal spectrum detection method and apparatus, computer device, and storage medium
CN110912779A (en) Cluster host health detection method, system, equipment and readable storage medium
CN114360086B (en) Data processing method, data processing device, vehicle device and storage medium
CN110519001B (en) Clock synchronization method and device and ammeter communication module
CN110932930B (en) Detection method, device and medium for server PCIE link stability
CN113507487A (en) CAN communication safety detection method and device, electronic equipment and vehicle
CN108286364B (en) Door lock installation assisting method and device
CN112764071B (en) Differential positioning system, differential positioning method, differential positioning device, storage medium and server
CN114815573B (en) Ammeter time calibration method and device, electronic equipment and storage medium
CN110825064A (en) Testing method and device for pure electric vehicle anti-theft system and storage medium
CN117310454B (en) Chip testing method and related device
CN114267407B (en) Precision correction method, device and system and precision correction equipment

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