CN106161336A - A kind of information updating method, Apparatus and system - Google Patents

A kind of information updating method, Apparatus and system Download PDF

Info

Publication number
CN106161336A
CN106161336A CN201510134543.7A CN201510134543A CN106161336A CN 106161336 A CN106161336 A CN 106161336A CN 201510134543 A CN201510134543 A CN 201510134543A CN 106161336 A CN106161336 A CN 106161336A
Authority
CN
China
Prior art keywords
information
terminal
customizing messages
server
check information
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
CN201510134543.7A
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.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510134543.7A priority Critical patent/CN106161336A/en
Publication of CN106161336A publication Critical patent/CN106161336A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of information updating method, Apparatus and system, the method obtains the check information that the customizing messages in terminal is corresponding, judge whether described check information meets default result, if, it is determined that described customizing messages is carried out difference update, otherwise, determining and described customizing messages carries out full dose renewal, wherein, described customizing messages specifically includes firmware, described check information specifically includes at least one in system space, eap-message digest, CRC, and version number.Pass through said method, owing to server is according to this check information, may determine that the firmware in terminal is modified the most, if, full dose then can be used to update bag the firmware in terminal is carried out full dose renewal, otherwise, can use difference update bag that the firmware in terminal is carried out difference update, and then, the firmware in terminal can be updated successfully.

Description

