CN108228216A - Update method, information processing system and electronic equipment - Google Patents

Update method, information processing system and electronic equipment Download PDF

Info

Publication number
CN108228216A
CN108228216A CN201810003777.1A CN201810003777A CN108228216A CN 108228216 A CN108228216 A CN 108228216A CN 201810003777 A CN201810003777 A CN 201810003777A CN 108228216 A CN108228216 A CN 108228216A
Authority
CN
China
Prior art keywords
update file
update
version
file
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810003777.1A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810003777.1A priority Critical patent/CN108228216A/en
Publication of CN108228216A publication Critical patent/CN108228216A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

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)

Abstract

Present disclose provides a kind of update methods, including, when the software of electronic equipment is in first version, obtain the first update file, pass through primary true restarting, by the software upgrading to the second edition, wherein, the second edition is that the software of the first version is obtained at least through the installation first update file and at least one second update file.Wherein, the first update file and the second update file are in independent update, and newer file could be completed by needing really to restart by electronic equipment after mounting.The disclosure additionally provides a kind of information processing system and a kind of electronic equipment.

Description

Update method, information processing system and electronic equipment
Technical field
This disclosure relates to a kind of update method, information processing system and electronic equipment.
Background technology
With information-based and intelligentized development, intelligent terminal provides huge facility for people’s lives.Mesh Preceding intelligent terminal is usually mounted with a large amount of softwares, the application software including system software and with various function, It provides to the user and easily services.With the migration of time and the development of technology, the problem of these softwares also face update.One Partial software, such as most system softwares, need electronic equipment restarting that can just come into force during version updating. And in some cases, continuous multiple version updating can be encountered, the consequence brought is that user is needed according to prompting again and again Ground restarts electronic equipment, has seriously affected user experience.
Invention content
The one side of the embodiment of the present disclosure provides a kind of update method, including being in the in the software of electronic equipment During one version, the first update file is obtained, is really restarted by primary, by the software upgrading to the second edition, wherein, The second edition is that the software of the first version updates file and at least one second more at least through installing described first What new file obtained, wherein, the first update file and the second update file are in independent update, need installing Newer file could be completed by really being restarted by electronic equipment afterwards.
Optionally, it when the software in electronic equipment is in first version, obtains the first update file and includes, in electronics When the software of equipment is in first version, the first update file and the second update file are obtained.It is described by it is primary true again Start, the software upgrading to the second edition is included, the installation first update file and the second update file pass through Primary true restarting, by the software upgrading to the second edition.
Optionally, when the software in electronic equipment is in first version, the first update file and the second update are obtained File includes, and when the software of electronic equipment is in first version, detects whether that there are the first update files and the second update text Part in the case of there are the first update file and the second update file, obtains the first update file and described second more New file.
Optionally, when the software in electronic equipment is in first version, the first update file and the second update are obtained File includes, when the software of electronic equipment is in first version, detect whether there are first update file, there are first more In the case of new file, the first update file is obtained, revision mark is to characterize the software based on having obtained The updated version of file is updated, based on the version identifier, detects whether have second to update file, there are described second In the case of updating file, the second update file is obtained.
Optionally, it is described by primary true restarting, the software upgrading to the second edition is included, described in installation First update file, by virtually restarting, by the software upgrading to transition version, wherein, it is virtually opened again described The electronic equipment is kept to be powered in dynamic process, detects and obtains the second update file, installation the second update file leads to True restarting is crossed, by the software upgrading to the second edition.
Optionally, not comprising in the instruction set really restarted in the instruction set virtually restarted Power-off and power on instruction.
Optionally, it is described by virtually restarting, the software upgrading to transition version is included, in the virtual weight After new startup starts, the display unit of the electronic equipment is controlled to show restarting interface set.It is described to detect and obtain the Two update files, installation the second update file include, and during the display restarting interface set is kept, obtain the Two update files, and the second update file is installed.
Optionally, the method further includes, and during the virtual restarting, controls the aobvious of the electronic equipment Show that unit shows the first prompt message, to prompt the progress of software upgrading.
Optionally, the method further includes, and after by the software upgrading to the second edition, control electronics are shown Show that unit shows the second prompt message, second edition update to be prompted to finish.
The embodiment of the present disclosure another aspect provides a kind of information processing system, including acquisition module and update mould Block.Acquisition module, for when the software of electronic equipment is in first version, obtaining the first update file.Update module is used for It is really restarted by primary, by the software upgrading to the second edition, wherein, the second edition is the first version Software at least through installing the first update file and at least one second update file obtains.Wherein, described first Update file and the second update file are in independent update, need really to restart by electronic equipment after mounting It could complete newer file.
Optionally, the acquisition module includes the first acquisition submodule, for being in the first edition in the software of electronic equipment This when, the first update file and the second update file are obtained, the update module includes the first installation submodule and the first update Submodule.First installation submodule, for installing the first update file and the second update file.First update submodule Block, for passing through primary true restarting, by the software upgrading to the second edition.
Optionally, first acquisition submodule includes first detection unit and first acquisition unit.First detection unit, For when the software of electronic equipment is in first version, detecting whether that there are the first update files and the second update file.The One acquiring unit, in the case of there are the first update file and the second update file, obtaining the first update file With the described second update file.
Optionally, first acquisition submodule include second detection unit, second acquisition unit, third detection unit with And third acquiring unit.Second detection unit, for when the software of electronic equipment is in first version, detecting whether that there are One update file.Second acquisition unit, in the case of there are the first update file, obtaining the first update file. Third detection unit, it is based on the updated version of update file obtained to be identified for revision to characterize the software This, based on the version identifier, detects whether that there are the second update files.Third acquiring unit, for there are described second In the case of updating file, the second update file is obtained.
Optionally, the update module includes the second installation submodule, the second update submodule, detection sub-module, third Submodule and third update submodule are installed.Second installation submodule, for installing the first update file.Second update Submodule, by virtually restarting, by the software upgrading to transition version, wherein, in the mistake virtually restarted The electronic equipment is kept to be powered in journey.Detection sub-module, for detecting and obtaining the second update file.Third installs submodule Block, for installing the second update file.Third updates submodule, is really restarted for passing through, by the software more Newly to the second edition.
Optionally, not comprising in the instruction set really restarted in the instruction set virtually restarted Power-off and power on instruction.
Optionally, the second update submodule includes control unit, for after the virtual restarting starts, controlling Make the display unit display restarting interface set of the electronic equipment.The detection sub-module includes the 4th acquiring unit, For during the display restarting interface set is kept, obtaining the second update file.The third installs submodule Block includes installation unit, for during keeping showing restarting interface set, installation second update to be literary Part.
Optionally, the system also includes the first control module, for during the virtual restarting, controlling The display unit of the electronic equipment shows the first prompt message, to prompt the progress of software upgrading.
Optionally, the system also includes the second control module, for after by the software upgrading to the second edition, The display unit of control electronics shows the second prompt message, second edition update to be prompted to finish.
The embodiment of the present disclosure another aspect provides a kind of electronic equipment, including processor and memory, thereon Computer-readable instruction is stored with, method as described above is used to implement when described instruction is executed by processor.
Another aspect of the present disclosure provides a kind of non-volatile memory medium, is stored with computer executable instructions, institute It states instruction and is used to implement method as described above when executed.
Another aspect of the present disclosure provides a kind of computer program, and the computer program can perform finger including computer It enables, described instruction is used to implement method as described above when executed.
Description of the drawings
In order to which the disclosure and its advantage is more fully understood, referring now to being described below with reference to attached drawing, wherein:
Fig. 1 diagrammatically illustrates the schematic diagram that the second edition is updated to by first version according to the embodiment of the present disclosure;
Fig. 2 diagrammatically illustrates the flow chart of the update method according to the embodiment of the present disclosure;
Fig. 3 diagrammatically illustrates the flow chart of the update method according to another embodiment of the disclosure;
Fig. 4 is diagrammatically illustrated when being in first version according to the software in electronic equipment of the embodiment of the present disclosure, is obtained The flow chart of first update file and the second update file;
Fig. 5 is diagrammatically illustrated when being in first version according to the software in electronic equipment of another embodiment of the disclosure, Obtain the flow chart of the first update file and the second update file;
Fig. 6 is diagrammatically illustrated according to the embodiment of the present disclosure through primary true restarting, by the software upgrading To the flow chart of the second edition;
Fig. 7 diagrammatically illustrates the block diagram of the information processing system according to the embodiment of the present disclosure;
Fig. 8 diagrammatically illustrates the block diagram of the information processing system according to another embodiment of the disclosure;
Fig. 9 diagrammatically illustrates the block diagram of the first acquisition submodule according to the embodiment of the present disclosure;
Figure 10 diagrammatically illustrates the block diagram of the first acquisition submodule according to another embodiment of the disclosure;
Figure 11 diagrammatically illustrates the block diagram of the update module according to the embodiment of the present disclosure;And
Figure 12 diagrammatically illustrates the block diagram of the electronic equipment using update method according to the embodiment of the present disclosure.
Specific embodiment
Hereinafter, it will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, the description to known features and technology is omitted, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein Term " comprising ", "comprising" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or other one or more features of addition, step, operation or component.
All terms (including technical and scientific term) as used herein have what those skilled in the art were generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without should by idealization or it is excessively mechanical in a manner of explain.
It, in general should be according to this in the case where using similar to " in A, B and C etc. at least one " such statement Field technology personnel are generally understood the meaning of the statement to make an explanation (for example, " having system at least one in A, B and C " Should include but not limited to individually with A, individually with B, individually with C, with A and B, with A and C, with B and C, and/or System with A, B, C etc.).In the case where using similar to " in A, B or C etc. at least one " such statement, it is general come Say be generally understood the meaning of the statement to make an explanation (for example, " having in A, B or C at least according to those skilled in the art The system of one " should include but not limited to individually with A, individually with B, individually with C, with A and B, with A and C, with B and C, and/or the system etc. with A, B, C).It should also be understood by those skilled in the art that substantially arbitrarily represent two or more The adversative conjunction and/or phrase of optional project, either in specification, claims or attached drawing, shall be construed as It gives including one of these projects, the possibility of these projects either one or two projects.For example, phrase " A or B " should It is understood to include the possibility of " A " or " B " or " A and B ".
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combination can be realized by computer program instructions.These computer program instructions can be supplied to all-purpose computer, The processor of special purpose computer or other programmable data processing units, so as to which these instructions can be with when being performed by the processor Create the device for being used to implement these block diagrams and/or function/operation illustrated in flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product uses or combines instruction execution system for instruction execution system and uses.In the context of the disclosure In, computer-readable medium can be the arbitrary medium that can include, store, transmit, propagate or transmit instruction.For example, it calculates Machine readable medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium. The specific example of computer-readable medium includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Embodiment of the disclosure provides a kind of update method, by primary true restarting, by the software upgrading To the second edition, avoid continuous repeatedly version updating and user's needs is caused to be required for restarting electronics in each update The problem of equipment, and realize the effect for reducing restarting number, improve user experience.
Fig. 1 diagrammatically illustrates the schematic diagram that the second edition is updated to by first version according to the embodiment of the present disclosure.It needs It should be noted that it is only the example for the scene that can apply the embodiment of the present disclosure shown in Fig. 1, those skilled in the art to be helped to manage The technology contents of the disclosure are solved, but are not meant to that the embodiment of the present disclosure may not be usable for other equipment, system, environment or field Scape.
In some cases, for example, electronic equipment manufacture after for the first time in use, electronic equipment for a long time be not used When, it is possible that the software of electronic equipment needs the problem of repeatedly update is to upgrade to latest edition.In other cases, User may be due to uncomfortable new version etc., and it is older version to need software version update.
As shown in Figure 1, the current version of the software of electronic equipment is first version, need to undergo at least one transition version It is updated to the second edition.According to the embodiment of the present disclosure, the software of the electronic equipment can be system software can also be apply it is soft Part, system software for example can be the operating system, linux operating systems or Electronic Equipment Factory's system of deciding through consultation of windows series Various operating systems, application software for example can be shopping class application, web browser applications, searching class apply, Instant Messenger Letter tool, mailbox client, social platform software etc..In this process, is installed first on the basis of software of first version One update file, after electronic equipment restarts, a transition version comes into force, and then installs the second update file, passes through After electronic equipment restarting, next version is made to come into force.Next version can be the second edition or another transition Version.It in the case where next version is another transition version, repeats the above process, until being updated to the second edition.
It can be seen that the above process further includes each other than the primary restarting before being completed in second edition update It is repeatedly restarted caused by during transition version updating.
The method that the embodiment of the present disclosure provides is completed from first version to the second edition more by once restarting Newly, it avoids continuous repeatedly version updating and user's needs is caused to restart asking for electronic equipment one after another according to prompting Topic, improves user experience.This method is illustrated with reference to Fig. 2 to embodiment illustrated in Figure 6.
Fig. 2 diagrammatically illustrates the flow chart of the update method according to the embodiment of the present disclosure.
As shown in Fig. 2, this method includes operation S210 and S220.
In operation S210, when the software of electronic equipment is in first version, the first update file is obtained.According to the disclosure Embodiment, the use of above-mentioned first update file is dependent on first version, for example, the first update file is for by first version It is updated to the update file of transition version.
In operation S220, by primary true restarting, by the software upgrading to the second edition, wherein, described the Two versions are that the software of the first version updates file at least through the first update file and at least one second is installed It obtains.Wherein, the first update file and the second update file are in independent update, need to pass through after mounting Electronic equipment, which really restarts, could complete newer file.For example, the second update file is for by transition version updating Update file for the second edition.
According to the embodiment of the present disclosure, needed during the second edition is updated to by first version using one second more In the case of new file, this method can realize the more new task by once restarting.Is being updated to by first version It is needed during two versions in the case of using the multiple second update files, this method can again be opened by one or many It is dynamic to realize the more new task, wherein, which updates in files less than those and needs again The quantity of newer update file could be completed by starting.For example, it is desired to restarting newer update file has 5, and again The number of starts can be 4 times, 3 times, 2 times, any one of 1 time.The embodiment of the present disclosure can reduce weight during software upgrading The new number of starts, without being restarted in update file every time, it might even be possible to realize that primary restarting is completed all more New task.
Fig. 3 diagrammatically illustrates the flow chart of the update method according to another embodiment of the disclosure.
As shown in figure 3, this method includes operation S310~S330.
In operation S310, when the software of electronic equipment is in first version, the first update file and the second update are obtained File.
In operation S320, the installation first update file and the second update file.
In operation S330, really restarted by primary, by the software upgrading to the second edition.
This method is illustrated with reference to Fig. 4 and embodiment illustrated in Figure 5.
Fig. 4 is diagrammatically illustrated when being in first version according to the software in electronic equipment of the embodiment of the present disclosure, is obtained The flow chart of first update file and the second update file.
As shown in figure 4, this method includes operation S410 and S420.
Operation S410, when the software of electronic equipment be in first version, detect whether exist first update file with Second update file.The embodiment of the present disclosure detect whether there are first update file and second update file for example can be to Server sends out the request for obtaining the first update file and the second update file, and server provides the feedback information of the request, root The first update file and the second update file are determined whether there is according to feedback information.
In operation S420 in the case of there are the first update file and the second update file, first update is obtained File and the second update file.
This method can directly obtain all update files by way of detection, for example, reading the letter of current version Breath determines current version as first version, detects the version information for all versions that latest edition is updated to by current version, and Obtain all corresponding update files.For example, current version is v1.0.0, latest edition v1.2.0, current version is to newest Version between version further includes v1.0.1, v1.0.2, v1.1.0, detects and obtains current version v1.0.0 and is updated to latest edition Whole update files of all versions of this v1.2.0, such as the first update file v1.0.0-v1.0.1 and multiple second updates File v1.0.1-v1.0.2, v1.0.2-v1.1.0, v1.1.0-v1.2.0.
In some cases, the update mechanism of certain softwares can only be supported to detect adjacent new version, therefore, above-mentioned implementation Mode can not disposably obtain multiple update files.In the case of such, gather embodiment illustrated in Figure 5 below in electricity When the software of sub- equipment is in first version, the method for obtaining the first update file and the second update file is described.
Fig. 5 is diagrammatically illustrated when being in first version according to the software in electronic equipment of another embodiment of the disclosure, Obtain the flow chart of the first update file and the second update file.
As shown in figure 5, this method includes operation S510~S540.
In operation S510, when the software of electronic equipment is in first version, detect whether that there are the first update files.Its In, the use of above-mentioned first update file is dependent on first version, for first version to be updated to transition version A.The disclosure Detecting whether for embodiment for example can be that the request for obtaining the first update file is sent out to server there are the first update file, Server provides the feedback information of the request, and the first update file is determined whether there is according to feedback information.
In operation S520 in the case of there are the first update file, the first update file is obtained, for example, from clothes Business device downloads the first update file.
In operation S530, revision mark is based on the updated version of update file obtained to characterize the software This, based on the version identifier, detects whether that there are the second update files.According to the embodiment of the present disclosure, the first update text is obtained After part, based on existing version and existing update file, determine that updated version, can be by version mark for transition version A Knowledge is revised as " transition version A " or any symbol for characterizing transition version A.Based on the version identifier, can detect whether There are the second update file, the use of the second update file dependent on version corresponding with version identifier, for by the version more It is newly next version, such as transition version B or the second edition etc..
In operation S540 in the case of there are the described second update file, the second update file is obtained.
According to the embodiment of the present disclosure, operation S530 and S540 can be repeated, until there is no the second new update texts Until part, to obtain the update file of latest edition.
The method that the embodiment provides is identified by revision, and can solve some softwares can only obtain adjacent update File, and the problem of can not disposably obtain multiple update files so that in the case that true newer, obtain multiple updates File.
Fig. 6 is diagrammatically illustrated according to the embodiment of the present disclosure through primary true restarting, by the software upgrading To the flow chart of the second edition.
As shown in fig. 6, this method includes operation S610~S650.
In operation S610, installation the first update file.
S620 is being operated, by virtually restarting, by the software upgrading to transition version, wherein, described virtual The electronic equipment is kept to be powered during restarting.
In operation S630, detect and obtain the second update file.
In operation S640, installation the second update file.
S650 is being operated, by really restarting, by the software upgrading to the second edition.
This method detects during installation the first update file and obtains the second update file, improves system work effect Rate reduces the stand-by period of user.
According to the embodiment of the present disclosure, do not restarted really comprising described in the instruction set virtually restarted Power-off in instruction set and instruction is powered on, therefore, in the virtual restarting procedure, the portion unrelated with software version update Divide and normal offer service is provided.
It is described by virtually restarting according to the embodiment of the present disclosure, the software upgrading to transition version is included, After the virtual restarting starts, the display unit of the electronic equipment is controlled to show restarting interface set.The inspection It surveys and obtains the second update file, installation the second update file includes, in the mistake for keeping the display restarting interface set Cheng Zhong obtains the second update file, and installs the second update file.The restarting interface set can include one or Multiple interface images, for example, the image of a display " update ", alternatively, being selected by user and being loaded previously into system Video etc..
According to the embodiment of the present disclosure, the method further includes, and during the virtual restarting, controls the electricity The display unit of sub- equipment shows the first prompt message, to prompt the progress of software upgrading.For example, at the restarting interface On each interface image in set, include a update progress bar, to prompt the update progress of user's current system.
According to the embodiment of the present disclosure, the method further includes, after by the software upgrading to the second edition, control electricity The display unit of sub- equipment shows the second prompt message, second edition update to be prompted to finish.For example, display update finish carry Show frame or the picture that displaying simulation really restarts, the second edition is successfully updated to for user to be made to understand system.
This method by display interface by building the effect once restarted, but its tangible execution of backstage is downloaded and updated The process of file and/or the multiple versions of update, makes user only see the display interface, and shields the unwanted redundancy letter of user Breath simplifies vision renewal process, improves the more new experience of user.
In accordance with an embodiment of the present disclosure, during virtual restarting, electronic equipment can be shielded should from other The output of prompt message, for example, reminder events such as incoming call, alarm clock etc., to simulate true restarting procedure, avoid to Bring puzzlement in family.Those prompt messages can be shown after the completion of update, to avoid user's miss critical information.
In accordance with an embodiment of the present disclosure, when virtual restarting starts, electronic equipment, which can stop performing, to be carrying out Task, such as compression, download, the broadcasting etc. of file, to simulate true restarting procedure.Optionally, those tasks also may be used It is handled with pause, after the completion of software upgrading, continues to execute or prompt user can continue to execute.
Fig. 7 diagrammatically illustrates the block diagram of the information processing system 700 according to the embodiment of the present disclosure.
As shown in fig. 7, the information processing system 700 includes acquisition module 710 and update module 720.
Acquisition module 710, such as perform above with reference to the described operation S210 of Fig. 2, in the software of electronic equipment During in first version, the first update file is obtained.
Update module 720, such as perform above with reference to the described operation S220 of Fig. 2, for pass through it is primary it is true again Start, by the software upgrading to the second edition, wherein, the second edition is the software of the first version at least through peace It fills the first update file and at least one second and updates what file obtained.
Wherein, the first update file and the second update file are in independent update, need to lead to after mounting Newer file could be completed by crossing electronic equipment and really restarting.
Fig. 8 diagrammatically illustrates the block diagram of the information processing system 800 according to another embodiment of the disclosure.
As shown in figure 8, the information processing system 800 includes acquisition module 710 and update module 720.The acquisition module 710 include the first acquisition submodule 810, and the update module 720 includes the first installation submodule 820 and first and updates submodule 830。
First acquisition submodule 810, such as perform above with reference to the described operation S310 of Fig. 3, in electronic equipment Software when being in first version, obtain the first update file and the second update file.
First installation submodule 820, such as performs above with reference to the described operation S320 of Fig. 3, for installing described the One update file and the second update file.
First update submodule 830, such as perform above with reference to the described operation S330 of Fig. 3, it is primary true for passing through Real restarting, by the software upgrading to the second edition.
Fig. 9 diagrammatically illustrates the block diagram of the first acquisition submodule 810 according to the embodiment of the present disclosure.
As shown in figure 9, first acquisition submodule 810 includes first detection unit 910 and first acquisition unit 920.
First detection unit 910, such as perform above with reference to the described operation S410 of Fig. 4, in electronic equipment When software is in first version, detect whether that there are the first update files and the second update file.
First acquisition unit 920, such as perform above with reference to the described operation S420 of Fig. 4, for there are first more In the case of new file and the second update file, the first update file and the second update file are obtained.
Figure 10 diagrammatically illustrates the block diagram of the first acquisition submodule 810 according to another embodiment of the disclosure.
As shown in Figure 10, first acquisition submodule 810 include second detection unit 1010, second acquisition unit 1020, Third detection unit 1030 and third acquiring unit 1040.
Second detection unit 1010, such as perform above with reference to the described operation S510 of Fig. 5, in electronic equipment When software is in first version, detect whether that there are the first update files.
Second acquisition unit 1020, such as perform above with reference to the described operation S520 of Fig. 5, for there are first more In the case of new file, the first update file is obtained.
Third detection unit 1030, such as perform above with reference to the described operation S530 of Fig. 5, it is identified for revision It is based on the updated version of update file obtained to characterize the software, based on the version identifier, detects whether to deposit File is updated second.
Third acquiring unit 1040, such as perform above with reference to the described operation S540 of Fig. 5, for there are described In the case of two update files, the second update file is obtained.
Figure 11 diagrammatically illustrates the block diagram of the update module 720 according to the embodiment of the present disclosure.
As shown in figure 11, which includes the second installation update of submodule 1110, second submodule 1120, inspection Survey submodule 1130, third installation submodule 1140 and third update submodule 1150.
Second installation submodule 1110, such as performs above with reference to the described operation S610 of Fig. 6, for installing described the One update file.
Second update submodule 1120, such as perform above with reference to the described operation S620 of Fig. 6, by virtually opening again It is dynamic, by the software upgrading to transition version, wherein, the electronic equipment is kept to lead to during the virtual restarting Electricity.
Detection sub-module 1130, such as perform above with reference to the described operation S630 of Fig. 6, for detecting and obtaining second Update file.
Third installs submodule 1140, such as performs above with reference to the described operation S640 of Fig. 6, for installing described the Two update files.
Third updates submodule 1150, such as performs above with reference to the described operation S650 of Fig. 6, is really weighed for passing through It is new to start, by the software upgrading to the second edition.
According to the embodiment of the present disclosure, do not restarted really comprising described in the instruction set virtually restarted Power-off in instruction set and power on instruction.
According to the embodiment of the present disclosure, the second update submodule includes control unit, for virtually being opened again described After dynamic beginning, the display unit of the electronic equipment is controlled to show restarting interface set.The detection sub-module includes the Four acquiring units, for during the display restarting interface set is kept, obtaining the second update file.Described Three installation submodules include installation unit, during showing restarting interface set in holding, described in installation Second update file.
According to the embodiment of the present disclosure, the system also includes the first control module, for virtually being restarted described In the process, the display unit of the electronic equipment is controlled to show the first prompt message, to prompt the progress of software upgrading.
According to the embodiment of the present disclosure, the system also includes the second control module, for by the software upgrading to After two versions, the display unit of control electronics shows the second prompt message, second edition update to be prompted to finish.
It is understood that above-mentioned module may be incorporated in a module and realize or any one module therein Multiple modules can be split into.Alternatively, at least part function of one or more of these modules module can be with other At least part function of module is combined, and is realized in a module.According to an embodiment of the invention, above-mentioned mould is in the block extremely Few one can at least be implemented partly as hardware circuit, such as field programmable gate array (FPGA), programmable logic battle array Arrange (PLA), system on chip, the system on substrate, the system in encapsulation, application-specific integrated circuit (ASIC) or can be with to circuit The hardware such as any other rational method that is integrated or encapsulating or firmware are carried out to realize or with software, hardware and firmware three The appropriately combined of kind of realization method is realized.Alternatively, at least one of above-mentioned module can at least be implemented partly as counting Calculation machine program module when the program is run by computer, can perform the function of corresponding module.
Figure 12 diagrammatically illustrates the block diagram of the electronic equipment 1200 using update method according to the embodiment of the present disclosure.
As shown in figure 12, electronic equipment 1200 includes processor 1210 and computer readable storage medium 1220 electronics is set Standby 1200 can perform the method described above with reference to Fig. 2~Fig. 6.
Specifically, processor 1210 can for example include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, application-specific integrated circuit (ASIC)), etc..Processor 1210 can also include caching The onboard storage device of purposes.Processor 1210 can be performed for reference to 2~Fig. 6 of figure describe according to the embodiment of the present disclosure Single treatment unit either multiple processing units of the different actions of method flow.
Readable storage medium storing program for executing 1220, such as can be arbitrary Jie that can include, store, transmit, propagate or transmit instruction Matter.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device Or propagation medium.The specific example of readable storage medium storing program for executing includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage fills It puts, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Readable storage medium storing program for executing 1220 can include computer program 1221, the computer program 1221 can include code/ Computer executable instructions, when being performed by processor 1210 so that processor 1210 is performed for example above in conjunction with Fig. 2~Fig. 6 Described method flow and its any deformation.
Computer program 1221 can be configured with such as computer program code including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 1221 can include one or more program modules, such as including 1221A, module 1221B ....It should be noted that the dividing mode and number of module are not fixed, those skilled in the art It can be combined according to actual conditions using suitable program module or program module, when these program modules are combined by processor 1210 when performing so that processor 1210 can be performed for example above in conjunction with described method flows of Fig. 2~Fig. 6 and its any Deformation.
In accordance with an embodiment of the present disclosure, processor 1210 can be performed above in conjunction with the described method flows of Fig. 2~Fig. 6 And its any deformation.
According to an embodiment of the invention, at least one of modules as described above can be implemented as what is described with reference to figure 12 Computer program module when being performed by processor 1210, can realize corresponding operating described above.
According to an embodiment of the invention, a kind of nonvolatile machine-readable media, is stored with machine readable instructions above, should Instruction is when being executed by processor, can realize according to it is as described above according to the method for the embodiment of the present invention.
The many features of the present invention can hardware, software, firmware or combination assistance under, use hardware, software, solid Part or combination performs.Therefore, feature of the invention can be realized using processing system.Example processing system include but It is not limited to one or more general purpose microprocessors (such as single or multiple core processor), application-specific integrated circuit, at special instruction set Manage device, field programmable gate array, graphics processing unit, physical processing unit, digital signal processing unit, coprocessor, net Network processing unit, audio treatment unit, cryptographic processing unit etc..
It will be understood by those skilled in the art that the feature described in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist In the case of not departing from disclosure spirit or teaching, the feature described in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described with reference to the certain exemplary embodiments of the disclosure Personnel it should be understood that in the case of the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents, A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.

