Vehicle-mounted information synchronization service system and method
Technical field
The present invention relates to the technology of synchronizing information to networked terminals, particularly relate to the vehicle-mounted information synchronization service method and system based on full-time on-line system.
Background technology
Car-mounted terminal on traditional vehicle is not normally networked, and some need the function that just can complete by network cannot be applied in such car-mounted terminal.Such as need cartographic information and real-time road to send to car-mounted terminal, so that car-mounted terminal does further information processing.
The system that prior art also has some car-mounted terminals to network, such as notification number is the Chinese patent application of CN101853479A, it discloses a kind of online vehicle management system, online vehicle management system comprises vehicle group, and described vehicle group has multiple vehicle and is arranged in the car remote information process device of each vehicle.Call center and each remote information process device and the Internet support program optionally operation communication.Call center in response to predetermined trigger from each vehicle receiver vehicle data, and by received data store in a database.
Existing car-mounted terminal networked system all cannot accomplish that the real-time communication between car-mounted terminal and cloud server connects, when real-time communication cannot be set up to be connected, a lot of function all cannot perfectly realize, such as, in vehicle, occurrence needs to send to cloud platform in real time, so that cloud platform does further information processing, in vehicle, use immediate communication tool for another example, by system to Internet user's transmission information etc.
In addition, numerous terminals of networked system cannot realize synchronous service, that is, certain user is on network or other equipment after transmit operation, or after certain operation of system triggers or event, message real time propelling movement cannot be given other online equipment of this user.
User in use can run into such situation: same user may use different terminal equipments, uses the different automobiles with information terminal, and this user needs to allow relevant information on different terminal equipments update to last state.
Such as, certain user is on A car, be provided with seat memory function, by information system, this seat memory information is kept at cloud platform end, when this user uses B car, pass through information system, seat memory information system can upgrade in time B car seat arrange, by canbus system, seat is adjusted to this user need state.And existing product cannot meet this demand of user.
Same, user also needs to realize synchronizing information between multiple mobile unit, realizes synchronizing information, between mobile unit and pc computer, realize synchronizing information between mobile unit and mobile phone, etc.Existing product also cannot meet these demands of user.
Summary of the invention
The object of the invention is to solve the problem, provide a kind of vehicle-mounted information synchronization service system, can be implemented on different terminal equipments, same user-dependent information can update to last state, also synchronizing information can be realized between multiple mobile unit, between mobile unit and mobile phone, realize synchronizing information, between mobile unit and PC computer, realize synchronizing information.
Another object of the present invention is to provide a kind of vehicle-mounted information synchronization service method.
Technical scheme of the present invention is: present invention is disclosed a kind of vehicle-mounted information synchronization service system, comprise synchronizing information client, the full-time on-line system of vehicle, network event subscriber device, synchronous service Receiving Agent device, synchronous service propelling movement agent apparatus, push array device and push server, wherein:
Synchronizing information client, sets up communication with the full-time on-line system of vehicle and is connected, and keeps being connected with the real-time communication of the server in high in the clouds;
The full-time on-line system of vehicle, set up communication be connected with synchronizing information client, network event subscriber device, synchronous service Receiving Agent device, push server respectively, receive the connection request of synchronizing information client, the network event of the connection establishment of synchronizing information client is sent to network event subscriber device, the operation requests of self information sync client is sent to synchronous service Receiving Agent device in the future, receives the message push from push server;
Network event subscriber device, sends device synchronization request to synchronous service Receiving Agent device after the network event receiving the full-time on-line system of vehicle;
Synchronous service Receiving Agent device, set up communication with network event subscriber device to be connected, receive the operation requests from synchronizing information client, identify the application that simultaneous operation is corresponding, operation is transmitted to corresponding application server, the operation belonging to synchronization request type is transmitted to push server;
Synchronous service pushes agent apparatus, sets up communication and is connected, receive the push operation request from application server with synchronous service Receiving Agent device, push operation request is put in storage, then gives propelling movement array device by push operation request forward;
Push array device, set up communication with synchronous service propelling movement agent apparatus and be connected, store the push operation request pushing agent apparatus forwarding from synchronous service;
Push server, sets up communication with propelling movement array device and is connected, and push operation request taken out one by one from propelling movement array device, then take out user device list corresponding to push operation request, the carrying out of equipment, one by one operation requests pushes one by one.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, synchronous service Receiving Agent device is also according to belonging to the operation requests emptying and push record type, the propelling movement record of the application of empty user on equipment.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, synchronizing information client comprises Mail Clients, information client side, calendar client, task client, contact management's client.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, the full-time on-line system of vehicle comprises:
Load-balancing device, connects the communication of synchronizing information 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 synchronizing information 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 information pushing synchronizing information client received is sent to corresponding external application servers by signal repeater, receives the information pushing from message recipient and be pushed to corresponding synchronizing information 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 synchronizing information 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 synchronizing information client and connection server is sent to;
Signal repeater, sets up communication with connection server and is connected, and receives the packets of information that synchronizing information 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 synchronizing information client by connection server.
According to an embodiment of vehicle-mounted information 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 information 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 Information sync client of synchronizing information client and hyphen information.
According to an embodiment of vehicle-mounted information 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 information synchronization service system of the present invention, synchronizing information client keeps the connection with connection server by the mode sending heartbeat packet.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, after synchronizing information client disconnects with the current connection server be connected, the strategy when synchronizing information client connects again by setting on load-balancing device makes synchronizing information client still set up communication connection with the front connection server be once connected.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, after synchronizing information client disconnects with the current connection server be connected, when synchronizing information client connecting again by inquiring about the corresponding relation of synchronizing information client and the connection server that metamessage server records, making synchronizing information client still set up communication with the front connection server be once connected and connecting.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, after authorization controller authorization information sync client is legal, then in metamessage server, record the annexation between connection server and synchronizing information client.
According to an embodiment of vehicle-mounted information synchronization service system of the present invention, in metamessage server, first record the annexation between connection server and synchronizing information client, whether legal by authorization controller authorization information sync client again, illegally delete record corresponding in metamessage server afterwards verifying synchronizing information client.
Present invention further teaches a kind of vehicle-mounted information synchronization service method, comprising:
The full-time on-line system of vehicle on synchronizing information client's side link;
The connection establishment event of synchronizing information client is dished out network event subscriber device by the full-time on-line system of vehicle;
Device synchronization request is sent to synchronous service Receiving Agent device after network event subscriber device receives connection establishment event;
Synchronous service Receiving Agent device sends operation requests to external application servers after receiving device synchronization request and the operation requests from the full-time on-line system of vehicle;
After application server receives the operation requests from external application servers, push operation request is sent to synchronous service and pushes agent apparatus;
Synchronous service pushes the push operation request of agent apparatus self-application server in future, push operation request is put in storage, then gives propelling movement array device by push operation request forward;
Push server takes out push operation request one by one from propelling movement array device, then takes out user device list corresponding to push operation request, and the carrying out of equipment, one by one operation requests pushes one by one.
According to an embodiment of vehicle-mounted information synchronization service method of the present invention, application server comprises mail server, message server, Calendar server, task server, contact management service device.
According to an embodiment of vehicle-mounted information synchronization service method of the present invention, synchronizing information client comprises Mail Clients, information client side, calendar client, task client, contact management's client.
According to an embodiment of vehicle-mounted information synchronization service method of the present invention, on synchronizing information client's side link, the step of the full-time on-line system of vehicle comprises 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 information synchronization service method of the present invention, on synchronizing information client's side link, the step of the full-time on-line system of vehicle comprises further:
Synchronizing information client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
At connection server, synchronizing information client-side information that metamessage server registration connects, and mark non-login authentication state;
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, 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 synchronizing information client and set up.
The present invention contrasts prior art following beneficial effect: technical scheme of the present invention is applied in some users when may hold multiple device end, and the information of the applications client of each device end may be inconsistent, in order to allow the information of each applications client and application server be consistent, as long as this equipment serves horse back once networking by this, and applications client of equipment is updated to last state.In addition, this user is after the enterprising line operate of other-end equipment, and the latest news of operation also can be synchronized to this equipment at once.
Accompanying drawing explanation
The system construction drawing of the embodiment of vehicle-mounted information synchronization service system of the present invention that what Fig. 1 was exemplary show.
The system construction drawing of the embodiment of the full-time on-line system of vehicle of the present invention that what Fig. 2 was exemplary show.
The flow chart of the embodiment of vehicle-mounted information synchronization service method of the present invention that what Fig. 3 was exemplary show.
The refinement flow chart of the first implementation of the step of the full-time on-line system of vehicle on synchronizing information client's side link of the present invention that what Fig. 4 was exemplary show.
The refinement flow chart of the second implementation of the step of the full-time on-line system of vehicle on synchronizing information client's side link of the present invention that what Fig. 5 was exemplary show.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
the embodiment of vehicle-mounted information synchronization service system
Fig. 1 shows the system configuration of the embodiment of vehicle-mounted information 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 synchronizing information client 10, vehicle, network event subscriber device 30, synchronous service Receiving Agent device 32, synchronous service push agent apparatus 34, push array device 36, push server 38.
Annexation between these devices is: the full-time on-line system 20 of vehicle respectively and synchronizing information client 10, network event subscriber device 30, synchronous service Receiving Agent device 32, set up communication between push server 38 and connect.Synchronous service Receiving Agent device 32 is set up communication with network event subscriber device 30 and is connected, synchronous service propelling movement agent apparatus 34 is set up communication with synchronous service Receiving Agent device 32 and is connected, push between array device 36 and synchronous service propelling movement agent apparatus 34 and set up communication connection, set up communication between push server 38 and propelling movement array device 36 and connect.
The principle that system realizes is as follows.
Synchronizing information client 10 keeps being connected with the real-time communication of the server in high in the clouds by the full-time on-line system 20 of vehicle.Synchronizing information client 10 comprises Mail Clients, information client side, calendar client, task client and contact management's client etc.
The full-time on-line system 20 of vehicle receives the connection request of synchronizing information client 10, the network event of the connection establishment of synchronizing information client 10 is sent to network event subscriber device 30, the operation requests of self information sync client 10 is sent to synchronous service Receiving Agent device 32 in the future, receives the message push from push server 38.
The refined structure of the full-time on-line system 20 of vehicle as shown in Figure 2, comprises synchronizing information 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: synchronizing information 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 of vehicle of the present embodiment.
The communication of synchronizing information 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.Synchronizing information 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 synchronizing information 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 synchronizing information 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 synchronizing information 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 authorization information 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 Information 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 synchronizing information client 10 legal after, then in metamessage server 205, record the annexation between connection server 202 and synchronizing information client 10.The second technological means is the annexation first recorded in metamessage server 205 between connection server 202 and synchronizing information client 10, whether legal by authorization controller 207 authorization information sync client 10 again, after verifying synchronizing information client 10 and be illegal, delete record corresponding in metamessage server 205 again.
Network event between synchronizing information client 10 and connection server 202 is sent to outside network event subscriber device 30 by network event transmitter 203.
Signal repeater 204 receives the packets of information that synchronizing information 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 synchronizing information client 10 by connection server 202.
After the connection server 202 of synchronizing information client 10 and current connection disconnects, synchronizing information client 10 can connect upper cloud platform again, now needs synchronizing information 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 synchronizing information client 10 still set up communication with the front connection server 202 be once connected when synchronizing information 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 synchronizing information client 10 of record on inquiry metamessage server 205 and connection server 202, makes synchronizing information client 10 still set up communication with the front connection server 202 be once connected and connect.
Network event subscriber device 30 sends device synchronization request to synchronous service Receiving Agent device 32 after the network event receiving the full-time on-line system 20 of vehicle.
Synchronous service Receiving Agent device 32 receives the operation requests from synchronizing information client 10, identifies and operation is transmitted to the application that simultaneous operation is corresponding corresponding application server 40, the operation belonging to synchronization request type is transmitted to push server 38.Synchronous service Receiving Agent device is also according to emptying the operation requests pushing record type, the propelling movement record of the application of empty user on equipment.
Synchronous service propelling movement agent apparatus 34 receives the push operation request from application server 40 (being such as mail server, message server, Calendar server, task server, contact management service device), push operation request is put in storage, then gives propelling movement array device 36 by push operation request forward.
Push array device 36 and store the push operation request pushing agent apparatus 34 forwarding from synchronous service.
Push operation request is taken out one by one by push server 39 from propelling movement array device 36, then takes out user device list corresponding to push operation request, and the carrying out of equipment, one by one operation requests pushes one by one.
the embodiment of vehicle-mounted information synchronization service method
Fig. 3 shows the flow process of the embodiment of vehicle-mounted information synchronization service method of the present invention.Refer to Fig. 3, below each step in the vehicle-mounted information synchronization service method of the present embodiment is described in detail.
Step S10: the full-time on-line system of vehicle on synchronizing information client's side link.
Synchronizing information client comprises Mail Clients, information client side, calendar client, task client, contact management's client.
This step S10 can have two kinds of implementations, the first implementation as shown in Figure 4:
Step S100: synchronizing information client is initiated to connect.
Step S101: load-balancing device scheduling connects.
The connection that synchronizing information 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: synchronizing information client sends login authentication information.
Step S104: synchronizing information 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, synchronizing information 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 synchronizing information client.
Step S112: connection closed, logs in and stops.
The second implementation as shown in Figure 5.
Step S200: synchronizing information client is initiated to connect.
Step S201: load-balancing device scheduling connects.
The connection that synchronizing information 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 synchronizing information 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: synchronizing information 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 synchronizing information client and set up.
Step S213: connection closed, logs in and stops.
Step S11: the connection establishment event of synchronizing information client is dished out network event subscriber device by the full-time on-line system of vehicle.
Step S12: send device synchronization request to synchronous service Receiving Agent device after network event subscriber device receives connection establishment event.
Step S13: synchronous service Receiving Agent device sends operation requests to external application servers after receiving device synchronization request and the operation requests from the full-time on-line system of vehicle.
External application servers comprises mail server, message server, Calendar server, task server, contact management service device.
Step S14: after application server receives the operation requests from external application servers, push operation request is sent to synchronous service and pushes agent apparatus.
Step S15: synchronous service pushes the push operation request of agent apparatus self-application server in future, push operation request is put in storage, then give propelling movement array device by push operation request forward.
Step S16: push server takes out push operation request one by one from propelling movement array device, then takes out user device list corresponding to push operation request, and the carrying out of equipment, one by one operation requests pushes one by one.
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.