A kind of information updating method, Apparatus and system
Technical field
The application relates to field of computer technology, particularly relates to a kind of information updating method, Apparatus and system.
Background technology
At present, the renewal bag of the firmware in the terminal such as mobile phone (or, referred to as AKU) it is divided into two kinds, one Planting is that full dose updates bag, and one is difference update bag.
When terminal needs to update firmware, can be to server request to obtain the renewal bag of firmware, server root According to version number based on firmware, the firmware of terminal is compared with the firmware of each version of preservation on server Relatively, if the firmware version of terminal is not up-to-date, server can be searched for by the most up-to-date for the firmware upgrade of terminal The difference update bag of version, if there being this difference update bag, can use this difference update bag to the firmware in terminal Carry out difference update, if not this difference update bag, full dose can be used to update bag (that is, latest edition Firmware) firmware in terminal is carried out full dose renewal.
But, in some scenarios, user or assailant likely get the firmware to terminal and operate Authority, such as, use third party's instrument to obtain the superuser right of terminal, and then terminal can be revised Firmware.In such cases, although the version number of the firmware of terminal does not changes, but the firmware of terminal and clothes The actual content of the firmware of the identical version number that business device preserves is the most inconsistent, consequently, it is possible to cause using difference Update bag the firmware of terminal is updated unsuccessfully, and, even if retrying terminal still can obtain difference update bag, Cannot the firmware of the most more new terminal.
Summary of the invention
The embodiment of the present application provides a kind of information updating method, Apparatus and system, in order to solve in prior art When firmware is modified, version number based on firmware, use difference update bag may the firmware of terminal be updated Failed problem.
A kind of information updating method that the embodiment of the present application provides, including:
Obtain the check information that the customizing messages in terminal is corresponding;
Judge whether described check information meets default result;
If, it is determined that described customizing messages is carried out difference update;
Otherwise, it determines described customizing messages is carried out full dose renewal.
A kind of information updating method that the embodiment of the present application provides, including:
Terminal, for from customizing messages with it, generates corresponding check information;
Described check information is sent to server;
When receiving described server after judging that described check information meets default result, send out to described terminal After the prompting sent, described customizing messages is carried out difference update;
When receiving described server after judging that described check information does not meets default result, to described terminal After the prompting sent, described customizing messages is carried out full dose renewal.
A kind of information updating apparatus that the embodiment of the present application provides, including:
Acquisition module, for obtaining the check information that the customizing messages in terminal is corresponding;
More new module, is used for judging whether described check information meets default result, if, it is determined that to institute State customizing messages and carry out difference update, otherwise, it determines described customizing messages is carried out full dose renewal.
A kind of information updating apparatus that the embodiment of the present application provides, including:
Generation module, for for the customizing messages in terminal, generating corresponding check information;
Sending module, for being sent to server by described check information;
More new module, for after receiving the difference update prompting that described server sends, to described specific Information carries out difference update, after receiving the full dose renewal prompting that described server sends, to described specific Information carries out full dose renewal, and wherein, the prompting of described difference update is to be determined described verification by described server Information sends after meeting default result, and it is to be determined described school by described server that described full dose updates prompting The information of testing sends after not meeting default result.
A kind of information update system that the embodiment of the present application provides, including terminal and server;
Described terminal, for for from customizing messages with it, generating corresponding check information, by described school The information of testing is sent to described server, after receiving the difference update prompting that described server sends, to institute State customizing messages and carry out difference update, after receiving the full dose renewal prompting that described server sends, to institute State customizing messages and carry out full dose renewal;
Described server, for receiving the described check information that described terminal sends, and judges described verification letter Whether breath meets default result, the most then send difference update prompting to described terminal, otherwise, to described Terminal sends full dose and updates prompting.
The embodiment of the present application provides a kind of information updating method, Apparatus and system, and the method obtains in terminal The check information that customizing messages is corresponding, it is judged that whether described check information meets default result, the most true Determine described customizing messages is carried out difference update, otherwise, it determines described customizing messages is carried out full dose renewal, Wherein, described customizing messages specifically includes firmware, and described check information specifically includes system space, message is plucked Want, at least one in CRC, and version number.By said method, due to server According to this check information, it may be determined that the firmware in terminal is modified the most, the most then can use full dose Update bag and the firmware in terminal is carried out full dose renewal, otherwise, difference update bag can be used consolidating in terminal Part carries out difference update, and then, the firmware in terminal can be updated successfully.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used for explaining the application, is not intended that to the application not Work as restriction.In the accompanying drawings:
The information updating process that Fig. 1 provides for the embodiment of the present application;
The information updating process corresponding to Fig. 1 that Fig. 2 provides for the embodiment of the present application;
The detailed process of the information updating that Fig. 3 provides for the embodiment of the present application;
The information updating apparatus structural representation that Fig. 4 provides for the embodiment of the present application;
Another information updating apparatus structural representation that Fig. 5 provides for the embodiment of the present application;
The information update system schematic diagram that Fig. 6 provides for the embodiment of the present application.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of the application protection.
The information updating process that Fig. 1 provides for the embodiment of the present application, specifically includes following steps:
S101: obtain the check information that the customizing messages in terminal is corresponding.
The executive agent of the information updating method that the embodiment of the present application provides may is that server, terminal or is System etc..Described executive agent is not intended that the restriction to the application, and for the ease of describing, the application implements Example is all to illustrate as a example by server by executive agent.
In the embodiment of the present application, described customizing messages can be the software in terminal or other specific literary compositions Part, wherein, firmware (Firmware) is exactly a kind of typical software in terminal, general, firmware quilt Band EEPROM (the Electrically Erasable Programmable of write terminal Read-Only Memory, EEPROM), or it is cured in the read only memory (Read-Only of terminal Memory, ROM) in, it is the software of bottom hardware direct interaction with terminal.Such as, for individual Computer (Personal Computer, PC) terminal, be solidificated in the ROM on PC mainboard is basic Input-output system (Basic Input Output System, BIOS) is exactly the firmware of this PC;For hands Machine terminal, the mobile phone operating system in flash memory type read only memory (flashROM) on write mobile phone is just It it is the firmware of this mobile phone.For the ease of describing, it is terminal that the embodiment of the present application is based on described customizing messages On the application scenarios of firmware, the information updating method providing the embodiment of the present application illustrates.
General, periodically or non-periodically can be updated the firmware in terminal (updating, it is possible to be referred to as Upgrading) so that this firmware keeps consistent with the firmware of the latest edition preserved on server, thus improves end The function of operating system and/or revise the defect of operating system in terminal on end.
In the prior art, when the firmware in terminal is updated, can be sent out by terminal to server Play firmware more newly requested, then server can be by oneself preservation, the firmware of latest edition or this is up-to-date The download address of the firmware of version is sent to terminal, and then by this terminal, the firmware of terminal is carried out full dose Update, that is, replace the firmware of this terminal with the firmware of this latest edition so that the firmware of terminal updates To latest edition;Further, in actual applications, if carry out full dose renewal every time, terminal can be increased Burden and flow consumption, therefore, when the firmware in terminal is updated, terminal can also to Carry the version number of firmware of oneself during firmware that server is initiated is more newly requested, then server is by terminal The comparison of version of firmware of firmware and latest edition, it may be determined that the difference going out between the two, and can looking into Find the difference update bag corresponding with this difference of preservation, and by this difference update bag, or by this difference more The download address of new bag is sent to terminal, and then by this terminal, the firmware of terminal is carried out difference update, That is, the firmware of terminal is carried out use difference update bag incremental update or partial replacement (can be collectively referred to as difference Update) so that the firmware of terminal is updated to latest edition.
But, in some scenarios, user or assailant likely get the firmware to terminal and operate Authority, such as, use third party's instrument terminal is carried out root, it is thus achieved that superuser right, Jin Erke To revise the firmware of terminal.In such cases, although the version number of the firmware of terminal does not changes, but terminal The actual content of the firmware of identical version number that preserves with server of firmware the most inconsistent, consequently, it is possible to lead Cause the above-mentioned firmware to terminal and carry out difference update failure, and, still can be poor even if retrying terminal Divide and update bag, it is impossible to the firmware of the most more new terminal.
For these reasons, in the embodiment of the present application, server before the firmware of terminal is updated, The check information of this firmware can be obtained, for this firmware being verified, to have determined this firmware the most It is modified, how this firmware is updated so that it is determined that follow-up.
In addition, it is necessary to explanation, in addition to the above-mentioned process actively being initiated renewal firmware by terminal, Can also actively be initiated to update the process of firmware equally by server, concrete, save on server After the firmware of redaction, actively the firmware of redaction can be pushed to terminal and carry out real-time firmware renewal, Or, terminal can temporarily preserve the firmware of the redaction of server push, user determine when to carry out firmware Update.
S102: judge whether described check information meets default result, the most then perform step S103, Otherwise, step S104 is performed.
S103: determine and described customizing messages is carried out difference update.
S104: determine and described customizing messages is carried out full dose renewal.
It should be noted that server determine the update mode customizing messages in terminal is carried out it After, actively pushing to terminal and update bag (difference bag or full dose bag) accordingly, terminal receives this renewal Bao Houzai carries out difference update or full dose renewal to from customizing messages with it.Or, server can also be only Carry out to terminal pointing out the update mode determined, terminal download from server voluntarily and update bag accordingly, so After, then carry out difference update or full dose renewal to from customizing messages with it, etc..Therefore, the application couple After server determines update mode, the executive agent of the corresponding update action of subsequent execution does not limit, Obviously, this executive agent both can be terminal, it is also possible to be server.
By said method, owing to server is according to the check information of firmware in terminal, it may be determined that this firmware The most it is modified, the most then full dose can be used to update bag the firmware in terminal is carried out full dose renewal, no Then, can use difference update bag that the firmware in terminal is carried out difference update, and then, can be in terminal Firmware is updated successfully.
In the embodiment of the present application, for above-mentioned steps S101, the customizing messages in terminal is obtained corresponding Check information, specifically includes: receiving the check information that terminal sends, wherein, described check information is basis Customizing messages in described terminal generates, and described check information specifically comprises the mark letter of described customizing messages Breath and characteristic information.Wherein, described characteristic information can be whether arbitrary can be used for determines this customizing messages The information being modified.
More specifically, when described customizing messages is firmware, described identification information specifically includes version number, Described characteristic information specifically includes system space (system space is alternatively referred to as: size or size), message is plucked Want, at least one in CRC.By described characteristic information is verified, it may be determined that Firmware in terminal has been modified, and then uses the mode being suitable for be updated this firmware so that The renewable success of this firmware.
Further, in actual applications, the school of this firmware can be generated by terminal according to self firmware Testing information, wherein, this check information specifically comprises version number and the characteristic information of this firmware.General, version This number can obtain by reading the configuration file of this firmware, and for characteristic information, then can be according to concrete feelings Condition uses and generates method accordingly, and the embodiment of the present application lists three kinds and (system space, eap-message digest, follows Ring redundancy check code) applicable characterization value is as characteristic information, and certainly, other are arbitrary can reflect this firmware The characterization value whether being modified can also be used as characteristic information, and described characterization value is chosen not structure The restriction of the application in pairs.
Here, be respectively directed to these three characterization value, the mode generating characteristic information is briefly described.
Selecting system space is as characteristic information, and system space can carry out table by byte or than top grade unit Showing, when firmware is modified, the system space of firmware also can change, and calculates whole literary compositions that firmware comprises The system space of part, is the system space of firmware.
Choosing eap-message digest as characteristic information, eap-message digest is based on one-way Hash algorithm, determines only The value of the regular length of an one corresponding message or file, when firmware is modified, the eap-message digest of firmware is also Can change.Conventional one-way Hash algorithm includes: Message Digest 55 (Message Digest Algorithm 5, MD5), Secure Hash Algorithm (Secure Hash Algorithm, SHA), message recognizes Card code (Message Authentication Code, MAC) etc..
Choosing CRC as characteristic information, CRC is based on modulo operation, really The value of the regular length of one message of the correspondence made or file, when firmware is modified, the circulation of firmware is superfluous Remaining check code also can change.
Further, for above-mentioned steps S102, it is judged that whether described check information meets default result, Specifically include: on the server, search the standard information corresponding with described check information, generate described standard The characteristic information of information, it is judged that the characteristic information that described check information comprises whether with the spy of described standard information Reference manner of breathing is same, if, it is determined that described check information meets default result, otherwise, it determines described verification Information does not meets default result.
Further, on the server, search the standard information corresponding with described check information, specifically wrap Including: on the server, search each standard information pre-saved, wherein, each standard information comprises respectively There is the identification information of self, in each standard information found, determine the identification information and described school comprised The standard information that identification information that the information of testing comprises is identical, as the standard letter corresponding with described check information Breath.
Here, illustrate described standard information, all of standard information is all stored in advance in service On device, when not yet there is customizing messages in terminal, terminal can obtain the mark being applicable to self from server Calibration information, hereafter, the standard information that terminal gets can become the customizing messages in terminal.Obviously, by After terminal gets standard information, this standard information may be modified, therefore, specific in terminal The information standard information corresponding with on server may differ, that is, the customizing messages before being modified is just It is: the standard information corresponding with the flag information that this customizing messages comprises.Certainly, if terminal is not to acquisition To standard information modify, then, the standard information phase that described customizing messages is corresponding with on server With.
More specifically, when described customizing messages is the firmware in terminal, described standard information specifically includes That pre-save on server, be applicable to the firmware of described terminal.Server is at the firmware got in terminal Version number and characteristic information after, that can preserve, version number is identical with the version number of the firmware in terminal Firmware, and determine the characteristic information of this firmware of preservation, then, it is judged that the characteristic information of the firmware in terminal The most identical with the characteristic information of this firmware preserved, the most then can determine that the firmware in terminal is unmodified, May determine that and carry out difference update, otherwise, it may be determined that the firmware in terminal is revised, if carrying out difference update May be failed, hence, it can be determined that carry out full dose renewal.
The application, to after server determines the update mode of the customizing messages in terminal, performs this renewal side The executive agent of formula, and concrete executive mode do not limits, here, only illustrate two of which Feasible executive mode.For above-mentioned steps S104 and S105, determine and described customizing messages is carried out difference Update, specifically include: server is pointed out to described terminal, make described terminal obtain from described server Difference bag, and use the difference bag of acquisition, will be and described school from described customizing messages difference update with it The standard information that information of testing is corresponding;Determine and described customizing messages is carried out full dose renewal, specifically include: service Device is pointed out to described terminal, makes described terminal obtain corresponding with described check information from described server Standard information, and use the standard information of acquisition, will be updated to and institute from described customizing messages full dose with it State the standard information that check information is corresponding.
Further, in order to improve the treatment effeciency of server, server can not also be sent out receiving terminal After the check information sent, determine characteristic information the most in real time, but can predefine and preserve each version The characteristic information of firmware, like this, server is after receiving the check information that terminal sends, permissible The version number comprised according to this check information, directly in each characteristic information preserved, searches corresponding version Number characteristic information identical with the version number that this check information comprises, then the firmware determining in terminal of comparing The most revise.
In the embodiment of the present application, except using the above-mentioned mode being sent check information by terminal to server Outside, it is also possible to use the mode being sent check information by server to terminal, it is achieved information updating process. Concrete, server can determine the verification of the firmware of this version number self preserved according to the version number of terminal Information, and be sent to terminal, then, by terminal by this check information of receiving with according to consolidating in terminal The check information that part generates is compared, it is judged that the firmware in terminal is revised the most, and will determine that result is sent out Give server, then server, can be able to pass through when judged result is for being according to the judged result received Terminal, carries out full dose renewal to the firmware in terminal, when judged result is no, can pass through terminal, to end Firmware on end carries out difference update.This mode, compared with former mode, adds terminal and server Between interaction times, however, it is possible to reduce server burden.Can be according to the need of actual application scenarios Ask, both modes are selected.
If additionally, sent check information by server to terminal, the port used due to server is probably solid Fixed, hacker there may be and attacks this port pointedly, distorts the verification letter that server sends to each terminal Breath, therefore, server can be then forwarded to terminal after check information is encrypted and is signed, thus, can To improve the safety of server and the interaction of terminal;And if being sent verification letter by terminal to server Breath, typically can use random port, therefore, add the difficulty of assault, comparatively speaking due to terminal This mode is safer.
In actual applications, it is also possible to there is such a case that the firmware version in terminal and latest firmware version Originally differ greatly, to such an extent as to need to obtain a lot of difference update bags could be by the firmware upgrade in terminal to Redaction.In this case, compared to difference update, the firmware in terminal is carried out full dose and updates possible More efficiently, and the memory space fragment in terminal can be reduced, improve the efficiency of terminal.
It addition, in some scenarios, terminal, may be by the amendment to firmware according to the security strategy of self Operation note is in system journal, and in this case, terminal and server can not also check check information, But only by terminal directly according to system journal, determine that the firmware of self is revised the most, the most then to clothes Business device request carries out full dose renewal, otherwise, carries out difference update to server request.It should be noted that General, when not obtaining superuser right, may the system journal of reading terminals.
In the embodiment of the present application, described customizing messages can also is that other information in addition to firmware, because of This, accordingly, judging whether check information corresponding to these other information meets default result, it is also possible to right These other information carry out other process except for update.Described process includes but not limited to: updates, lock Determine, recover, unpack, encapsulate, encrypt, the operation such as deciphering.
As described in above-mentioned steps, when described customizing messages is the firmware in terminal, server can be according to obtaining The check information of the firmware in terminal taken, then, according to this check information, uses the mode being suitable for this Firmware is updated so that the renewable success of this firmware.
The information updating process corresponding to Fig. 1 that Fig. 2 provides for the embodiment of the present application, specifically includes following step Rapid:
S201: terminal, for from customizing messages with it, generates corresponding check information.
S202: described check information is sent to server.
S203: after receiving the difference update prompting that described server sends, described customizing messages is carried out Difference update, after receiving the full dose renewal prompting that described server sends, is carried out described customizing messages Full dose updates, and wherein, the prompting of described difference update is to be determined that described check information meets by described server Sending after presetting result, it is to be determined described check information not by described server that described full dose updates prompting Send after meeting default result.
Described customizing messages specifically includes the firmware in terminal, and described check information specifically comprises described specific letter The identification information of breath and characteristic information, described identification information specifically includes version number, and described characteristic information is concrete Including at least one in system space, eap-message digest, CRC.
According to above-mentioned explanation, figure 3 illustrates the detailed mistake of the information updating that the embodiment of the present application provides Journey, specifically includes following steps:
S301: terminal generates the check information of firmware of self, this check information include but not limited to version number, Characteristic information etc..
It is more newly requested that S302: terminal to server sends firmware, and this firmware upgrade request carries terminal and generates Check information.
Based on different application scenarios, terminal can also send more information to server simultaneously, such as, The model of terminal, device identification etc..
S303: server according to the version number received, search whether can the firmware of version updating, if Then perform step S304, otherwise, be latest edition the most to terminal notifying.
It addition, in some scenarios, the terminal of different model may can only use the firmware of particular version, In this case, the up-to-date firmware of version is not necessarily suitable terminal, and therefore, server can be according to reception The model arrived, filters out this terminal is suitable for, the firmware of version updating.
S304: server, according to the version number received, is searched the firmware of this version number preserved, and is determined The characteristic information of this firmware preserved.
S305: the server characteristic information to receiving is compared with the characteristic information that server is determined, Determine that both are the most identical.
S306: server, when both are identical, sends the difference update bag of firmware to terminal, when both not phases Meanwhile, the firmware of latest edition is sent to terminal.
Or, server can also send the difference update bag of firmware or the firmware download address of latest edition. It addition, in some scenarios, server not necessarily has difference update bag, in this case, it is impossible to end Firmware on end carries out difference update, can only carry out full dose renewal.
The information for updating firmware that S307: terminal provides according to server, the correspondingly firmware to self Carry out difference update or full dose updates so that the firmware of self is updated to latest edition.
The information updating method provided for the embodiment of the present application above, based on same thinking, the application implements Example also provides for corresponding information updating apparatus, as shown in Figure 4, Figure 5.
The information updating apparatus structural representation that Fig. 4 provides for the embodiment of the present application, specifically includes:
Acquisition module 401, for obtaining the check information that the customizing messages in terminal is corresponding;
More new module 402, is used for judging whether described check information meets default result, if, it is determined that Described customizing messages is carried out difference update, otherwise, it determines described customizing messages is carried out full dose renewal.
Described acquisition module 401 is specifically for receiving the check information that terminal sends, wherein, and described verification letter Breath is to generate according to the customizing messages in described terminal, and described check information specifically comprises described customizing messages Identification information and characteristic information.
Described more new module 402 specifically for, on the server, search the mark corresponding with described check information Calibration information, generates the characteristic information of described standard information, it is judged that the characteristic information that described check information comprises is The characteristic information of no and described standard information is identical, if, it is determined that described check information meets default result, Otherwise, it determines described check information does not meets default result.
Described more new module 402 specifically for, on the server, search each standard information of pre-saving, Wherein, each standard information includes the identification information of self respectively, in each standard information found, Determine the standard information that the identification information comprised is identical with the identification information that described check information comprises, as with The standard information that described check information is corresponding.
Described more new module 402 specifically for, when judging that described check information meets default result, to institute State terminal to point out, make described terminal obtain difference bag from described server, and use the difference bag of acquisition, By being the standard information corresponding with described check information from described customizing messages difference update with it, work as judgement When described check information does not meets default result, point out to described terminal, make described terminal from described clothes Business device obtains the standard information corresponding with described check information, and uses the standard information of acquisition, will from Described customizing messages full dose be updated to the standard information corresponding with described check information
Described customizing messages specifically includes the firmware in terminal, and described standard information specifically includes on server pre- That first preserve, be applicable to the firmware of described terminal, described identification information specifically includes version number, described feature Information specifically includes at least one in system space, eap-message digest, CRC.
Concrete above-mentioned device as shown in Figure 4 may be located on server.
Another information updating apparatus structural representation that Fig. 5 provides for the embodiment of the present application, specifically includes:
Generation module 501, for for the customizing messages in terminal, generating corresponding check information;
Sending module 502, for being sent to server by described check information;
More new module 503, for after receiving the difference update prompting that described server sends, to described Customizing messages carries out difference update, after receiving the full dose renewal prompting that described server sends, to described Customizing messages carries out full dose renewal, wherein, the prompting of described difference update be by described server determine described Check information sends after meeting default result, and it is determining by described server that described full dose updates prompting State check information not meet and send after default result.
Described customizing messages specifically includes the firmware in terminal, and described check information specifically comprises described specific letter The identification information of breath and characteristic information, described identification information specifically includes version number, and described characteristic information is concrete Including at least one in system space, eap-message digest, CRC.
Concrete above-mentioned device as shown in Figure 5 may be located in terminal.
The information updating method provided for the embodiment of the present application above and device, based on same thinking, this Shen Embodiment please also provide for corresponding information update system, as shown in Figure 6, described information update system includes end End and server, in actual applications, terminal and server can be direct-connected by cable, it is also possible to by office The networks such as territory net, wide area network are attached.
Described terminal, for for from customizing messages with it, generating corresponding check information, by described school The information of testing is sent to described server, after receiving the difference update prompting that described server sends, to institute State customizing messages and carry out difference update, after receiving the full dose renewal prompting that described server sends, to institute State customizing messages and carry out full dose renewal;
Described server, for receiving the described check information that described terminal sends, and judges described verification letter Whether breath meets default result, the most then send difference update prompting to described terminal, otherwise, to described Terminal sends full dose and updates prompting.
It should be noted that the difference update that server is sent by the application is pointed out and full dose updates prompting Presentation format does not limit, and both can use the presentation format of text message, it would however also be possible to employ picture, sound The presentation format of the multimedia messages such as frequency, etc..
The embodiment of the present application provides a kind of information updating method, Apparatus and system, and the method obtains in terminal The check information that customizing messages is corresponding, it is judged that whether described check information meets default result, the most right Described customizing messages carries out difference update, otherwise, described customizing messages carries out full dose renewal, wherein, institute Stating customizing messages and specifically include firmware, described check information specifically includes system space, eap-message digest, circulation At least one in redundancy check code, and version number.By said method, owing to server is according to this school Test information, it may be determined that the firmware in terminal is modified the most, the most then full dose can be used to update bag right Firmware in terminal carries out full dose renewal, otherwise, difference update bag can be used poor to the firmware in terminal Divide and update, and then, the firmware in terminal can be updated successfully.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non- Comprising of exclusiveness, so that include that the process of a series of key element, method, commodity or equipment not only wrap Include those key elements, but also include other key elements being not expressly set out, or also include for this process, The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include One ... " key element that limits, it is not excluded that including the process of described key element, method, commodity or setting Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM, Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.

