CN107239302A - A kind of firmware upgrade method, terminal and server - Google Patents

A kind of firmware upgrade method, terminal and server Download PDF

Info

Publication number
CN107239302A
CN107239302A CN201710326549.3A CN201710326549A CN107239302A CN 107239302 A CN107239302 A CN 107239302A CN 201710326549 A CN201710326549 A CN 201710326549A CN 107239302 A CN107239302 A CN 107239302A
Authority
CN
China
Prior art keywords
terminal
aku
server
firmware upgrade
firmware
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
CN201710326549.3A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710326549.3A priority Critical patent/CN107239302A/en
Publication of CN107239302A publication Critical patent/CN107239302A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of firmware upgrade method, terminal and server, methods described includes:Terminal to server sends firmware upgrade request, so that server asks to return to response message to the terminal based on the firmware upgrade, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;Terminal receives the response message from server;Terminal carries out firmware upgrade when it is determined that including AKU download address or AKU in the response message according to the AKU download address or AKU;So, terminal with server by once interacting, just AKU or AKU download address can be obtained, when the channel quality of the cordless communication network between terminal and server is poor, or, when the electricity of terminal is relatively low, terminal can also obtain AKU or AKU download address in time, so as to add the successful possibility of firmware upgrade.

Description

A kind of firmware upgrade method, terminal and server
Technical field
The present invention relates to firmware upgrade technology, more particularly to a kind of firmware upgrade method, terminal and server.
Background technology
At present, when terminal carries out firmware upgrade, it can use and be based on Open Mobile Alliance (Open Mobile Alliance, OMA)-equipment control (Device Management, DM) agreement aerial download software upgrading (Firmware Over-The-Air, FOTA) flow carry out search bag, so as to obtain AKU;Whole FOTA requirementss of process client (terminal) and Server is repeatedly interacted, in FOTA flows, and terminal needs first to report terminal device information to server, afterwards, Server sends the request for obtaining firmware version information to terminal, and terminal again sends the firmware version information of itself to service Device.
As can be seen that due in FOTA flows terminal need repeatedly interacted with server, then in terminal kimonos When the channel quality of cordless communication network between business device is poor, or, when the electricity of terminal is relatively low, firmware upgrade may be made The possibility increase of failure;In addition, when the channel quality of the cordless communication network between terminal and server is poor, or, When the electricity of terminal is relatively low, terminal user is likely to cancel firmware upgrade operation, terminal can not be obtained AKU in time.
The content of the invention
, can be with order to solve the above technical problems, the embodiment of the present invention provides a kind of firmware upgrade method, terminal and server The problem of terminal firmware upgrading failure possibility for solving prior art presence is high.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of firmware upgrade method, methods described includes:
Terminal to server sends firmware upgrade request, so that server is asked to the terminal based on the firmware upgrade Response message is returned, wherein, at least carry terminal device information and the firmware version of terminal in the firmware upgrade request Information;
Terminal receives the response message from server;
Terminal in the response message when it is determined that include AKU download address or AKU, according under the AKU Set address or AKU carry out firmware upgrade.
Optionally, the terminal to server sends firmware upgrade request and included:The terminal is used using safety as target HTTP HTTPS to server send firmware upgrade request;
The terminal receives the response message from server, including:The terminal is based on HTTPS agreements and received from clothes The response message of business device.
The embodiment of the present invention additionally provides another firmware upgrade method, and methods described includes:
Server receives the firmware upgrade request for carrying out self terminal, and terminal device is at least carried in the firmware upgrade request The firmware version information of information and terminal;
When server determines that the terminal needs to carry out firmware upgrade according to firmware upgrade request, upgrading will be carried Bag download address or the response message of AKU are sent to terminal, so that terminal is according to the AKU download address or AKU Carry out firmware upgrade.
Optionally, before server reception carrys out the firmware upgrade request of self terminal, methods described also includes:Server is advance At least one AKU for being used to carry out terminal firmware upgrading is stored in the memory database of server;
Correspondingly, server receive come self terminal firmware upgrade request after, methods described also includes:Server root When finding corresponding AKU in the memory database according to the firmware version information of the terminal, determine that the terminal is needed Carry out firmware upgrade.
Optionally, methods described also includes:
Server finds corresponding AKU according to the firmware version information of the terminal in the memory database Afterwards, the firmware version information of the terminal is designated as particular firmware version information, and corresponding AKU is stored in server Caching in;
Server receives firmware upgrade request again, and it is described to determine that the firmware upgrade received again is carried in asking During particular firmware version information, corresponding upgrading is searched from the caching of the server according to the particular firmware version information Bag.
Optionally, when corresponding AKU is stored in the caching of server, the caching of server is set to come into force Time;
After corresponding AKU is searched from the caching of the server according to the particular firmware version information, if clothes When the caching of corresponding AKU or the server of being engaged in not being stored with the caching of device has failed, again according to described specific solid Part version information searches corresponding AKU from memory database.
The embodiment of the present invention additionally provides a kind of terminal, and the terminal includes first processor, first memory and first Communication bus;
First communication bus is used to realize the connection communication between first processor and first memory;
The first processor is used to perform the firmware upgrade procedure stored in first memory, to realize following steps:
Firmware upgrade request is sent to server, so that server asks to return to the terminal based on the firmware upgrade Response message, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Receive the response message from server;
When it is determined that including AKU download address or AKU in the response message, download ground according to the AKU Location or AKU carry out firmware upgrade.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage There is one or more program, one or more of programs can be following to realize by one or more computing device Step:
Firmware upgrade request is sent to server, so that server asks to return to the terminal based on the firmware upgrade Response message, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Receive the response message from server;
When it is determined that including AKU download address or AKU in the response message, download ground according to the AKU Location or AKU carry out firmware upgrade.
The embodiment of the present invention additionally provides a kind of server, and the server includes:Second processor, second memory and Second communication bus;
Second communication bus is used to realize the connection communication between second processor and second memory;
The second processor is used to perform the firmware upgrade procedure stored in second memory, to realize following steps:
Receive the firmware upgrade request for carrying out self terminal, at least carried in the firmware upgrade request terminal device information with And the firmware version information of terminal;
When determining that the terminal needs to carry out firmware upgrade according to firmware upgrade request, AKU download will be carried The response message of address or AKU is sent to terminal, so that terminal is consolidated according to the AKU download address or AKU Part is upgraded.
The embodiment of the present invention additionally provides another computer-readable recording medium, and the computer-readable recording medium is deposited Contain one or more program, one or more of programs can by one or more computing device, with realize with Lower step:
Receive the firmware upgrade request for carrying out self terminal, at least carried in the firmware upgrade request terminal device information with And the firmware version information of terminal;
When determining that the terminal needs to carry out firmware upgrade according to firmware upgrade request, AKU download will be carried The response message of address or AKU is sent to terminal, so that terminal is consolidated according to the AKU download address or AKU Part is upgraded.
In a kind of firmware upgrade method provided in an embodiment of the present invention and terminal, terminal to server sends firmware upgrade please Ask, so that server asks to return to response message to the terminal based on the firmware upgrade, wherein, the firmware upgrade request In at least carry terminal device information and the firmware version information of terminal;Terminal receives the response message from server; Terminal when it is determined that including AKU download address or AKU in the response message, according to the AKU download address or AKU carries out firmware upgrade;In this way, terminal just can be obtained under AKU or AKU by once being interacted with server Set address, when the channel quality of the cordless communication network between terminal and server is poor, or, in the electricity of terminal When relatively low, terminal can also obtain AKU or AKU download address in time, so as to add the successful possibility of firmware upgrade.
In a kind of firmware upgrade method and server provided in an embodiment of the present invention, server receives the firmware for carrying out self terminal Upgrade request, terminal device information and the firmware version information of terminal are at least carried in the firmware upgrade request;Service When device determines that the terminal needs to carry out firmware upgrade according to firmware upgrade request, will carry AKU download address or The response message of AKU is sent to terminal, so that terminal carries out firmware liter according to the AKU download address or AKU Level;In this way, server with terminal by once interacting, just AKU or AKU download address can be sent to terminal, i.e., When making the channel quality of cordless communication network between terminal and server poor, or, when the electricity of terminal is relatively low, eventually End can also obtain AKU or AKU download address in time, so as to add the successful possibility of firmware upgrade.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a flow chart of firmware upgrade method of the embodiment of the present invention;
Fig. 4 is the schematic diagram one that the embodiment of the present invention points out user to carry out firmware upgrade on terminal interface;
Fig. 5 is the schematic diagram two that the embodiment of the present invention points out user to carry out firmware upgrade on terminal interface;
Fig. 6 is that the embodiment of the present invention points out that the schematic diagram of firmware upgrade need not be carried out on terminal interface;
Fig. 7 is that terminal of the embodiment of the present invention and server carry out once interactive schematic diagram;
Fig. 8 is another flow chart of firmware upgrade method of the embodiment of the present invention;
Fig. 9 is the schematic diagram that the embodiment of the present invention searches AKU in the server;
Figure 10 is another schematic diagram that the embodiment of the present invention searches AKU in the server;
Figure 11 is the hardware architecture diagram of the terminal of the embodiment of the present invention;
Figure 12 is the hardware architecture diagram of the server of the embodiment of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the embodiment of the present invention can include it is all Such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), tablet personal computer (PAD), the mobile terminal of portable media player (PMP), guider etc. and such as numeral TV, desktop computer Etc. fixed terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, user input unit 130, output unit 150, memory 160th, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assemblies, but It is that should be understood that, it is not required that implement all components shown.More or less components can alternatively be implemented.Will be under The element of mobile terminal is described in detail in face.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one in wireless Internet module 113 and short range communication module 114.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with DMB (DMB) electronics The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can be logical including voice Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), nothing Line width band (Wibro), worldwide interoperability for microwave accesses (Wimax), high-speed downlink packet access (HSDPA) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by the change such as resistance, pressure, electric capacity sensitive component), roller, rocking bar etc.. Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses each of mobile terminal 1 00 Plant information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 may be used as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or may be used as allowing passing through it from the various command signals that base is inputted It is transferred to the path of mobile terminal.The various command signals or electric power inputted from base may be used as being used to recognize that mobile terminal is The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity When talking about call mode, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file Download etc.) related user interface (User's Interface, UI) or graphic user interface (GUI).When mobile terminal 1 00 During in video calling pattern or image capture mode, display unit 151 can show the image of capture and/or the figure of reception Picture, the UI or GUI for showing video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 may be used as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, transparent organic light emitting diode (TOLED) display etc..According to specific Desired embodiment, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.Moreover, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke Temporarily to store the data that has exported or will export (for example, telephone directory, message, still image, video etc.).And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 1 00 can be with performing memory by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and processing.In addition, controller 180 can include being used to reproduce (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each member Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system for describing wherein be operated according to the mobile terminal of the present invention referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to the BSC275 formation interfaces with that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any of some known interfaces, the interface include such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, specific BS270 each subregion can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminals At least one in 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to obtain desired positioning letter Breath.GPS tracking techniques or outside GPS tracking techniques are substituted, the other of the position that can track mobile terminal can be used Technology.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.It is each anti-that certain base station 270 is received Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of coordination including the soft switching process between BS270.BSC275 is also by the number received According to MSC280 is routed to, it is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 formation interfaces, MSC and BSC275 formation interface, and BSC275 correspondingly control BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the invention is proposed.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.
First embodiment
First embodiment of the invention proposes a kind of firmware upgrade method, can apply to the end for needing to carry out firmware upgrade In end, the angle of first embodiment of the invention from terminal is illustrative to firmware upgrade method.
Here, the terminal of above-mentioned record can be mobile terminal or fixed terminal, and the terminal of above-mentioned record includes But it is not limited to mobile phone, notebook computer, camera, PDA, PAD, PMP, guider etc..The mobile terminal can connect Internet is connected to, wherein, the mode of the connection can be that the mobile internet provided by operator is attached, and may be used also To be to carry out network connection by accessing WAP.
Here, if mobile terminal has operating system, the operating system can be UNIX, Linux, Windows, Android (Android), Windows Phone etc..
It should be noted that species, shape, size to the display screen on mobile terminal etc. is not limited, it is exemplary , the display screen on mobile terminal can be LCDs etc..
In the first embodiment of the invention, the display screen of above-mentioned record is used for the interface for providing a user man-machine interaction.This In, the mobile terminal of above-mentioned record can be communicated to connect with the formation of at least one server, actually implemented, mobile terminal The connection between server can be realized using wireless communication module.
Fig. 3 is a flow chart of firmware upgrade method of the embodiment of the present invention, as shown in figure 3, the flow can include:
Step 301:Terminal to server send firmware upgrade request so that server based on the firmware upgrade ask to The terminal returns to response message, wherein, terminal device information and terminal are at least carried in the firmware upgrade request Firmware version information;
Here, when terminal is the mobile terminal, the terminal device information can include at least one of:It is described International Mobile Equipment Identity code (the International Mobile Equipment of the model of terminal, the terminal Identity, IMEI).
It is understood that terminal device information and the firmware version information of terminal are the bases for carrying out firmware upgrade, Server, can be according to the terminal device information and the firmware of terminal version after the firmware upgrade for carrying out self terminal request is received The corresponding AKU of this information searching, afterwards, server can according to lookup result to terminal return response message.
Step 302:Terminal receives the response message from server;
It is understood that when whois lookup is to corresponding AKU, AKU or AKU can will be carried The response message of download address is sent to terminal, now, terminal when receiving response message, can the response based on reception believe Breath prompting user carries out firmware upgrade.Further, when whois lookup is to corresponding AKU, it can be sent to terminal Response message in carry the corresponding version information of AKU.
When server does not find corresponding AKU, response message can be sent to terminal, referred in response message Show that server does not search AKU, or, instruction terminal current version of firmware has been that latest edition (need not carry out firmware Upgrading).
Step 303:Terminal in the response message when it is determined that include AKU download address or AKU, according to described AKU download address or AKU carry out firmware upgrade.
Exemplarily, terminal directly carries out firmware when it is determined that including AKU in the response message according to AKU Upgrading;When it is determined that including AKU download address in the response message, obtained according to the AKU download address of above-mentioned record AKU is taken, afterwards, firmware upgrade is carried out according to the AKU of acquisition.
Exemplarily, terminal in the response message when it is determined that include AKU download address or AKU, Ke Yiti Show user to whether carrying out firmware upgrade and selecting, when receiving user and confirming to carry out the selection of firmware upgrade, according to institute State AKU download address or AKU carries out firmware upgrade.
Exemplarily, Fig. 4 is the schematic diagram one that the embodiment of the present invention points out user to carry out firmware upgrade on terminal interface, As shown in figure 4, display " having been received by AKU, if carry out firmware upgrade " on terminal interface, and show " confirmation " and " take Disappear " two virtual push buttons;Terminal can according to the selection of user (user clicks on " confirmation " or " cancellation " button and selected) come Perform corresponding operation, i.e. the selection for the user that terminal is received is carries out during firmware upgrade, according to the AKU progress received Firmware upgrade.
Fig. 5 is the schematic diagram two that the embodiment of the present invention points out user to carry out firmware upgrade on terminal interface, such as Fig. 5 institutes Show, on terminal interface display " have been received by AKU download address, if carry out firmware upgrade ", and show " confirmation " and " cancellation " two virtual push buttons;Terminal can be according to the selection of user (user clicks on " confirmation " or " cancellation " button and selected) To perform corresponding operation, i.e. when the selection for the user that terminal is received is progress firmware upgrade, according under the AKU received Set address carries out firmware upgrade.
The implementation of firmware upgrade is carried out according to the AKU download address received for terminal, a kind of optional In embodiment, terminal can obtain AKU according to the AKU download address of above-mentioned record, afterwards, according to the AKU of acquisition Carry out firmware upgrade.
As can be seen that when server does not find corresponding AKU, the response message that terminal is received does not include upgrading Bag or AKU download address, terminal can determine that the firmware version of itself is latest edition, it is not necessary to carry out firmware upgrade.
Fig. 6 is that the embodiment of the present invention points out that the schematic diagram of firmware upgrade need not be carried out on terminal interface, such as Fig. 6 institutes Show, " current version of firmware is latest edition, it is not necessary to carry out firmware upgrade " is shown on terminal interface, to point out user need not Carry out firmware upgrade.
In the prior art, an optional FOTA flow may comprise steps of:
1) firmware renewal process is initialized after FOTA authentications.
2) server sends update notification (Update Notification) message to terminal;
3) terminal returns to one to server and confirms that (Ack) disappears after Update Notification message is received Breath:
4) terminal to server sends terminal device information;
5) server sends version to terminal and obtains request (Get_firmware Version) information, to understand terminal Current version of firmware information;
6) terminal to server sends firmware version information;
7) whether server needs to carry out firmware liter according to terminal device information and terminal firmware version information analysing terminal Level, when it is determined that terminal needs to carry out firmware upgrade, sends a confirmation message to terminal.
8) whether terminal is prompted the user with by user interface needs to carry out firmware upgrade.
9) selection result is back to terminal by user.
10) selection result is back to server by terminal, and server is operated accordingly according to the selection result of reception; When selection result is carries out firmware upgrade, next step, otherwise, termination process are performed.
11) server issues upgrading bag data to terminal by more newer command;
12) server sends installation order to terminal, starts to install AKU with instruction terminal;
13) terminal sends the feedback information that firmware upgrade is completed after the completion of firmware upgrade is confirmed to server.
As can be seen that in the FOTA flows of prior art, terminal needs repeatedly to be interacted with server, then at end When the channel quality of cordless communication network between end and server is poor, or, when the electricity of terminal is relatively low, it may make solid The possibility increase of part upgrading failure, in addition, terminal user is likely to cancel firmware upgrade operation, makes terminal not obtain in time AKU.
In view of the above-mentioned problems of the prior art, in the first embodiment of the present invention, terminal to server sends firmware Upgrade request, so that server asks to return to response message to the terminal based on the firmware upgrade, wherein, the firmware liter Terminal device information and the firmware version information of terminal are at least carried in level request;Terminal receives the response from server Information;Terminal is downloaded when it is determined that including AKU download address or AKU in the response message according to the AKU Address or AKU carry out firmware upgrade;Thus, it can be seen that, terminal just can be obtained by once being interacted with server AKU or AKU download address, when the channel quality of the cordless communication network between terminal and server is poor, Or, when the electricity of terminal is relatively low, terminal can also obtain AKU or AKU download address in time, so as to add firmware The possibility upgraded successfully.
That is, the firmware upgrade method of first embodiment of the invention, eliminates client and server to OMA-DM The dependence of agreement, using the protocol interaction of flexibly customizing, by reducing shaking hands for FOTA flows aggregating client and server, The saving to terminal power and Internet resources (flow) is reached, is interacted by primary network, in the channel matter of cordless communication network It can also realize that terminal firmware is upgraded when measuring poor.
Second embodiment
In order to more embody the purpose of the present invention, on the basis of first embodiment of the invention, carry out further Illustrate.
The flow of the firmware upgrade method of second embodiment of the invention can include:
Step 401:The terminal uses HTTP (the Hyper Text Transfer using safety as target Protocol over Secure Socket Layer, HTTPS) firmware upgrade request is sent to server, so that server base Ask to return to response message to the terminal in the firmware upgrade, wherein, at least carry end in the firmware upgrade request The firmware version information of end equipment information and terminal;
Here, base of the HTTPS agreements in HTTP (Hyper Text Transfer Protocol, HTTP) Add SSL (Secure Sockets Layer, SSL) agreement on plinth, SSL by certificate come authentication server or The identity of terminal, and communication encryption is carried out to the connection between terminal and server in transport layer.
That is, sending firmware upgrade request using HTTPS agreements, the content that firmware upgrade is asked can be added It is close, improve the security of data transmission.
Step 402:Terminal receives the response message from server based on HTTPS agreements.
That is, server sends response message using HTTPS agreements to terminal, it is clear that server is assisted using HTTPS When view sends response message, the content of response message can be encrypted, improve the security of data transmission.
Fig. 7 is that terminal of the embodiment of the present invention and server carry out once interactive schematic diagram, as shown in fig. 7, terminal is to clothes The HTTPS request that business device is sent is asked for the firmware upgrade of above-mentioned record, and the HTTPS response messages that server is sent to terminal are The response message of above-mentioned record.
Step 403:Terminal in the response message when it is determined that include AKU download address or AKU, according to described AKU download address or AKU carry out firmware upgrade.
The implementation of this step is identical with the implementation of step 303, repeats no more here.
3rd embodiment
Third embodiment of the invention proposes a kind of firmware upgrade method, can apply in server, and server is with needing The terminal formation communication connection of firmware upgrade is carried out, third embodiment of the invention is upgraded from the angle of server to terminal firmware Method is illustrative.
Fig. 8 is another flow chart of firmware upgrade method of the embodiment of the present invention, as shown in figure 8, the flow can include:
Step 501:Server receives the firmware upgrade request for carrying out self terminal, is at least carried in the firmware upgrade request The firmware version information of terminal device information and terminal.
When actually implementing, terminal can send firmware upgrade to server using HTTPS agreements and ask, and be institute in terminal When stating mobile terminal, the terminal device information can include at least one of:The model of the terminal, the terminal IMEI。
Step 502:When server determines that the terminal needs to carry out firmware upgrade according to firmware upgrade request, it will take Response message with AKU download address or AKU is sent to terminal, so that terminal is according to the AKU download address Or AKU carries out firmware upgrade.
In addition, when server determines that the terminal need not carry out firmware upgrade according to firmware upgrade request, that is, taking When business device does not find corresponding AKU, response message is sent to terminal, indicates that server is not searched in response message AKU, or, instruction terminal current version of firmware has been latest edition (need not carry out firmware upgrade).
As can be seen that in the third embodiment of the present invention, terminal just can be obtained by once being interacted with server AKU or AKU download address, when the channel quality of the cordless communication network between terminal and server is poor, Or, when the electricity of terminal is relatively low, terminal can also obtain AKU or AKU download address in time, so as to add firmware The possibility upgraded successfully.
Fourth embodiment
In order to more embody the purpose of the present invention, on the basis of third embodiment of the invention, carry out further Illustrate.
The flow of the firmware upgrade method of fourth embodiment of the invention can include:
Step 601:At least one AKU for being used to carry out terminal firmware upgrading is stored in server by server in advance Memory database in;
Step 602:Server receives the firmware upgrade request for carrying out self terminal, is at least carried in the firmware upgrade request The firmware version information of terminal device information and terminal;
Step 603:Server finds correspondence according to the firmware version information of the terminal in the memory database AKU when, determine the terminal need carry out firmware upgrade.
Here, built-in database in the server during memory database, the characteristics of due to memory database, internal storage data The reading speed of data in storehouse is very fast, so, can improve the speed of whois lookup AKU, and then improve terminal and consolidate The speed of part upgrading.
Illustrated below so that memory database is Redis databases as an example.
In the internal memory that server is in due to Redis databases, the data reading speed of Redis databases is than very fast, clothes The AKU that business device can complete pre-production is stored in the Redis databases of server, when server is according to the terminal When firmware version information finds corresponding AKU in the memory database, directly looked into Redis databases Look for, it is not necessary in non-memory database such as mysql database lookups, the speed for searching AKU can be improved.
Fig. 9 is the schematic diagram that the embodiment of the present invention searches AKU in the server, as shown in figure 9, server root Corresponding AKU is found in Redis databases according to the firmware version information of terminal, when finding corresponding AKU, Server receives the version information of the AKU from Redis databases.
Step 604:The response message for carrying AKU download address or AKU is sent to terminal, so that terminal root Firmware upgrade is carried out according to the AKU download address or AKU.
Preferably, server finds corresponding according to the firmware version information of the terminal in the memory database After AKU, the firmware version information of the terminal can be designated as to particular firmware version information, and corresponding AKU is deposited It is stored in the caching of server;
Server receives firmware upgrade request again, and it is described to determine that the firmware upgrade received again is carried in asking During particular firmware version information, corresponding upgrading is searched from the caching of the server according to the particular firmware version information Bag.
In an optional embodiment, server when corresponding AKU is stored in the caching of server, if Put the entry-into-force time of the caching of server;
After corresponding AKU is searched from the caching of the server according to the particular firmware version information, if clothes When the caching of corresponding AKU or the server of being engaged in not being stored with the caching of device has failed, again according to described specific solid Part version information searches corresponding AKU from memory database.
For example, the entry-into-force time that can set the caching of server is N seconds, N is more than 0;That is, will be right in server The AKU answered is stored in after the caching of server in N seconds, and the caching of server comes into force;Otherwise, the cache invalidation of server.
Figure 10 is another schematic diagram that the embodiment of the present invention searches AKU in the server, as shown in Figure 10, first Individual client represents to send first terminal of the firmware upgrade request for carrying particular firmware version information to server, homologous The client of version represents to send the other-end for the firmware upgrade request for carrying particular firmware version information to server;By Keep constant within a period of time in upgrading package informatin, and multiple terminals can search same AKU, so, in first visitor Family end can find corresponding AKU to when sending server transmission firmware upgrade request in Redis databases, Found in Redis databases after corresponding AKU, the firmware version information of terminal is designated as particular firmware version information, and Corresponding AKU is stored in the caching of server;Afterwards, if the client of also homologous version is same to search AKU, then directly search in the caching of server, only when the corresponding AKU that is not stored with the caching of business device Or the caching of the server is when having failed, then find from Redis databases corresponding AKU;Due to the number in caching According to reading speed than internal storage data reading speed faster, then stored using in the caching of server after AKU, be easy to carry For the lookup speed of AKU, and then improve firmware upgrade speed.
It should be noted that when using internal storage data library storage AKU, server is needed with larger internal memory, this Sample does not interfere with the speed of service and handling capacity of server;Similarly, in the buffer memory AKU using server, server Need not interfere with so the speed of service and handling capacity of server with larger caching.
As can be seen that in the present embodiment, can be by a period of time using caching or internal storage data library storage AKU Constant AKU is stored in server memory or caching, because server searches the speed of AKU in internal memory or caching Can be than the speed block in data in magnetic disk library lookup AKU, in this way, the lookup speed of AKU can be improved.
5th embodiment
On the basis of first embodiment of the invention and second embodiment, fifth embodiment of the invention proposes a kind of whole End;
Figure 11 is the hardware architecture diagram of the terminal of the embodiment of the present invention, and as shown in figure 11, terminal 11 is included at first Manage device 1101, the communication bus 1103 of first memory 1102 and first;
First communication bus 1103 is used to realize the connection between first processor 1101 and first memory 1102 Communication;
The first processor 1101 is used to perform the firmware upgrade procedure stored in first memory, to realize following step Suddenly:
Firmware upgrade request is sent to server, so that server asks to return to the terminal based on the firmware upgrade Response message, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Receive the response message from server;
When it is determined that including AKU download address or AKU in the response message, download ground according to the AKU Location or AKU carry out firmware upgrade.
In actual applications, above-mentioned first memory 1102 can be volatile memory (volatile memory), example Such as random access memory (RAM, Random-Access Memory);Or nonvolatile memory (non-volatile Memory), such as read-only storage (ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid state hard disc (SSD, Solid-State Drive);Or the memory of mentioned kind Combination, and provide instruction and data to first processor 1101.
Above-mentioned first processor 1101 can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), Digital Signal Processing Device (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), central processing unit At least one of (CPU, Central Processing Unit), controller, microcontroller, microprocessor.It is appreciated that Ground, for different equipment, for realizing that the electronic device of above-mentioned first processor function can also be other, the present invention is implemented Example is not especially limited.
Exemplarily, the first processor 1101, specifically can be used for:
Firmware upgrade request is sent to server using HTTPS agreements;And received based on HTTPS agreements from server Response message.
Sixth embodiment
On the basis of first embodiment of the invention and second embodiment, sixth embodiment of the invention proposes a kind of calculating Machine readable storage medium storing program for executing, the computer-readable recording medium is located in terminal.
The computer-readable recording medium storage has one or more program, and one or more of programs can quilt One or more computing device, to realize following steps:
Firmware upgrade request is sent to server, so that server asks to return to the terminal based on the firmware upgrade Response message, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Receive the response message from server;
When it is determined that including AKU download address or AKU in the response message, download ground according to the AKU Location or AKU carry out firmware upgrade.
The computer-readable recording medium is also stored with for one or more program for realizing following steps:Using HTTPS agreements send firmware upgrade request to server;And the response message from server is received based on HTTPS agreements.
7th embodiment
On the basis of third embodiment of the invention and fourth embodiment, seventh embodiment of the invention proposes a kind of service Device;
Figure 12 is the hardware architecture diagram of the server of the embodiment of the present invention, and as shown in figure 12, server 12 includes the Two processors 1201, the communication bus 1203 of second memory 1202 and second;
Second communication bus 1203 is used to realize the connection communication between second processor and second memory;
The second processor 1201 is used to perform the firmware upgrade procedure stored in second memory, to realize following step Suddenly:
Receive the firmware upgrade request for carrying out self terminal, at least carried in the firmware upgrade request terminal device information with And the firmware version information of terminal;
When determining that the terminal needs to carry out firmware upgrade according to firmware upgrade request, AKU download will be carried The response message of address or AKU is sent to terminal, so that terminal is consolidated according to the AKU download address or AKU Part is upgraded.
In actual applications, above-mentioned second memory 1202 can be volatile memory, such as RAM;Or it is non-volatile Property memory, such as ROM, flash memory, HDD or SSD;Or the combination of the memory of mentioned kind, and to second processing Device 1201 provides instruction and data.
Above-mentioned second processor 1201 can be ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, micro- At least one of processor.It is to be appreciated that for different equipment, the electronics for realizing above-mentioned second processor function Device can also be other, and the embodiment of the present invention is not especially limited.
Exemplarily, the second processor 1201, specifically can be also used for:
Before the firmware upgrade for carrying out self terminal request is received, at least one is used to carry out the liter of terminal firmware upgrading in advance Level bag is stored in the memory database of server;After the firmware upgrade for carrying out self terminal request is received, according to the terminal Firmware version information when finding corresponding AKU in the memory database, determine that the terminal needs to carry out firmware Upgrading.
Exemplarily, the second processor 1201, specifically can be also used for:
, will after the firmware version information according to the terminal finds corresponding AKU in the memory database The firmware version information of the terminal is designated as particular firmware version information, and corresponding AKU is stored in the caching of server In;
Firmware upgrade request is being received again, and it is described specific to determine that the firmware upgrade received again is carried in asking During firmware version information, corresponding AKU is searched from the caching of the server according to the particular firmware version information.
Exemplarily, the second processor 1201, specifically can be also used for:
When corresponding AKU is stored in the caching of server, the entry-into-force time of the caching of server is set;
After corresponding AKU is searched from the caching of the server according to the particular firmware version information, if clothes When the caching of corresponding AKU or the server of being engaged in not being stored with the caching of device has failed, again according to described specific solid Part version information searches corresponding AKU from memory database.
8th embodiment
On the basis of third embodiment of the invention and fourth embodiment, eighth embodiment of the invention proposes a kind of calculating Machine readable storage medium storing program for executing, the computer-readable recording medium is located in server.
The computer-readable recording medium storage has one or more program, and one or more of programs can quilt One or more computing device, to realize following steps:
Receive the firmware upgrade request for carrying out self terminal, at least carried in the firmware upgrade request terminal device information with And the firmware version information of terminal;
When determining that the terminal needs to carry out firmware upgrade according to firmware upgrade request, AKU download will be carried The response message of address or AKU is sent to terminal, so that terminal is consolidated according to the AKU download address or AKU Part is upgraded.
Exemplarily, the computer-readable recording medium is also stored with for the program for realizing following steps:
Before the firmware upgrade for carrying out self terminal request is received, at least one is used to carry out the liter of terminal firmware upgrading in advance Level bag is stored in the memory database of server;After the firmware upgrade for carrying out self terminal request is received, according to the terminal Firmware version information when finding corresponding AKU in the memory database, determine that the terminal needs to carry out firmware Upgrading.
Exemplarily, the computer-readable recording medium is also stored with for the program for realizing following steps:
, will after the firmware version information according to the terminal finds corresponding AKU in the memory database The firmware version information of the terminal is designated as particular firmware version information, and corresponding AKU is stored in the caching of server In;
Firmware upgrade request is being received again, and it is described specific to determine that the firmware upgrade received again is carried in asking During firmware version information, corresponding AKU is searched from the caching of the server according to the particular firmware version information.
Exemplarily, the computer-readable recording medium is also stored with for the program for realizing following steps:
When corresponding AKU is stored in the caching of server, the entry-into-force time of the caching of server is set;
After corresponding AKU is searched from the caching of the server according to the particular firmware version information, if clothes When the caching of corresponding AKU or the server of being engaged in not being stored with the caching of device has failed, again according to described specific solid Part version information searches corresponding AKU from memory database.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combine software and hardware Formula.Moreover, the present invention can be used can use storage in one or more computers for wherein including computer usable program code The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of firmware upgrade method, it is characterised in that methods described includes:
Terminal to server sends firmware upgrade request, so that server asks to return to the terminal based on the firmware upgrade Response message, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Terminal receives the response message from server;
Terminal downloads ground when it is determined that including AKU download address or AKU in the response message according to the AKU Location or AKU carry out firmware upgrade.
2. terminal firmware upgrade method as claimed in claim 1, it is characterised in that the terminal to server sends firmware liter Level request includes:The terminal uses the HTTP HTTPS using safety as target to send firmware upgrade to server Request;
The terminal receives the response message from server, including:The terminal is based on HTTPS agreements and received from server Response message.
3. a kind of firmware upgrade method, it is characterised in that methods described includes:
Server receives the firmware upgrade request for carrying out self terminal, and terminal device information is at least carried in the firmware upgrade request And the firmware version information of terminal;
When server determines that the terminal needs to carry out firmware upgrade according to firmware upgrade request, it will carry under AKU The response message of set address or AKU is sent to terminal, so that terminal is carried out according to the AKU download address or AKU Firmware upgrade.
4. firmware upgrade method as claimed in claim 3, it is characterised in that carry out the firmware upgrade of self terminal in server reception Before request, methods described also includes:At least one AKU for being used to carry out terminal firmware upgrading is stored in by server in advance In the memory database of server;
Correspondingly, server receive come self terminal firmware upgrade request after, methods described also includes:Server is according to institute When the firmware version information for stating terminal finds corresponding AKU in the memory database, determine the terminal need into Row firmware upgrade.
5. firmware upgrade method as claimed in claim 4, it is characterised in that methods described also includes:
Server is found after corresponding AKU according to the firmware version information of the terminal in the memory database, will The firmware version information of the terminal is designated as particular firmware version information, and corresponding AKU is stored in the caching of server In;
Server receives firmware upgrade request again, and it is described specific to determine that the firmware upgrade received again is carried in asking During firmware version information, corresponding AKU is searched from the caching of the server according to the particular firmware version information.
6. firmware upgrade method as claimed in claim 5, it is characterised in that methods described also includes:By corresponding upgrading When bag is stored in the caching of server, the entry-into-force time of the caching of server is set;
After corresponding AKU is searched from the caching of the server according to the particular firmware version information, if server Caching in be not stored with the caching of corresponding AKU or the server when having failed, again according to certain firmware version This information searches corresponding AKU from memory database.
7. a kind of terminal, it is characterised in that the terminal includes first processor, first memory and the first communication bus;
First communication bus is used to realize the connection communication between first processor and first memory;
The first processor is used to perform the firmware upgrade procedure stored in first memory, to realize following steps:
Firmware upgrade request is sent to server, is responded so that server asks to return to the terminal based on the firmware upgrade Information, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Receive the response message from server;
When it is determined that including AKU download address or AKU in the response message, according to the AKU download address or AKU carries out firmware upgrade.
8. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing device, to realize following steps:
Firmware upgrade request is sent to server, is responded so that server asks to return to the terminal based on the firmware upgrade Information, wherein, at least carry terminal device information and the firmware version information of terminal in the firmware upgrade request;
Receive the response message from server;
When it is determined that including AKU download address or AKU in the response message, according to the AKU download address or AKU carries out firmware upgrade.
9. a kind of server, it is characterised in that the server includes:Second processor, second memory and the second communication are total Line;
Second communication bus is used to realize the connection communication between second processor and second memory;
The second processor is used to perform the firmware upgrade procedure stored in second memory, to realize following steps:
The firmware upgrade request for carrying out self terminal is received, terminal device information and end are at least carried in the firmware upgrade request The firmware version information at end;
When determining that the terminal needs to carry out firmware upgrade according to firmware upgrade request, AKU download address will be carried Or the response message of AKU is sent to terminal, so that terminal carries out firmware liter according to the AKU download address or AKU Level.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing device, to realize following steps:
The firmware upgrade request for carrying out self terminal is received, terminal device information and end are at least carried in the firmware upgrade request The firmware version information at end;
When determining that the terminal needs to carry out firmware upgrade according to firmware upgrade request, AKU download address will be carried Or the response message of AKU is sent to terminal, so that terminal carries out firmware liter according to the AKU download address or AKU Level.
CN201710326549.3A 2017-05-10 2017-05-10 A kind of firmware upgrade method, terminal and server Pending CN107239302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710326549.3A CN107239302A (en) 2017-05-10 2017-05-10 A kind of firmware upgrade method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710326549.3A CN107239302A (en) 2017-05-10 2017-05-10 A kind of firmware upgrade method, terminal and server