Claims (10)

1. a kind of update method, including:
When the software of electronic equipment is in first version, the first update file is obtained;
It is really restarted by primary, by the software upgrading to the second edition, wherein, the second edition is described first The software of version updates what file obtained at least through the first update file and at least one second is installed,
Wherein, the first update file and the second update file are in independent update, need to pass through electricity after mounting Sub- equipment, which really restarts, could complete newer file.
2. according to the method described in claim 1, wherein,
When the software in electronic equipment is in first version, obtains the first update file and include:
When the software of electronic equipment is in first version, the first update file and the second update file are obtained,
It is described really to be restarted by primary, the software upgrading to the second edition is included:
The first update file and the second update file are installed;
By primary true restarting, by the software upgrading to the second edition.
3. according to the method described in claim 2, wherein, when the software in electronic equipment is in first version, the is obtained One update file and the second update file include:
When the software of electronic equipment is in first version, detect whether that there are the first update files and the second update file;
In the case of there are the first update file and the second update file, the first update file and described second is obtained more New file.
4. according to the method described in claim 2, wherein, when the software in electronic equipment is in first version, the is obtained One update file and the second update file include:
When the software of electronic equipment is in first version, detect whether that there are the first update files;
In the case of there are the first update file, the first update file is obtained;
Revision mark is based on the updated version of update file obtained, based on the version to characterize the software Mark detects whether that there are the second update files;
In the case of there are the described second update file, the second update file is obtained.
It is described by primary true restarting 5. according to the method described in claim 1, wherein, by the software upgrading extremely The second edition includes:
The first update file is installed;
By virtually restarting, by the software upgrading to transition version, wherein, during the virtual restarting The electronic equipment is kept to be powered;
It detects and obtains the second update file;
The second update file is installed;
By really restarting, by the software upgrading to the second edition.
6. it according to the method described in claim 5, does not include wherein, in the instruction set virtually restarted described true Power-off in the instruction set of restarting and power on instruction.
7. according to the method described in claim 5, wherein,
It is described by virtually restarting, the software upgrading to transition version is included:
After the virtual restarting starts, the display unit of the electronic equipment is controlled to show restarting interface set,
Described to detect and obtain the second update file, installation the second update file includes:
During the display restarting interface set is kept, the second update file is obtained, and install described second more New file.
8. it according to the method described in claim 5, further includes:
During the virtual restarting, the display unit of the electronic equipment is controlled to show the first prompt message, with Prompt the progress of software upgrading;Or
After by the software upgrading to the second edition, the display unit of control electronics shows the second prompt message, with Prompting second edition update finishes.
9. a kind of information processing system, including:
Acquisition module, for when the software of electronic equipment is in first version, obtaining the first update file;
Update module, for passing through primary true restarting, by the software upgrading to the second edition, wherein, described second Version is that the software of the first version is obtained at least through the installation first update file and at least one second update file It arrives,
Wherein, the first update file and the second update file are in independent update, need to pass through electricity after mounting Sub- equipment, which really restarts, could complete newer file.
10. a kind of electronic equipment, including:
Processor;And
Memory is stored thereon with computer-readable instruction, when described instruction is executed by processor so that processor:
When the software of electronic equipment is in first version, the first update file is obtained;
It is really restarted by primary, by the software upgrading to the second edition, wherein, the second edition is described first The software of version updates what file obtained at least through the first update file and at least one second is installed,
Wherein, the first update file and the second update file are in independent update, need to pass through electricity after mounting Sub- equipment, which really restarts, could complete newer file.
CN201810003777.1A 2018-01-02 2018-01-02 Update method, information processing system and electronic equipment Pending CN108228216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810003777.1A CN108228216A (en) 2018-01-02 2018-01-02 Update method, information processing system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810003777.1A CN108228216A (en) 2018-01-02 2018-01-02 Update method, information processing system and electronic equipment