Claims (17)

1. an information updating method, it is characterised in that including:
Obtain the check information that the customizing messages in terminal is corresponding;
Judge whether described check information meets default result;
If, it is determined that described customizing messages is carried out difference update;
Otherwise, it determines described customizing messages is carried out full dose renewal.
2. the method for claim 1, it is characterised in that obtain the customizing messages in terminal corresponding Check information, specifically include:
Receiving the check information that terminal sends, wherein, described check information is specific according in described terminal Information generates, and described check information specifically comprises identification information and the characteristic information of described customizing messages.
3. method as claimed in claim 2, it is characterised in that judge whether described check information meets Preset result, specifically include:
On the server, the standard information corresponding with described check information is searched;
Generate the characteristic information of described standard information;
Judge that the characteristic information that described check information comprises is the most identical with the characteristic information of described standard information;
If, it is determined that described check information meets default result;
Otherwise, it determines described check information does not meets default result.
4. method as claimed in claim 3, it is characterised in that on the server, search and described school The standard information that information of testing is corresponding, specifically includes:
On the server, searching each standard information pre-saved, wherein, each standard information comprises respectively There is the identification information of self;
In each standard information found, determine the mark that the identification information comprised comprises with described check information The standard information that knowledge information is identical, as the standard information corresponding with described check information.
5. method as claimed in claim 4, it is characterised in that it is poor to determine described customizing messages Divide and update, specifically include:
Point out to described terminal, make described terminal obtain difference bag from described server, and use acquisition Difference bag, will be the standard letter corresponding with described check information from described customizing messages difference update the most with it Breath;
Determine and described customizing messages carried out full dose renewal, specifically include:
Point out to described terminal, make described terminal obtain corresponding with described check information from described server Standard information, and use the standard information of acquisition, by from described customizing messages full dose the most with it be updated to The standard information that described check information is corresponding.
6. the method as described in Claims 1 to 5 is arbitrary, it is characterised in that described customizing messages specifically wraps Include the firmware in terminal, described standard information specifically include that pre-save on server, be applicable to described end End firmware, described identification information specifically includes version number, described characteristic information specifically include system space, At least one in eap-message digest, CRC.
7. an information updating method, it is characterised in that including:
Terminal, for from customizing messages with it, generates corresponding check information;
Described check information is sent to server;
After receiving the difference update prompting that described server sends, described customizing messages is carried out difference more Newly, wherein, the prompting of described difference update is to be determined that described check information meets default knot by described server Send after Guo;
After receiving the full dose renewal prompting that described server sends, described customizing messages is carried out full dose more Newly, wherein, described full dose updates prompting is to determine that described check information does not meets default by described server Send after result.
8. method as claimed in claim 7, it is characterised in that described customizing messages specifically includes terminal On firmware, described check information specifically comprises identification information and the characteristic information of described customizing messages, described Identification information specifically includes version number, and described characteristic information specifically includes system space, eap-message digest, circulation At least one in redundancy check code.
9. an information updating apparatus, it is characterised in that including:
Acquisition module, for obtaining the check information that the customizing messages in terminal is corresponding;
More new module, is used for judging whether described check information meets default result, if, it is determined that to institute State customizing messages and carry out difference update, otherwise, it determines described customizing messages is carried out full dose renewal.
10. device as claimed in claim 9, it is characterised in that described acquisition module specifically for, connect Receiving the check information that terminal sends, wherein, described check information is raw according to the customizing messages in described terminal Becoming, described check information specifically comprises identification information and the characteristic information of described customizing messages.
11. devices as claimed in claim 10, it is characterised in that described more new module specifically for, On the server, search the standard information corresponding with described check information, generate the feature of described standard information Information, it is judged that the characteristic information that described check information comprises whether with the characteristic information phase of described standard information With, if, it is determined that described check information meets default result, otherwise, it determines described check information is not inconsistent Close and preset result.
12. devices as claimed in claim 11, it is characterised in that described more new module specifically for, On the server, searching each standard information pre-saved, wherein, each standard information includes certainly respectively The identification information of body, in each standard information found, determines the identification information and described verification letter comprised Cease the standard information that the identification information comprised is identical, as the standard information corresponding with described check information.
13. devices as claimed in claim 12, it is characterised in that described more new module specifically for, When judging that described check information meets default result, point out to described terminal, make described terminal from institute State server and obtain difference bag, and use the difference bag of acquisition, by from described customizing messages difference the most with it more New is the standard information corresponding with described check information, when judging that described check information does not meets default result Time, point out to described terminal, make described terminal obtain corresponding with described check information from described server Standard information, and use the standard information of acquisition, by from described customizing messages full dose the most with it be updated to The standard information that described check information is corresponding.
14. as arbitrary in claim 9~13 as described in device, it is characterised in that described customizing messages is concrete Including the firmware in terminal, described standard information specifically include that pre-save on server, be applicable to described The firmware of terminal, described identification information specifically includes version number, described characteristic information specifically include system space, At least one in eap-message digest, CRC.
15. 1 kinds of information updating apparatus, it is characterised in that including:
Generation module, for for the customizing messages in terminal, generating corresponding check information;
Sending module, for being sent to server by described check information;
More new module, for after receiving the difference update prompting that described server sends, to described specific Information carries out difference update, after receiving the full dose renewal prompting that described server sends, to described specific Information carries out full dose renewal, and wherein, the prompting of described difference update is to be determined described verification by described server Information sends after meeting default result, and it is to be determined described school by described server that described full dose updates prompting The information of testing sends after not meeting default result.
16. devices as claimed in claim 15, it is characterised in that described customizing messages specifically includes end Firmware on end, described check information specifically comprises identification information and the characteristic information of described customizing messages, institute Stating identification information and specifically include version number, described characteristic information specifically includes system space, eap-message digest, follows At least one in ring redundancy check code.
17. 1 kinds of information update systems, it is characterised in that include terminal and server;
Described terminal, for for from customizing messages with it, generating corresponding check information, by described school The information of testing is sent to described server, after receiving the difference update prompting that described server sends, to institute State customizing messages and carry out difference update, after receiving the full dose renewal prompting that described server sends, to institute State customizing messages and carry out full dose renewal;
Described server, for receiving the described check information that described terminal sends, and judges described verification letter Whether breath meets default result, the most then send difference update prompting to described terminal, otherwise, to described Terminal sends full dose and updates prompting.
CN201510134543.7A 2015-03-25 2015-03-25 A kind of information updating method, Apparatus and system Pending CN106161336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510134543.7A CN106161336A (en) 2015-03-25 2015-03-25 A kind of information updating method, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510134543.7A CN106161336A (en) 2015-03-25 2015-03-25 A kind of information updating method, Apparatus and system

