Carry out the method and system of second interworking protocol expansion based on first interworking protocol
Technical field
The present invention relates to the download and the upgrading of software, relate to first equipment particularly and be connected with second equipment by first interworking protocol, according to the device parameter of first equipment that is obtained and/or second equipment automatically from the method and system of second interworking protocol between the automatic download of server and second equipment.
Background technology
Realize the communication of various objectives between the communication equipment by various interworking protocols, become a kind of general application.For example, recently the multiple short distance wireless technical that increases sharply, bluetooth (Bluetooth) technology, Wi-Fi (Wireless Fidelity) technology, Wibree technology, Wireless USB technology and UWB (Ultra WideBand, ultrawideband) technology, separately bottom physical layer protocol and upper layer application protocol are arranged respectively, carry out intercommunication by these agreements between the wireless device, make the user break away from the puzzlement of cable.Along with the development of wireless technology, these wireless interworking protocols are also being brought in constant renewal in, and the content of wireless interworking protocol itself (as the upper layer application protocol of bluetooth) is also constantly increasing.
For interworking protocol, engender the demand that some are new at present.
At first, intercommunication demand between two equipment has been not limited to the basic standard of interworking protocol, the Extended Protocol and the expanded application of a lot of non-global sole criterions are developed, and these Extended Protocols and expanded application are often at the particular device of particular vendor.Therefore, for finishing certain Extended Protocol and expanded application, an equipment need be installed a plurality of different interworking protocols and correspond respectively to multiple different particular device, these interworking protocols itself can be brought in constant renewal in, and the particular device of particular vendor is also in continuous increase, consider the restriction of this device memory, this equipment can not all interworking protocols of storage.Therefore, need this equipment for the first time and certain other equipment when carrying out intercommunication the user, must be according to the device parameter of this equipment and other equipment, its corresponding Extended Protocol of dynamic download to the specific interworking protocol server.
The second, for other equipment, for finishing this expanded application, its corresponding interworking protocol also need increase, safeguards or upgrade.
At present for the upgrading of software or firmware, all being equipment self usually communicates comparison with information such as software/firmware version and server, is upgraded to latest edition then.But maintenance for the interworking protocol of two interwork units, because relate to the communication issue of intercommunication, the replacement of can not simply upgrading, but need be according to intercommunication both sides' device parameter, as supported interworking protocol and version information, or existing interworking protocol and version information etc. select suitable interworking protocol and corresponding version, carry out interworking protocol then and upgrade, to reach the purpose of intercommunication.
For instance, in-vehicle navigation apparatus and mobile phone can further increase personal information management (Personal Information Management, PIM) interworking protocol collection on based on the bluetooth serial ports communication infrastructure, to transmit the contact person, carry out note and send and communication such as to read.But because interworking protocol and mobile phone model that in-vehicle navigation apparatus and mobile phone end are adopted have substantial connection.In an in-vehicle navigation apparatus, can not put down the relevant PIM interworking protocol collection of all mobile phones, therefore need to obtain corresponding PIM interworking protocol collection, and download and install this IWF that to realize with mobile phone according to mobile phone model present and that it communicates.If desired, also need more corresponding PIM interworking protocol collection on the new cell-phone.
The 3rd, updating maintenance for the interworking protocol of two interwork units, not only be confined to the updating maintenance of the interworking protocol on the basic agreement, also may be by the first less radio-frequency hardware interworking protocol, carry out updating maintenance based on the interworking protocol of the second less radio-frequency hardware.This has meaning for the equipment of the communication that two or more is arranged.
In addition, interworking protocol for a certain equipment, graft application is to different platform simultaneously, such as being used for the computer windows platform simultaneously, the perhaps platform of a Windows CE, when obtaining interworking protocol, also need information such as operation platform according to first equipment, obtain suitable interworking protocol.
Above protocol update process, the user is manual to carry out if allow, and complicated operating process, feasibility are not high.
Consider these demands, the method and system that need provide the interworking protocol between a kind of communication equipment to download is used to solve interworking protocol and downloads and safeguard, realizes upgrading in time of interworking protocol simultaneously.
Summary of the invention
The invention discloses the server of the various interworking protocols of a kind of centralized stores, and realize that first equipment and second equipment carry out the method and system of second interworking protocol expansion based on first interworking protocol.
An aspect of of the present present invention has proposed to carry out the system that second interworking protocol is expanded based on first interworking protocol.System comprises first equipment, second equipment and server.Wherein first equipment and second equipment have first interworking protocol, can communicate by first interworking protocol; First equipment can pass through IP network Connection Service device, with the interworking protocol on the Download Server; First equipment and second equipment have device parameter, as manufacturer's information and product type, and operation platform, hardware information (comprising radio type) and existing interworking protocol and version information; And server, be used to store interworking protocol more than a kind of, and each interworking protocol is corresponding to the device parameter of interwork unit, and wherein the device parameter of interwork unit can be the combination of the device parameter of two interwork units, also can be the some device parameters in the interwork unit.For example, comprise second interworking protocol that is used for carrying out between first equipment and second equipment intercommunication in the server, the device parameter of its corresponding interwork unit can be the device parameter of first equipment so, also can be the device parameter of second equipment, can also be the device parameter combination of first equipment and second equipment.
First equipment and second equipment can communicate by first interworking protocol, obtain the device parameter of second equipment, also can know the device parameter of oneself by inquiry.First equipment is with the device parameter announcement server of first equipment and/or second equipment, and server selects corresponding interworking protocol to return to first equipment, comprising second interworking protocol.
First equipment is installed in the corresponding protocols layer with second interworking protocol, is used for supporting to communicate by second interworking protocol with second equipment.If second equipment also need to install second interworking protocol could with first device intercommunicating, then first equipment sends to second equipment with second interworking protocol, second equipment is installed in the corresponding protocols layer with second interworking protocol.
Another aspect of the present invention has proposed to carry out first equipment that second interworking protocol is expanded based on first interworking protocol, and comprising: the first interworking protocol module is used for carrying out intercommunication with second equipment by first interworking protocol; Network communication module is used for by IP network Connection Service device; And control management module, be used to obtain and write down the device parameter of first equipment and/or second equipment, the Control Network communication module is with the device parameter announcement server of first equipment and/or second equipment, and the corresponding interworking protocol that returns of reception server, comprising second interworking protocol of supporting that first equipment and second equipment carry out intercommunication, and be used for control installation second interworking protocol at the corresponding protocol layer, communicate by second interworking protocol with the support and second equipment.
Another aspect of the present invention, proposed to carry out the server of second interworking protocol expansion based on first interworking protocol, comprise: the interworking protocol database, be used for more than a kind of interworking protocol with corresponding to the device parameter of the interwork unit of each interworking protocol, comprise at least the second interworking protocol that is used for intercommunication between first equipment and second equipment and the device parameter of corresponding first equipment and/or second equipment; Network communication module is used for setting up IP network with first equipment and is connected, first equipment that first equipment that receives sends and/or the device parameter of second equipment; And comparative analysis module, whether the device parameter that is used for the first received equipment of comparative analysis and/or second equipment is included as the device parameter of the interwork unit of interworking protocol database interworking protocol, if, then select the interworking protocol of this device parameter correspondence, comprise second interworking protocol, the IP network that connects by network communication module sends to first equipment.
Another aspect of the present invention, first equipment and second equipment carry out the expansion of second interworking protocol based on first interworking protocol method has also been proposed, its step comprises: more than a kind of interworking protocol, and each interworking protocol is corresponding to the device parameter of interwork unit in server stores; First equipment obtains and writes down the device parameter of first equipment and/or second equipment; First equipment is by IP network Connection Service device, device parameter announcement server with first equipment and/or second equipment, its device parameter according to first equipment and/or second equipment of server selects corresponding interconnection agreement to return to first equipment, comprising second interworking protocol; And first equipment second interworking protocol is installed in the corresponding protocols layer, be used for supporting communicating by second interworking protocol with second equipment.If second equipment also need to install second interworking protocol could with first device intercommunicating, then first equipment sends to second equipment with second interworking protocol, second equipment is installed in the corresponding protocols layer with second interworking protocol, is used for communicating by second interworking protocol with first equipment.
In one embodiment, second interworking protocol comprises first and second portion, first equipment is installed in the corresponding protocols layer with the first of second interworking protocol, and the second portion of second interworking protocol sent to second equipment, second equipment is installed the second portion of second interworking protocol behind the corresponding protocols layer, and first equipment and second equipment carry out intercommunication by the first and the second portion of second interworking protocol respectively.
Preferably, first interworking protocol is the short-distance wireless interworking protocol, can be in Bluetooth protocol, Wi-Fi agreement and the UWB agreement one of them.Second interworking protocol can be the short-distance wireless interworking protocol, also can be based on the upper-layer protocol of first interworking protocol.
In addition, when first equipment is found the redaction of second interworking protocol from server, also support to download redaction the 3rd interworking protocol of second interworking protocol and finish automatic renewal from server.Particularly, first equipment is by first interworking protocol and second device intercommunicating, and interworking protocol and the version information that second equipment that obtains is installed also sends to server, comprising the version information of second interworking protocol.Detect redaction the 3rd interworking protocol of second interworking protocol when server, then server sends the 3rd interworking protocol to first equipment to upgrade second interworking protocol, and first equipment upgrades second interworking protocol with the 3rd interworking protocol second equipment that sends to simultaneously.
Description of drawings
By describing flow process of the present invention in detail, will help to understand objects and advantages of the present invention by the preferred embodiment accompanying drawing.Wherein:
Fig. 1 is a kind of system architecture diagram that carries out the expansion of second interworking protocol based on first interworking protocol;
Fig. 2 is the structured flowchart of interworking protocol database in the server;
Fig. 3 is a kind of method message flow chart of carrying out the expansion of second interworking protocol based on first interworking protocol;
Fig. 4 is according to a preferred embodiment of the invention, provides the system architecture diagram of realizing between PDA and the bluetooth cellular phone that carries out the expansion of second interworking protocol based on the bluetooth interworking protocol;
Fig. 5 is the message flow chart of preferred embodiment among Fig. 4;
Fig. 6 is according to another preferred embodiment of the present invention, provides the system architecture diagram that carries out the expansion of the second short-distance wireless interworking protocol by the first short-distance wireless interworking protocol;
Fig. 7 is the message flow chart of preferred embodiment among Fig. 6.
Embodiment
Fig. 1 is a kind of system architecture diagram that carries out the expansion of second interworking protocol based on first interworking protocol.
As shown in Figure 1, system comprises first equipment 100, second equipment 104 and server 105.Wherein first equipment 100 comprises: the first interworking protocol module 103 is used for carrying out with the first interworking protocol module 109 of second equipment 104 the intercommunication S100 of first interworking protocol; Network communication module 101 is used for setting up IP network with server 105 and is connected S101; And control management module 102, be used to control the device parameter that the first interworking protocol module 103 is obtained second equipment 104, and/or inquire about self device parameter, and Control Network communication module 101 is with the device parameter announcement server 105 of this first equipment and/or second equipment 104, and the corresponding interworking protocol that returns of reception server 105, and select required interworking protocol to be installed in respective layer.
Server 105 comprises: interworking protocol database 106, be used for comprising being used for carrying out between first equipment 100 and second equipment 104 at least the second interworking protocol of intercommunication and the device parameter of corresponding first equipment 100 and/or second equipment 104 more than a kind of interworking protocol with corresponding to the device parameter of the interwork unit of each interworking protocol; Network communication module 108 is used for setting up IP network with first equipment 100 and is connected S101, first equipment 100 that first equipment 100 that receives sends and/or the device parameter of second equipment; And comparative analysis module 107, whether the device parameter that is used for the first received equipment 100 of comparative analysis and/or second equipment 104 is the device parameter of the interwork unit of certain interworking protocol correspondence, if, then select the interworking protocol of this device parameter correspondence, comprise second interworking protocol, send to first equipment 100 by network communication module 108.
In preferred embodiment, the device parameter of first equipment 100 and second equipment 104 is one of them or both combinations of manufacturer's information, product type, operation platform, hardware information, existing interworking protocol and version thereof.
Fig. 2 is the structured flowchart of interworking protocol database in the server.
A preferred interworking server protocol library as shown in Figure 2, in the server storage more than a kind of interworking protocol, and each interworking protocol parameter and corresponding to the device parameter of the interwork unit of each interworking protocol.Wherein the interworking protocol parameter comprises version information, operation platform and the hardware information (comprising the less radio-frequency type) of interworking protocol, and the device parameter of the interwork unit of each interworking protocol comprises manufacturer's information and product type.The side that the interworking protocol of considering only needs at interwork unit installs and gets final product intercommunication, and have need the interwork unit both sides all to install could to realize IWF, even this interworking protocol that the interwork unit both sides need install partly is different, therefore comprises " the interworking protocol part of download " of each interwork unit in parameter.
For example, the PIM interworking protocol is the personal information management interworking protocol that is applicable between the b model mobile phone of a model onboard navigation system of A company and B company.The version information of this PIM interworking protocol of server stores is V2.0, operation platform is Windows CE, specifying a model vehicle mounted guidance of A company simultaneously is the first that downloads and installs this PIM interworking protocol, and the b model mobile phone-downloaded of B company is installed the second portion of this PIM interworking protocol.
Again for example, the version information of UWB interworking protocol is V1.0, and operation platform is Windows, and hardware information is for possessing the UWB radio frequency.Therefore, as long as two interwork units has windows platform and a UWB radio frequency, and interwork unit itself does not possess this UWB interworking protocol, just can arrive server and download this UWB interworking protocol automatically, and server specifies two interwork units all to download and install the whole of this UWB interworking protocol.
Fig. 3 is a kind of method message flow chart of carrying out the expansion of second interworking protocol based on first interworking protocol.
As shown in Figure 3, first equipment is set up first interworking protocol with second equipment and is connected S300, first equipment is by the device parameter S301 of this first interworking protocol connection inquiry, second equipment, and second equipment returns its device parameter S302 by this first interworking protocol connection; First equipment obtains the device parameter S303 of self; First equipment is by IP network Connection Service device S304, and to the device parameter S305 of server notification first equipment and/or second equipment, server is selected corresponding interworking protocol according to the device parameter of first equipment and/or second equipment, comprise the second interworking protocol S306, should comprise that second interworking protocol returned to the first equipment S307 by corresponding interworking protocol.
First equipment is installed in corresponding protocols layer S308 with second interworking protocol (the perhaps part of second interworking protocol), is used for supporting to communicate by second interworking protocol with second equipment.(the perhaps part of second agreement) could carry out the intercommunication of second interworking protocol with first equipment if second equipment also needs to install second interworking protocol, then first equipment sends to the second equipment S309 with second interworking protocol (the perhaps part of second agreement), and second equipment is installed in corresponding protocols layer S310 with second interworking protocol (the perhaps part of second agreement).First equipment and second equipment carry out intercommunication S311 by second interworking protocol.
Fig. 4 and Fig. 5 provide the system architecture diagram and the message flow chart of carrying out the expansion of PIM interworking protocol based on the bluetooth interworking protocol that realize between PDA and the bluetooth cellular phone respectively according to a preferred embodiment of the invention.
Can communicate by bluetooth S400 between PDA400 and the bluetooth cellular phone 401.(Dial Up Networking Profile DUNP) allows the user to support the modulator-demodulator or the mobile phone of this standard to come the wireless access internet by one to bluetooth Dial-up Network using standard.Therefore connect the equipment of IP network for inconvenience by fixed line, can by with bluetooth cellular phone 401 between set up DUN and be connected and realize dialling up on the telephone.In the present embodiment, PDA400 realizes dialling up on the telephone by the bluetooth DUN service of bluetooth cellular phone 401, sets up IP network with server 402 and is connected S401.Simultaneously, PDA400 also can pass through alternate manner, and as fixed line, directly carrying out IP network with server 402 is connected S402.
The message flow chart that PDA400 downloads the method for PIM interworking protocol between PDA400 and the bluetooth cellular phone 401 from server 402 by IP network as shown in Figure 5.In the present embodiment, preferably, the device parameter of bluetooth cellular phone 401 is manufacturer's information and product type.(Serial Port Profile SPP) has defined the process of emulation serial link, for virtual serial port is provided between the bluetooth equipment to the bluetooth serial ports using standard.Therefore PDA400 can connect to the relevant AT instruction of bluetooth cellular phone 401 transmissions, with manufacturer's information and the product type that obtains bluetooth cellular phone 401 by bluetooth SPP.
Concrete step comprises: PDA400 sets up bluetooth SPP with bluetooth cellular phone 401 and is connected S500, to bluetooth cellular phone 401 sends " AT+CGMI? " instruction query manufacturer's information S501, bluetooth cellular phone 401 returns the manufacturer's information S502 of self, as " NOKIA "; PDA400 again to bluetooth cellular phone 401 sends " AT+CGMM? " inquiry product type S503, bluetooth cellular phone 401 returns its product type S504, and as " N73 ", thereby PDA400 has obtained the device parameter " B b " of bluetooth cellular phone 401; PDA400 sets up bluetooth DUN with bluetooth cellular phone 401 and is connected S505, dials up on the telephone with Connection Service device 402 S506 by bluetooth cellular phone, and with device parameter (manufacturer's information and product type) announcement server 402 S507 of bluetooth cellular phone 401; Server 402 is selected corresponding interworking protocol according to the device parameter of bluetooth cellular phone 401, comprises PIM interworking protocol S508, and should comprise that the PIM interworking protocol sent to PDA400 S509 by corresponding interworking protocol; The PIM interworking protocol is the upper-layer protocol of bluetooth interworking protocol, being based on AT that bluetooth SPP connect to send PIM interworking protocol regulation orders and realizes intercommunication, therefore PDA400 installs the PIM interworking protocol at the upper strata of bluetooth interworking protocol S510, be connected the intercommunication S511 that carries out the PIM interworking protocol by bluetooth SPP with second equipment, for example transmit the contact person, note sends and communication such as to read.
Fig. 6 and Fig. 7 provide the system architecture diagram and the message flow chart of carrying out the expansion of UWB interworking protocol based on the bluetooth interworking protocol that realize between first computer and second computer respectively according to a preferred embodiment of the invention.
Can communicate by bluetooth S600 between first computer 600 and second computer 601, and first computer 600 and server 602 are connected S601 by IP network.
The message flow chart that first computer 600 is downloaded the method for UWB interworking protocol between first computers 600 and second computer 601 from server 602 by IP network as shown in Figure 7.In the present embodiment, preferably, the device parameter of interwork unit is the operation platform and the hardware information of first computer 600 and second computer 601, comprises radio type.First computer 600 can connect operation platform and the hardware information that obtains second computer 601 by bluetooth, and wherein operation platform is Windows, and radio type comprises Bluetooth RF and UWB radio frequency.The operation platform of first computer 600 is Windows also simultaneously, also comprises two types of Bluetooth RF and UWB radio frequencies in the hardware information.
Concrete step comprises: first computer 600 is set up bluetooth with second computer 601 and is connected S700, first computer 600 is to second computer, 601 inquiry operation platform and hardware information S701, second computer 601 returns operation platform and the hardware information of self, comprise that operation platform is Windows, radio type is Bluetooth RF and UWB radio frequency S702 at least; First computer 600 obtains the hardware information of self simultaneously, comprises that operation platform is Windows, and radio type is Bluetooth RF and UWB radio frequency S703 at least; First computer 600 is by IP network and server 602 S704 that connects, and with the operation platform and hardware information announcement server 602 S705 of first computer 600 and second computer 601; Server 602 is selected corresponding interworking protocol according to the operation platform and the hardware information of first computer 600 and second computer 601, comprise UWB interworking protocol S706, and should comprise that the UWB interworking protocol sent to first computer, 600 S707 by corresponding interworking protocol; First computer 600 is installed UWB interworking protocol S708 on the UWB radio frequency, for example the drive part in the UWB interworking protocol is installed in corresponding Drive Layer, and the applying portion of UWB interworking protocol is installed in application layer; First computer 600 is issued second computer, 601 S709 with the UWB interworking protocol, and second computer is installed in the UWB interworking protocol equivalent layer S710 on the UWB radio frequency equally; First computer and second computer carry out intercommunication S711 by the UWB interworking protocol.
Though the present invention illustrates and describes with reference to its preferred embodiment, but will be understood by those skilled in the art that, under the situation of the spirit and scope of the present invention that do not break away from the appended claims and limited, can carry out the various changes of form and details.