Summary of the invention
The objective of the invention is to propose a kind of can be simple and automatically updated, the method for burning, installation.In the invention process, utilize SIP SIP (Session Initiation Protocol) to come communication device is made system update, can allow communication device start automatic renewal, burning or installation by the present invention by one key; And the user does not need to input one by one user's title and password, can carry out the renewal of communication device system, and has higher fail safe and confidentiality when transmission.
According to above-mentioned purpose, the present invention is by a kind of SIP, communication device is obtained IP address (Internet Protocol Address by the channel (Gateway) of SIP, IPaddress), by this IP address, this communication device can connect sip server, pass through user's authentication again after, this communication device can connect the local update that sip server is done system.
SIP (Session Initiation Protocol, SIP) be an elementary instruction control protocol, SIP is a kind of simple signal transfer protocol that the Internet session or the networking telephone are linked up each other, therefore its structure is the communications protocol of point-to-point (peer-to-peer), and the renewal of doing system by the SIP communications protocol has safe and secret and convenient simple and direct advantage.
In order to realize above-mentioned purpose, according to an aspect of the present invention, provide a kind of method for updating system of network equipment, comprise: between the network equipment of client and service end, set up calling on-line; Transfer system more new data to this network equipment; Finish this calling on-line; And carry out system update in this network equipment this locality.
In order to realize above-mentioned purpose, according to another aspect of the present invention, also provide a kind of can be automatically and directly carry out the system of system update, comprise: the network equipment of client; Service end, after setting up calling on-line between this network equipment and this service end, more new data is to this network equipment for this service end transfer system, and this network equipment promptly carries out local system and upgrades.
In order to realize above-mentioned purpose, according to another aspect of the present invention, also provide a kind of can be automatically and directly carry out the network equipment of system update, it carries out following steps: and set up calling on-line between the service end, and receive the system update data that this service end sends; Finish this calling on-line; And carry out system update in this network equipment this locality.
In order to realize above-mentioned purpose, according to another aspect of the present invention, also provide a kind of can be automatically and directly carry out the service end server of system update, it carries out following steps: and set up calling on-line between the network equipment of client; More new data is to this network equipment for transfer system, and these system update data can be carried out system update in this network equipment this locality; And this calling on-line of end.
Embodiment
SIP (Session Initiation Protocol, SIP) be the agreement that belongs to open system interface OSI (Open Systems Interconnection) application layer (Application Layer), as control protocol initial, that safeguard and finish a meeting.SIP adopts and HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol, HTTP) similar agreement, use the structure of master/slave (client/server), SIP also can utilize the existing packet data of HTTP in the processing of package (packet), therefore SIP is a kind of transmission structure that is highly suitable for the internet, the present invention promptly is based on this advantage, utilizes Session Initiation Protocol to come the renewal of system that communication device is done.
The 1st figure is the square concept map of the embodiment of the invention, communication device 100 is obtained IP address (Internet Protocol Address by the channel (Gateway) 110 of SIP, IPaddress) 120, by this IP address 120, this communication device 100 can connect sip server 130, after passing through user's authentication again, this communication device 100 can connect sip server 130 to carry out the renewal of system.In embodiments of the present invention, this communication device 100 can be wired communication product, and for example desktop PC, notebook computer maybe can connect the phone of internet etc.; Or wireless communication product, for example mobile radio network phone (WiFi phone) or personal digital assistant (Personal Digital Assistant, PDA) etc.After these communication device 100 connections are surfed the Internet,, can carry out the renewal of system by SIP.
The 2nd figure is the flow chart of the embodiment of the invention.At first, communication device 100 (for example networking telephone (VoIP phone)) by client requires (or to be called logging request to service end 130 (for example sip server or sip proxy server (Proxy)) proposition dialing, abbreviate requirement (Request) as) (step 1). in the present embodiment, be the SIP phone number of dialing service end 130 from the SIP networking telephone of client 100.
Service end (sip server) 130 can be sent an information that requires the other side to authenticate after receiving this requirement, be called authentication requesting (Authenticate) (step 2).For example, require the other side to carry out the encrypting and authenticating of MD5 by service end 130.
Then, in order to reply this authentication requesting, the information that client 100 will contain own authentication is sent, and is called authentication and replys (step 3).For example, adopt as heir previous example, this moment, client 100 promptly can send the personal identification information through md5 encryption to service end 130.
Service end 130 promptly can be examined after receiving that authentication is replied.If through passing, then can send one by (OK) information, perhaps (step 4) is confirmed in the authentication permission.If fail by, promptly can give a warning message or prepare to finish online of service end 130 then as for examination; Because this part is not feature of the present invention place, therefore be not shown in graphic in, be not further described yet.
Client 100 also needs to beam back one and confirms that (step 5) is so that service end 130 can confirm that the other side receives in answer (ACK) after receiving authentication permission affirmation (OK).So far, finish the affirmation of identity and finish system login, client 100 and service end 130 both sides are formal the online of conversation of setting up.
Then, service end 130 promptly can be carried out a series of data, transfer of data (step 6) according under this safety encipher on line state; In embodiments of the present invention, be meant that transfer system upgrades required program and data.Aforementioned each step mainly utilizes Session Initiation Protocol to be used as the foundation of both sides' calling on-line, then needs to use other agreement to finish as for the transfer of data in this step.For example, come for synchronized with each other, transmit actual data, data by real time transport protocol RTP (Real-Time Transport Protocol) again with Session Description Protocol SDP (Session Description Protocol).
When client 100 will finish this talks, can utilize the defined ending message of Session Initiation Protocol (Bye) to come notification service end 130 (step 7).The affirmation information (OK) of sending end in service end 130 (after the step 8), promptly finishes this transmission and conversation (END) (step 9).
In data transmit finish and end of conversation after, network communication device of the present invention promptly can carry out the renewal (300) of system automatically at this machine of client, shown in the 3rd figure.In embodiments of the present invention, mainly be divided into following three kinds of update modes.First kind of update mode 301 is obtained more new data to be copied to system directory get off to cover automatically the original system program; It covers the practice can use traditional practice, for example Windows Update.Second kind of 302 of update mode is that obtained installation kit is installed automatically.303 of the third update modes are with the firmware storage area of the automatic burning of refresh routine in embedded (embedded) device.
According to above-mentioned disclosed update method of the present invention and system, under enumerate several examples so that its application to be described.In first application examples, on the mobile radio network phone, install single renewal (update) key additional.When the user pressed this updating key, utilization can be linked to sip server by the customer accounting code number of authentication; After treating that communication channel is set up, this mobile phone utilizes Session Description Protocol SDP (SessionDescription Protocol) agreement to come the transmission system refresh routine; After the end to be transmitted, this mobile radio network phone i.e. update system voluntarily.In this example, Session Initiation Protocol is to be used for carrying out initialization, actual data or voice transfer then rely on Session Description Protocol SDP (Session DescriptionProtocol) to come for synchronized with each other, last both sides come communication according to the agreement of appointing the sixth of the twelve Earthly Branches again, and transmit actual text, data such as voice or image by real time transport protocol RTP (Real-Time Transport Protocol).
In second application examples, the application software that the user installs the available sessions initiation protocol on the table type computer, notebook computer, can connect personal digital assistant (the Personal DigitalAssistant of internet, PDA) or other can connect the device the inside of internet. in the connection behind the sip server, this server can be by the work that the user is authenticated, finish the system update action of application program by safe and secret mode, after transfer of data, this software carries out the renewal and the installation of system voluntarily.
In an embodiment of the present invention, when server and communication device when carrying out transfer of data, can be used network security protocol (Security Socket Layer, SSL), Transport Layer Security (Transport Layer Security, TLS) or other safe transmission mode, with required transfer of data to appointed positions, maintaining secrecy when guaranteeing transfer of data.
The embodiment of the invention described above only is explanation technological thought of the present invention and characteristics, its purpose makes those skilled in the art can understand content of the present invention and is implementing according to this, when can not with qualification claim scope of the present invention, be that all other do not break away from the various changes of the equivalence that disclosed spirit finishes or modify and all be encompassed in the disclosed scope of the present invention, all should be included in the following claim scope.