Publications (1)

Publication Number Publication Date
CN106161336A true CN106161336A (en) 2016-11-23

Family

ID=57340069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510134543.7A Pending CN106161336A (en) 2015-03-25 2015-03-25 A kind of information updating method, Apparatus and system

Country Status (1)

Country Link
CN (1) CN106161336A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790247A (en) * 2017-01-23 2017-05-31 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of android system upgrading
CN106775778A (en) * 2017-02-06 2017-05-31 山东鲁能智能技术有限公司 Embedded program exploitation Program updates recognition methods and system
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN108234171A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of data processing method, system and device
CN109240721A (en) * 2018-08-24 2019-01-18 江苏恒宝智能系统技术有限公司 A kind of method of MCU online upgrading
CN109358872A (en) * 2018-09-21 2019-02-19 广东美的暖通设备有限公司 Remote firmware updating method, device and computer readable storage medium
WO2019041166A1 (en) * 2017-08-30 2019-03-07 华为技术有限公司 Method for updating firmware and related apparatus
CN109450977A (en) * 2018-10-09 2019-03-08 阿里巴巴集团控股有限公司 Data cached push, update method and device
CN109766115A (en) * 2019-01-17 2019-05-17 广东小天才科技有限公司 A kind of foolproof method and system of smart machine upgrading
CN110083371A (en) * 2018-01-26 2019-08-02 比亚迪股份有限公司 A kind of vehicle program updating system and method, more new tool and storage medium
CN111064571A (en) * 2020-01-09 2020-04-24 青岛海信移动通信技术股份有限公司 Communication terminal, server and method for dynamically updating pre-shared key
CN111131146A (en) * 2019-11-08 2020-05-08 北京航空航天大学 Multi-supercomputing center software system deployment and incremental updating method in wide area environment
CN111464571A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Communication method and system, server and client
CN111562926A (en) * 2020-04-03 2020-08-21 江苏能电科技有限公司 System and method for updating circuit breaker firmware
CN111831297A (en) * 2019-04-17 2020-10-27 中兴通讯股份有限公司 Zero-difference upgrading method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906574A (en) * 2003-11-19 2007-01-31 艾利森电话股份有限公司 Updating data in a mobile terminal
US20100175062A1 (en) * 2009-01-07 2010-07-08 Samsung Electronics Co., Ltd. Method and system for firmware over the air (fota) service
CN104050054A (en) * 2014-06-27 2014-09-17 广州金山网络科技有限公司 Processing method for installation package installation failure and cause determining method and device
CN104125276A (en) * 2014-07-21 2014-10-29 中兴通讯股份有限公司 Upgrading method and device
CN104216736A (en) * 2014-08-14 2014-12-17 小米科技有限责任公司 Method and device for incremental upgrading and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906574A (en) * 2003-11-19 2007-01-31 艾利森电话股份有限公司 Updating data in a mobile terminal
US20100175062A1 (en) * 2009-01-07 2010-07-08 Samsung Electronics Co., Ltd. Method and system for firmware over the air (fota) service
CN104050054A (en) * 2014-06-27 2014-09-17 广州金山网络科技有限公司 Processing method for installation package installation failure and cause determining method and device
CN104125276A (en) * 2014-07-21 2014-10-29 中兴通讯股份有限公司 Upgrading method and device
CN104216736A (en) * 2014-08-14 2014-12-17 小米科技有限责任公司 Method and device for incremental upgrading and terminal device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234171A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of data processing method, system and device
CN108234171B (en) * 2016-12-15 2021-04-30 腾讯科技(深圳)有限公司 Data processing method, system and device
CN106790247A (en) * 2017-01-23 2017-05-31 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of android system upgrading
CN106775778A (en) * 2017-02-06 2017-05-31 山东鲁能智能技术有限公司 Embedded program exploitation Program updates recognition methods and system
CN106775778B (en) * 2017-02-06 2021-03-16 山东鲁能软件技术有限公司智能电气分公司 Program updating identification method and system in embedded program development
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
WO2019041166A1 (en) * 2017-08-30 2019-03-07 华为技术有限公司 Method for updating firmware and related apparatus
US10983783B2 (en) 2017-08-30 2021-04-20 Huawei Technologies Co., Ltd. Firmware update method and related apparatus
CN110083371B (en) * 2018-01-26 2021-01-19 比亚迪股份有限公司 Vehicle program updating system and method, updating tool and storage medium
CN110083371A (en) * 2018-01-26 2019-08-02 比亚迪股份有限公司 A kind of vehicle program updating system and method, more new tool and storage medium
CN109240721A (en) * 2018-08-24 2019-01-18 江苏恒宝智能系统技术有限公司 A kind of method of MCU online upgrading
CN109358872A (en) * 2018-09-21 2019-02-19 广东美的暖通设备有限公司 Remote firmware updating method, device and computer readable storage medium
CN109450977A (en) * 2018-10-09 2019-03-08 阿里巴巴集团控股有限公司 Data cached push, update method and device
CN109450977B (en) * 2018-10-09 2021-12-14 创新先进技术有限公司 Cache data pushing and updating method and device
CN109766115A (en) * 2019-01-17 2019-05-17 广东小天才科技有限公司 A kind of foolproof method and system of smart machine upgrading
CN109766115B (en) * 2019-01-17 2022-06-03 广东小天才科技有限公司 Fool-proof method and system for intelligent equipment upgrading
CN111464571A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Communication method and system, server and client
CN111831297A (en) * 2019-04-17 2020-10-27 中兴通讯股份有限公司 Zero-difference upgrading method and device
CN111131146A (en) * 2019-11-08 2020-05-08 北京航空航天大学 Multi-supercomputing center software system deployment and incremental updating method in wide area environment
CN111131146B (en) * 2019-11-08 2021-04-09 北京航空航天大学 Multi-supercomputing center software system deployment and incremental updating method in wide area environment
CN111064571A (en) * 2020-01-09 2020-04-24 青岛海信移动通信技术股份有限公司 Communication terminal, server and method for dynamically updating pre-shared key
CN111562926A (en) * 2020-04-03 2020-08-21 江苏能电科技有限公司 System and method for updating circuit breaker firmware