Publications (1)

Publication Number Publication Date
CN108228216A true CN108228216A (en) 2018-06-29

Family

ID=62642685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810003777.1A Pending CN108228216A (en) 2018-01-02 2018-01-02 Update method, information processing system and electronic equipment

Country Status (1)

Country Link
CN (1) CN108228216A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189442A (en) * 2018-09-30 2019-01-11 联想(北京)有限公司 Update method, system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014744A1 (en) * 2001-03-07 2003-01-16 Stefan Doll Method of checking at least one software application installed on a data processing sytstem
CN102650947A (en) * 2012-04-01 2012-08-29 广东欧珀移动通信有限公司 Continuous increment over-the-air upgrade method of Android handheld equipment
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN106843946A (en) * 2017-01-04 2017-06-13 努比亚技术有限公司 A kind of firmware update and terminal
CN107220060A (en) * 2017-06-15 2017-09-29 福州汇思博信息技术有限公司 It is a kind of while supporting the method and system of multiple OTA AKUs upgrading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014744A1 (en) * 2001-03-07 2003-01-16 Stefan Doll Method of checking at least one software application installed on a data processing sytstem
CN102650947A (en) * 2012-04-01 2012-08-29 广东欧珀移动通信有限公司 Continuous increment over-the-air upgrade method of Android handheld equipment
CN105677398A (en) * 2015-12-31 2016-06-15 中海网络科技股份有限公司 Universal embedded computer software on-line upgrading method
CN106843946A (en) * 2017-01-04 2017-06-13 努比亚技术有限公司 A kind of firmware update and terminal
CN107220060A (en) * 2017-06-15 2017-09-29 福州汇思博信息技术有限公司 It is a kind of while supporting the method and system of multiple OTA AKUs upgrading

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189442A (en) * 2018-09-30 2019-01-11 联想(北京)有限公司 Update method, system and electronic equipment
CN109189442B (en) * 2018-09-30 2022-03-25 联想(北京)有限公司 Updating method, system and electronic equipment

