CN104317564A - Method and device for updating feature phone software - Google Patents

Method and device for updating feature phone software Download PDF

Info

Publication number
CN104317564A
CN104317564A CN201410499362.XA CN201410499362A CN104317564A CN 104317564 A CN104317564 A CN 104317564A CN 201410499362 A CN201410499362 A CN 201410499362A CN 104317564 A CN104317564 A CN 104317564A
Authority
CN
China
Prior art keywords
function machine
installation kit
machine software
intelligent terminal
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410499362.XA
Other languages
Chinese (zh)
Inventor
郑金国
桑金龙
黄允庆
黄泽明
解国飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201410499362.XA priority Critical patent/CN104317564A/en
Publication of CN104317564A publication Critical patent/CN104317564A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a device for updating feature phone software. The method for updating the feature phone software comprises the following steps that a feature phone acquires an installation package for latest feature phone software through a Bluetooth network, wherein the installation package is acquired from a server by an intelligent terminal through a wireless network; the installation package is restored to generate the latest feature phone software; the latest feature hone software is updated in the feature phone. The invention also provides a device for updating feature phone software. According to the scheme, the feature phone without a wireless network function can update the feature phone software, and a user experiences new functions of the feature phone.

Description

A kind of method and device upgrading function machine software
Technical field
The application relates to communication technical field, particularly relates to a kind of method and the device that upgrade function machine software.
Background technology
Usual intelligent terminal is configured with the radio communication functions such as WiFi, 3G and GPRS.When supplier's issue of intelligent terminal has the software of New function, intelligent terminal can pass through the server communication of the communications such as WiFi, 3G and GPRS and supplier, with download new software installation kit, thus upgrades the function of intelligent terminal.
But, in view of intelligent terminal cost is higher, for meeting user's basic communication demand, provide a kind of function machine of low cost (non intelligent machine).Function machine have basic to make a phone call, the function of photos and sending messages, but do not configure the radio communication functions such as WiFi, 3G and GPRS.Because function machine can not carry out radio communication with server, thus can not directly from the installation kit of server download new software, and then cause function machine can not update software, supplier can only be used to dispatch from the factory the function of configuration, the New function that supplier issues can not be used.
Summary of the invention
The technical matters that the application mainly solves is to provide a kind of method and the device that upgrade function machine software, can upgrade function machine software as required, allows the New function of Consumer's Experience function machine.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of method upgrading function machine software, described method comprises: function machine obtains the installation kit of up-to-date function machine software by blueteeth network, wherein, described installation kit is that intelligent terminal is obtained from server by wireless network; The described installation kit that reduces generates up-to-date function machine software; By in described up-to-date function machine software upgrading to described function machine.
Wherein, described function machine obtains the installation kit of up-to-date function machine software step by blueteeth network specifically comprises: function machine by blueteeth network to intelligent terminal transmission request information, wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software; Received the installation kit of the up-to-date function machine software that described intelligent terminal sends by described blueteeth network, wherein, described installation kit is that intelligent terminal is obtained from server download by wireless network.
Wherein, also comprise after the step of installation kit being obtained up-to-date function machine software by blueteeth network: whether legally verify described installation kit; When verification obtain described installation kit legal time, perform the described installation kit of described reduction and generate up-to-date function machine software.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide the another kind of method upgrading function machine software, described method comprises: with function machine set up bluetooth be connected and the update request of function machine detected time, intelligent terminal obtains the installation kit of up-to-date function machine software by wireless network, wherein, described installation kit is that intelligent terminal is obtained from server by wireless network; Described installation kit is sent to function machine by blueteeth network.
Wherein, described intelligent terminal obtains the installation kit of up-to-date function machine software step by wireless network specifically comprises: the solicited message that receiving function machine sends, wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software; Described intelligent terminal is by the version information of wireless network from server read functions machine software; When reading described version information and being up-to-date function machine software, downloaded the installation kit of up-to-date function machine software from described server by wireless network.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of device upgrading function machine software, and described device comprises: acquisition module, recovery module and update module; Described acquisition module is used for the installation kit being obtained up-to-date function machine software by blueteeth network, and wherein, described installation kit is that intelligent terminal is obtained from server by wireless network; Described recovery module generates up-to-date function machine software for reducing described installation kit; Described update module is used in described up-to-date function machine software upgrading to described function machine.
Wherein, described acquisition module comprises request unit and acquiring unit; Described request unit is used for by blueteeth network to intelligent terminal transmission request information, and wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software; Described acquiring unit is used for the installation kit being received the up-to-date function machine software that described intelligent terminal sends by described blueteeth network, and wherein, described installation kit is that intelligent terminal is obtained from server download by wireless network.
Wherein, described device also comprises correction verification module, described correction verification module for checking described installation kit whether legal, when verification obtain described installation kit legal time, perform the described installation kit of described reduction and generate up-to-date function machine software.
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of device upgrading function machine software, and described device comprises: acquisition module and sending module; Described acquisition module be used for function machine set up bluetooth be connected and the update request of function machine detected time, obtained the installation kit of up-to-date function machine software by wireless network, wherein, described installation kit is that intelligent terminal is obtained from server by wireless network; Described sending module is used for sending described installation kit by blueteeth network to function machine.
Wherein, described acquisition module comprises detecting unit, reading unit and download unit; Described detecting unit is used for the solicited message that receiving function machine sends, and wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software; Described reading unit is used for by the version information of wireless network from server read functions machine software; Described download unit is used for when reading described version information and being up-to-date function machine software, is downloaded the installation kit of up-to-date function machine software by wireless network from described server.
The beneficial effect of the application is: the situation being different from prior art, and the application's function machine obtains the installation kit of up-to-date function machine software by blueteeth network, and wherein, described installation kit is that intelligent terminal is obtained from server by wireless network; The described installation kit that reduces generates up-to-date function machine software; By described up-to-date function machine software upgrading in described function machine, realize to enable the function machine not having radio network functions upgrading function machine software, allow the New function of Consumer's Experience function machine.
Accompanying drawing explanation
Fig. 1 is the system architecture schematic diagram that the application upgrades function machine software;
Fig. 2 is the operation interface schematic diagram that the application's function machine upgrades function machine software;
Fig. 3 is the method one embodiment process flow diagram that the application upgrades function machine software;
Fig. 4 is another embodiment process flow diagram of method that the application upgrades function machine software;
Fig. 5 is the another embodiment process flow diagram of method that the application upgrades function machine software;
Fig. 6 is the method embodiment process flow diagram again that the application upgrades function machine software;
Fig. 7 is the device one embodiment structural representation that the application upgrades function machine software;
Fig. 8 is another embodiment structural representation of device that the application upgrades function machine software;
Fig. 9 is the another embodiment structural representation of device that the application upgrades function machine software;
Figure 10 is the device embodiment structural representation again that the application upgrades function machine software.
Embodiment
In below describing, in order to illustrate instead of in order to limit, propose the detail of such as particular system structure, interface, technology and so on, thoroughly to understand the application.But, it will be clear to one skilled in the art that and also can realize the application in other embodiment not having these details.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders the description of the application.
Consult Fig. 1, Fig. 1 is the system architecture schematic diagram that the application upgrades function machine software.The system of the renewal function machine software in present embodiment comprises function machine 110, intelligent terminal 120 and server 130.Wherein, function machine 110 is configured with Bluetooth function, and intelligent terminal 120 is configured with the functions such as WiFi, 3G and GPRS.Function machine 110 is communicated with intelligent terminal 120 by share for Bluetooth network, and intelligent terminal 120 is communicated with server 130 by networks such as WiFi, 3G and GPRS.Function machine 110 can be independently terminal, also can be the accessory of intelligent terminal 120.
When user needs to upgrade function machine 110 software, open Bluetooth function.Function machine 110, when the intelligent terminal 120 opening Bluetooth function being detected, obtains the bluetooth ID of intelligent terminal 120, and sends Bluetooth pairing request to intelligent terminal 130, to ask to connect intelligent terminal 120.Wherein, function machine 110 is communicated with intelligent terminal 120 by bluetooth serial ports agreement (Serial Port Profile, SPP).The form that function machine 110 sends information to intelligent terminal 120 is as follows:
Command identifier Source address Destination address Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of function machine 110.Destination address is the address of receiving end, i.e. the bluetooth ID of intelligent terminal 120.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Wherein, the quantity of intelligent terminal 120 can be one, also can be multiple.When the quantity of intelligent terminal 120 is multiple, the intelligent terminal 130 that function machine 110 prioritizing selection Bluetooth signal intensity is strong connects.
When after function machine 110 with the success of intelligent terminal 120 Bluetooth pairing, function machine 110 obtains the installation kit of up-to-date function machine software by blueteeth network, and wherein, installation kit is that intelligent terminal 120 is obtained from server by wireless network.Wireless network comprises WiFi, 3G and GPRS.
See also Fig. 2, Fig. 2 is the operation interface schematic diagram that the application's function machine upgrades function machine software.
When the Update button in the operation interface that user clicks as shown in Figure 2 a is to upgrade function machine software, function machine 110 receives the more newer command that user sends.Receive the more newer command of user's transmission at function machine 110 after, sent the order of Sampling network state to intelligent terminal 120 by blueteeth network.
After intelligent terminal 120 receives the order of the Sampling network state that function machine 110 sends, detect current network state, wherein, network state comprises blueteeth network state, and the wireless communication status such as WiFi, 3G, GPRS.
When the testing result of intelligent terminal 120 be current network available time, the feedback information of network state is sent to function machine 110, with the network state making function machine 110 know intelligent terminal 120, and the operation interface ejected as shown in Figure 2 b, select whether detection is current renewable function machine software for user.When the testing result of intelligent terminal 120 be current network unavailable time, again detect every the first Preset Time, can use until testing result is current network, the first Preset Time can be arranged as required.
Wherein, intelligent terminal 120 form from information to function machine 110 that send is as follows:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal 120.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine 110.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
When function machine 110 receives " detect and upgrade " order of user's transmission, to intelligent terminal 120 transmission request information, with the function machine software that acquisition request is up-to-date, solicited message comprises the version information of function machine software.
After intelligent terminal 120 receives the solicited message of function machine 110 transmission, communicated with server 130 by any one network in the wireless networks such as WiFi, 3G or GPRS, with the software version information of read functions machine 110 from server 130.Wherein, in the present embodiment, the decreasing priority of WiFi, 3G, GPRS, in other embodiments, also can be set to other priority.
The version information of function machine 110 software comprised in the software version information of the function machine 110 read from server 130 and the solicited message that receives compares by intelligent terminal 120.When the version information of function machine 110 software comprised the software version information of the function machine 110 that intelligent terminal 120 reads from server 130 is higher than solicited message, intelligent terminal 120 judges that the software version information of the function machine 110 read from server 130 is up-to-date function machine software, send feedback information to function machine 110, have renewable function machine software so that informing function machine 110 is current.
When function machine 110 receive that intelligent terminal 120 sends have the feedback information of renewable function machine software after, ejecting operation interface as shown in Figure 2 c, having renewable function machine software for downloading to point out user.
When function machine 110 receives " download " order of user's transmission, function machine 110 sends the order of downloading up-to-date function machine software to intelligent terminal 120, to make intelligent terminal 120 communicate with server 130, from server 130, downloaded the installation kit of up-to-date function machine software by web download agreement.
After the installation kit of up-to-date function machine software downloaded by intelligent terminal 120 from server 130, sent to function machine 110 by the installation kit of blueteeth network by the up-to-date function machine software downloaded, function machine 110 receives the installation kit that intelligent terminal 120 sends, and show reception progress, i.e. " download progress " as shown in Figure 2 d, checks for user.Certainly, when intelligent terminal 120 failed download, the feedback information of failed download can be sent to function machine 110, wherein, the error code comprised in the feedback information of the failed download that function machine 110 can receive, parses error event, and is presented on operation interface and checks process for user.Such as, failed download or network connection error etc.
When intelligent terminal failed download, every the second Preset Time, can also again download the installation kit of up-to-date function machine, until successfully download and install bag, or the instruction of the user received according to function machine performs operation corresponding to and instruction.
After function machine 110 receives installation kit (namely download progress is 100%), eject operation interface as shown in Figure 2 e, select whether the installation kit downloaded is installed for user.When function machine 110 takes defeat, send error reporting to intelligent terminal 120, to notify that intelligent terminal 120 current network is abnormal, after making intelligent terminal 120 Sampling network state normal, resend up-to-date function machine software installation kit.
Alternatively, after function machine 110 receives installation kit (namely download progress is 100%), whether legally also verify installation kit.When verification obtain installation kit legal time, eject operation interface as shown in Figure 2 e, select whether the installation kit downloaded is installed for user.Wherein, whether verification installation kit is legal refers to that whether the version number detecting the installation kit received is correct, and whether the content that installation kit comprises is complete.When verification obtain installation kit illegal time, the notice intelligent terminal 120 up-to-date function machine software that download version information is correct again.
When function machine 110 receives after " installations " that user sends order, function machine 110 decompresses to the installation kit received, and generates up-to-date function machine software to reduce installation kit, and by up-to-date function machine software upgrading in function machine.Wherein, in the present embodiment, function machine 110 is that the mode of entirely wrapping is upgraded, and reduction installation kit generates up-to-date function machine software and is kept at bootloader and file system area.In other embodiments, function machine 110 can also adopt the mode of difference bag to reduce, and the difference bag of download and the function machine software being kept at function machine 110 inside is carried out difference reduction, thus obtains up-to-date function machine software.
After function machine 110 has been upgraded, upgrade status report can also be sent, to notify that intelligent terminal 120 terminates this updating operation to intelligent terminal 120.
After function machine 110 has been upgraded, can also restart function machine 110, and whether again detect current software version information correct, whether content is complete.
In the present embodiment, when function machine 110 receives " detect and upgrade " order of user's transmission, to intelligent terminal 120 transmission request information, to trigger the version information of intelligent terminal 120 from server read functions machine software, thus judge currently whether have renewable function machine software.In other embodiments, also can for intelligent terminal 120 every the 3rd Preset Time automatically from function machine 110 and server 130 read functions machine software version information and compare.When intelligent terminal 120 judges there is up-to-date function machine software in server 130, informing function machine 110 is current renewable function machine software, to make function machine 110 eject operation interface as shown in Figure 2 c, select the function machine software of whether down loading updating for user.
In the present embodiment, normally use for not affecting intelligent terminal 120 user, intelligent terminal 120 does not have the user interface of the renewal function machine software arranged as shown in Figure 2.In other embodiment, also user interface can be set according to user's request.
Such scheme, function machine receives the installation kit of the up-to-date function machine software of acquisition that intelligent terminal downloads from server by blueteeth network, reduction installation kit generates up-to-date function machine software, by up-to-date function machine software upgrading in function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 3, Fig. 3 is the method one embodiment process flow diagram that the application upgrades function machine software, and the executive agent of present embodiment is function machine, and present embodiment comprises the following steps:
S301: function machine obtains the installation kit of up-to-date function machine software by blueteeth network, wherein, described installation kit is that intelligent terminal is obtained from server by wireless network.
When user needs to upgrade function machine software, open Bluetooth function.Function machine, when the intelligent terminal opening Bluetooth function being detected, obtains the bluetooth ID of intelligent terminal, and sends Bluetooth pairing request to intelligent terminal, to ask to connect intelligent terminal.Wherein, function machine is communicated with intelligent terminal by bluetooth serial ports agreement (Serial Port Profile, SPP).The form that function machine sends information to intelligent terminal is as follows:
Command identifier Source address Destination address Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of function machine.Destination address is the address of receiving end, i.e. the bluetooth ID of intelligent terminal.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Wherein, the quantity of intelligent terminal can be one, also can be multiple.When the quantity of intelligent terminal is multiple, the intelligent terminal that function machine prioritizing selection Bluetooth signal intensity is strong connects.
When after function machine and the success of intelligent terminal Bluetooth pairing, function machine receives the installation kit of the up-to-date function machine software that intelligent terminal sends by blueteeth network, and wherein, installation kit is that intelligent terminal is downloaded from server by wireless network and obtains.Wireless network comprises WiFi, 3G and GPRS.
Wherein, intelligent terminal is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
S302: the described installation kit that reduces generates up-to-date function machine software.
Function machine decompresses to the installation kit received after receiving the installation kit of up-to-date function machine software, generates up-to-date function machine software to reduce installation kit.
Certainly, when function machine takes defeat, error reporting can be sent to intelligent terminal, to notify that intelligent terminal current network is abnormal, after making intelligent terminal Sampling network state normal, resend up-to-date function machine software installation kit.
S303: by described up-to-date function machine software upgrading to described function machine.
Function machine installs up-to-date function machine software, by up-to-date function machine software upgrading in function machine, to complete software upgrading.
After function machine has been upgraded, can also restart function machine, and whether again detect current software version information correct, whether content is complete.Upgrade status report can also be sent, to notify that intelligent terminal terminates this updating operation to intelligent terminal.
In the present embodiment, function machine is that the mode of entirely wrapping is upgraded, and reduction installation kit generates up-to-date function machine software and is kept at bootloader and file system area.In other embodiments, function machine can also adopt the mode of difference bag to reduce, and the difference bag of download and the function machine software being kept at function machine inside is carried out difference reduction, obtains up-to-date function machine software.
Such scheme, function machine receives the installation kit of the up-to-date function machine software of acquisition that intelligent terminal downloads from server by blueteeth network, reduction installation kit generates up-to-date function machine software, by up-to-date function machine software upgrading in function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 4, Fig. 4 is another embodiment process flow diagram of method that the application upgrades function machine software, and the executive agent of present embodiment is function machine, and present embodiment comprises the following steps:
S401: function machine is by blueteeth network to intelligent terminal transmission request information, and wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software.
When user needs to upgrade function machine software, open Bluetooth function.Function machine, when the intelligent terminal opening Bluetooth function being detected, obtains the bluetooth ID of intelligent terminal, and sends Bluetooth pairing request to intelligent terminal, to ask to connect intelligent terminal.Wherein, function machine is communicated with intelligent terminal by bluetooth serial ports agreement (Serial Port Profile, SPP).The form that function machine sends information to intelligent terminal is as follows:
Command identifier Source address Destination address Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of function machine.Destination address is the address of receiving end, i.e. the bluetooth ID of intelligent terminal.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Wherein, the quantity of intelligent terminal can be one, also can be multiple.When the quantity of intelligent terminal is multiple, the intelligent terminal that function machine prioritizing selection Bluetooth signal intensity is strong connects.
See also Fig. 2, Fig. 2 is the operation interface schematic diagram that the application's function machine upgrades function machine software.
When the Update button in the operation interface that user clicks as shown in Figure 2 a is to upgrade function machine software, function machine receives the more newer command that user sends.Receive the more newer command of user's transmission at function machine after, sent the order of Sampling network state to intelligent terminal by blueteeth network, to make intelligent terminal after the order receiving the Sampling network state that function machine sends, detect current network state, and testing result sends the feedback information of network state when to be current network available to function machine, with the network state making function machine know intelligent terminal, wherein, network state comprises blueteeth network state, and the wireless communication status such as WiFi, 3G, GPRS.
When function machine receives the feedback information of network state that intelligent terminal sends, function machine identify intelligent terminal current network available time, and eject operation interface as shown in Figure 2 b, select to detect currently whether have renewable function machine software for user.Wherein, intelligent terminal is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
When function machine receives " detect and upgrade " order of user's transmission, to intelligent terminal transmission request information, with the function machine software that acquisition request is up-to-date, to make intelligent terminal after the solicited message receiving function machine transmission, by any one network and server communication in the wireless networks such as WiFi, 3G or GPRS, with the software version information of read functions machine from server.Wherein, solicited message comprises the version information of function machine software.In the present embodiment, the decreasing priority of WiFi, 3G, GPRS, in other embodiments, also can be set to other priority.
When intelligent terminal judges that the software version information of function machine read from server is up-to-date function machine software, when having the feedback information of renewable function machine software to function machine transmission, function machine receive intelligent terminal send have the feedback information of renewable function machine software after, ejecting operation interface as shown in Figure 2 c, having renewable function machine software for downloading to point out user.
When function machine receives " download " order of user's transmission, function machine sends the order of downloading up-to-date function machine software to intelligent terminal, to make intelligent terminal and server communication, from server, downloaded the installation kit of up-to-date function machine software by web download agreement.
S402: the installation kit being received the up-to-date function machine software that described intelligent terminal sends by described blueteeth network, wherein, described installation kit is that intelligent terminal is obtained from server download by wireless network.
After the installation kit of up-to-date function machine software downloaded by intelligent terminal from server, function machine receives the installation kit of the up-to-date function machine software downloaded that intelligent terminal sends by blueteeth network, and showing reception progress, i.e. " download progress " as shown in Figure 2 d, checks for user.
S403: whether legally verify described installation kit.
After function machine receives installation kit (namely download progress is 100%), whether verification installation kit is legal.Wherein, when function machine takes defeat, send error reporting to intelligent terminal, to notify that intelligent terminal current network is abnormal, after making intelligent terminal Sampling network state normal, resend up-to-date function machine software installation kit.Whether verification installation kit is legal refers to that whether the version number detecting the installation kit received is correct, and whether the content that installation kit comprises is complete.
S404: when verification obtain described installation kit legal time, perform the described installation kit of described reduction and generate up-to-date function machine software.
When function machine verification obtain installation kit legal time, eject operation interface as shown in Figure 2 e, select whether the installation kit downloaded is installed for user.When function machine verification obtain installation kit illegal time, the notice intelligent terminal up-to-date function machine software that download version information is correct again.
S405: the described installation kit that reduces generates up-to-date function machine software.
When function machine receives after " installations " that user sends order, function machine decompresses to the installation kit received, and generates up-to-date function machine software to reduce installation kit, and by up-to-date function machine software upgrading in function machine.
S406: by described up-to-date function machine software upgrading to described function machine.
Function machine installs up-to-date function machine software, by up-to-date function machine software upgrading in function machine, thus completes software upgrading.
After function machine has been upgraded, can also restart function machine, and whether again detect current software version information correct, whether content is complete.Upgrade status report can also be sent, to notify that intelligent terminal terminates this updating operation to intelligent terminal.
In the present embodiment, function machine is that the mode of entirely wrapping is upgraded, and reduction installation kit generates up-to-date function machine software and is kept at bootloader and file system area.In other embodiments, function machine can also adopt the mode of difference bag to reduce, and the difference bag of download and the function machine software being kept at function machine inside is carried out difference reduction, obtains up-to-date function machine software.
Such scheme, function machine receives the installation kit of the up-to-date function machine software of acquisition that intelligent terminal downloads from server by blueteeth network, reduction installation kit generates up-to-date function machine software, by in up-to-date function machine software upgrading to described function machine, thus realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 5, Fig. 5 is the another embodiment process flow diagram of method that the application upgrades function machine software, and the executive agent of present embodiment is intelligent terminal, and present embodiment comprises the following steps:
S501: with function machine set up bluetooth be connected and the update request of function machine detected time, intelligent terminal obtains the installation kit of up-to-date function machine software by wireless network, and wherein, described installation kit is that intelligent terminal is obtained from server by wireless network.
When user needs to upgrade function machine software, open Bluetooth function, intelligent terminal and the success of function machine Bluetooth pairing, and after the solicited message of the renewal function machine software that function machine sends being detected, intelligent terminal, by wireless network and server communication, downloads the installation kit of up-to-date function machine software from server by web download agreement.Wherein, wireless network comprises WiFi, 3G and GPRS.
Wherein, intelligent terminal is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
In the present embodiment, triggering intelligent terminal obtains the installation kit of up-to-date function machine software action from server, can be that intelligent terminal initiatively triggers, and also can be that function machine triggers.
S502: send described installation kit to function machine by blueteeth network.
After the installation kit of up-to-date function machine software downloaded by intelligent terminal from server, sent to function machine by the installation kit of blueteeth network by the up-to-date function machine software downloaded, to make function machine, this installation kit is installed and carries out software upgrading.Certainly, when intelligent terminal failed download, can send the feedback information of failed download to function machine, the error code comprised in the feedback information of the failed download that can receive to make function machine, parses error event, and points out user.Such as, failed download or network connection error etc.
In the present embodiment, intelligent terminal is the mode of entirely wrapping downloads up-to-date function machine software installation kit from server, directly goes back installation kit obtain up-to-date function machine software and carry out software upgrading to make function machine.In other embodiments, intelligent terminal can also be the difference bag of the installation kit downloading up-to-date function machine software in the mode of difference bag from server, to make function machine carry out difference reduction according to the difference bag downloaded and the function machine software being kept at function machine inside, thus obtain up-to-date function machine software and carry out software upgrading.
Such scheme, intelligent terminal obtains up-to-date function machine software by wireless network from server, and by blueteeth network, the up-to-date function machine software got is sent to function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 6, Fig. 6 is the method embodiment process flow diagram again that the application upgrades function machine software, and the executive agent of present embodiment is intelligent terminal, and present embodiment comprises the following steps:
S601: the solicited message that receiving function machine sends, wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software.
To be received the order of the Sampling network state that function machine sends by blueteeth network at intelligent terminal after, detect current network state, wherein, network state comprises blueteeth network state, and the wireless communication status such as WiFi, 3G, GPRS.
When the testing result of intelligent terminal be current network available time, send the feedback information of network state to function machine, with the network state making function machine know intelligent terminal.In the present embodiment, when the testing result of intelligent terminal be current network unavailable time, again detect every the first Preset Time, can use until testing result is current network, the first Preset Time can be arranged as required.In other embodiments, also can be set to after intelligent terminal detects current network state, send the feedback information of network state to function machine.Network state be current network state can with or current network state unavailable.
Wherein, intelligent terminal is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
When function machine receives " detect and upgrade " order of user's transmission, the solicited message upgrading function machine software is sent to intelligent terminal, during with the function machine software that acquisition request is up-to-date, the solicited message that intelligent terminal for reception function machine sends, solicited message comprises the version information of function machine software.
S602: described intelligent terminal is by the version information of wireless network from server read functions machine software.
When after the solicited message that intelligent terminal for reception sends to function machine, by any one network and server communication in the wireless networks such as WiFi, 3G or GPRS, to read the software version information that merit gets function machine from server.Wherein, in the present embodiment, the decreasing priority of WiFi, 3G, GPRS, in other embodiments, also can be set to other priority.
S603: when reading described version information and being up-to-date function machine software, downloaded the installation kit of up-to-date function machine software from described server by wireless network.
The version information of the function machine software comprised in the software version information of the function machine read from server and the solicited message that receives compares by intelligent terminal.When the version information of the function machine software comprised the software version information of the function machine that intelligent terminal reads from server is higher than solicited message, intelligent terminal judges that the software version information of the function machine read from server is up-to-date function machine software, send feedback information to function machine, have renewable function machine software so that informing function machine is current.
When the order of the up-to-date function machine software of the download that intelligent terminal for reception sends to function machine, intelligent terminal and server communication, download the installation kit of up-to-date function machine software from server by web download agreement.
Certainly, when intelligent terminal failed download, the feedback information of failed download can be sent to function machine, wherein, the error code comprised in the feedback information of the failed download that function machine can receive, parses error event, and is presented on operation interface and checks process for user.Such as, failed download or network connection error etc.
When intelligent terminal failed download, every the second Preset Time, can also again download the installation kit of up-to-date function machine, or the instruction of the user received according to function machine performs operation corresponding to and instruction.
S604: send described installation kit to function machine by blueteeth network.
After the installation kit of up-to-date function machine software downloaded by intelligent terminal from server, sent to function machine by the installation kit of blueteeth network by the up-to-date function machine software downloaded, to make function machine by up-to-date function machine software upgrading to function machine.
Alternatively, the installation kit of up-to-date function machine software is sent to function machine at intelligent terminal, can also the upgrade status report that sends of receiving function machine, upgrade status report can comprise the information of the whether legal information of up-to-date function machine software that function machine receives, whether successful upgrade software.When the upgrade status received be reported as up-to-date function machine software that function machine receives illegal time, resend the installation kit of up-to-date function machine software.When the upgrade status received is reported as successfully upgrade software, terminate this updating operation.
In the present embodiment, when the solicited message that intelligent terminal for reception sends to function machine, trigger intelligent terminal from the version information of server read functions machine software, thus judge currently whether have renewable function machine software.In other embodiments, also can for intelligent terminal every the 3rd Preset Time automatically from function machine and server read functions machine software version information and compare.When intelligent terminal judges there is up-to-date function machine software in server, informing function machine is current renewable function machine software, selects the function machine software of whether down loading updating for user.
In the present embodiment, intelligent terminal is the mode of entirely wrapping downloads up-to-date function machine software installation kit from server, carries out software upgrading to make function machine direct-reduction installation kit to obtain up-to-date function machine software.In other embodiments, intelligent terminal can also be the difference bag of the installation kit downloading up-to-date function machine software in the mode of difference bag from server, to make function machine carry out difference reduction according to the difference bag downloaded and the function machine software being kept at function machine inside, thus obtain up-to-date function machine software and carry out software upgrading.
In the present embodiment, normally use for not affecting intelligent terminal user, intelligent terminal does not arrange the user interface upgrading function machine software.In other embodiment, also user interface can be set according to user's request.
Such scheme, intelligent terminal obtains up-to-date function machine software by wireless network from server, and by blueteeth network, the up-to-date function machine software got is sent to function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 7, Fig. 7 is the device one embodiment structural representation that the application upgrades function machine software.The device of the renewal function machine software in present embodiment is function machine, and the device of the renewal function machine software in present embodiment comprises acquisition module 710, recovery module 720 and update module 730.
Acquisition module 710 is for obtaining the installation kit of up-to-date function machine software by blueteeth network, wherein, installation kit is that intelligent terminal is obtained from server by wireless network.Such as, when user needs to upgrade function machine software, Bluetooth function is opened.Acquisition module 710, when the intelligent terminal opening Bluetooth function being detected, obtains the bluetooth ID of intelligent terminal, and sends Bluetooth pairing request to intelligent terminal, to ask to connect intelligent terminal.Wherein, acquisition module 710 is communicated with intelligent terminal by bluetooth serial ports agreement (Serial Port Profile, SPP).The form that acquisition module 710 sends information to intelligent terminal is as follows:
Command identifier Source address Destination address Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of function machine.Destination address is the address of receiving end, i.e. the bluetooth ID of intelligent terminal.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Wherein, the quantity of intelligent terminal can be one, also can be multiple.When the quantity of intelligent terminal is multiple, the intelligent terminal that function machine prioritizing selection Bluetooth signal intensity is strong connects.
When after acquisition module 710 with the success of intelligent terminal Bluetooth pairing, acquisition module 710 receives the installation kit of the up-to-date function machine software that intelligent terminal sends by blueteeth network, and wherein, installation kit is that intelligent terminal is downloaded from server by wireless network and obtains.Wherein, wireless network comprises WiFi, 3G and GPRS.
Wherein, intelligent terminal is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Certainly, when acquisition module 710 takes defeat, error reporting can be sent to intelligent terminal, to notify that intelligent terminal current network is abnormal, after making intelligent terminal Sampling network state normal, resend up-to-date function machine software installation kit.
The installation kit of the up-to-date function machine software got sends to recovery module 720 by acquisition module 710.
Recovery module 720 generates up-to-date function machine software for reducing installation kit.Such as, recovery module 720 receives the installation kit of up-to-date function machine software, and reduces the installation kit of up-to-date function machine software and generate up-to-date function machine software.
The up-to-date function machine software generated is sent to update module 730 by recovery module 720.
Update module 730 for by up-to-date function machine software upgrading in described function machine.Such as, update module 730 receives up-to-date function machine software, and installs up-to-date function machine software, by up-to-date function machine software upgrading in function machine, to complete software upgrading.
After update module 730 completes with upgrading, can also restart function machine, and whether again detect current software version information correct, whether content is complete.Upgrade status report can also be sent, to notify that intelligent terminal terminates this updating operation to intelligent terminal.
In the present embodiment, function machine is that the mode of entirely wrapping is upgraded, and reduction installation kit generates up-to-date function machine software and is kept at bootloader and file system area.In other embodiments, function machine can also adopt the mode of difference bag to reduce, and the difference bag of download and the function machine software being kept at function machine inside is carried out difference reduction, obtains up-to-date function machine software.
Such scheme, function machine receives the installation kit of the up-to-date function machine software of acquisition that intelligent terminal downloads from server by blueteeth network, reduction installation kit generates up-to-date function machine software, by up-to-date function machine software upgrading in function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 8, Fig. 8 is another embodiment structural representation of device that the application upgrades function machine software.The device of the renewal function machine software in present embodiment is function machine, and the device of the renewal function machine software in present embodiment comprises acquisition module 810, correction verification module 820, recovery module 830 and update module 840.Wherein, acquisition module 810 comprises request unit 811 and acquiring unit 812.
Acquisition module 810 is for obtaining the installation kit of up-to-date function machine software by blueteeth network.Wherein, request unit 811 for by blueteeth network to intelligent terminal transmission request information, wherein, solicited message is used for the up-to-date function machine software of identification function machine acquisition request, and solicited message comprises the version information of function machine software.
Such as, when user needs to upgrade function machine software, Bluetooth function is opened.Request unit 811, when the intelligent terminal opening Bluetooth function being detected, obtains the bluetooth ID of intelligent terminal, and sends Bluetooth pairing request to intelligent terminal, to ask to connect intelligent terminal.Wherein, request unit 811 is communicated with intelligent terminal by bluetooth serial ports agreement (Serial Port Profile, SPP).The form that request unit 811 sends information to intelligent terminal is as follows:
Command identifier Source address Destination address Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of function machine.Destination address is the address of receiving end, i.e. the bluetooth ID of intelligent terminal.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Wherein, the quantity of intelligent terminal can be one, also can be multiple.When the quantity of intelligent terminal is multiple, the intelligent terminal that function machine prioritizing selection Bluetooth signal intensity is strong connects.
See also Fig. 2, Fig. 2 is the operation interface schematic diagram that the application's function machine upgrades function machine software.
When the Update button in the operation interface that user clicks as shown in Figure 2 a is to upgrade function machine software, function machine receives the more newer command that user sends.Receive the more newer command of user's transmission at function machine after, sent the order of Sampling network state to intelligent terminal by bluetooth communication network, to make intelligent terminal after the order receiving the Sampling network state that function machine sends, detect current network state, and testing result sends the feedback information of network state when to be current network available to function machine, with the network state making function machine know intelligent terminal, wherein, network state comprises blueteeth network state, and the wireless communication status such as WiFi, 3G, GPRS.
When function machine receives the feedback information of network state that intelligent terminal sends, function machine identify intelligent terminal current network available time, and eject operation interface as shown in Figure 2 b, select to detect currently whether have renewable function machine software for user.Wherein, intelligent terminal is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
When request unit 811 receives " detect and upgrade " order of user's transmission, to intelligent terminal transmission request information, with the function machine software that acquisition request is up-to-date, to make intelligent terminal after the solicited message receiving function machine transmission, by any one network and server communication in the wireless networks such as WiFi, 3G or GPRS, with the software version information of read functions machine from server.Wherein, solicited message comprises the version information of function machine software.In the present embodiment, the decreasing priority of WiFi, 3G, GPRS, in other embodiments, also can be set to other priority.
When intelligent terminal judges that the software version information of function machine read from server is up-to-date function machine software, when having the feedback information of renewable function machine software to request unit 811 transmission, request unit 811 receive intelligent terminal send have the feedback information of renewable function machine software after, ejecting operation interface as shown in Figure 2 c, having renewable function machine software for downloading to point out user.
When request unit 811 receives " download " order of user's transmission, request unit 811 sends the order of downloading up-to-date function machine software to intelligent terminal, to make intelligent terminal and server communication, from server, downloaded the installation kit of up-to-date function machine software by web download agreement.
Acquiring unit 812 is for receiving the installation kit of the up-to-date function machine software that intelligent terminal sends by blueteeth network, wherein, installation kit is that intelligent terminal is obtained from server download by wireless network.Such as, after the installation kit of up-to-date function machine software downloaded by intelligent terminal from server, acquiring unit 812 receives the installation kit of the up-to-date function machine software downloaded that intelligent terminal sends by blueteeth network, and show reception progress, i.e. " download progress " as shown in Figure 2 d, checks for user.
When acquiring unit 812 takes defeat, send error reporting to intelligent terminal, to notify that intelligent terminal current network is abnormal, after making intelligent terminal Sampling network state normal, resend up-to-date function machine software installation kit.
The installation kit of the complete up-to-date function machine software got is sent to correction verification module 820 by acquiring unit 812.
Correction verification module 820 for checking installation kit whether legal, when verification obtain described installation kit legal time, perform the described installation kit of described reduction and generate up-to-date function machine software.
Such as, after correction verification module 820 receives complete installation kit (namely download progress is 100%), whether correction verification module 820 verifies installation kit legal.Wherein, whether verification installation kit is legal refers to that whether the version number detecting the installation kit received is correct, and whether the content that installation kit comprises is complete.
When correction verification module 820 verification obtain installation kit legal time, eject operation interface as shown in Figure 2 e, select whether the installation kit downloaded is installed for user.When correction verification module 820 verification obtain installation kit illegal time, notice acquiring unit 812 to make the intelligent terminal up-to-date function machine software that download version information is correct again.
Correction verification module 820 verify the installation kit of up-to-date function machine software legal time, the installation kit of legal up-to-date function machine software is sent to recovery module 830
Recovery module 830 is for receiving the installation kit of legal up-to-date function machine software, and reduction installation kit generates up-to-date function machine software.Such as, when recovery module 830 receives after " installations " that user sends order, the installation kit of recovery module 830 to the legal up-to-date function machine software received decompresses, and generates up-to-date function machine software to reduce installation kit.
The up-to-date function machine software generated is sent to update module 840 by recovery module 830.
Update module 840 for receiving up-to-date function machine software, by up-to-date function machine software upgrading in function machine.Such as, update module 840 receives up-to-date function machine software, and installs up-to-date function machine software, and up-to-date function machine software upgrading is completed software upgrading to function machine.
After update module 840 has been upgraded, can also restart function machine, and whether detect current software version information correct, whether content is complete.Upgrade status report can also be sent, to notify that intelligent terminal terminates this updating operation to intelligent terminal.
In the present embodiment, function machine is that the mode of entirely wrapping is upgraded, and reduction installation kit generates up-to-date function machine software and is kept at bootloader and file system area.In other embodiments, function machine can also adopt the mode of difference bag to reduce, and the difference bag of download and the function machine software being kept at function machine inside is carried out difference reduction, obtains up-to-date function machine software.
Such scheme, function machine receives the installation kit of the up-to-date function machine software of acquisition that intelligent terminal downloads from server by blueteeth network, reduction installation kit generates up-to-date function machine software, by in up-to-date function machine software upgrading to described function machine, thus realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Fig. 9, Fig. 9 is the another embodiment structural representation of device that the application upgrades function machine software.The device of the renewal function machine software in present embodiment is intelligent terminal, and the device of the renewal function machine software in present embodiment comprises acquisition module 910 and module 920 occurs.
Acquisition module 910 for function machine set up bluetooth be connected and the update request of function machine detected time, obtained the installation kit of up-to-date function machine software by wireless network, wherein, installation kit is that intelligent terminal is obtained from server by wireless network.
Such as, when user needs to upgrade function machine software, open Bluetooth function, acquisition module 910 and the success of function machine Bluetooth pairing, and after the solicited message of the renewal function machine software that function machine sends being detected, acquisition module 910, by wireless network and server communication, downloads the installation kit of up-to-date function machine software from server by web download agreement.Wherein, wireless network comprises WiFi, 3G and GPRS.Wherein, acquisition module 910 is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
Certainly, when acquisition module 910 failed download, can send the feedback information of failed download to function machine, the error code comprised in the feedback information of the failed download that can receive to make function machine, parses error event and points out user.Such as, failed download or network connection error etc.
In the present embodiment, trigger acquisition module 910 obtains the installation kit of up-to-date function machine software action from server, initiatively can be triggered by intelligent terminal, also can be triggered by function machine.
The installation kit of the up-to-date function machine software got is sent to sending module 920 by acquisition module 910.
Sending module 920 is soft for receiving up-to-date function machine, sends installation kit by blueteeth network part to function machine.Such as, after sending module 920 receives the installation kit of the up-to-date function machine software that acquisition module 910 sends, sent to function machine by the installation kit of blueteeth network by the up-to-date function machine software downloaded, to make function machine, this installation kit is installed and carries out software upgrading.
In the present embodiment, intelligent terminal is the mode of entirely wrapping downloads up-to-date function machine software installation kit from server, carries out software upgrading to make function machine direct-reduction installation kit to obtain up-to-date function machine software.In other embodiments, intelligent terminal can also be the difference bag of the installation kit downloading up-to-date function machine software in the mode of difference bag from server, to make function machine carry out difference reduction according to the difference bag downloaded and the function machine software being kept at function machine inside, thus obtain up-to-date function machine software and carry out software upgrading.
Such scheme, intelligent terminal obtains up-to-date function machine software by wireless network from server, and by blueteeth network, the up-to-date function machine software got is sent to function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
Refer to Figure 10, Figure 10 is the device embodiment structural representation again that the application upgrades function machine software.The device of the renewal function machine software in present embodiment is intelligent terminal, and the device of the renewal function machine software in present embodiment comprises acquisition module 1010 and sending module 1020.Wherein, acquisition module 1010 comprises detecting unit 1011, reading unit 1012 and download unit 1013.
Acquisition module 1010 is for obtaining the installation kit of up-to-date function machine software by wireless network. wherein, the solicited message that detecting unit 1011 sends for receiving function machine, wherein, solicited message is used for the up-to-date function machine software of identification function machine acquisition request, and solicited message comprises the version information of function machine software.
Such as, to be received the order of the Sampling network state that function machine sends by blueteeth network at detecting unit 1011 after, detect current network state, wherein, network state comprises blueteeth network state, and the wireless communication status such as WiFi, 3G, GPRS.
When the testing result of detecting unit 1011 be current network available time, send the feedback information of network state to function machine, with the network state making function machine know intelligent terminal.In the present embodiment, when the testing result of detecting unit 1011 be current network unavailable time, again detect every the first Preset Time, can use until testing result is current network, the first Preset Time can be arranged as required.In other embodiments, also can be set to after intelligent terminal detects current network state, send the feedback information of network state to function machine.Network state be current network state can with or current network state unavailable.
Wherein, detecting unit 1011 is as follows to the form of function machine transmission information:
Command identifier Source address Destination address Error code Data type Data length Data
Command identifier is used to specify the operation that will perform on given object.Source address is the address of transmitting terminal, i.e. the bluetooth ID of intelligent terminal.Destination address is the address of receiving end, i.e. the bluetooth ID of function machine.Error code is used for the error event type of identification communication failure.Data type comprises order, file, and the order that data length is transmission or the byte number shared by file, data are the particular content of order or file.
When function machine receives " detect and upgrade " order of user's transmission, the solicited message upgrading function machine software is sent to detecting unit 1011, during with the function machine software that acquisition request is up-to-date, the solicited message that detecting unit 1011 receiving function machine sends, solicited message comprises the version information of function machine software.
The solicited message received is sent to reading unit 1012 by detecting unit 1011.
Reading unit 1012 is for by the version information of wireless network from server read functions machine software.Such as, after reading unit 1012 receives solicited message, by any one network and server communication in the wireless networks such as WiFi, 3G or GPRS, with the software version information of read functions machine from server.Wherein, in the present embodiment, the decreasing priority of WiFi, 3G, GPRS, in other embodiments, also can be set to other priority.
The version information of the function machine software comprised in the software version information of the function machine read from server and the solicited message that receives compares by reading unit 1012.When the version information of the function machine software comprised the software version information of the function machine that reading unit 1012 reads from server is higher than solicited message, reading unit 1012 judges that the software version information of the function machine read from server is up-to-date function machine software, send feedback information to function machine, have renewable function machine software so that informing function machine is current.
Download unit 1013, for when reading described version information and being up-to-date function machine software, downloads the installation kit of up-to-date function machine software from described server by wireless network.
Such as, when download unit 1013 receives the order of the up-to-date function machine software of download that function machine sends, download unit 1013 and server communication, download the installation kit of up-to-date function machine software from server by web download agreement.
Certainly, when download unit 1013 failed download, the feedback information of failed download can be sent to function machine, wherein, the error code comprised in the feedback information of the failed download that function machine can receive, parses error event, and is presented on operation interface and checks process for user.Such as, failed download or network connection error etc.When download unit 1013 failed download, every the second Preset Time, can also again download the installation kit of up-to-date function machine, or the instruction of the user received according to function machine performs operation corresponding to and instruction.
The installation kit of the up-to-date functional software downloaded is sent to sending module 1020 by download unit 1013.
Sending module 1020 is for sending installation kit by blueteeth network to function machine.Such as, after sending module 1020 receives the installation kit of up-to-date function machine software, sent to function machine by the installation kit of blueteeth network by the up-to-date function machine software downloaded, to make function machine by up-to-date function machine software upgrading to function machine.
Alternatively, the installation kit of up-to-date function machine software is sent to function machine at sending module 1020, detecting unit 1011 can also the upgrade status report that sends of receiving function machine, and upgrade status report can comprise the information of the whether legal information of up-to-date function machine software that function machine receives, whether successful upgrade software.When the upgrade status that detecting unit 1011 receives be reported as up-to-date function machine software that function machine receives illegal time, notice sending module 1020 resends the installation kit of up-to-date function machine software.When the upgrade status that detecting unit 1011 receives is reported as successfully upgrade software, terminate this updating operation.
In the present embodiment, when the solicited message that intelligent terminal for reception sends to function machine, trigger intelligent terminal from the version information of server read functions machine software, thus judge currently whether have renewable function machine software.In other embodiments, also can for intelligent terminal every the 3rd Preset Time automatically from function machine and server read functions machine software version information and compare.When intelligent terminal judges there is up-to-date function machine software in server, informing function machine is current renewable function machine software, selects the function machine software of whether down loading updating for user.
In the present embodiment, intelligent terminal is the mode of entirely wrapping downloads up-to-date function machine software installation kit from server, carries out software upgrading to make function machine direct-reduction installation kit to obtain up-to-date function machine software.In other embodiments, intelligent terminal can also be the difference bag of the installation kit downloading up-to-date function machine software in the mode of difference bag from server, to make function machine carry out difference reduction according to the difference bag downloaded and the function machine software being kept at function machine inside, thus obtain up-to-date function machine software and carry out software upgrading.
In the present embodiment, normally use for not affecting intelligent terminal user, intelligent terminal does not arrange the user interface upgrading function machine software.In other embodiment, also user interface can be set according to user's request.
Such scheme, intelligent terminal obtains up-to-date function machine software by wireless network from server, and by blueteeth network, the up-to-date function machine software got is sent to function machine, thus make not have the function machine of radio network functions can realize upgrading function machine software, allow the New function of Consumer's Experience function machine.
In more than describing, in order to illustrate instead of in order to limit, propose the detail of such as particular system structure, interface, technology and so on, thoroughly to understand the application.But, it will be clear to one skilled in the art that and also can realize the application in other embodiment not having these details.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders the description of the application.

Claims (10)

1. upgrade a method for function machine software, it is characterized in that, described method comprises:
Function machine obtains the installation kit of up-to-date function machine software by blueteeth network, and wherein, described installation kit is that intelligent terminal is obtained from server by wireless network;
The described installation kit that reduces generates up-to-date function machine software;
By in described up-to-date function machine software upgrading to described function machine.
2. method according to claim 1, is characterized in that, described function machine obtains the installation kit of up-to-date function machine software step by blueteeth network specifically comprises:
Function machine is by blueteeth network to intelligent terminal transmission request information, and wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software;
Received the installation kit of the up-to-date function machine software that described intelligent terminal sends by described blueteeth network, wherein, described installation kit is that intelligent terminal is obtained from server download by wireless network.
3. method according to claim 1 and 2, is characterized in that, also comprises after the step of installation kit being obtained up-to-date function machine software by blueteeth network:
Whether legally verify described installation kit;
When verification obtain described installation kit legal time, perform the described installation kit of described reduction and generate up-to-date function machine software.
4. upgrade a method for function machine software, it is characterized in that, described method comprises:
With function machine set up bluetooth be connected and the update request of function machine detected time, intelligent terminal obtains the installation kit of up-to-date function machine software by wireless network, and wherein, described installation kit is that intelligent terminal is obtained from server by wireless network;
Described installation kit is sent to function machine by blueteeth network.
5. method according to claim 4, is characterized in that, described intelligent terminal obtains the installation kit of up-to-date function machine software step by wireless network specifically comprises:
The solicited message that receiving function machine sends, wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software;
Described intelligent terminal is by the version information of wireless network from server read functions machine software;
When reading described version information and being up-to-date function machine software, downloaded the installation kit of up-to-date function machine software from described server by wireless network.
6. upgrade a device for function machine software, it is characterized in that, described device comprises: acquisition module, recovery module and update module;
Described acquisition module is used for the installation kit being obtained up-to-date function machine software by blueteeth network, and wherein, described installation kit is that intelligent terminal is obtained from server by wireless network;
Described recovery module generates up-to-date function machine software for reducing described installation kit;
Described update module is used in described up-to-date function machine software upgrading to described function machine.
7. device according to claim 6, is characterized in that, described acquisition module comprises request unit and acquiring unit;
Described request unit is used for by blueteeth network to intelligent terminal transmission request information, and wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software;
Described acquiring unit is used for the installation kit being received the up-to-date function machine software that described intelligent terminal sends by described blueteeth network, and wherein, described installation kit is that intelligent terminal is obtained from server download by wireless network.
8. the device according to claim 6 or 7, it is characterized in that, described device also comprises correction verification module, and whether described correction verification module is for checking described installation kit legal, when verification obtain described installation kit legal time, perform the described installation kit of described reduction and generate up-to-date function machine software.
9. upgrade a device for function machine software, it is characterized in that, described device comprises: acquisition module and sending module;
Described acquisition module be used for function machine set up bluetooth be connected and the update request of function machine detected time, obtained the installation kit of up-to-date function machine software by wireless network, wherein, described installation kit is that intelligent terminal is obtained from server by wireless network;
Described sending module is used for sending described installation kit by blueteeth network to function machine.
10. device according to claim 9, is characterized in that, described acquisition module comprises detecting unit, reading unit and download unit;
Described detecting unit is used for the solicited message that receiving function machine sends, and wherein, described request information is for identifying the up-to-date function machine software of described function machine acquisition request, and described request information comprises the version information of described function machine software;
Described reading unit is used for by the version information of wireless network from server read functions machine software;
Described download unit is used for when reading described version information and being up-to-date function machine software, is downloaded the installation kit of up-to-date function machine software by wireless network from described server.
CN201410499362.XA 2014-09-25 2014-09-25 Method and device for updating feature phone software Pending CN104317564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410499362.XA CN104317564A (en) 2014-09-25 2014-09-25 Method and device for updating feature phone software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410499362.XA CN104317564A (en) 2014-09-25 2014-09-25 Method and device for updating feature phone software

Publications (1)

Publication Number Publication Date
CN104317564A true CN104317564A (en) 2015-01-28

Family

ID=52372799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410499362.XA Pending CN104317564A (en) 2014-09-25 2014-09-25 Method and device for updating feature phone software

Country Status (1)

Country Link
CN (1) CN104317564A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045630A (en) * 2015-07-28 2015-11-11 广东欧珀移动通信有限公司 Method and device for carrying out production line reinstallation on mobile terminals and mobile terminal
CN105630432A (en) * 2015-12-24 2016-06-01 北京三快在线科技有限公司 Method, device and system for upgrading printer and printer
CN105978975A (en) * 2016-05-12 2016-09-28 广州橙行智动汽车科技有限公司 Upgrading method and system for automobile function module
CN106339236A (en) * 2016-08-17 2017-01-18 西安拓奇电子科技有限公司 Software upgrading method, client, interphone and soft upgrading system
CN106445792A (en) * 2016-09-27 2017-02-22 深圳市邦华电子有限公司 Updatenotificationprocessing method and device
CN106604141A (en) * 2016-12-28 2017-04-26 北京风行在线技术有限公司 Dual-upgrade method
CN109978526A (en) * 2019-01-25 2019-07-05 惠州高盛达科技有限公司 Shared device bluetooth method of payment, system and storage medium
CN113504879A (en) * 2021-07-27 2021-10-15 华帝股份有限公司 Data storage method and intelligent household appliance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610604A (en) * 2009-06-18 2009-12-23 中兴通讯股份有限公司 A kind of method for upgrading software and system
CN103517448A (en) * 2012-07-16 2014-01-15 Tcl集团股份有限公司 Software upgrading method and system based on WiFiDirect
CN103716390A (en) * 2013-12-25 2014-04-09 广西大学 Method and terminal for data sharing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610604A (en) * 2009-06-18 2009-12-23 中兴通讯股份有限公司 A kind of method for upgrading software and system
CN103517448A (en) * 2012-07-16 2014-01-15 Tcl集团股份有限公司 Software upgrading method and system based on WiFiDirect
CN103716390A (en) * 2013-12-25 2014-04-09 广西大学 Method and terminal for data sharing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045630A (en) * 2015-07-28 2015-11-11 广东欧珀移动通信有限公司 Method and device for carrying out production line reinstallation on mobile terminals and mobile terminal
CN105630432A (en) * 2015-12-24 2016-06-01 北京三快在线科技有限公司 Method, device and system for upgrading printer and printer
CN105978975A (en) * 2016-05-12 2016-09-28 广州橙行智动汽车科技有限公司 Upgrading method and system for automobile function module
CN106339236A (en) * 2016-08-17 2017-01-18 西安拓奇电子科技有限公司 Software upgrading method, client, interphone and soft upgrading system
CN106445792A (en) * 2016-09-27 2017-02-22 深圳市邦华电子有限公司 Updatenotificationprocessing method and device
CN106445792B (en) * 2016-09-27 2019-03-12 深圳市邦华电子有限公司 A kind of update notification treating method and apparatus
CN106604141A (en) * 2016-12-28 2017-04-26 北京风行在线技术有限公司 Dual-upgrade method
CN109978526A (en) * 2019-01-25 2019-07-05 惠州高盛达科技有限公司 Shared device bluetooth method of payment, system and storage medium
CN113504879A (en) * 2021-07-27 2021-10-15 华帝股份有限公司 Data storage method and intelligent household appliance