Similar Documents

Publication Publication Date Title
CN106161336A (en) A kind of information updating method, Apparatus and system
EP2689598B1 (en) Interrogating an authentication device
US8683213B2 (en) Progressive boot for a wireless device
EP2430581B1 (en) Method, apparatus, and computer program for providing application security
US8601285B2 (en) Method for secure program code execution in an electronic device
CN104363271B (en) Document breakpoint transmission method and device
US20120226823A1 (en) Document distribution system and method
CN106055936B (en) Executable program data packet encrypting/decrypting method and device
JP2016512407A (en) Trusted Service Manager Trusted Security Zone Container for data protection and confidentiality
CN111666564B (en) Application program safe starting method and device, computer equipment and storage medium
WO2009157133A1 (en) Information processing device, information processing method, and computer program and integrated circuit for the realization thereof
US10783277B2 (en) Blockchain-type data storage
CN107360165B (en) Terminal device, cloud server and method and device for managing and controlling operating system
KR20150045790A (en) Method and Apparatus for authenticating and managing an application using trusted platform module
CN106778099A (en) The generation method and device of anti-tamper APK, install and operation method and device
CN111258756A (en) Load balancing method and device, computer equipment and readable storage medium
CN111177703B (en) Method and device for determining data integrity of operating system
CN115248919A (en) Method and device for calling function interface, electronic equipment and storage medium
US8621191B2 (en) Methods, apparatuses, and computer program products for providing a secure predefined boot sequence
CN111400771A (en) Target partition checking method and device, storage medium and computer equipment
CN111949996A (en) Generation method, encryption method, system, device and medium of security private key
US20220216999A1 (en) Blockchain system for supporting change of plain text data included in transaction
CN112732676B (en) Block chain-based data migration method, device, equipment and storage medium
CN116235174A (en) Apparatus and method for performing encryption algorithm
CN105631313A (en) Method and device for processing operating system file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1230369

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201214

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Applicant after: Zebra smart travel network (Hong Kong) Limited

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1230369

Country of ref document: HK