The method of the multiplexing personal mobile information termination function of a kind of automatic navigatorTechnical field
The present invention relates to electronics field in automobile, particularly relate to the method for the multiplexing personal mobile information termination function of a kind of automatic navigator.
Background technology
Current smart mobile phone quantity gets more and more, even 4G network technology is also very ripe has been applied to above these smart machines for 3G, smart mobile phone provides a large amount of abundant APP, and user, can accesses network, down-load music, broadcasting Online Video etc. whenever and wherever possible by the App of smart mobile phone.
And current most of navigation device remains employing windowsCE operating system, and this navigator is except providing simple navigation Service and DVD broadcasting, can not meet most of demands of user.Although this navigation device can external 3G network interface card, provide network support, the number of applications of windowsCE is also few.
Summary of the invention
The technical problem to be solved in the present invention there are provided the method for the multiplexing personal mobile information termination function of a kind of automatic navigator.
For solving the problems of the technologies described above, the present invention is realized by following scheme: the method for the multiplexing personal mobile information termination function of a kind of automatic navigator, and the method relates to personal mobile information terminal, automatic navigator two hardware devices;
Described personal mobile information terminal be support WIFI function or have USB interface or the personal mobile information terminal that has Bluetooth function, mainly comprise smart mobile phone, panel computer, palmtop PC, digital camera;
Described automatic navigator be support WIFI function or have USB interface or the automatic navigator that has Bluetooth function, mainly comprise primary processor, memory, microcontroller, audio frequency and video process chip, input/output interface, touch display screen and functional module;
Described functional module mainly comprises: radio module, bluetooth module, DVD, GPS module, WIFI module, television module;
A service terminal software is added in described personal mobile information terminal, a client software matched with described personal mobile information Terminal Service end software is added in described automatic navigator systems soft ware, described automatic navigator and personal mobile information terminal are connected by wireless WIFI or USB data line or wireless blue tooth, and under the co-ordination of service terminal software and client software, realizing all functions of the multiplexing personal mobile information terminal of automatic navigator, the Voice & Video image of personal mobile information terminal is real-time transmitted on automatic navigator;
The screen of described automatic navigator can be seen the operation interface of personal mobile information terminal and the video image of broadcasting, and by using the operation interface transmitted, on the touch display screen of automatic navigator, direct control controls personal mobile information terminal;
The method comprises the following steps:
The first step, connect, its connected mode divides three kinds, is respectively bluetooth connection, USB data line connects, WIFI connects, and wherein, can give personal mobile information terminal charge while of using USB to connect;
Second step, IP is arranged, by arranging, Dynamic Acquisition IPv4 address, no matter WIFI or USB, personal mobile information terminal all needs to support DHCP function, allows automatic navigator automatic acquisition IP address;
3rd step, system realizes, and this system realizes comprising the following steps:
A, discovery: broadcast.The first step in UPnP network finds.When automatic navigator is added in network, UPnP plug and play Controlling vertex detection protocol allows this automatic navigator to the service of control point broadcast oneself, same, when a control point joins in network time, it also can search that exist in network, interested automatic navigator relevant information, and the basis of this two type is a kind ofly only comprise a small amount of, important relevant device information or its certain service alternately;
Next step of b, UPnP network describes, when a control point detects automatic navigator, it is still known little about it to this equipment, in order to make control point understand more information about this equipment or carry out alternately with equipment, the URL that control point must comprise from the Detection Information that equipment sends obtains more information; The UPnP description of certain equipment is the mode of XML XML (extensible Markup Language), comprises brand, manufacturer's relevant information, as model name and numbering, serial number, manufacturer's name, brand related urls; Describe and also comprise an embedded device and service list, and control, URL that event transfer is relevant with existence; For often kind of equipment, describe and also comprise an order or action lists, comprise which kind of service of response, for the parameter of various action; The state information of equipment when these variable descriptions go out to run, and be described by their data type, scope and event;
Next step of c, UPnP network controls, and after a control point gets automatic navigator descriptor, it just can send instruction to automatic navigator; In order to realize this, control point sends a suitable control message and is included in device description to service relevant control URL, and control message is also described by Simple Object Access Protocol XML; Similar function call, the value of serving by return action is relevant responds control message, the effect of action, if any, can react to for portraying the correlated variables of serving in operation;
D, next step is event notice, a UPnP describes the variable comprising Management Information Base hurdle table and portray run time behaviour information, service upgrades when these variablees change, control point can carry out subscribing to obtain relevant change, serve and issue renewal by sending event message, event message comprises one or more state information variable and their current value; These message are also the forms adopting XML, format with General Event Notification system GENA; A special initial message can send when control point first time subscribes to, and it comprises the relevant variable name of service and value; In order to support multiple control point and the situation of depositing, event notice is designed to for all parallel notice in all control points; Therefore, all subscribers receive all event notices comparably;
E, final step are Alive, if equipment is with existing URL, so control point can obtain device A live information by it, namely loads URL in a browser, and allow user to carry out relevant control or to check operation;
4th step, VNC Virtual Networking Computing realizes UI human-computer interface control, and Mirrorlink mirror image connects in plug and play Controlling vertex, and long-range UI control inerface is based on VNC protocol realization, and VNC agreement is based on TCP or IP protocol realization; And this part is also whole ML plug and play Controlling vertex application core part, when equipment finds new equipment by UPnP UPnP, and after authentication success, start to set up TCP or IP session, if return successfully, then start initialization codec, carry out transmission and the control of UI, in Initialize installation, include display resolution, color, with the initialization of FrameBuffer video display apparatus, image data transmission formatting, initialization button arranges and touches and arranges.
Further, when the touch display screen of described automatic navigator shows personal mobile information end message, the information interface of display can carry out convergent-divergent, automatically according to actual needs to reach the optimum efficiency of display.
Further, when server end during described Mirrorlink mirror image connects and client and personal mobile information terminal and automatic navigator are normally connected, there will be the infomational message of a normal palmic rate, while keep session normal, if overtime does not receive the infomational message of palmic rate, then illustrate that session disconnects.
Further, the Voice & Video image of personal mobile information terminal is real-time transmitted on automatic navigator, its audio transmission is completed by two parts, these two parts comprise RTPServer streaming media server and RTPClient streaming media clients two parts, and audio transmission also can adopt bluetooth connected mode to transmit.
Further, the address (IP or URL) of described RTPServer streaming media server is obtained by UPnP protocol, after described RTPClient streaming media clients takes corresponding address, initiatively set up session, and start realaudio data transmission.
Further, the information that described personal mobile information terminal can will receive, is sent to automatic navigator in real time, and the information content is shown in automatic navigator touch display screen, the type of reminders being sent to automatic navigator is needed in described personal mobile information terminal, can User Defined.
Further, described personal mobile information terminal and automatic navigator can carry out exchanges data, when whole system needs, data are sent to the other side by Transmission Control Protocol.
Further, the sound that personal mobile information terminal transmission is come is heard in sound equipment in the car that described automatic navigator connects, this sound is at least personal mobile information terminal plays music, film, play phone, the sound sent of playing games, thus achieve and just can to operate on automatic navigator touch display screen and all functions of shared personal mobile information terminal.
Advantage of the present invention is: the present invention can strengthen the function of automatic navigator greatly, saves exploitation and the manufacture of identical function, reduces the cost of automatic navigator.Simultaneously, owing to using wifi or blue tooth wireless technology, personal mobile information terminal is positioned over optional position in car can realize the reliable interconnect with automatic navigator, therefore for the personal mobile information termination function of row occupant rear in multiplexing car brings great convenience.
Accompanying drawing explanation
Fig. 1 is personal mobile information terminal guidance examples of interfaces figure of the present invention;
Fig. 2 is automatic navigator of the present invention multiplexing personal mobile information terminal interface schematic diagram;
Fig. 3 is the system framework figure of the inventive method;
Fig. 4 is that personal mobile information terminal of the present invention finds automatic navigator protocol frame figure;
Fig. 5 is automatic navigator RTP setting procedure of the present invention;
Fig. 6 is personal mobile information terminal RTP setting procedure of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is elaborated.
As shown in Figures 1 to 6, the method for the multiplexing personal mobile information termination function of a kind of automatic navigator, the method relates to personal mobile information terminal 2, automatic navigator 1 two hardware devices, described personal mobile information terminal 2 for there is WIFI function or have USB interface or the terminal that has Bluetooth function, mainly comprise smart mobile phone, panel computer, palmtop PC, digital camera, described automatic navigator 2 for there is WIFI function or have USB interface or the automatic navigator that has Bluetooth function, mainly comprise primary processor, memory, microcontroller, audio frequency and video process chip, input/output interface, touch display screen 11 and functional module, described functional module mainly comprises: radio module, bluetooth module, DVD, GPS module, WIFI module, television module, a service terminal software is added in described personal mobile information terminal 2, a client software matched with described personal mobile information terminal 2 service terminal software is added in described automatic navigator 1 systems soft ware, described automatic navigator 1 and personal mobile information terminal 2 are connected by wireless WIFI or USB data line or wireless blue tooth, and under the co-ordination of service terminal software and client software, realize all functions of the multiplexing personal mobile information terminal 2 of automatic navigator 1, the Voice & Video image of personal mobile information terminal 2 is real-time transmitted on automatic navigator 1, therefore the operation interface of personal mobile information terminal 2 and the video image of broadcasting can be seen on the screen of automatic navigator 1, and by using the operation interface transmitted, the touch display screen of automatic navigator 1 can control personal mobile information terminal 2 by direct control, the sound that personal mobile information terminal 2 transmits is heard in sound equipment in the car that also can connect at automatic navigator 1, this sound is at least that personal mobile information terminal 2 is play music, film, played phone, the sound sent of playing games, thus achieve and just can to operate on automatic navigator 1 touch display screen 11 and all functions of shared personal mobile information terminal 2, that is automatic navigator 1 has all functions of personal mobile information terminal 2.
The method of the multiplexing personal mobile information termination function of automatic navigator of the present invention, comprises the following steps:
The first step, connect, its connected mode divides three kinds, is respectively bluetooth connection, USB data line connects, WIFI connects, and wherein, can charge the while of using USB to connect to personal mobile information terminal 2;
Second step, IP is arranged, by arranging, Dynamic Acquisition IPv4 address, no matter WIFI or USB, personal mobile information terminal 2 all needs to support DHCP function, allows automatic navigator 1 automatic acquisition IP address;
3rd step, system realizes, and this system realizes comprising the following steps:
F, be added in network when personal mobile information terminal 2, UPnP plug and play Controlling vertex detection protocol allows this personal mobile information terminal 2 to the service of control point broadcast oneself, same, when a control point joins in network time, it also can search that exist in network, interested personal mobile information terminal 2 relevant information, and the basis of this two type is a kind ofly only comprise a small amount of, important relevant device information or its certain service alternately;
Next step of g, UPnP network describes, when a control point detects automatic navigator 1, it is still known little about it to this equipment, in order to make control point understand more information about this equipment or carry out alternately with equipment, the URL that control point must comprise from the Detection Information that equipment sends obtains more information; The UPnP description of certain equipment is the mode of XML XML (extensible Markup Language), comprises brand, manufacturer's relevant information, as model name and numbering, serial number, manufacturer's name, brand related urls; Describe and also comprise an embedded device and service list, and control, URL that event transfer is relevant with existence; For often kind of equipment, describe and also comprise an order or action lists, comprise which kind of service of response, for the parameter of various action; The state information of equipment when these variable descriptions go out to run, and be described by their data type, scope and event;
Next step of h, UPnP network controls, and after a control point gets the descriptor of automatic navigator 1, it just can send instruction to automatic navigator 1; In order to realize this, control point sends a suitable control message and is included in device description to service relevant control URL, and control message is also described by Simple Object Access Protocol XML; Similar function call, the value of serving by return action is relevant responds control message, the effect of action, if any, can react to for portraying the correlated variables of serving in operation;
I, next step is event notice, a UPnP describes the variable comprising Management Information Base hurdle table and portray run time behaviour information, service upgrades when these variablees change, control point can carry out subscribing to obtain relevant change, serve and issue renewal by sending event message, event message comprises one or more state information variable and their current value; These message are also the forms adopting XML, format with General Event Notification system GENA; A special initial message can send when control point first time subscribes to, and it comprises the relevant variable name of service and value; In order to support multiple control point and the situation of depositing, event notice is designed to for all parallel notice in all control points; Therefore, all subscribers receive all event notices comparably;
J, final step are Alive current actives, if equipment is with existing URL, so control point can obtain device A live information by it, namely loads URL in a browser, and allow user to carry out relevant control or to check operation;
4th step, VNC Virtual Networking Computing realizes UI human-computer interface control, and Mirrorlink mirror image connects in plug and play Controlling vertex, and long-range UI control inerface is based on VNC protocol realization, and VNC agreement is based on TCP or IP protocol realization; And this part is also whole ML plug and play Controlling vertex application core part, when equipment finds new equipment by UPnP UPnP, and after authentication success, start to set up TCP or IP session, if return successfully, then start initialization codec, carry out transmission and the control of UI, in Initialize installation, include display resolution, color, with the initialization of FrameBuffer video display apparatus, image data transmission formatting, initialization button arranges and touches and arranges.
When the touch display screen 11 of described automatic navigator 1 shows personal mobile information terminal 2 information, the information interface of display can carry out convergent-divergent, automatically according to actual needs to reach the optimum efficiency of display.
When server end during described Mirrorlink mirror image connects and client and personal mobile information terminal and automatic navigator are normally connected, there will be the infomational message of a normal palmic rate, while keep session normal, if overtime does not receive the infomational message of palmic rate, then illustrate that session disconnects.
The Voice & Video image of personal mobile information terminal is real-time transmitted on automatic navigator, its audio transmission is completed by two parts, these two parts comprise RTPServer streaming media server and RTPClient streaming media clients two parts, and audio transmission also can adopt bluetooth connected mode to transmit.
The address (IP or URL) of described RTPServer streaming media server is obtained by UPnP protocol, after described RTPClient streaming media clients takes corresponding address, initiatively sets up session, and start realaudio data transmission.
Described personal mobile information terminal 2 can by the information that receives and image 21, be sent to automatic navigator 1 in real time, the information content is shown in touch display screen 11 by automatic navigator 1, image and the information of its display are consistent with the image of the display of personal mobile information terminal 2 and information, simultaneously personal mobile information terminal 2 acoustic information synchronous transmission on automatic navigator 1, and play by the stereo set in car, need the type of reminders being sent to automatic navigator 1 in described personal mobile information terminal 2, can be arranged by User Defined.
Described personal mobile information terminal 2 can carry out exchanges data with automatic navigator 1, when whole system needs, data is sent to the other side by Transmission Control Protocol.
The foregoing is only the preferred embodiment of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.