CN102546726B - Vehicle-mounted time synchronization serving method and system - Google Patents

Vehicle-mounted time synchronization serving method and system Download PDF

Info

Publication number
CN102546726B
CN102546726B CN201010622026.1A CN201010622026A CN102546726B CN 102546726 B CN102546726 B CN 102546726B CN 201010622026 A CN201010622026 A CN 201010622026A CN 102546726 B CN102546726 B CN 102546726B
Authority
CN
China
Prior art keywords
time
server
connection
client
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010622026.1A
Other languages
Chinese (zh)
Other versions
CN102546726A (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.)
Pateo Connect and Technology Shanghai Corp
Original Assignee
Shanghai Pateo Electronic Equipment Manufacturing 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 Shanghai Pateo Electronic Equipment Manufacturing Co Ltd filed Critical Shanghai Pateo Electronic Equipment Manufacturing Co Ltd
Priority to CN201010622026.1A priority Critical patent/CN102546726B/en
Publication of CN102546726A publication Critical patent/CN102546726A/en
Application granted granted Critical
Publication of CN102546726B publication Critical patent/CN102546726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses vehicle-mounted time synchronization serving method and system, by time synchronized function, corrected the time of mobile unit client, adjust to comparatively accurate state.Its technical scheme is: system comprises: time synchronized client, sets up be connected in real time with the full-time on-line system of vehicle, the time server in high in the clouds of being thrown to by the network event connected with the full-time on-line system of vehicle; The full-time on-line system of vehicle, sets up communication with time server and is connected; Time server, is synchronized to time synchronized client by temporal information after receiving the network event connected that time synchronized client dishes out.

Description

