Vehicle-mounted information push service system and method
Technical field
The present invention relates to the technology that on-vehicle information is pushed to networked terminals, particularly relate to the vehicle-mounted information push 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.
Summary of the invention
The object of the invention is to solve the problem, provide a kind of vehicle-mounted information push service system, message real time propelling movement on network or other equipment after transmit operation, or after certain operation of system triggers or event, can be given other online equipment of this user by certain user.System occur certain operation or event after, also can in time by information pushing to designated equipment.
Another object of the present invention is to provide a kind of vehicle-mounted information push service method.
Technical scheme of the present invention is: present invention is disclosed a kind of vehicle-mounted information push service system, comprises information pushing client, the full-time on-line system of vehicle, network event subscriber device, pushes agent apparatus, pushes array device and push server, wherein:
Information pushing 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 with information pushing client, network event subscriber device, propelling movement agent apparatus and push server to be respectively connected, receive the connection request of information pushing client, the network event of the connection establishment of information pushing client is sent to network event subscriber device, propelling movement request is sent to propelling movement agent apparatus, receives the message push from push server;
Network event subscriber device, sends to propelling movement agent apparatus the request of propelling movement after the network event receiving the full-time on-line system of vehicle;
Push agent apparatus, set up communication with network event subscriber device and be connected, after receiving the propelling movement request from network event subscriber device, receive the message push of external server;
Push array device, set up communication with propelling movement agent apparatus and be connected, receive the message push sent here from propelling movement agent apparatus;
Push server, sets up communication with propelling movement array device and is connected, and is taken out one by one by message push from propelling movement array device, and takes out user device list corresponding to the request of propelling movement, every a piece of news is carried out to the propelling movement of per user equipment.
According to an embodiment of vehicle-mounted information push service system of the present invention, information pushing client comprises Mail Clients, information client side, calendar client, task client.
According to an embodiment of vehicle-mounted information push service system of the present invention, external server comprises mail server, message server, Calendar server, task server.
According to an embodiment of vehicle-mounted information push service system of the present invention, the full-time on-line system of vehicle comprises:
Load-balancing device, connects the communication of information pushing 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 information pushing 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 client received is sent to corresponding external application servers by signal repeater, receives the information pushing from message recipient and be pushed to corresponding information pushing 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 information pushing 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 information pushing 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 information pushing 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 information pushing client by connection server.
According to an embodiment of vehicle-mounted information push 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 push service system of the present invention, metamessage server pushes process and the hyphen information of the connection server belonging to the connection of client according to the identification number Query Information of device clients.
According to an embodiment of vehicle-mounted information push service system of the present invention, the full-time on-line system of vehicle also comprises:
Authorization controller, sets up communication with connection server with outside single logging-on server and is connected, and whether authorization information pushes client legal.
According to an embodiment of vehicle-mounted information push service system of the present invention, information pushing client keeps the connection with connection server by the mode sending heartbeat packet.
According to an embodiment of vehicle-mounted information push service system of the present invention, after information pushing client disconnects with the current connection server be connected, the strategy when information pushing client connects again by setting on load-balancing device makes information pushing client still set up communication connection with the front connection server be once connected.
According to an embodiment of vehicle-mounted information push service system of the present invention, after information pushing client disconnects with the current connection server be connected, when information pushing client connecting again by inquiring about the corresponding relation of information pushing client and the connection server that metamessage server records, making information pushing client still set up communication with the front connection server be once connected and connecting.
According to an embodiment of vehicle-mounted information push service system of the present invention, after authorization controller authorization information propelling movement client is legal, then in metamessage server, record the annexation between connection server and information pushing client.
According to an embodiment of vehicle-mounted information push service system of the present invention, in metamessage server, first record the annexation between connection server and information pushing client, whether legally push client by authorization controller authorization information again, illegally delete record corresponding in metamessage server afterwards verifying information pushing client.
Present invention is disclosed a kind of vehicle-mounted information push service method, comprising:
The full-time on-line system of vehicle on information pushing client's side link;
The connection establishment event of information pushing client is dished out network event subscriber device by the full-time on-line system of vehicle;
Send to propelling movement agent apparatus the request of propelling movement after network event subscriber device receives connection establishment event;
Push agent apparatus and receive the backward external application servers receipt message propelling movement of the request of propelling movement;
Push agent apparatus and the message push received from external application servers is transmitted to the storage of propelling movement array device;
Push server takes out message push one by one from propelling movement array device, and takes out user device list corresponding to the request of propelling movement, every a piece of news is carried out to the propelling movement of per user equipment.
According to an embodiment of vehicle-mounted information push service method of the present invention, external application servers comprises mail server, message server, Calendar server, task server.
According to an embodiment of vehicle-mounted information push service method of the present invention, information pushing client comprises Mail Clients, information client side, calendar client, task client.
According to an embodiment of vehicle-mounted information push service method of the present invention, on information pushing client's side link, the step of the full-time on-line system of vehicle comprises further:
Information pushing client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
Information pushing client sends login authentication information;
Connection server by login authentication information request forward to authorization controller;
Whether the login that authorization controller authorization information pushes client is passed through, if do not passed through, connection closed, if by, the connection server of connection, information pushing 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 information pushing client and set up.
According to an embodiment of vehicle-mounted information push service method of the present invention, on information pushing client's side link, the step of the full-time on-line system of vehicle comprises further:
Information pushing client is initiated to connect;
Load-balancing device scheduling connects;
Connection server receives and connects;
At connection server, information pushing client-side information that metamessage server registration connects, and mark non-login authentication state;
Information pushing client sends login authentication information;
Connection server by login authentication information request forward to authorization controller;
Whether the login that authorization controller authorization information pushes 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 information pushing client and set up.
The present invention contrasts prior art following beneficial effect: technical scheme of the present invention is served by network event subscriber, namely in vehicle-mounted information synchronization service, subscribe to the network event of connection establishment, once there is this event, an equipment can be sent to propelling movement agent apparatus at once and push request.And push agent apparatus and be responsible for receiving from the propelling movement request of application server, push operation request forward first by propellings movement request record warehouse-in, then can be given propelling movement array device by agency.Propelling movement request is taken out one by one by push server from propelling movement array device, and then take out user device list corresponding to the request of propelling movement, and take out the information list pushed, the carrying out of information, one by one equipment pushes one by one.
Accompanying drawing explanation
The system construction drawing of the embodiment of vehicle-mounted information push 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 push 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 information pushing 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 information pushing 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 push service system
Fig. 1 shows the system configuration of the embodiment of vehicle-mounted information push 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 information pushing client 10, vehicle, network event subscriber device 30, propelling movement agent apparatus 32, propelling movement array device 34, push server 36.
Annexation between these devices is: the full-time on-line system 20 of vehicle respectively and information pushing client 10, network event subscriber device 30, push agent apparatus 32, set up communication between push server 36 and connect.Propelling movement agent apparatus 32 is set up communication with network event subscriber device 30 and is connected.Push array device 34 and push between agent apparatus 32 and set up communication connection.Set up communication between push server 36 and propelling movement array device 34 to connect.
The principle that system realizes is as follows.
Information pushing 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.Information pushing client 10 comprises Mail Clients, information client side, calendar client, task client etc.
The full-time on-line system 20 of vehicle receives the connection request of information pushing client 10, the network event of the connection establishment of information pushing client 10 is sent to network event subscriber device 30, propelling movement request is sent to and pushes agent apparatus 32, receive the message push from push server 36.
The refined structure of the full-time on-line system 20 of vehicle as shown in Figure 2, comprises information pushing 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: information pushing 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 information pushing 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.Information pushing 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 information pushing 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 information pushing 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 information pushing 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 pushes client 10 legal.
Metamessage server 204 provides the registration and unregistration service of connection, and the annexation between record connection server 202 and information pushing client 10, the connection pool on management server, provides the query function to link information.Metamessage server 204 can push according to the identification number Query Information of device clients the information that client 10 is connected in which process of which connection server 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 information pushing client 10 legal after, then in metamessage server 205, record the annexation between connection server 202 and information pushing client 10.The second technological means is the annexation first recorded in metamessage server 205 between connection server 202 and information pushing client 10, whether legally push client 10 by authorization controller 207 authorization information again, after verifying information pushing client 10 and be illegal, delete record corresponding in metamessage server 205 again.
Network event between information pushing 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 information pushing 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 information pushing client 10 by connection server 202.
After the connection server 202 of information pushing client 10 and current connection disconnects, information pushing client 10 can connect upper cloud platform again, now needs information pushing 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 device clients 200 still set up communication with the front connection server 202 be once connected when information pushing 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 information pushing client 10 of record on inquiry metamessage server 205 and connection server 202, makes information pushing client 10 still set up communication with the front connection server 202 be once connected and connect.
Network event subscriber device 30 sends to propelling movement agent apparatus 32 request of propelling movement after the network event receiving the full-time on-line system 20 of vehicle.
Push agent apparatus 32 after receiving the propelling movement request from network event subscriber device 30, receive the message push of external server (comprise mail server 42, also can comprise task server, Calendar server, message server etc.).
Push array device 34 and receive the message push sent here from propelling movement agent apparatus 32.
Message push takes out one by one by push server 36 from propelling movement array device 34, and takes out user device list corresponding to the request of propelling movement, every a piece of news is carried out to the propelling movement of per user equipment.
the embodiment of vehicle-mounted information push service method
Fig. 3 shows the flow process of the embodiment of vehicle-mounted information push service method of the present invention.Refer to Fig. 3, below each step in the vehicle-mounted information push service method of the present embodiment is described in detail.
Step S10: the full-time on-line system of vehicle on information pushing client's side link.
Wherein information pushing client comprises Mail Clients, information client side, calendar client and task client etc.
This step S10 can have two kinds of implementations, the first implementation as shown in Figure 4:
Step S100: information pushing client is initiated to connect.
Step S101: load-balancing device scheduling connects.
The connection that information pushing 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: information pushing client sends login authentication information.
Step S104: information pushing 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, information pushing 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 information pushing client.
Step S112: connection closed, logs in and stops.
The second implementation as shown in Figure 5.
Step S200: information pushing client is initiated to connect.
Step S201: load-balancing device scheduling connects.
The connection that information pushing 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 information pushing 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: information pushing 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 information pushing client and set up.
Step S213: connection closed, logs in and stops.
Step S20: the connection establishment event of information pushing client is dished out network event subscriber device by the full-time on-line system of vehicle.
Step S30: send to propelling movement agent apparatus the request of propelling movement after network event subscriber device receives connection establishment event.
Step S40: push agent apparatus and receive the backward external application servers receipt message propelling movement of the request of propelling movement.
Wherein external server comprises mail server, task server, Calendar server, message server etc.
Step S50: push agent apparatus and the message push received from external application servers is transmitted to the storage of propelling movement array device.
Step S60: push server takes out message push one by one from propelling movement array device, and take out user device list corresponding to the request of propelling movement, every a piece of news is carried out to the propelling movement of per user equipment.
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.