CN106708564A - FOTA update method, device and server - Google Patents

FOTA update method, device and server Download PDF

Info

Publication number
CN106708564A
CN106708564A CN201611072975.0A CN201611072975A CN106708564A CN 106708564 A CN106708564 A CN 106708564A CN 201611072975 A CN201611072975 A CN 201611072975A CN 106708564 A CN106708564 A CN 106708564A
Authority
CN
China
Prior art keywords
firmware
fota
data
terminal
version number
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.)
Withdrawn
Application number
CN201611072975.0A
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 CN201611072975.0A priority Critical patent/CN106708564A/en
Publication of CN106708564A publication Critical patent/CN106708564A/en
Withdrawn 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

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)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of invention discloses a wireless firmware FOTA update method. The method is used in server. The method comprises the steps of receiving a firmware update request from a terminal, wherein the firmware update request contains at least a terminal type, the country code and version number of the local firmware in the terminal; responding to the firmware update request, checking if a target FOTA update data which has a version number higher than the current firmware version number which can matches with the country code and type, wherein the firmware update notification information is used for notifying the terminal that data which can be updated exists. The embodiment of invention further discloses further discloses a FOTA update device and a server.

Description

A kind of FOTA update methods, device and server
Technical field
The present invention relates to radio firmware (FOTA, the Firmware Over-The-Air) technology in the communications field, especially relate to And a kind of FOTA update methods, device and server.
Background technology
In order to the use demand for meeting user provides the user with preferably service, smart mobile phone manufacturer can be continually intelligence Can mobile phone provide driving, operating system, using etc. firmware more new demand servicing.Because FOTA modes allow user by intelligence Mobile phone downloads the more new file corresponding to a certain smart mobile phone model using network automatically, realize to operation system of smart phone, Using etc. renewal, therefore, most of smart mobile phone carries out firmware renewal using FOTA modes.
With the development and the popularization of smart mobile phone of internet, smart mobile phone towards user and market it is more and more wider Wealthy, often the smart mobile phone of same model can be corresponded to and there is up to firmware customized version of the dozens of for country variant.However, Existing FOTA update methods obtain corresponding FOTA simply by smart mobile phone firmware version number and model and update the data, In the case of multiple country's firmware customized versions can not be existed concurrently with, accurately obtain corresponding FOTA and update the data, to intelligence The renewal of mobile phone firmware brings certain difficulty.
The content of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of FOTA update methods, device and server, to realize same When there are multiple country's firmware customized versions in the case of, firmware renewal is carried out to terminal using FOTA modes.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of radio firmware FOTA update methods, server, the side are applied to Method includes:The firmware renewal request for carrying out self terminal is received, wherein, the firmware at least carries the terminal in updating request The country code of current firmware and version number in model and the terminal;Respond the firmware and update request, detect whether to deposit Matched with the country code and the model, and version number updates more than the target FOTA of the version number of the current firmware Data;If it does, firmware update notification message is sent to the terminal, wherein, the firmware update notification message is used to lead to Know that the terminal has updatable data.
Second aspect, the embodiment of the present invention provides a kind of radio firmware FOTA updating devices, is applied to server, the dress Put including:Receiving unit, detection unit and transmitting element, wherein, the receiving unit carrys out the firmware of self terminal for receiving Request is updated, wherein, the firmware updates currently solid in model and the terminal that the terminal is at least carried in request The country code of part and version number;The detection unit, request is updated for responding the firmware, detect whether to exist with it is described Country code and the model are matched, and version number updates the data more than the target FOTA of the version number of the current firmware;Institute State transmitting element, for if it does, to the terminal send firmware update notification message, wherein, the firmware update notification Message is used to notify that the terminal has updatable data.
The third aspect, the embodiment of the present invention provides a kind of server, including:Transceiver and processor, wherein, the receipts Hair device, the firmware that self terminal is carried out for receiving updates request, wherein, the firmware at least carries the terminal in updating request Model and the terminal in current firmware country code and version number;It is additionally operable to if it does, being sent to the terminal Firmware update notification message, wherein, the firmware update notification message is used to notify that the terminal has updatable data;It is described Processor, request is updated for responding the firmware, is detected whether to exist and is matched with the country code and the model, and version This number target FOTA more than the version number of the current firmware is updated the data.
A kind of FOTA update methods, device and server are the embodiment of the invention provides, first, terminal is obtaining firmware more After new command, send firmware to server and update request, then, server can respond the firmware and update request, detect whether to deposit The country code of current firmware is matched in the model and terminal with terminal, and version number is more than the version number of current firmware FOTA is updated the data, if there is noting that terminal has updatable data.So, just can be same using the method server When there are multiple country's firmware customized versions in the case of, it is accurate obtain terminal needed for FOTA update the data.So as to terminal is just The renewal to firmware can be completed using FOTA modes.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the FOTA update methods in the embodiment of the present invention one;
Fig. 2 is the schematic diagram of firmware more new user interface in the embodiment of the present invention one;
Fig. 3 is the schematic diagram of firmware new information pop-up in the embodiment of the present invention one;
Fig. 4 is the structural representation of the FOTA updating devices in the embodiment of the present invention two;
Fig. 5 is the structural representation of the server in the embodiment of the present invention three.
Specific embodiment
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.
Embodiment one
The embodiment of the present invention provides a kind of wireless communication system, and the wireless communication system includes:Terminal and FOTA are serviced Device.Here, terminal can be smart mobile phone, portable computer etc..Further, the embodiment of the present invention provides a kind of FOTA and updates Method, the method is applied to the wireless communication system, then, Fig. 1 is the stream of the FOTA update methods in the embodiment of the present invention one Journey schematic diagram, shown in Figure 1, the FOTA update methods include:
S101:Terminal obtains firmware more new command;
Wherein, firmware more new command carries out firmware renewal for instruction terminal.
Here, it can terminal operating system is updated, or the drive to each interface of terminal that firmware updates It is dynamic to be updated, it is, of course, also possible to be that, to the corresponding application of other kinds of hardware in terminal, such as camera applications are updated, Here, the embodiment of the present invention is not specifically limited.
In specific implementation process, firmware more new command can terminal periodic automatically generate, such as user in firmware Update and set in service software week about, check that firmware updates, or terminal triggering is pre-conditioned automatic every January Generation, automatically generated if when terminal is connected to WiFi, it is, of course, also possible to be that user's operation is produced, such as user exists More new button immediately is clicked in user interface in firmware renewal service software.Here, the embodiment of the present invention is not specifically limited.
In actual applications, user can carry out the correlation of firmware renewal in firmware as shown in Figure 2 more new user interface Set, if user have selected 211 in inspection setting 21 is automatically updated, show that user have selected and automatically updated under WLAN Function, then, whenever terminal monitoring to be connected to WiFi when, a firmware more new command will be produced;If user is automatic Update and check and set in 21, have selected 212, then show that user have selected intelligent updating function, then, week about or January When monitoring that terminal is in idle condition, a firmware more new command will be produced;If user presses in updating 22 manually More new button 221 at once is descended, has then shown that user have selected the function of updating at once, then, will at once produce a firmware More new command;If user presses the newest installation kit 222 of download in updating 22 manually, show that user have selected after a while more New function, then, still can at once produce a firmware more new command.
S102:Terminal performs firmware more new command, and generation firmware updates request;
Wherein, firmware updates request for asking the corresponding FOTA of FOTA whois lookups to update the data, and firmware updates please Ask country code and the version number of current firmware in the model and terminal at least carry terminal.
Here, terminal carries out the firmware more new command after firmware more new command is obtained, and then terminal needs root According to the attribute information of current firmware in terminal, such as attribute information of country code and version number and terminal, such as model of terminal Request is updated to generate firmware.Wherein, which current version of firmware is during the country code of current firmware is used to characterize terminal The customized version of country;The version number of current firmware is used to show the version information of current firmware in terminal;The model of terminal is used It is which kind of terminal in current firmware is characterized, it is possible to use mobile phone model, mobile device identification code (MEID, Mobile Equipment Identifier) etc. represent.
Specifically, because the terminal kinds of most of terminal provisioning business production are various, can also per a subterminal firmware The customization of correspondence country variant, therefore, update required target FOTA to accurately obtain current firmware in terminal from server Update the data, terminal can be carried in firmware more the country code of current firmware in the model of terminal and terminal and version number In new request.It should be noted that firmware is updated in asking except the state of current firmware in the model and terminal of carried terminal Beyond family's code and version number, according to actual conditions, it is also possible to carry other and can be used to obtain the letter that target FOTA is updated the data Breath, this main map information that the storage in deployment is updated the data with FOTA is relevant, by those skilled in the art specific real Determine when applying.
In actual applications, country code can be represented that such as USA represents beautiful by the corresponding english abbreviation of every country State, CN represent China etc., it is also possible to represented by the overseas call area code of International Telecommunication Union, and such as 86 represent that China, 852 represent Hong Kong etc., can also be represented, such as N represents that the U.S., JA represent Japan, it is, of course, also possible to be other by state aviation code In advance with the information of FOTA server commitments, determined in the specific implementation by those skilled in the art, here, the present invention is implemented Example is not specifically limited.
It should be noted that generally, for Android (Android) mobile phone, country code information can lead to Cross Android standard interfaces to obtain, and in the Android mobile phone of different customizations is realized using country code, set start is completed After putting, country code will be generated and saved in Android phone.
S103:Terminal to server sends firmware and updates request;
Here, firmware renewal request will be sent to corresponding service by terminal after firmware renewal request is generated Device is wanted to carry out firmware renewal informing the business device terminal, and request server checks for the terminal current firmware institute Corresponding FOTA is updated the data, if it is present can issue firmware update notification message to terminal to notify that terminal is currently solid There is updatable data in part.
S104:Server response firmware updates request, detects whether to exist and is matched with country code and model, and version number Target FOTA more than the version number of current firmware is updated the data;
Wherein, target FOTA update the data in terminal current firmware be updated needed for update the data, terminal can be with Updated the data using target FOTA and current firmware in terminal is updated.
Here, server carries out the firmware and updates request after the firmware for receiving terminal transmission updates request, and Obtain the attribute information of the terminal, such as model of terminal in updating request from the firmware, and obtain current firmware in terminal The country code of attribute information, such as current firmware and version number, then, it is possible to attribute information and terminal based on terminal The attribute information of middle current firmware, detects whether to exist and is matched with the country code and terminal models of current firmware, and version number Target FOTA more than the version number of current firmware is updated the data.
In specific implementation process, FOTA servers, can also be by life before the firmware that receiving terminal sends updates request Into each FOTA update the data and stored, so that terminal updates firmware.Specifically, server can using terminal models as Root, then using country code as subdirectory, then stores each corresponding FOTA and updates the data;Server can also be with state Family's code then using terminal models as subdirectory, then stores each corresponding FOTA and updates the data as root;Certainly, Can also be stored using other modes, all FOTA are directly such as updated the data into storage under same catalogue, each FOTA is more Corresponding identification information, such as terminal models, country code and version number are included in new data, here, the present invention is real Example is applied to be not specifically limited.
Therefore, in specific implementation process, S104 can include:In being updated the data from a N number of FOTA, determine and state Family's code and M the 2nd FOTA of model matching are updated the data, wherein, N, M are the integer more than 1, and M is less than or equal to N;Obtain Take the version number that each the 2nd FOTA is updated the data;Version number is compared with current version of firmware number, version number is obtained K the 2nd FOTA more than current version of firmware number is updated the data, wherein, K is the integer more than 1, and K is less than or equal to M;Choosing Select K the 2nd FOTA and update the data the 2nd maximum FOTA of middle version number and update the data and updated the data as target FOTA.
In actual applications, it is assumed that the N number of FOTA for generating is updated the data and is stored directly in same catalogue by server Under, then, a N number of FOTA just first can be updated the data corresponding N number of terminal models end corresponding with terminal by server End model is matched, while a N number of FOTA is updated the data into corresponding N number of country code with current firmware in terminal Country code is matched, and in being updated the data from a N number of FOTA, determining should with the country code and terminal-pair of current firmware M the 2nd FOTA of terminal models matching update the data.Then, the version number that each the 2nd FOTA is updated the data is obtained, And the version number by each version number respectively with current firmware in terminal is compared, in being updated the data from M the 2nd FOTA, Version number is obtained to be updated the data more than K the 2nd FOTA of the version number of current firmware in terminal.Finally, to K the 2nd FOTA Update the data and be ranked up according to the size of version number, in being updated the data from K the 2nd FOTA, the second of selection version number maximum FOTA is updated the data and updated the data as target FOTA.
Separately, it is assumed that server store FOTA update the data when be with terminal models, terminal in current firmware national generation Code is carried out for indexed sequential, then, server just first can carry out query directory by keyword of terminal models, then in terminal In catalogue corresponding to model, the country code of current firmware continues query directory as keyword with terminal, finally in terminal In catalogue where the country code of middle current firmware, sequentially in time, obtain apart from current time the last FOTA more Whether the version number corresponding to new data, the version number updated the data by the FOTA for judging the last time is more than in current firmware Version number updates the data whether the target FOTA needed for terminal is updated the data determining the last FOTA.If most The version number that nearly FOTA once is updated the data then shows there is updatable data more than current version of firmware number;If recently The version number that FOTA once is updated the data is less than or equal to current version of firmware number, then show in the absence of updatable data.Citing For, it is assumed that terminal current version of firmware is v8.1, if the FOTA of the last time updates the data corresponding version number being V8.2, then, it may be determined that there is updatable data;If the FOTA of the last time updates the data corresponding version number V8.1, then, it may be determined that in the absence of updatable data.
Here, the difference of the storage strategy used when being updated the data according to storage FOTA, detects whether there is terminal institute The method that the FOTA for needing is updated the data is also different correspondence, meanwhile, use above-mentioned example when FOTA updates the data storage mode During form, the specific method that the corresponding target FOTA of inquiry terminal is updated the data is also not limited to above-mentioned example explanation.
It should be noted that in order to realize that the accurate FOTA that obtains updates number in the case where there are multiple country's customized versions According to purpose, therefore, generate FOTA update the data when, the version number that FOTA is updated the data not only is generated, while also to give birth to The corresponding country code of bag is updated into the FOTA, difference storage is carried out to be updated the data to each FOTA.So as to no matter use Which kind of mode is updated the data storing FOTA, is required for noting the country of the attribute information and country variant for updating the data FOTA Code correspondence.
S105:If it does, server sends firmware update notification message to terminal;
Wherein, firmware update notification message is used to notify that terminal has updatable data.
Here, server is determining in the presence of being matched with the country code and terminal models of current firmware in terminal, and version After this number target FOTA more than the version number of current firmware is updated the data, show there is updatable data, then, it is possible to it is raw Into firmware update notification message, and the firmware update notification message is sent to terminal, to notify that the presence of terminal current firmware can The data of renewal, can be updated to firmware.
In specific implementation process, firmware update notification message can be using open mobile alliance device management (OMA- DM, Open Mobile Alliance-Device Management) agreement come generate an extensible markup language (XML, Extensible Markup Language) message, it is, of course, also possible to be other kinds of message, by those skilled in the art Determine in specific implementation process.
In actual applications, server can be updated the data to terminal active push target FOTA, and another kind is active obtaining Mode, now, server can send the attribute informations that update the data of target FOTA, such as country code, version number, type to terminal Number and download address etc..
Further, when server is updated the data to terminal active push target FOTA, S105 can include:By target FOTA updates the data carrying and is sent to terminal in firmware update notification message.
Specifically, server is when notifying terminal to there is updatable data, it is possible to directly by the corresponding target of the terminal FOTA updates the data carrying in firmware update notification message, so that terminal carries out firmware renewal when suitable.
Further, when server is not updated the data actively to terminal push target FOTA, S105 can include:Obtain Target FOTA updates the data corresponding attribute information, wherein, attribute information issues target for instruction terminal request server FOTA is updated the data;Attribute information is carried and is sent to terminal in firmware update notification message.
Specifically, server settings be that active push target FOTA is not updated the data when, server can be sent out to terminal The attribute information for sending target FOTA to update the data, such as country code, version number, model and download address, so that terminal is obtained Target FOTA is taken to update the data.
S106:Terminal obtains target FOTA and updates the data according to firmware update notification message.
Here, terminal is after the firmware update notification message for receiving server transmission, it is possible to obtain target FOTA more New data.
Specifically, the difference of the message content for being sent according to server, terminal has two kinds of acquisition target FOTA to update the data Mode, a kind of is the passive mode for receiving, and now, server can be updated the data to terminal active push target FOTA, another Kind is the mode of active obtaining, and now, server can send the attribute information that target FOTA be updated the data, such as national generation to terminal Code, version number, model and download address etc..
Exemplarily, when carrying target FOTA is updated the data during server sends firmware update notification message to terminal, So, terminal can obtain the mesh carried in firmware update notification message while firmware update notification message is received, also Mark FOTA is updated the data.Now, terminal is to obtain FOTA by the way of passive reception to update the data.
Exemplarily, when in the firmware update notification message that server sends to terminal carry target FOTA update the data it is right When the version number answered and download address, then, the download address that terminal can be included directly according in come from server download Corresponding target FOTA is updated the data, in case being used during user installation;Or, terminal can also obtain firmware update notification message Afterwards, message pop-up as shown in Figure 3 is shown to user, informs that user there is currently available firmware and update the data, then basis The operation of user is updated the data determining whether active obtaining FOTA, specifically, when user click it is vertical in the message pop-up I.e. more after new button, it is possible to get started that download target FOTA is updated the data and automatic installation is carried out more after the download is complete Newly.Now, terminal is to obtain FOTA by the way of active obtaining to update the data.
Exemplarily, carry target FOTA in server sends firmware update notification message to terminal and update the data correspondence Country code, version number and during model, then, terminal can be set in advance according to user after attribute information is obtained Rule or user's operation update the data acquisition request generating FOTA, then carry out request server and issue target FOTA to update the data Or target FOTA updates the data corresponding download address.Now, terminal still obtains FOTA more by the way of active obtaining New data.
It should be noted that the difference of the data carried in firmware update notification message is sent to terminal according to server, The mode that terminal acquisition target FOTA is updated the data is also different correspondence, meanwhile, updated when server sends firmware to terminal When the data carried in notification message use above-mentioned example form, end obtains the specific methods that update the data of target FOTA also not office It is limited to above-mentioned example explanation.
So far, the renewal using FOTA modes to terminal firmware is just completed.
As shown in the above, technical scheme provided in an embodiment of the present invention, terminal can obtain firmware more new command Afterwards, generation firmware updates request, and request FOTA server lookups current firmware whether there is updatable data.And, FOTA services After device can update request the firmware for carrying out self terminal is received, based on the first country code, first terminal model and firmware Version number, according to default query strategy, detect whether exist matched with the country code and terminal models of current firmware in terminal, And version number updates the data more than the target FOTA of version number of current firmware, and exist after target FOTA updates the data, leading to Cross firmware update notification message and notify that terminal has updatable data, so that terminal-pair firmware is updated.Therefore, server can Updated the data come the FOTA needed for accurately obtaining terminal with the country code and terminal models according to current firmware in terminal, from And, in the case of can realizing existing concurrently with multiple country's firmware customized versions, firmware is carried out to terminal using FOTA modes Update.
Embodiment two
Based on same inventive concept, the present embodiment provides a kind of FOTA updating devices.Fig. 4 is in the embodiment of the present invention two The structural representation of FOTA updating devices, the FOTA updating devices are applied to server, shown in Figure 4, the FOTA more new clothes Putting 40 includes:Receiving unit 401, detection unit 402 and transmitting element 403, wherein, receiving unit 401 comes from for receiving The firmware of terminal updates request, wherein, firmware updates current firmware in model and terminal that terminal is at least carried in asking Country code and version number;Detection unit 402, for respond firmware update request, detect whether exist with country code and Model is matched, and version number updates the data more than the target FOTA of the version number of current firmware;Transmitting element 403, transmitting element, For if it does, to terminal send firmware update notification message, wherein, firmware update notification message be used for notify that terminal is present Updatable data.
Further, detection unit, in being additionally operable to be updated the data from a N number of FOTA, determines and country code and type M the 2nd FOTA of number matching are updated the data, wherein, N, M are the integer more than 1, and M is less than or equal to N;Obtain each The version number that two FOTA are updated the data;Version number is compared with current version of firmware number, version number is obtained solid more than current K the 2nd FOTA of part version number is updated the data, wherein, K is the integer more than 1, and K is less than or equal to M;Selection K second FOTA updates the data the 2nd maximum FOTA of middle version number and updates the data and updated the data as target FOTA.
Further, transmitting element, is additionally operable to for target FOTA to update the data carrying hair in firmware update notification message Give terminal.
Further, transmitting element, is additionally operable to acquisition target FOTA and updates the data corresponding attribute information, wherein, category Property information issues target FOTA and updates the data for instruction terminal request server;Attribute information is carried in firmware update notification Terminal is sent in message.
Further, the FOTA updating devices also include:Acquiring unit, acquisition request is updated the data for responding FOTA, According to attribute information, obtain target FOTA and update the data;Receiving unit, is additionally operable to receive the FOTA for carrying out self terminal update the data and obtains Request is taken, wherein, FOTA carries attribute information in updating the data acquisition request;Transmitting element, for sending target to terminal FOTA is updated the data.
In actual applications, above-mentioned receiving unit, detection unit, transmitting element and acquiring unit can be processed by center At device (CPU, Central Processing Unit), microprocessor (MPU, Micro Processor Unit), data signal Reason device (DSP, Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable Gate Array) etc. realize.
It need to be noted that be:The description of apparatus above embodiment, be with the description of above method embodiment it is similar, With the similar beneficial effect of same embodiment of the method, therefore do not repeat.For the skill not disclosed in apparatus of the present invention embodiment Art details, refer to the description of the inventive method embodiment and understands, to save length, therefore repeat no more.
Embodiment three
Based on same inventive concept, the present embodiment provides a kind of server.Fig. 5 is the server in the embodiment of the present invention three Structural representation, shown in Figure 5, the server 50 includes:Transceiver 501 and processor 502, wherein, transceiver 501, the firmware for carrying out self terminal for receiving updates request, wherein, firmware updates the type that terminal is at least carried in asking Number and terminal in current firmware country code and version number;It is additionally operable to if it does, sending firmware update notification to terminal Message, wherein, firmware update notification message is used to notify that terminal has updatable data;Processor 502, for responding firmware more New request, detects whether to exist and match with country code and model, and version number is more than the target of the version number of current firmware FOTA is updated the data.
Further, processor, in being additionally operable to be updated the data from a N number of FOTA, determines and country code and model M the 2nd FOTA of matching is updated the data, wherein, N, M are the integer more than 1, and M is less than or equal to N;Obtain each second The version number that FOTA is updated the data;Version number is compared with current version of firmware number, version number is obtained and is more than current firmware K the 2nd FOTA of version number is updated the data, wherein, K is the integer more than 1, and K is less than or equal to M;Selection K second FOTA updates the data the 2nd maximum FOTA of middle version number and updates the data and updated the data as target FOTA.
Further, processor, is additionally operable to for target FOTA to update the data carrying transmission in firmware update notification message To terminal.
Further, processor, is additionally operable to acquisition target FOTA and updates the data corresponding attribute information, wherein, attribute Information issues target FOTA and updates the data for instruction terminal request server;Attribute information is carried and is disappeared in firmware update notification Terminal is sent in breath.
Further, processor, is additionally operable to receive the FOTA for carrying out self terminal and updates the data acquisition request, wherein, FOTA is more New data carries attribute information in obtaining request;Response FOTA updates the data acquisition request, according to attribute information, obtains target FOTA is updated the data;Target FOTA is sent to terminal to update the data.
It need to be noted that be:The description of above server example, is similar with the description of above method embodiment , with the similar beneficial effect of same embodiment of the method, therefore do not repeat.For not disclosed in server example of the present invention Ins and outs, refer to the description of the inventive method embodiment and understand, be to save length, therefore repeat no more.
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 present invention can be using the shape of the embodiment in terms of hardware embodiment, software implementation or combination software and hardware Formula.And, the present invention can be used can use storage in one or more computers for wherein including computer usable program code The form of the computer program product implemented on medium (including but 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 every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.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 for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or 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 treatment, so as 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 above, only presently preferred embodiments of the present invention is not intended to limit the scope of the present invention.

Claims (10)

1. a kind of radio firmware FOTA update methods, it is characterised in that be applied to server, methods described includes:
The firmware renewal request for carrying out self terminal is received, wherein, the firmware updates the type that the terminal is at least carried in asking Number and the terminal in current firmware country code and version number;
Respond the firmware and update request, detect whether to exist and matched with the country code and the model, and version number is big Updated the data in the target FOTA of the version number of the current firmware;
If it does, firmware update notification message is sent to the terminal, wherein, the firmware update notification message is used to notify There is updatable data in the terminal.
2. method according to claim 1, it is characterised in that the response firmware updates request, detects whether to deposit Matched with the country code and the model, and version number updates more than the target FOTA of the version number of the current firmware Data, including:
In being updated the data from a N number of FOTA, M the 2nd FOTA matched with the country code and the model is determined more New data, wherein, N, M are the integer more than 1, and M is less than or equal to N;
Obtain the version number that each the 2nd FOTA is updated the data;
The version number is compared with the current version of firmware number, version number is obtained and is more than the current version of firmware number K the 2nd FOTA update the data, wherein, K is the integer more than 1, and K is less than or equal to M;
Select the K the 2nd FOTA to update the data the 2nd maximum FOTA of middle version number and update the data to be updated as target FOTA Data.
3. method according to claim 1, it is characterised in that described to send firmware update notification message to the terminal, Including:
The target FOTA is updated the data into carrying and is sent to the terminal in the firmware update notification message.
4. method according to claim 1, it is characterised in that described to send firmware update notification message to the terminal, Including:
Obtain the target FOTA and update the data corresponding attribute information, wherein, the attribute information is used to indicate the end The end request server issues the target FOTA and updates the data;
The attribute information is carried and is sent to the terminal in the firmware update notification message.
5. method according to claim 4, it is characterised in that carry in the firmware more the attribute information described It is sent to after the terminal in new notification message, methods described also includes:
The FOTA that reception carrys out self terminal updates the data acquisition request, wherein, the FOTA is carried in updating the data acquisition request The attribute information;
Respond the FOTA and update the data acquisition request, according to the attribute information, obtain the target FOTA and update the data;
The target FOTA is sent to the terminal to update the data.
6. a kind of radio firmware FOTA updating devices, it is characterised in that be applied to server, described device includes:Receiving unit, Detection unit and transmitting element, wherein,
The receiving unit, the firmware that self terminal is carried out for receiving updates request, wherein, the firmware is at least taken in updating request The country code of current firmware and version number in model and the terminal with the terminal;
The detection unit, request is updated for responding the firmware, detects whether exist and the country code and the type Number matching, and version number updates the data more than the target FOTA of version number of the current firmware;
The transmitting element, for if it does, to the terminal send firmware update notification message, wherein, the firmware is more New notification message is used to notify that the terminal has updatable data.
7. device according to claim 6, it is characterised in that the detection unit, is additionally operable to be updated from a N number of FOTA In data, determine that the M matched with the country code and the model the 2nd FOTA are updated the data, wherein, N, M be more than 1 integer, M is less than or equal to N;Obtain the version number that each the 2nd FOTA is updated the data;By the version number with it is described Current version of firmware number is compared, and obtains version number and is updated the data more than K the 2nd FOTA of the current version of firmware number, Wherein, K is the integer more than 1, and K is less than or equal to M;The K the 2nd FOTA is selected to update the data middle version number's maximum 2nd FOTA is updated the data and updated the data as target FOTA.
8. device according to claim 6, it is characterised in that the transmitting element, is additionally operable to the target FOTA more New data is carried and is sent to the terminal in the firmware update notification message.
9. device according to claim 6, it is characterised in that the transmitting element, is additionally operable to obtain the target FOTA Update the data corresponding attribute information, wherein, the attribute information be used to indicating the terminal request described in server issue The target FOTA is updated the data;The attribute information is carried and is sent to the end in the firmware update notification message End.
10. a kind of server, it is characterised in that the server includes:Transceiver and processor, wherein,
The transceiver, the firmware that self terminal is carried out for receiving updates request, wherein, the firmware is at least carried in updating request There are country code and the version number of current firmware in the model and the terminal of the terminal;It is additionally operable to if it does, to institute State terminal and send firmware update notification message, wherein, the firmware update notification message is used to notify that the terminal presence can be more New data;
The processor, request is updated for responding the firmware, detects whether exist and the country code and the model Match, and version number updates the data more than the target FOTA of the version number of the current firmware.
CN201611072975.0A 2016-11-29 2016-11-29 FOTA update method, device and server Withdrawn CN106708564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611072975.0A CN106708564A (en) 2016-11-29 2016-11-29 FOTA update method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611072975.0A CN106708564A (en) 2016-11-29 2016-11-29 FOTA update method, device and server

Publications (1)

Publication Number Publication Date
CN106708564A true CN106708564A (en) 2017-05-24

Family

ID=58934126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611072975.0A Withdrawn CN106708564A (en) 2016-11-29 2016-11-29 FOTA update method, device and server

Country Status (1)

Country Link
CN (1) CN106708564A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704588A (en) * 2017-10-10 2018-02-16 国网浙江省电力公司台州供电公司 Relay protection defect diagnostic method based on data collaborative
CN108415714A (en) * 2018-02-08 2018-08-17 上海商米科技有限公司 The method for upgrading system and device of mobile terminal
CN108563444A (en) * 2018-03-22 2018-09-21 福州瑞芯微电子股份有限公司 A kind of Android system firmware source code restoring method and storage medium
CN110209365A (en) * 2019-06-03 2019-09-06 宜春宜联科技有限公司 Printer firmware update method and printer, server
CN111416998A (en) * 2020-03-16 2020-07-14 上海晶曦微电子科技有限公司 Information updating system and method for traffic equipment
CN111539710A (en) * 2020-03-30 2020-08-14 北京小米移动软件有限公司 Payment mode determining method and device and storage medium
US20210141629A1 (en) * 2019-11-08 2021-05-13 Toyota Jidosha Kabushiki Kaisha Program update system and vehicle management server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610501A (en) * 2009-07-16 2009-12-23 中兴通讯股份有限公司 Device firmware upgrade system and method, device management server and portable terminal
CN105915361A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Group upgrading method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610501A (en) * 2009-07-16 2009-12-23 中兴通讯股份有限公司 Device firmware upgrade system and method, device management server and portable terminal
CN105915361A (en) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 Group upgrading method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704588A (en) * 2017-10-10 2018-02-16 国网浙江省电力公司台州供电公司 Relay protection defect diagnostic method based on data collaborative
CN108415714A (en) * 2018-02-08 2018-08-17 上海商米科技有限公司 The method for upgrading system and device of mobile terminal
CN108563444A (en) * 2018-03-22 2018-09-21 福州瑞芯微电子股份有限公司 A kind of Android system firmware source code restoring method and storage medium
CN110209365A (en) * 2019-06-03 2019-09-06 宜春宜联科技有限公司 Printer firmware update method and printer, server
US20210141629A1 (en) * 2019-11-08 2021-05-13 Toyota Jidosha Kabushiki Kaisha Program update system and vehicle management server
US11704106B2 (en) * 2019-11-08 2023-07-18 Toyota Jidosha Kabushiki Kaisha Program update system and vehicle management server
US20230305835A1 (en) * 2019-11-08 2023-09-28 Toyota Jidosha Kabushiki Kaisha Program update system and vehicle management server
CN111416998A (en) * 2020-03-16 2020-07-14 上海晶曦微电子科技有限公司 Information updating system and method for traffic equipment
CN111539710A (en) * 2020-03-30 2020-08-14 北京小米移动软件有限公司 Payment mode determining method and device and storage medium

Similar Documents

Publication Publication Date Title
CN106708564A (en) FOTA update method, device and server
CN106897086B (en) Method, device and system for upgrading robot operating system
CN101674590A (en) Client device and remote updating method and remote updating service system thereof
US8594653B2 (en) System and methods for remotely upgrading software applications
EP1717699A1 (en) Software update system and software update management apparatus
EP2357860A1 (en) Device management server, client and method for locating target operation object
CN104066077A (en) OTA downloading and upgrading method and device thereof
KR100663497B1 (en) Method for notifying service information to wireless terminal
CN108376078A (en) Upgrade method, device and the household appliance of equipment
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
KR100724879B1 (en) Method for updating daylight saving time in wireless terminal
JP7247448B2 (en) Fusion splicer management system and fusion splicer management method
CN104504587A (en) Advertisement monitoring method and device, electronic apparatus
CN110825422A (en) System for managing MCU version of intelligent household equipment
CN100428824C (en) Method for carrying out active inquiry maintenance on mobile terminal
CN105656643B (en) Method and equipment for performing compatible management based on network configuration protocol
US10078532B2 (en) Resource management method and device for terminal system among multiple operating systems
CN106470227A (en) A kind of collocation method of OTA AKU and device
CN106293814B (en) Upgrading method and device
EP2197154A1 (en) A method, system and correlative apparatus for transmitting remote procedure call command
CN111181752B (en) Narrowband device upgrading method, mobile terminal and readable storage medium
US8838084B2 (en) System and method for provisioning mobile communication device upgrades
CN104683973B (en) Management method and system are automatically configured based on intelligent terminal
CN100479577C (en) Method for operating resource in device management
CN105872106A (en) Over-the-air upgrade method, over-the-air server and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170524