Vehicle-mounted time synchronization serving method and system
Technical field
The present invention relates to Time synchronization technique, particularly relate to the time synchronization serving method based on the vehicle real-time on-line system between high in the clouds and client and system.
Background technology
As time goes on, the time on it may be more and more inaccurate for mobile unit, and this can affect the function of some time sensitive application.
When mobile unit can come school by GPS device, but all there is gps signal in not all occasion, and under the emptying not having gps signal, vehicle just cannot deadline synchronous function.
Summary of the invention
The object of the invention is to solve the problem, provide a kind of vehicle-mounted time synchronization service system, by time synchronized function, corrected the time of mobile unit client, adjust to comparatively accurate state.
Another object of the present invention is to provide a kind of vehicle-mounted time synchronization serving method.
Technical scheme of the present invention is: present invention is disclosed a kind of vehicle-mounted time synchronization service system, comprises time synchronized client, the full-time on-line system of vehicle, time server, wherein:
Time synchronized client, sets up with the full-time on-line system of vehicle and is connected in real time, the time server in high in the clouds of being thrown to by the network event connected with the full-time on-line system of vehicle;
The full-time on-line system of vehicle, sets up communication with time server and is connected;
Time server, is synchronized to time synchronized client by temporal information after receiving the network event connected that time synchronized client dishes out.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, the standard time service device on time server and the Internet carries out periodic synchronization.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, time synchronized client receives the time synchronized request of user, and be transmitted to time server by the full-time on-line system of vehicle, when time server receives the time synchronized request of time synchronized client, temporal information is synchronized to time synchronized client.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, time synchronized client is sent to time server transmitting time synchronization request certainly every setting cycle.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, the full-time on-line system of vehicle comprises:
Load-balancing device, connects the communication of time synchronized client and is assigned on multiple stage connection server, to realize the cluster of connection server;
Connection server, set up communication with load-balancing device to be connected, receive the connection request distributed by load-balancing device from time synchronized client, when having connected by the information registering of each connection to metamessage server, the connection on metamessage server is nullified when connecting and disconnecting, the packet from time synchronized client received is sent to corresponding external application servers by signal repeater, receives the information pushing from message recipient and be pushed to corresponding time synchronized client;
Metamessage server, sets up communication with connection server and is connected, and provides the registration and unregistration service of connection, the annexation between record connection server and time synchronized client, and the connection pool on management server, inquires about link information;
Network event transmitter, the network event subscriber device that the network event between time synchronized client and connection server is sent to;
Signal repeater, sets up communication with connection server and is connected, the packets of information that time of reception sync client is sent by connection server, the application service belonging to identifying information bag, packets of information is transmitted to corresponding outside application server;
Message recipient, set up communication respectively with connection server and metamessage server to be connected, receive the packets of information of outside application server, by the connection server that metamessage server lookup is corresponding, then send to corresponding time synchronized client by connection server.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, connection server also carries out resource release by the connection pool on management server to the connection of time-out.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, the process of the connection server of metamessage server belonging to the connection of the identification number query time sync client of time synchronized client and hyphen information.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, the full-time on-line system of vehicle also comprises:
Authorization controller, set up communication with connection server with outside single logging-on server and be connected, whether authorization information sync client is legal.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, time synchronized client keeps the connection with connection server by the mode sending heartbeat packet.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, after time sync client disconnects with the current connection server be connected, the strategy when time synchronized client connects again by setting on load-balancing device makes time synchronized client still set up communication connection with the front connection server be once connected.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, after time sync client disconnects with the current connection server be connected, when time synchronized client connecting again by inquiring about the corresponding relation of time synchronized client and the connection server that metamessage server records, making time synchronized client still set up communication with the front connection server be once connected and connecting.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, after the authorization controller proving time, sync client was legal, then in metamessage server, record the annexation between connection server and time synchronized client.
According to an embodiment of vehicle-mounted time synchronization service system of the present invention, in metamessage server, first record the annexation between connection server and time synchronized client, whether legal by authorization controller proving time sync client again, illegally delete record corresponding in metamessage server afterwards verifying time synchronized client.
Present invention further teaches a kind of vehicle-mounted time synchronization serving method, comprising:
Time synchronized client is set up with the full-time on-line system of vehicle and is connected in real time;
The network event connected with the full-time on-line system of vehicle is thrown to the time server in high in the clouds by time synchronized client;
Temporal information is synchronized to time synchronized client by time server after receiving the network event connected that time synchronized client dishes out.
According to an embodiment of vehicle-mounted time synchronization serving method of the present invention, the standard time service device on time server and the Internet carries out periodic synchronization.
According to an embodiment of vehicle-mounted time synchronization serving method of the present invention, method also comprises:
Time synchronized request forward time synchronized client sent by vehicle full-time on-line system is to time server;
Temporal information is synchronized to time synchronized client when receiving the time synchronized request of time synchronized client by time server.
According to an embodiment of vehicle-mounted time synchronization serving method of the present invention, time synchronized request spontaneously to be sent by the cycle of time synchronized client every setting, or send after receiving user's request.
According to an embodiment of vehicle-mounted time synchronization serving method of the present invention, time synchronized client is set up with the full-time on-line system of vehicle the step be connected in real time and is comprised further:
Synchronizing information client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
Synchronizing information client sends login authentication information;
Connection server by login authentication information request forward to authorization controller;
Whether the login of authorization controller authorization information sync client is passed through, if do not passed through, connection closed, if by, the connection server of connection, synchronizing information client and user profile are registered to metamessage server, and the network event of successful connection is issued network event transmitter, network event transmitter sends connection establishment event to event subscription device, and connection server is replied successful connection to synchronizing information client and set up.
According to an embodiment of vehicle-mounted time synchronization serving method of the present invention, time synchronized client is set up with the full-time on-line system of vehicle the step be connected in real time and is comprised further:
Time synchronized client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
At connection server, time synchronized client-side information that metamessage server registration connects, and mark non-login authentication state;
Time synchronized client sends login authentication information;
Connection server by login authentication information request forward to authorization controller;
Whether the login of authorization controller proving time sync client is passed through, if do not passed through, connection closed, if by, to the user profile that metamessage server update connects, mark login authentication and pass through state, and the network event of successful connection is issued network event transmitter, network event transmitter sends connection establishment event to event subscription device, and connection server is replied successful connection to time synchronized client and set up.
The present invention contrasts prior art following beneficial effect: technical scheme of the present invention is time synchronized client time of reception synchronization request, and by time synchronized request forward to time server, but also self initiates time synchronized request to time server, after receiving the response from time server, upgrade the local device time.On time server and network, the time server of standard carries out periodic synchronization, and when receiving the time synchronized request from client, the up-to-date time is sent to client.
Accompanying drawing explanation
Fig. 1 shows the system construction drawing of the embodiment of vehicle-mounted time synchronization service system of the present invention.
Fig. 2 shows the system construction drawing of the full-time on-line system of vehicle of the present invention.
Fig. 3 shows the flow chart of the first embodiment of vehicle-mounted time synchronization serving method of the present invention.
Fig. 4 shows the flow chart of the second embodiment of vehicle-mounted time synchronization serving method of the present invention.
Fig. 5 shows the flow chart of the 3rd embodiment of vehicle-mounted time synchronization serving method of the present invention.
Fig. 6 shows the refinement flow chart of the first implementation of the step of the full-time on-line system of vehicle on the time synchronized client's side link in vehicle-mounted time synchronization serving method of the present invention.
Fig. 7 shows the refinement flow chart of the second implementation of the step of the full-time on-line system of vehicle on the time synchronized client's side link in vehicle-mounted time synchronization serving method of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
the embodiment of vehicle-mounted time synchronization service system
Fig. 1 shows the structure of the embodiment of vehicle-mounted time synchronization service system of the present invention.Refer to Fig. 1, the system of the present embodiment comprises: the full-time on-line system 20 of time synchronized client 10, vehicle, time server 30.
Communication relation between these devices: time synchronized client 10 is set up real-time communication with vehicle-mounted full-time on-line system 20 and is connected, time server 30 is set up communication with vehicle-mounted full-time on-line system 20 and is connected.
The operation logic of the system of the present embodiment is as follows.
The network event connected with the full-time on-line system 20 of vehicle is thrown to the time server 30 in high in the clouds by time synchronized client 10.
Temporal information is synchronized to time synchronized client 10 by time server 30 after receiving the network event connected that time synchronized client 10 dishes out.The time server of the standard on time server 30 and the Internet carries out periodic synchronization.
Time synchronized client 10 receives the time synchronized request of user, and be transmitted to time server 30 by the full-time on-line system 20 of vehicle, when time server 30 receives the time synchronized request of time synchronized client 10, temporal information is synchronized to time synchronized client 10.This is the method for synchronization receiving user's request.
Time synchronized client 10 is sent to time server 30 transmitting time synchronization request certainly every setting cycle.This is the spontaneous method of synchronization completed of client.
The refined structure of the full-time on-line system 20 of vehicle as shown in Figure 2, comprises time synchronized client 10, load-balancing device 201, multiple connection server 202, network event transmitter 203, signal repeater 204, metamessage server 205, message recipient 206, authorization controller 207.
Communication annexation between these equipment is: time synchronized client 10 is set up data communication by load-balancing device 201 with connection server 202 and is connected, network event transmitter 203 is set up data communication with connection server 202 and is connected, authorization controller 207 is set up data communication with connection server 202 and is connected, signal repeater 204 is set up data communication with connection server 202 and is connected, message recipient 206 is set up data communication respectively with metamessage server 205 and connection server 202 and is connected, set up data communication between metamessage server 205 and connection server 202 to connect.
It is below the operation logic of each device in the full-time on-line system 20 of vehicle of the present embodiment.
The communication of time synchronized client 10 connection is assigned on multiple stage connection server according to the strategy of load balancing, to realize the cluster of connection server by load-balancing device 201.Time synchronized client 10 keeps the connection with connection server 202 by the mode sending heartbeat packet.
Connection server 202 realizes several functions: receive the connection request distributed by load-balancing device 201 from time synchronized client 10, when having connected, the information of each connection (is comprised the unique identification of equipment or user, the IP of client and port, the IP of connection server and port, the inside end slogan of connection server and hyphen etc.) be registered to metamessage server 205, the connection on metamessage server 205 is nullified when connecting and disconnecting, the packet from time synchronized client 10 received is sent to corresponding external application servers (being instant communication server 210 and synchronization server 211 in the present embodiment) by signal repeater 204, receive the information pushing from message recipient and be pushed to corresponding time synchronized client 10.In addition, connection server 202 also carries out resource release by the connection pool on management server to the connection of time-out.
Authorization controller 207 is set up data communication with outside single logging-on server 208 and is connected, and whether proving time sync client 10 is legal.
Metamessage server 204 provides the registration and unregistration service of connection, and the annexation between record connection server 202 and synchronizing information client 10, the connection pool on management server, provides the query function to link information.The information that metamessage server 204 can be connected in which process of which connection server according to the identification number query time sync client 10 of device clients and hyphen is relevant.
Two kinds of technological means are had to process the processing procedure of checking and metamessage server 205 record.The first technological means be authorization controller 207 verify time synchronized client 10 legal after, then in metamessage server 205, record the annexation between connection server 202 and time synchronized client 10.The second technological means is the annexation first recorded in metamessage server 205 between connection server 202 and time synchronized client 10, whether legal by authorization controller 207 proving time sync client 10 again, after verifying time synchronized client 10 and be illegal, delete record corresponding in metamessage server 205 again.
Network event between time synchronized client 10 and connection server 202 is sent to outside network event subscriber device 30 by network event transmitter 203.
The packets of information that signal repeater 204 time of reception sync client 10 is sent by connection server 202, application service belonging to identifying information bag, is transmitted to corresponding outside application server (being instant communication server 210 and synchronization server 211 in the present embodiment) by packets of information.
Message recipient 206 receives the packets of information of outside application server (being instant communication server 210 and synchronization server 211 in the present embodiment), inquire about corresponding connection server 202 by metamessage server 205, then send to corresponding time synchronized client 10 by connection server 202.
After the connection server 202 of time sync client 10 and current connection disconnects, time synchronized client 10 can connect upper cloud platform again, now needs time synchronized client 10 to reconnect the connection server 202 that the last time connects.The present embodiment can adopt two kinds of technological means to reach this purpose, and the first technological means makes time synchronized client 10 still set up communication with the front connection server 202 be once connected when time synchronized client 10 connects again by the strategy of design on load-balancing device 201 to connect.The second technological means passes through the corresponding relation between the time synchronized client 10 of record on inquiry metamessage server 205 and connection server 202, makes time synchronized client 10 still set up communication with the front connection server 202 be once connected and connect.
first embodiment of vehicle-mounted time synchronization serving method
Fig. 3 shows the flow process of the first embodiment of vehicle-mounted time synchronization serving method of the present invention.Refer to Fig. 3, details are as follows for each step of the method for the present embodiment.
Step S10: time synchronized client is set up with the full-time on-line system of vehicle and is connected in real time.
This step can have two kinds of implementations, the first implementation as shown in Figure 6:
Step S100: time synchronized client is initiated to connect.
Step S101: load-balancing device scheduling connects.
The connection that time synchronized client is initiated is assigned to corresponding connection server according to the load balancing on it by load-balancing device.
Step S102: connection server receives and connects, if can receive connection, then enters step S103, if cannot receive connection, then enters step S112.
Step S103: time synchronized client sends login authentication information.
Step S104: time synchronized client by login authentication information request forward to authorization controller.
Step S105: authorization controller judge whether allow login authentication information pass through, if allow by; enter step S106, if do not allow by; enter step S112.
Step S106: whether logon server (single logging-on server) checking logs in passes through, if checking log in by; enter step S107, if checking login cannot be by, enter step S112.
Step S107: connection server, time synchronized client and user profile are registered to metamessage server.
Step S108: judge whether metamessage succeeds in registration.If succeeded in registration, enter step S109, if registration failure, enter step S112.
Step S109: the network event of successful connection is transmitted to network event transmitter.
Step S110: network event transmitter sends connection establishment event to event subscription device.
Step S111: connection server replys the information of successful connection foundation to time synchronized client.
Step S112: connection closed, logs in and stops.
The second implementation as shown in Figure 7.
Step S200: time synchronized client is initiated to connect.
Step S201: load-balancing device scheduling connects.
The connection that time synchronized client is initiated is assigned to corresponding connection server according to the load balancing on it by load-balancing device.
Step S202: connection server receives and connects, if can receive connection, then enters step S203, if cannot receive connection, then enters step S213.
Step S203: the connection server, the time synchronized client-side information that connect at metamessage server registration, and mark non-login authentication state.
Step S204: judge whether metamessage succeeds in registration, if succeeded in registration, enter step S205, if registration failure, enter step S213.
Step S205: time synchronized client sends login authentication information.
Step S206: logging request is transmitted to authorization controller by connection server.
Step S207: authorization controller judges whether to allow login authentication information to pass through, if allowed, enters step S208, if do not allowed, enters step S213.
Step S208: judge that logon server checking logs in and whether pass through, if by, enter step S209, if do not passed through, enter step S213.
Step S209: the user profile connected to metamessage server update, and mark login authentication and pass through state.
Step S210: the network event of successful connection is transmitted to network event transmitter.
Step S211: network event transmitter sends connection establishment event to event subscription device.
Step S212: connection server is replied successful connection to time synchronized client and set up.
Step S213: connection closed, logs in and stops.
Step S12: the network event connected with the full-time on-line system of vehicle is thrown to the time server in high in the clouds by time synchronized client.
Step S14: temporal information is synchronized to time synchronized client by time server after receiving the network event connected that time synchronized client dishes out.
As can be seen from this embodiment, time synchronized client one connects the upper full-time on-line system of vehicle, will carry out the operation of time synchronized.The time server of the standard on time server and the Internet carries out periodic synchronization.
second embodiment of vehicle-mounted time synchronization serving method
Fig. 4 shows the flow process of the second embodiment of vehicle-mounted time synchronization serving method of the present invention.Refer to Fig. 4, details are as follows for each step of the method for the present embodiment.
Step S20: time synchronized client is set up with the full-time on-line system of vehicle and is connected in real time.
This step can have two kinds of implementations, the first implementation as shown in Figure 6:
Step S100: time synchronized client is initiated to connect.
Step S101: load-balancing device scheduling connects.
The connection that time synchronized client is initiated is assigned to corresponding connection server according to the load balancing on it by load-balancing device.
Step S102: connection server receives and connects, if can receive connection, then enters step S103, if cannot receive connection, then enters step S112.
Step S103: time synchronized client sends login authentication information.
Step S104: time synchronized client by login authentication information request forward to authorization controller.
Step S105: authorization controller judge whether allow login authentication information pass through, if allow by; enter step S106, if do not allow by; enter step S112.
Step S106: whether logon server (single logging-on server) checking logs in passes through, if checking log in by; enter step S107, if checking login cannot be by, enter step S112.
Step S107: connection server, time synchronized client and user profile are registered to metamessage server.
Step S108: judge whether metamessage succeeds in registration.If succeeded in registration, enter step S109, if registration failure, enter step S112.
Step S109: the network event of successful connection is transmitted to network event transmitter.
Step S110: network event transmitter sends connection establishment event to event subscription device.
Step S111: connection server replys the information of successful connection foundation to time synchronized client.
Step S112: connection closed, logs in and stops.
The second implementation as shown in Figure 7.
Step S200: time synchronized client is initiated to connect.
Step S201: load-balancing device scheduling connects.
The connection that time synchronized client is initiated is assigned to corresponding connection server according to the load balancing on it by load-balancing device.
Step S202: connection server receives and connects, if can receive connection, then enters step S203, if cannot receive connection, then enters step S213.
Step S203: the connection server, the time synchronized client-side information that connect at metamessage server registration, and mark non-login authentication state.
Step S204: judge whether metamessage succeeds in registration, if succeeded in registration, enter step S205, if registration failure, enter step S213.
Step S205: time synchronized client sends login authentication information.
Step S206: logging request is transmitted to authorization controller by connection server.
Step S207: authorization controller judges whether to allow login authentication information to pass through, if allowed, enters step S208, if do not allowed, enters step S213.
Step S208: judge that logon server checking logs in and whether pass through, if by, enter step S209, if do not passed through, enter step S213.
Step S209: the user profile connected to metamessage server update, and mark login authentication and pass through state.
Step S210: the network event of successful connection is transmitted to network event transmitter.
Step S211: network event transmitter sends connection establishment event to event subscription device.
Step S212: connection server is replied successful connection to time synchronized client and set up.
Step S213: connection closed, logs in and stops.
Step S22: time synchronized client receives the time synchronized request that user sends.
Step S24: the time synchronized request forward that time synchronized client sends by the full-time on-line system of vehicle is to time server.
Step S26: temporal information is synchronized to time synchronized client after receiving the time synchronized request of time synchronized client by time server.
3rd embodiment of vehicle-mounted time synchronization serving method
Fig. 5 shows the flow process of the 3rd embodiment of vehicle-mounted time synchronization serving method of the present invention.Refer to Fig. 5, details are as follows for each step of the method for the present embodiment.
Step S30: time synchronized client is set up with the full-time on-line system of vehicle and is connected in real time.
This step can have two kinds of implementations, the first implementation as shown in Figure 6:
Step S100: time synchronized client is initiated to connect.
Step S101: load-balancing device scheduling connects.
The connection that time synchronized client is initiated is assigned to corresponding connection server according to the load balancing on it by load-balancing device.
Step S102: connection server receives and connects, if can receive connection, then enters step S103, if cannot receive connection, then enters step S112.
Step S103: time synchronized client sends login authentication information.
Step S104: time synchronized client by login authentication information request forward to authorization controller.
Step S105: authorization controller judge whether allow login authentication information pass through, if allow by; enter step S106, if do not allow by; enter step S112.
Step S106: whether logon server (single logging-on server) checking logs in passes through, if checking log in by; enter step S107, if checking login cannot be by, enter step S112.
Step S107: connection server, time synchronized client and user profile are registered to metamessage server.
Step S108: judge whether metamessage succeeds in registration.If succeeded in registration, enter step S109, if registration failure, enter step S112.
Step S109: the network event of successful connection is transmitted to network event transmitter.
Step S110: network event transmitter sends connection establishment event to event subscription device.
Step S111: connection server replys the information of successful connection foundation to time synchronized client.
Step S112: connection closed, logs in and stops.
The second implementation as shown in Figure 7.
Step S200: time synchronized client is initiated to connect.
Step S201: load-balancing device scheduling connects.
The connection that time synchronized client is initiated is assigned to corresponding connection server according to the load balancing on it by load-balancing device.
Step S202: connection server receives and connects, if can receive connection, then enters step S203, if cannot receive connection, then enters step S213.
Step S203: the connection server, the time synchronized client-side information that connect at metamessage server registration, and mark non-login authentication state.
Step S204: judge whether metamessage succeeds in registration, if succeeded in registration, enter step S205, if registration failure, enter step S213.
Step S205: time synchronized client sends login authentication information.
Step S206: logging request is transmitted to authorization controller by connection server.
Step S207: authorization controller judges whether to allow login authentication information to pass through, if allowed, enters step S208, if do not allowed, enters step S213.
Step S208: judge that logon server checking logs in and whether pass through, if by, enter step S209, if do not passed through, enter step S213.
Step S209: the user profile connected to metamessage server update, and mark login authentication and pass through state.
Step S210: the network event of successful connection is transmitted to network event transmitter.
Step S211: network event transmitter sends connection establishment event to event subscription device.
Step S212: connection server is replied successful connection to time synchronized client and set up.
Step S213: connection closed, logs in and stops.
Step S32: time synchronized client spontaneously sends time synchronized request every the cycle of setting.
Step S34: the full-time on-line system of vehicle by the time synchronized request forward of spontaneous for time synchronized client initiation to time server.
Step S36: temporal information is synchronized to time synchronized client after receiving the time synchronized request of time synchronized client by time server.
Above-described embodiment is available to those of ordinary skill in the art to realize or uses of the present invention; those of ordinary skill in the art can be without departing from the present invention in the case of the inventive idea; various modifications or change are made to above-described embodiment; thus protection scope of the present invention not limit by above-described embodiment, and should be the maximum magnitude meeting the inventive features that claims are mentioned.