Similar Documents

Publication Publication Date Title
US10156971B2 (en) Automatic deployment, configuration, and lifecycle management of applications and infrastructure components
US20100281475A1 (en) System and method for mobile smartphone application development and delivery
US20120167090A1 (en) Hypervisor for starting a virtual machine
CN107291481B (en) Component updating method, device and system
CN108196915A (en) Code process method, equipment and storage medium based on application container engine
US20110191431A1 (en) Method and system for updating display screens
US11132911B2 (en) Methods, systems, and computer readable media for providing word learning
US11507856B2 (en) Method and apparatus for updating application
CN110727575B (en) Information processing method, system, device and storage medium
CN109471647B (en) Data updating method and device, electronic equipment and readable medium
CN107463406A (en) Issue the method and electronic equipment of Mobile solution
CN106504026A (en) A kind of data capture method and device
CN103997684A (en) Method and device for updating operating system
CN111240730A (en) Application program updating method and device
CN112230944B (en) Application installation method, device, electronic equipment and computer readable medium
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN112835568A (en) Project construction method and device
CN114489704A (en) Version compiling and deploying method and device based on strategy
CN108228216A (en) Update method, information processing system and electronic equipment
CN112732265B (en) Data processing method and related device
CN104077168A (en) Method and device for updating operation systems for terminal
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system
CN116756016A (en) Multi-browser testing method, device, equipment, medium and program product
CN111625291A (en) Automatic iteration method and device of data processing model and electronic equipment
CN111124634A (en) Training method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination