Summary of the invention
For this reason, embodiment of the invention technical problem to be solved is: a kind of method and system, portable terminal and software administration server of mobile terminal software auto-update are provided, can realize the auto-update of mobile terminal software.
So the embodiment of the invention provides a kind of method of mobile terminal software auto-update, comprising:
The software upgrading query requests that mobile terminal receive is initiated;
Whether needs are upgraded to judge mobile terminal software according to described query requests, if need upgrading, then the address of Download Server under the upgrade software are sent to portable terminal;
Portable terminal arrives the download server upgrade software according to the address of affiliated Download Server, and installs.The embodiment of the invention also provides a kind of system of mobile terminal software auto-update, comprises portable terminal, software administration server, message server, Download Server, and described portable terminal comprises:
Query requests is initiated the unit, is used to initiate the software upgrading query requests;
Receiving element is used to receive the address of Download Server under the upgrade software;
Download unit is used for the address according to Download Server under the upgrade software that receives, to affiliated download server upgrade software;
Installation unit is used for the upgrade software of downloading is installed;
Described software administration server comprises:
Receiving element is used for mobile terminal receive and initiates request;
Logical processing unit is used to judge whether mobile terminal software needs upgrading, if need upgrading, then notifies described message server;
Described message server is used to realize issuing and receiving of message, and the Download Server address under the upgrade software of portable terminal needs is issued;
Described Download Server is used to provide the upgrade software for downloading.
The embodiment of the invention also provides a kind of portable terminal, comprising:
Query requests is initiated the unit, is used to initiate the software upgrading query requests;
Receiving element is used to receive the address of the affiliated Download Server of upgrade software;
Download unit is used for the address according to Download Server under the upgrade software that receives, to affiliated download server upgrade software;
Installation unit is used for the upgrade software of downloading is installed.
The embodiment of the invention also provides a kind of software administration server, comprising:
Receiving element is used for mobile terminal receive and initiates request, comprises enquiry mobile terminal software upgrading request;
Logical processing unit is used to judge whether mobile terminal software needs upgrading, if need upgrading, then notice is used to the message server realizing that message is up or issue.
In sum, the embodiment of the invention by realizing on the software of portable terminal and the interface of software administration server, can be finished by portable terminal and initiate the software upgrading request, and carry out the mobile terminal software auto-update, solved the problem of mobile terminal software auto-update.
Embodiment
Below, in conjunction with the accompanying drawings the embodiment of the invention is described in detail.
Embodiment one
As shown in Figure 2, after enabling mobile terminal software on the portable terminal, portable terminal can be initiated the software upgrading query requests, comprise at least in this request software application sign (for example, ADBD-21243) and software version number (for example, V3.2);
The software administration server, receive described software upgrading query requests after, whether needs are upgraded to judge the software of portable terminal according to the software application sign that comprises in the request and software version number;
If mobile terminal software needs upgrading, then notify portable terminal to upgrade, and issue upgrade software information, comprise the information such as the simple introduction of software version number, software of upgrade software;
As option, after portable terminal knows that oneself can carry out software upgrading, send the data information request that memory mobile terminal need be preserved to the software administration server;
After the software administration server receives described storage request, store the data that described portable terminal need be preserved, and described mobile terminal user network identity (for example, phone number, identity pseudo-code etc. are the unique identification of user in network), the current current application identities of software version information, portable terminal of portable terminal, and send to preserve data-acknowledge message to portable terminal;
So, portable terminal sends the data that portable terminal need be stored to the software administration server, and, the software administration server is with the network identity of described portable terminal, the software version number sign as described mobile terminal data, also can be with user network sign, software identification, the software version number sign as described mobile terminal data;
Portable terminal sends confirmation to the software administration server, and the affirmation portable terminal has prepared to carry out software upgrading;
The software administration server keeps upgrade software information, so that the keeper can check the situation of software upgrading, this information comprises user network sign, software version number at least;
After the software administration server is received the described confirmation of portable terminal, send message informing message server portable terminal and prepare upgrade software, here need to prove, described message server is a kind of server that issues and receive that can realize message, the mode that issues as a kind of message, the embodiment of the invention adopts the Push message mode, and Push message can be realized by Push agency or WAP gateway, and the described message server of the embodiment of the invention adopts Push to act on behalf of and realizes;
The Push agency issues Push message to portable terminal, and message comprises the address information of upgrade software subordinate server at least, and the described address information of the embodiment of the invention adopts URL (Universal Resource Locator, unified resource location) information;
After portable terminal is received Push message, to the affiliated download server upgrade software of upgrade software, and install, wherein, portable terminal will be supported OMA (Open Mobile Alliance at least, open mobile alliance) download or MIDP (Mobile Information Device Profile, Mobile Information Device Profile) download;
Portable terminal downloads, install upgrade software after, move this upgrade software, portable terminal still can be initiated the software upgrading query requests, comprise at least in this request software application identify (for example, ADBD-21243) and software version number (for example, V3.2);
The software administration server judges that according to last request the software that portable terminal moves at present is upgrade software, issues acknowledge message to portable terminal, confirms that this software is upgrade software;
At above-mentioned option, in this step, the mobile terminal data that portable terminal is preserved before the software administration server obtains software upgrading according to the sign of described mobile terminal data, and on portable terminal, recovered, after recovery is finished, send data to the software administration server and recover the information that finishes;
So far, mobile terminal software upgrading finishes, and sends the acknowledge message that finishes of upgrading to the software administration server;
The software administration server is removed the interim information that software upgrading produces and preserves.
The method of the described mobile terminal software auto-update of present embodiment, on the application software of portable terminal, realized interface with the software administration server, promptly, when portable terminal need carry out software upgrading, escalation process does not have special requirement to portable terminal hardware, therefore, method that we can say this software automatic updating is not subjected to the restriction on the portable terminal hardware, especially for the office point of not using DM, can use the described method of present embodiment to realize the auto-update of mobile terminal software, and for the office point of having used DM, the embodiment of the invention can be used as replenishing of DM, to separate the software upgrade problem of DM portable terminal by no means.
At embodiment one described method, provided a networking structure schematic diagram, as shown in Figure 3, software administration server, Download Server and Push agency belong to IP network, and it is connected with portable terminal by the wireless messages that the wireless transmission tower in the wireless network sends;
Wherein, the software administration server, the software upgrading query requests that can mobile terminal receive sends, judge whether the current software of portable terminal needs upgrading, upgrading is then preserved URL that mobile terminal data request, Push agency send upgrade software, returns data message before the upgrading that portable terminal preserves, is sent the finish information of updating mobile terminal of back deletion software administration server preservation of updating mobile terminal confirmation and mobile terminal software upgrading if desired;
The application software of mobile terminal that has at present, as J2ME, after downloading, install upgrade software again and finishing, the information before the updating mobile terminal is all deleted, so, needs according to the user, if before the mobile terminal software upgrading, need to keep the preceding data message of mobile terminal software upgrading, the data upload that just will need to preserve is preserved to the software administration server, after finishing Deng mobile terminal software upgrading, download to portable terminal again.The data that portable terminal described here need keep comprise configuration information, personal information of application software of mobile terminal etc.
Described Download Server supports OMA to download or support MIDP downloads, and the software of renewal is placed on this server, and all softwares all identify the position of this software in Download Server with unique URL;
Described Push agency provides PAP (Push Access Protocol, Push Access Protocol) interface, supports issuing of Push message;
Described portable terminal, application software is installed, the application software of installing on each portable terminal all must realize the interface with the software administration server, and, each mobile terminal software all has a software identification and software version number, software identification is distributed by operator, and each software all has a unique software identification, can find latest edition and other software information of this software correspondence by software identification.
Below, utilize embodiment one described mobile terminal software automatically updating method, provided the mobile terminal software automatic updating system of the described method of a realization, its structural representation is as shown in Figure 4.
A kind of system 4 of mobile terminal software auto-update comprises:portable terminal 41,software administration server 42, Push agency 43, Download Server 44;
Portable terminal 41 comprises:
Query requests is initiatedunit 411, is used to initiate the software upgrading query requests;
Receivingelement 412 is used to receive the URL of upgrade software;
Download unit 413 is used for downloading upgrade software according to the URL that receives to Download Server;
Installation unit 414 is used for the upgrade software of downloading is installed;
Storagedata capture unit 415 after being used for portable terminal and installing upgrade software, obtains the data before the updating mobile terminal of preservation;
Storage request ofdata unit 416 is used to ask the data with before the updating mobile terminal to preserve.
Software administration server 42 comprises:
Receivingelement 421 is used for mobile terminal receive and initiates request, comprises enquiry mobile terminal software upgrading request;
Logical processing unit 422 is used to judge whether mobile terminal software needs upgrading, if need upgrading, then notifies Push agency 43;
Transmitting element 423 is used to send data, comprises that data before the updating mobile terminal that will preserve send to portable terminal and are used for the result ofLogical processing unit 422 is notified to Push agency 43;
Data storage cell 424 is used for the data that the memory mobile terminal request is preserved.
Push agency 43 is used to send portable terminal and is used to the upgrade software URL that upgrades required.
Download Server 44 is used to provide the upgrade software for downloading.
After enabling mobile terminal software on theportable terminal 41,portable terminal 41 can be initiatedunit 411 by query requests and be initiated the software upgrading query requests, at least comprise in this request software application sign (for example, ADBD-21243) and software version number (for example, V3.2);
After the receivingelement 421 ofsoftware administration server 42 received described query requests, whether needs were upgraded to judge the software of portable terminal according to the software application sign that comprises in the request and software version number;
If mobile terminal software needs upgrading, then can upgrade, and issue upgrade software information by transmitting element 423 noticeportable terminals 41, comprise the information such as software version number, the simple introduction of software of upgrade software;
As option, after portable terminal 41 knows that oneself can carry out software upgrading, send memory mobile terminal available data information request tosoftware administration server 42;
After the receivingelement 421 ofsoftware administration server 42 is received described request, notificationdata memory cell 424 preservation existing data of portable terminal and mobile terminal user network identity (for example, phone number, identity pseudo-code etc. are the unique identification of user in network), the current current application identities of software version information, portable terminal of portable terminal;
At this moment, thedata storage cell 424 of portable terminal 41 in the software administration server sends the data that portable terminals need be stored, and, with user network sign, software version number Data Identification asportable terminal 41;
Portable terminal 41 sends confirmation tosoftware administration server 42, and the affirmation portable terminal has prepared to carry out software upgrading;
Software administration server 42 keeps upgrade software information, checks the software upgrading situation to make things convenient for the keeper, and this information comprises user network sign, software version number at least;
Transmitting element 423 sends Push message to Push agency 43, and notice Push acts on behalf of 43portable terminals 41 and prepares upgrade software;
Push agency 43 issues Push message toportable terminal 41, and message comprises the download address information of upgrade software at least, i.e. URL (Universal Resource Locator, unified resource location) information;
Afterportable terminal 41 is received Push message, to Download Server 44 download and upgrade softwares, and install, wherein, portable terminal will support OMA to download at least or MIDP downloads;
Portable terminal downloads, install upgrade software after, move this upgrade software, portable terminal still can be initiated the software upgrading query requests, comprise at least in this request software application identify (for example, ADBD-21243) and software version number (for example, V3.2);
Software administration serverlogical processing unit 422 judges that according to last request the software that portable terminal moves at present is upgrade software, issues acknowledge message to portable terminal, confirms that this software is upgrade software;
At above-mentioned option, in this step, the mobile terminal data that portable terminal is preserved beforesoftware administration server 42 obtains software upgrading by storagedata capture unit 415, and on portable terminal, recovered, after recovery is finished, send data to the software administration server and recover the information that finishes;
So far, mobile terminal software upgrading finishes, and sends the acknowledge message that finishes of upgrading to the software administration server;
Software administration server 42 is removed the interim information that software upgrading produces and preserves.
The embodiment of the invention also provides a kind of portable terminal, as shown in Figure 5.
Portable terminal 41 comprises:
Query requests is initiatedunit 411, is used to initiate the software upgrading query requests;
Receivingelement 412 is used to receive the URL of upgrade software;
Download unit 413 is used for downloading upgrade software according to the URL that receives to Download Server;
Installation unit 414 is used for the upgrade software of downloading is installed;
Storagedata capture unit 415 after being used for portable terminal and installing upgrade software, obtains the data before the updating mobile terminal of preservation;
Storage request ofdata unit 416 is used to ask the data with before the updating mobile terminal to preserve.
The embodiment of the invention also provides a kind of software administration server, as shown in Figure 6.
Software administration server 42 comprises:
Receivingelement 421 is used for mobile terminal receive and initiates request, comprises enquiry mobile terminal software upgrading request;
Logical processing unit 422 is used to judge whether mobile terminal software needs upgrading, if need upgrading, then notifies Push agency 43;
Transmitting element 423 is used to send data, comprises that data before the updating mobile terminal that will preserve send to portable terminal and are used for the result ofLogical processing unit 422 is notified to Push agency 43;
Data storage cell 424 is used for the data that the memory mobile terminal request is preserved.
In sum, the embodiment of the invention by realizing and the interface of software administration server, can be finished the software upgrading request of being initiated by portable terminal on the software of portable terminal, and can carry out the mobile terminal software auto-update, solve the problem of mobile terminal software auto-update.
The method of the described mobile terminal software auto-update of present embodiment, on the application software of portable terminal, realized interface with the software administration server, promptly, when portable terminal need carry out software upgrading, escalation process does not have special requirement to portable terminal hardware, therefore, method that we can say this software automatic updating is not subjected to the restriction on the portable terminal hardware, especially for the office point of not using DM, can use the described method of present embodiment to realize the auto-update of mobile terminal software, and for the office point of having used DM, the embodiment of the invention can be used as replenishing of DM, to separate the software upgrade problem of DM portable terminal by no means.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.