Claims (18)

1. a vehicle-mounted time synchronization service system, comprises time synchronized client, the full-time on-line system of vehicle, time server, wherein:
Time synchronized client, sets up with the full-time on-line system of vehicle and is connected in real time, the time server in high in the clouds of being thrown to by the network event connected with the full-time on-line system of vehicle;
The full-time on-line system of vehicle, sets up communication with time server and is connected;
Time server, is synchronized to time synchronized client by temporal information after receiving the network event connected that time synchronized client dishes out;
Wherein the full-time on-line system of vehicle comprises:
Load-balancing device, connects the communication of time synchronized client and is assigned on multiple stage connection server, to realize the cluster of connection server;
Connection server, set up communication with load-balancing device to be connected, receive the connection request distributed by load-balancing device from time synchronized client, when having connected by the information registering of each connection to metamessage server, the connection on metamessage server is nullified when connecting and disconnecting, the packet from time synchronized client received is sent to corresponding external application servers by signal repeater, receives the information pushing from message recipient and be pushed to corresponding time synchronized client;
Metamessage server, sets up communication with connection server and is connected, and provides the registration and unregistration service of connection, the annexation between record connection server and time synchronized client, and the connection pool on management server, inquires about link information;
Network event transmitter, the network event subscriber device that the network event between time synchronized client and connection server is sent to;
Signal repeater, sets up communication with connection server and is connected, the packets of information that time of reception sync client is sent by connection server, the application service belonging to identifying information bag, packets of information is transmitted to corresponding outside application server;
Message recipient, set up communication respectively with connection server and metamessage server to be connected, receive the packets of information of outside application server, by the connection server that metamessage server lookup is corresponding, then send to corresponding time synchronized client by connection server.
2. vehicle-mounted time synchronization service system according to claim 1, is characterized in that, the standard time service device on time server and the Internet carries out periodic synchronization.
3. vehicle-mounted time synchronization service system according to claim 1, it is characterized in that, time synchronized client receives the time synchronized request of user, and be transmitted to time server by the full-time on-line system of vehicle, when time server receives the time synchronized request of time synchronized client, temporal information is synchronized to time synchronized client.
4. vehicle-mounted time synchronization service system according to claim 1, is characterized in that, time synchronized client is sent to time server transmitting time synchronization request certainly every setting cycle.
5. vehicle-mounted time synchronization service system according to claim 1, is characterized in that, connection server also carries out resource release by the connection pool on management server to the connection of time-out.
6. vehicle-mounted time synchronization service system according to claim 1, is characterized in that, the process of the connection server of metamessage server belonging to the connection of the identification number query time sync client of time synchronized client and hyphen information.
7. vehicle-mounted time synchronization service system according to claim 1, is characterized in that, the full-time on-line system of vehicle also comprises:
Authorization controller, set up communication with connection server with outside single logging-on server and be connected, whether proving time sync client is legal.
8. vehicle-mounted time synchronization service system according to claim 1, is characterized in that, time synchronized client keeps the connection with connection server by the mode sending heartbeat packet.
9. vehicle-mounted time synchronization service system according to claim 1, it is characterized in that, after time sync client disconnects with the current connection server be connected, the strategy when time synchronized client connects again by setting on load-balancing device makes time synchronized client still set up communication connection with the front connection server be once connected.
10. vehicle-mounted time synchronization service system according to claim 1, it is characterized in that, after time sync client disconnects with the current connection server be connected, when time synchronized client connecting again by inquiring about the corresponding relation of time synchronized client and the connection server that metamessage server records, making time synchronized client still set up communication with the front connection server be once connected and connecting.
11. vehicle-mounted time synchronization service systems according to claim 7, is characterized in that, after the authorization controller proving time, sync client was legal, then in metamessage server, record the annexation between connection server and time synchronized client.
12. vehicle-mounted time synchronization service systems according to claim 7, it is characterized in that, in metamessage server, first record the annexation between connection server and time synchronized client, whether legal by authorization controller proving time sync client again, illegally delete record corresponding in metamessage server afterwards verifying time synchronized client.
13. 1 kinds of methods realizing vehicle-mounted time synchronization and serve in vehicle-mounted time synchronization service system as claimed in claim 1, comprising:
Time synchronized client is set up with the full-time on-line system of vehicle and is connected in real time;
The network event connected with the full-time on-line system of vehicle is thrown to the time server in high in the clouds by time synchronized client;
Temporal information is synchronized to time synchronized client by time server after receiving the network event connected that time synchronized client dishes out, the communication of time synchronized client connection is assigned on multiple stage connection server, to realize the cluster of connection server by the load-balancing device wherein in the full-time on-line system of vehicle.
14. vehicle-mounted time synchronization serving methods according to claim 13, is characterized in that, the standard time service device on time server and the Internet carries out periodic synchronization.
15. vehicle-mounted time synchronization serving methods according to claim 13, it is characterized in that, method also comprises:
Time synchronized request forward time synchronized client sent by vehicle full-time on-line system is to time server;
Temporal information is synchronized to time synchronized client when receiving the time synchronized request of time synchronized client by time server.
16. vehicle-mounted time synchronization serving methods according to claim 15, is characterized in that, time synchronized request spontaneously to be sent by the cycle of time synchronized client every setting, or send after receiving user's request.
17. vehicle-mounted time synchronization serving methods according to claim 13, is characterized in that, time synchronized client is set up with the full-time on-line system of vehicle the step be connected in real time and comprised further:
Time synchronized client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
Time synchronized client sends login authentication information;
Connection server by login authentication information request forward to authorization controller;
Whether the login of authorization controller proving time sync client is passed through, if do not passed through, connection closed, if by, the connection server of connection, time synchronized client and user profile are registered to metamessage server, and the network event of successful connection is issued network event transmitter, network event transmitter sends connection establishment event to event subscription device, and connection server is replied successful connection to time synchronized client and set up.
18. vehicle-mounted time synchronization serving methods according to claim 13, is characterized in that, time synchronized client is set up with the full-time on-line system of vehicle the step be connected in real time and comprised further:
Time synchronized client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
At connection server, time synchronized client-side information that metamessage server registration connects, and mark non-login authentication state;
Time synchronized client sends login authentication information;
Connection server by login authentication information request forward to authorization controller;
Whether the login of authorization controller proving time sync client is passed through, if do not passed through, connection closed, if by, to the user profile that metamessage server update connects, mark login authentication and pass through state, and the network event of successful connection is issued network event transmitter, network event transmitter sends connection establishment event to event subscription device, and connection server is replied successful connection to time synchronized client and set up.
CN201010622026.1A 2010-12-31 2010-12-31 Vehicle-mounted time synchronization serving method and system Active CN102546726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010622026.1A CN102546726B (en) 2010-12-31 2010-12-31 Vehicle-mounted time synchronization serving method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010622026.1A CN102546726B (en) 2010-12-31 2010-12-31 Vehicle-mounted time synchronization serving method and system