Publications (1)

Publication Number Publication Date
CN107239302A true CN107239302A (en) 2017-10-10

Family

ID=59984390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710326549.3A Pending CN107239302A (en) 2017-05-10 2017-05-10 A kind of firmware upgrade method, terminal and server

Country Status (1)

Country Link
CN (1) CN107239302A (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023765A (en) * 2017-11-03 2018-05-11 珠海格力电器股份有限公司 Device firmware upgrade method, apparatus and storage medium
CN108052339A (en) * 2017-12-29 2018-05-18 无锡小天鹅股份有限公司 Control method and device, storage medium and the signal transmitting equipment of firmware upgrade
CN108681459A (en) * 2018-03-26 2018-10-19 深圳前海有电物联科技有限公司 A kind of firmware update of intelligent hardware devices, apparatus and system
CN108845819A (en) * 2018-08-10 2018-11-20 百度在线网络技术(北京)有限公司 Programme upgrade method and device for equipment
CN109189460A (en) * 2018-11-20 2019-01-11 北京千丁互联科技有限公司 offline firmware upgrade system and method
CN109361544A (en) * 2018-10-30 2019-02-19 深圳市航天华拓科技有限公司 A kind of positioning terminal firmware method, apparatus and calculate equipment
CN109491688A (en) * 2018-11-16 2019-03-19 珠海云洲智能科技有限公司 The method, apparatus and system of firmware upgrade are carried out to the control equipment of unmanned boat
CN109495644A (en) * 2018-11-02 2019-03-19 青岛云世纪信息科技有限公司 A kind of device end wifi upgrade method based on the transmission of big file
CN109814892A (en) * 2017-11-22 2019-05-28 华为技术有限公司 Device updating method, apparatus and system, storage medium
CN110311964A (en) * 2019-06-20 2019-10-08 厦门四信通信科技有限公司 Socket OTA upgrade method, device, system, user terminal and storage medium
CN110489151A (en) * 2019-08-27 2019-11-22 深信服科技股份有限公司 A kind of terminal staging method and system
CN110580168A (en) * 2019-08-15 2019-12-17 贵阳朗玛信息技术股份有限公司 Informatization asset management system and upgrading method thereof
CN110708199A (en) * 2019-10-08 2020-01-17 联想(北京)有限公司 Method, device, electronic equipment and medium for upgrading terminal equipment
CN110908687A (en) * 2019-11-22 2020-03-24 歌尔股份有限公司 Earphone upgrading method, earphone assembly, upgrading device and readable storage medium
CN110928566A (en) * 2019-11-27 2020-03-27 航天科技控股集团股份有限公司 Software ota upgrading method based on multi-version hardware
CN111405543A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Data packet pushing and downloading method, device and system in wireless firmware upgrading
CN111556488A (en) * 2020-04-13 2020-08-18 易视腾科技股份有限公司 OTA (over the air) upgrading method and system for terminal equipment
CN112148320A (en) * 2019-06-26 2020-12-29 顺丰科技有限公司 Application program upgrading method, device, equipment and storage medium
CN112289431A (en) * 2020-09-30 2021-01-29 音数汇元(上海)智能科技有限公司 Home care terminal upgrading method and device, computer equipment and storage medium
CN112351070A (en) * 2020-09-30 2021-02-09 宇龙计算机通信科技(深圳)有限公司 File transmission method and device, storage medium and electronic equipment
CN112363742A (en) * 2020-11-03 2021-02-12 北京牛电科技有限责任公司 Firmware system upgrading method, device, equipment and medium
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN112445504A (en) * 2019-08-29 2021-03-05 云丁网络技术(北京)有限公司 Equipment firmware upgrading method, device and system
WO2021092745A1 (en) * 2019-11-12 2021-05-20 华为技术有限公司 Device upgrade method and related device
CN112910948A (en) * 2021-01-12 2021-06-04 拉扎斯网络科技(上海)有限公司 Protocol upgrading method, device, electronic equipment, storage medium and program product
CN113194461A (en) * 2021-04-30 2021-07-30 清华四川能源互联网研究院 Firmware over-the-air upgrading method and device, computer equipment and storage medium
CN114465768A (en) * 2021-12-28 2022-05-10 尚承科技股份有限公司 Processing system and method for updating firmware online
CN114765620A (en) * 2020-12-30 2022-07-19 深圳市雷鸟网络传媒有限公司 Firmware release method and device, terminal equipment and computer readable storage medium
CN114915618A (en) * 2021-01-29 2022-08-16 华为技术有限公司 Upgrade package downloading method and device
CN115543393A (en) * 2022-12-01 2022-12-30 摩尔线程智能科技(北京)有限责任公司 Upgrading method, electronic device and storage medium
WO2023000841A1 (en) * 2021-07-22 2023-01-26 上汽通用五菱汽车股份有限公司 In-vehicle system upgrade method, vehicle, and readable storage medium
CN115883361A (en) * 2022-11-29 2023-03-31 重庆长安汽车股份有限公司 Update method and apparatus, vehicle, and computer-readable storage medium
WO2023125661A1 (en) * 2021-12-31 2023-07-06 华为技术有限公司 Communication method and apparatus based on telecommunication network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656663A (en) * 2015-12-22 2016-06-08 北京奇虎科技有限公司 Software update method and device
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system
CN106020900A (en) * 2016-05-30 2016-10-12 努比亚技术有限公司 Upgrading method and upgrading device
CN106161336A (en) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 A kind of information updating method, Apparatus and system
US20170017481A1 (en) * 2014-02-12 2017-01-19 Nokia Technologies Oy Method and apparatus for updating a firmware of an apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170017481A1 (en) * 2014-02-12 2017-01-19 Nokia Technologies Oy Method and apparatus for updating a firmware of an apparatus
CN106161336A (en) * 2015-03-25 2016-11-23 阿里巴巴集团控股有限公司 A kind of information updating method, Apparatus and system
CN105656663A (en) * 2015-12-22 2016-06-08 北京奇虎科技有限公司 Software update method and device
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system
CN106020900A (en) * 2016-05-30 2016-10-12 努比亚技术有限公司 Upgrading method and upgrading device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张剑等: "第10章传输安全", 《信息安全技术(第二版)》 *

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023765A (en) * 2017-11-03 2018-05-11 珠海格力电器股份有限公司 Device firmware upgrade method, apparatus and storage medium
CN109814892A (en) * 2017-11-22 2019-05-28 华为技术有限公司 Device updating method, apparatus and system, storage medium
CN108052339A (en) * 2017-12-29 2018-05-18 无锡小天鹅股份有限公司 Control method and device, storage medium and the signal transmitting equipment of firmware upgrade
CN108681459A (en) * 2018-03-26 2018-10-19 深圳前海有电物联科技有限公司 A kind of firmware update of intelligent hardware devices, apparatus and system
CN108681459B (en) * 2018-03-26 2022-03-01 深圳有电物联科技有限公司 Firmware updating method, device and system for intelligent hardware equipment
CN108845819A (en) * 2018-08-10 2018-11-20 百度在线网络技术(北京)有限公司 Programme upgrade method and device for equipment
CN108845819B (en) * 2018-08-10 2019-10-18 百度在线网络技术(北京)有限公司 Programme upgrade method and device for equipment
CN109361544A (en) * 2018-10-30 2019-02-19 深圳市航天华拓科技有限公司 A kind of positioning terminal firmware method, apparatus and calculate equipment
CN109495644A (en) * 2018-11-02 2019-03-19 青岛云世纪信息科技有限公司 A kind of device end wifi upgrade method based on the transmission of big file
CN109491688A (en) * 2018-11-16 2019-03-19 珠海云洲智能科技有限公司 The method, apparatus and system of firmware upgrade are carried out to the control equipment of unmanned boat
CN109189460A (en) * 2018-11-20 2019-01-11 北京千丁互联科技有限公司 offline firmware upgrade system and method
CN111405543B (en) * 2019-01-02 2023-04-07 中国移动通信有限公司研究院 Data packet pushing and downloading method, device and system in wireless firmware upgrading
CN111405543A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Data packet pushing and downloading method, device and system in wireless firmware upgrading
CN110311964A (en) * 2019-06-20 2019-10-08 厦门四信通信科技有限公司 Socket OTA upgrade method, device, system, user terminal and storage medium
CN112148320A (en) * 2019-06-26 2020-12-29 顺丰科技有限公司 Application program upgrading method, device, equipment and storage medium
CN110580168A (en) * 2019-08-15 2019-12-17 贵阳朗玛信息技术股份有限公司 Informatization asset management system and upgrading method thereof
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN110489151A (en) * 2019-08-27 2019-11-22 深信服科技股份有限公司 A kind of terminal staging method and system
CN112445504A (en) * 2019-08-29 2021-03-05 云丁网络技术(北京)有限公司 Equipment firmware upgrading method, device and system
CN110708199A (en) * 2019-10-08 2020-01-17 联想(北京)有限公司 Method, device, electronic equipment and medium for upgrading terminal equipment
WO2021092745A1 (en) * 2019-11-12 2021-05-20 华为技术有限公司 Device upgrade method and related device
CN110908687A (en) * 2019-11-22 2020-03-24 歌尔股份有限公司 Earphone upgrading method, earphone assembly, upgrading device and readable storage medium
CN110928566A (en) * 2019-11-27 2020-03-27 航天科技控股集团股份有限公司 Software ota upgrading method based on multi-version hardware
CN111556488A (en) * 2020-04-13 2020-08-18 易视腾科技股份有限公司 OTA (over the air) upgrading method and system for terminal equipment
CN112351070A (en) * 2020-09-30 2021-02-09 宇龙计算机通信科技(深圳)有限公司 File transmission method and device, storage medium and electronic equipment
CN112289431A (en) * 2020-09-30 2021-01-29 音数汇元(上海)智能科技有限公司 Home care terminal upgrading method and device, computer equipment and storage medium
CN112363742A (en) * 2020-11-03 2021-02-12 北京牛电科技有限责任公司 Firmware system upgrading method, device, equipment and medium
CN114765620B (en) * 2020-12-30 2024-04-02 深圳市雷鸟网络传媒有限公司 Firmware issuing method, device, terminal equipment and computer readable storage medium
CN114765620A (en) * 2020-12-30 2022-07-19 深圳市雷鸟网络传媒有限公司 Firmware release method and device, terminal equipment and computer readable storage medium
CN112910948A (en) * 2021-01-12 2021-06-04 拉扎斯网络科技(上海)有限公司 Protocol upgrading method, device, electronic equipment, storage medium and program product
CN114915618A (en) * 2021-01-29 2022-08-16 华为技术有限公司 Upgrade package downloading method and device
CN114915618B (en) * 2021-01-29 2023-09-12 华为技术有限公司 Upgrade package downloading method and device
CN113194461A (en) * 2021-04-30 2021-07-30 清华四川能源互联网研究院 Firmware over-the-air upgrading method and device, computer equipment and storage medium
WO2023000841A1 (en) * 2021-07-22 2023-01-26 上汽通用五菱汽车股份有限公司 In-vehicle system upgrade method, vehicle, and readable storage medium
CN114465768A (en) * 2021-12-28 2022-05-10 尚承科技股份有限公司 Processing system and method for updating firmware online
WO2023125661A1 (en) * 2021-12-31 2023-07-06 华为技术有限公司 Communication method and apparatus based on telecommunication network
CN115883361A (en) * 2022-11-29 2023-03-31 重庆长安汽车股份有限公司 Update method and apparatus, vehicle, and computer-readable storage medium
CN115543393B (en) * 2022-12-01 2023-08-22 摩尔线程智能科技(北京)有限责任公司 Upgrade method, electronic device and storage medium
CN115543393A (en) * 2022-12-01 2022-12-30 摩尔线程智能科技(北京)有限责任公司 Upgrading method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN107239302A (en) A kind of firmware upgrade method, terminal and server
CN105791581A (en) Application operation method and device and mobile terminal
CN104902463A (en) Mobile terminal, multi-card management method for virtual card terminal thereof, and server
CN105373402A (en) Device and method for software upgrading gated launch
CN104955023A (en) Mobile terminal and method for updating network parameters
CN105187534A (en) Information backup equipment and method, and information backup system
CN105094532A (en) Method and device for data access
CN106791123A (en) User terminal and application processing method
CN104657181A (en) Method and device for mounting application program
CN105426036A (en) Interface display upgrade method, apparatus and system for application
CN106843946A (en) A kind of firmware update and terminal
CN105471988A (en) contact person information pushing method, server and terminal
CN105100194A (en) Full Netcom mutual upgrading method and device based on redundant MBN
CN106502526A (en) A kind of back-stage management method and terminal
CN106528576A (en) Page search method and system, and terminal
CN106598538A (en) Method and system for updating instruction set
CN105204849A (en) Pressure test system and implementation method thereof
CN105893080B (en) Application management method and device
CN106502714A (en) A kind of application management method, mobile terminal, server and system
CN105792181A (en) Data migration method for analog card, mobile terminal and TSM (Trusted Service Manager) platform
CN105744069B (en) A kind of information transferring method, terminal and system
CN106650413A (en) Method for determining Root right and mobile terminal
CN105095705A (en) Information processing method and apparatus
CN106933445A (en) mobile terminal application management method and device
CN106502744A (en) Application program sharing method and system

Legal Events

Date Code Title Description
PB01 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: 20171010

RJ01 Rejection of invention patent application after publication