Similar Documents

Publication Publication Date Title
CN104317564A (en) Method and device for updating feature phone software
EP2456257B1 (en) Method and system for upgrading wireless data card
US8065554B2 (en) Communication device and a method of self-healing thereof
EP1860899B1 (en) Mobile station, system and management server for over the air mobile station management
CN110621011B (en) OTA firmware upgrading method and system based on Bluetooth device side
US20060200658A1 (en) Agent framework for mobile devices
EP2878140B1 (en) Wireless firmware upgrades to an alarm security panel
US20050022212A1 (en) Software driver code usage
CA2565317C (en) Modular data components for wireless communication devices
CN104915237A (en) Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
US10394572B2 (en) Power adapter and method for upgrading the power adapter
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
JP2006203392A (en) Software radio apparatus and on-vehicle information system
CN104125276A (en) Upgrading method and device
CN104750515A (en) Firmware version upgrading method and system
KR101541112B1 (en) FOTA system and the method
CN105517015A (en) Upgrading method, device of wifi product by over the air OTA and terminal
CN105100021A (en) Method, device and system for triggering device management sessions
CN104991800A (en) Method, apparatus and system for upgrading firmware of device that is not networked
CN112015441A (en) Updating method and system of vehicle-mounted terminal
CN103744707A (en) Method, device and system for upgrading program of VCI (virtual channel identifier) equipment
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN103491557B (en) The processing method and processing device of upgrading base station data
CN103763008A (en) Controlled Bluetooth device and method and system for data transmission between Bluetooth devices
CN102439959B (en) Communicator and communication means

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128

RJ01 Rejection of invention patent application after publication