Publications (2)

Publication Number Publication Date
CN102546726A CN102546726A (en) 2012-07-04
CN102546726B true CN102546726B (en) 2015-10-07

Family

ID=46352682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010622026.1A Active CN102546726B (en) 2010-12-31 2010-12-31 Vehicle-mounted time synchronization serving method and system

Country Status (1)

Country Link
CN (1) CN102546726B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578285B (en) * 2012-08-07 2017-03-08 上海博泰悦臻电子设备制造有限公司 Mobile unit and the phonetic prompt method of mobile unit
KR101565345B1 (en) * 2014-07-16 2015-11-03 현대자동차주식회사 Method and apparatus for providing black-box for vehicle diagnosis using in-vehicle time synchronization message
CN104270449A (en) * 2014-10-09 2015-01-07 浪潮(北京)电子信息产业有限公司 Method and device for achieving time synchronizing among server nodes
CN106657190A (en) * 2015-10-30 2017-05-10 宁波轩悦行电动汽车服务有限公司 Load balancing method for electric vehicle time-sharing rental system software service
CN106657186A (en) * 2015-10-30 2017-05-10 宁波轩悦行电动汽车服务有限公司 Hardware load balancing method for electric vehicle time-sharing leasing system
US10979506B2 (en) * 2016-09-19 2021-04-13 Westinghouse Air Brake Technologies Corporation Vehicle control system
CN108964821A (en) * 2018-04-20 2018-12-07 佛山市竣智文化传播股份有限公司 A kind of method of self synchronous satellite positioning device and its time synchronization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207432A (en) * 2006-12-19 2008-06-25 华为技术有限公司 Method and system for implementation of time auto synchronization
CN101286833A (en) * 2008-05-26 2008-10-15 中兴通讯股份有限公司 Time synchronized request method and system based on authentication, and time synchronizing method
CN101656606A (en) * 2008-08-20 2010-02-24 华为技术有限公司 Time synchronization method, time synchronization device and time synchronization system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207432A (en) * 2006-12-19 2008-06-25 华为技术有限公司 Method and system for implementation of time auto synchronization
CN101286833A (en) * 2008-05-26 2008-10-15 中兴通讯股份有限公司 Time synchronized request method and system based on authentication, and time synchronizing method
CN101656606A (en) * 2008-08-20 2010-02-24 华为技术有限公司 Time synchronization method, time synchronization device and time synchronization system

Also Published As

Publication number Publication date
CN102546726A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102571885B (en) Vehicle-mounted information push service system and method
CN102546726B (en) Vehicle-mounted time synchronization serving method and system
CN102571877B (en) Vehicle-mounted information synchronization service system and method
KR101817683B1 (en) Connected gateway server system for real-time vehicle control service
EP2209253B1 (en) A method, system, server and terminal for processing an authentication
US11096051B2 (en) Connection establishment method, device, and system
CN102421097B (en) A kind of user authen method, Apparatus and system
CN102546727B (en) Full-time on-line system and method of vehicle
WO2008133380A1 (en) System and method for providing location based services in a mobile communication system
EP1566921A1 (en) A method, a system and a terminal for realizing presenting information interaction of the wireless lan users
CN102421098A (en) User authentication method, device and system
CN102202375A (en) Method and system for controlling MTC (Machine Type Communication) equipment access and transceiving data
CN202004788U (en) Vehicle-mounted information push service system
US10075428B2 (en) Time check method and base station
CN103825901A (en) Network access control method and equipment
CN102571884B (en) Signal condition of wireless network cognitive method and system
CN202050442U (en) Automobile full-time on-line system
WO2024002143A1 (en) Root certificate updating method and apparatus
US9525980B2 (en) Method and system for triggering terminal group
CN106603251B (en) Method and system for sending charging update message
CN105471909A (en) Method for quickly establishing local area network connection and initiating device and routing device
CN104135719A (en) Contact information updating method, server and system
CN105636034A (en) Authentication method and device for user equipment
EP3352492A1 (en) Authentication method
CN115412925B (en) Network security protection method and device and network element with security protection function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 201821 room 208, building 4, No. 1411, Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai

Patentee after: Botai vehicle networking technology (Shanghai) Co.,Ltd.

Address before: 200233 block D1, 2nd floor, Zhaofeng global building, 1800 Zhongshan West Road, Shanghai

Patentee before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd.

CP03 Change of name, title or address