[go: up one dir, main page]

CN108920161A - Software updating method, device and equipment and readable storage medium - Google Patents

Software updating method, device and equipment and readable storage medium Download PDF

Info

Publication number
CN108920161A
CN108920161A CN201810623052.2A CN201810623052A CN108920161A CN 108920161 A CN108920161 A CN 108920161A CN 201810623052 A CN201810623052 A CN 201810623052A CN 108920161 A CN108920161 A CN 108920161A
Authority
CN
China
Prior art keywords
software
freezing point
update
updated
target 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
CN201810623052.2A
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810623052.2A priority Critical patent/CN108920161A/en
Publication of CN108920161A publication Critical patent/CN108920161A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本发明提供一种软件更新方法、装置及设备、可读存储介质,所述方法包括:获取系统关闭指令;检测目标软件是否需要更新;判断冰点还原软件是否处于工作状态;如果所述目标软件需要更新,且所述冰点还原软件处于工作状态,则关闭所述冰点还原软件,并触发系统重启操作;在系统重启后,对所述目标软件进行更新,并触发系统关闭操作。实施本发明实施例,在获取系统关闭指令后,如果确定目标软件需要更新,且冰点还原软件处于工作状态,通过关闭冰点还原软件,并在重启系统后针对需要更新的目标软件进行更新,无需用户对冰点还原软件进行反复的关闭和启动操作,便可以在尽量不影响冰点还原软件保护系统的同时,自动更新软件。

The present invention provides a software update method, device and equipment, and a readable storage medium. The method includes: obtaining a system shutdown command; detecting whether the target software needs to be updated; judging whether the freezing point restoration software is in a working state; update, and the freezing point restoration software is in a working state, then close the freezing point restoration software, and trigger a system restart operation; after the system restarts, update the target software, and trigger a system shutdown operation. Implement the embodiment of the present invention, after obtaining the system shutdown command, if it is determined that the target software needs to be updated, and the freezing point restoration software is in a working state, by closing the freezing point restoration software, and after restarting the system, update the target software that needs to be updated without the need for the user By repeatedly shutting down and starting the freezing point restoration software, the software can be updated automatically while the protection system of the freezing point restoration software is not affected as much as possible.

Description

Oftware updating method, device and equipment, readable storage medium storing program for executing
Technical field
The present invention relates to field of computer technology more particularly to Oftware updating methods, device and equipment, readable storage medium Matter.
Background technique
It is soft that freezing point reduction is installed in order to resist the invasion and artificial intentional or unintentional destruction of virus, in many equipment Part.It, can be with moment by system reducing to the original state (ice of user setting after system starts freezing point reduction software in equipment Point), so that system be protected not to be modified, the invasion or artificial destruction of virus are resisted well.
In addition, other software are under (or when in running order) freezing point reduction software starting state in system, under update The data packet of load and the data that disk is written can all be removed after system be again started up freezing point reduction software.This is resulted in The every starting of system freezing point reduction, user need its commonly used software upgrading is primary, and the update meeting repeatedly of software Expend more device resource.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of Oftware updating method, device and equipment, readable storage medium storing program for executing, with Solve the problems, such as that the system repeatedly for being equipped with freezing point reduction software updates other software and can expend more device resource.
According to the first aspect of the invention, a kind of Oftware updating method, including step are provided:
Obtain system-off instruction;
Whether detection target software needs to update;
Judge whether freezing point reduction software is in running order;
If the target software needs to update, and freezing point reduction software is in running order, then closes the ice Point reduction software, and trigger system reset operation;
After system reboot, the target software is updated, and triggers system shutoff operation.
In one embodiment, if the target software does not need to update, system shutoff operation is triggered;
If the target software needs to update, and freezing point reduction software is not in working condition, then to the mesh Mark software is updated, and triggers system shutoff operation.
In one embodiment, if the target software does not need to update, system shutoff operation is directly triggered.
In one embodiment, before triggering system shutoff operation, the method also includes:
Obtain the software configuration of the freezing point reduction software;
It determines the need for starting the freezing point reduction software based on the software configuration;
If necessary to start the freezing point reduction software, then start the freezing point reduction software.
In one embodiment, whether the detection target software needs to update, including:
Judge whether to receive the request for updating the target software;
If received, it is determined that the target software needs to update.
In one embodiment, whether the detection target software needs to update, including:
Obtain the update configuration of the target software;
Whether need to carry out software upgrading according to target software described in the update configuration determination.
In one embodiment, if the target software needs to update, the method also includes:
Output updates the confirmation prompt of target software;
Update confirmation instruction is not received in predetermined period, then directly triggers system shutoff operation;
Judge the whether in running order step of freezing point reduction software, receives update confirmation instruction in scheduled time slot Shi Zhihang.
In one embodiment, the above method is applied to the application software of operating system or auxiliary mark software upgrading.
In one embodiment, when the above method is applied to the application software of auxiliary mark software upgrading, the acquisition system System out code, including:
Intercept and capture the system-off instruction sent to operating system.
According to the second aspect of the invention, a kind of software renewing apparatus is provided, including:
Instruction acquisition module, for obtaining system-off instruction;
Detection module is updated, for detecting whether target software needs to update;
Judgment module is restored, for judging whether freezing point reduction software is in running order;
Restart trigger module, for needing to update in target software, and the freezing point reduction software it is in running order when, The freezing point reduction software is closed, and triggers system reset operation;
Trigger module is closed, for being updated to the target software after system reboot, and system is triggered and closes behaviour Make.
According to the third aspect of the invention we, a kind of computer equipment is provided, including:
Processor;
The memory of storage processor executable instruction;
Wherein, the processor is coupled in the memory, for reading the program instruction of the memory storage, and makees For response, the operation in method as described above is executed.
According to the fourth aspect of the invention, one or more machine readable storage mediums are provided, instruction is stored thereon with, when When being performed by one or more processors, so that computer equipment executes the operation in method as described above.
Implement embodiment provided by the invention, after obtaining system-off instruction, if it is determined that target software needs to update, And freezing point reduction software is in running order, can restore software by closing freezing point, be directed to after restarting system and need to update Target software be updated, without user to freezing point reduction software carry out repeatedly be turned off and on operation, can be not While influencing freezing point reduction security system for software, target software is automatically updated.In addition, after getting system-off instruction, It is updated the operation of target software, interference of the software upgrading to user can be effectively reduced.
Detailed description of the invention
Figure 1A is the flow chart of the Oftware updating method shown in an exemplary embodiment of the invention;
Figure 1B is the flow chart of the Oftware updating method shown in another exemplary embodiment of the present invention;
Fig. 1 C is the flow chart of the Oftware updating method shown in another exemplary embodiment of the present invention;
Fig. 2 is the flow chart of the Oftware updating method shown in another exemplary embodiment of the present invention;
Fig. 3 is the flow chart of the Oftware updating method shown in another exemplary embodiment of the present invention;
Fig. 4 is the block diagram of the software renewing apparatus shown in an exemplary embodiment of the invention;
Fig. 5 is the hardware structure diagram of the computer equipment shown in an exemplary embodiment of the invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention. It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In practical application, if being mounted with that freezing point restores software in computer equipment, and start freezing point reduction software Afterwards, freezing point reduction software is in running order, and at which during working condition, the system either in computer equipment is soft Part or application software (Application Software is abbreviated as APP, or referred to as application program), even if having carried out soft Part updates, and when next freezing point reduction software is activated, therefore the state that the software of update can still be restored to before updating can go out Software is now updated repeatedly, returns to the situation of state before updating repeatedly, while wasting more device resource, can give the work of user Make and life brings interference, such as:User requires triggering using APP every time and updates the operation of APP to some identical version.
In order to avoid updating software repeatedly, when needing to update software, freezing point reduction software can also be turned off manually in user, Then software is updated again, after updating software, in order to protect system, it is also necessary to which manually opened freezing point restores software again.This side Although formula can avoid the update repeatedly of software to a certain extent, there is still a need for users to carry out complicated turning off or on ice The operation of point reduction software, especially has a large amount of softwares to need to update, and when the renewal time difference of different software, the behaviour of user It measures more greatly, while wasting device resource, is interfered caused by the work and life of user also very big.
And the problem of being directed to above-mentioned software upgrading mode, the embodiment of the invention provides a kind of software upgrading sides Method, the update method can make operating system not execute the operation of closing system first, true when system-off instruction is triggered After the software that sets the goal needs to update, and freezing point reduction software is in running order, software is restored by closing freezing point, makes freezing point also After original state is in off working state, then software to be updated is updated, system is closed after update, makes ice automatically before being powered off in this way After point reducing condition is in off working state, then automatic software update, the update repeatedly of software can have both been reduced, can also have been reduced Interference of the software upgrading to user can also avoid influencing protection of the freezing point reduction software to system as far as possible.Below in conjunction with attached drawing The software upgrading process of the lower embodiment of the present invention is described in detail:
Figure 1A is please referred to, Figure 1A is the flow chart of the Oftware updating method shown in an exemplary embodiment of the invention, the reality Applying example can be applied in computer equipment, include the following steps S101-S105:
Step S101, system-off instruction is obtained.
Step S102, whether detection target software needs to update, and judges whether freezing point reduction software is in running order.
If step S103, the described target software needs to update, and freezing point reduction software is in running order, then closes The freezing point reduction software is closed, and triggers system reset operation.
Step S104, after system reboot, the target software is updated.
Step S105, system shutoff operation is triggered.
The computer equipment of application of the embodiment of the present invention, can be the various computer equipments with software upgrading ability, Such as personal computer, laptop computer, cellular phone, camera phone, smart phone, media player, learning machine, teaching All-in-one machine etc., teaching one-piece can be electronic blackboard, electronic whiteboard or other intelligent handwriting boards for being used to impart knowledge to students.These are calculated Various softwares can be installed in machine equipment, as operating system, driver, application software (Application Software, It is abbreviated as APP, or referred to as application program).
Under normal circumstances, if system software contained by computer equipment internal operating system needs to update, such as:Language Processing Procedure, data library system, system secondary treatment system etc. can be assisted its system software to be updated by operating system;If APP needs to update in computer equipment, such as:Instant messaging APP, shopping APP, documents editing APP etc., can be by auxiliary software more New APP helps the APP for needing to update to be updated, and the APP of auxiliary software upgrading mentioned herein is such as:Peace in personal computer The computer house keeper of dress.
And the embodiment of the present invention can be adapted for the scene for updating system software, use the embodiment of the present invention by operating system Oftware updating method, realize the update of system software;It is readily applicable to update the scene of APP, by auxiliary software upgrading APP uses the Oftware updating method of the embodiment of the present invention, realizes the update of APP.It can be applicable to the field of driver update Scape is used the Oftware updating method of the embodiment of the present invention by the APP of auxiliary software upgrading, it is helped to update .sys file, or Registration table etc. is further modified, realizes the update of driver.In addition, the embodiment of the present invention can be applicable to other scenes, It is without limitation.
In computer equipment operational process, if receiving the update request of certain softwares, operating system or this is assisted These can be updated the more new information that request carries by the APP of a little software upgradings, these corresponding softwares are added to scheduled update In list, these softwares are not updated first.Received update request can be sent by the software server of these softwares, It can also be triggered by user.
It (may also be referred to as shutting down in user's triggering, the triggering of timing shutdown program or other software triggering system-off instruction Instruction) when, the embodiment of the present invention is available to arrive system-off instruction, avoids operating system from executing the operation of closing system, so Whether detection target software needs to update afterwards, and judges whether freezing point reduction software is in running order, if the target Software does not need to update, then triggers the operation of closing system;If the target software needs to update, and freezing point reduction is soft Part is not in working condition, then is updated to the target software, and triggers system shutoff operation.Target mentioned herein is soft Part helps the scene for realizing update if it is operating system by specifically more new scene is determined, target software can refer to that system is soft Part, the scene of update is realized if it is the APP help with auxiliary software upgrading, and target software can be the APP and can support The software of (renewal authority is developed to it).
Under different scenes, the operation whether above-mentioned detection target software needs to update, and judge freezing point The whether in running order operation of software is restored, can be executed respectively, when execution can be performed in different.
When practical operation, detection target can be first carried out according to implementation strategy one, as shown in Figure 1B after step S1011 The operation (step S1021) whether software needs to update if the target software needs to update, then executes and judges that freezing point restores The whether in running order operation (step S1022) of software, if it is in running order, then execute and close the freezing point reduction Software, and trigger the operation (step S1031) of system reboot, after system reboot, the behaviour that the target software is updated Make (step S1041) and triggering system shutoff operation (step S1051);It, can be with if the target software does not need to update Step S1022, step S1031 to step S1041 are no longer executed, directly execution step S1051.
In addition it is also possible to according to implementation strategy two, as Fig. 1 C is first carried out after step S1012 and judged that freezing point restores software Whether in running order operation (step S1023), then execute the detection target software operation (step that whether needs to update S1024), if the target software needs to update, and freezing point reduction software is in running order, then executes described in closing Freezing point restores software, and triggers the operation (step S1032) of system reboot, after system reboot, carries out to the target software The operation (step S1042) and triggering system shutoff operation (step S1052) of update;If the freezing point reduction software is in Off working state, and the target software needs to update, and can not execute and execute step S1032 and step S1042 step, directly The target software is updated, step S1052 is then executed.
In some examples, whether detection target software needs to update, and can be realized by following operation:
Whether judgement currently receives the request for updating the target software.
If received, it is determined that the target software needs to update.
In this example, the request for updating the target software can be by target software server triggers, target software service Device can regularly send the request, and the request can also be retransmited when detecting that system-off instruction is triggered.
In addition, updating the request of the target software can also be triggered by user, under certain situations, the target software can It, can also be when detecting that system-off instruction is triggered with timing output software upgrading prompt, output software updates prompt, uses When family prompts confirmation to update according to the update, the request for updating the target software is retransmited.
In other examples, whether detection target software needs to update, and can be realized by following operation:
Inquire scheduled update list.
If containing target software in scheduled update list, it is determined that the target software needs to update.
In other examples, whether detection target software needs to update, and can be realized by following operation:
Obtain the update configuration of the target software.
Whether need to carry out software upgrading according to target software described in the update configuration determination.
In this implementation, when obtaining the update configuration of the target software, more new configuration file config.ini can be read The value of middle DeepFreezeUpdate, if DeepFreezeUpdate predetermined value, it is determined that the target software needs to carry out Otherwise software upgrading does not need to be updated.The predetermined value can be arranged according to actual scene, such as be arranged to update.
Under certain scenes, be not desired to the software updated in order to avoid updating user, can when determining that target is soft and needing to update, The confirmation prompt of target software is updated out;If not receiving update confirmation instruction in predetermined period, directly triggering system is closed Closed operation.If receiving update confirmation instruction in scheduled time slot, then executes and judge whether freezing point reduction software is in work The step of state, predetermined period mentioned herein can be arranged according to the actual situation, such as be set as 2 seconds.
In practical application, judge freezing point reduction software whether be in off working state when, can in inquiry system Whether the software of operation includes freezing point reduction software, if comprising, it is determined that it is in running order that freezing point restores software;If no Include, it is determined that freezing point reduction software is in off working state, can directly trigger the operation of closing system.If being in work State can close freezing point and restore software, make at freezing point reduction software by calling freezing point to restore the routine interface of software development In off working state, then in order to avoid the off working state of freezing point reduction software does not come into force, system reset operation can be triggered, So that operating system executes system and closes the operation restarted.After restarting system, freezing point reduction software is in off working state, so After update target software.When practical update target software, it can be requested according to the update configuration or software upgrading of target software The information of carrying, is updated target software.System shutoff operation is triggered after the completion of updating again.
As can be seen from the above embodiments, the method for the embodiment of the present invention can be adapted for the scene of system software update, can also To be suitable for the scene that APP updates, in the scene of system software update, the operation for obtaining system-off instruction can refer to:Operation System receives system-off instruction.Triggering system is closed or the operation of system reboot, is directly executed by operating system.
Under other scenes, for example, the scene that APP updates, after being triggered in order to avoid system-off instruction, operating system Execution system shutoff operation, can be by the APP interception system out code of auxiliary software upgrading, so that operating system temporarily receives System shutoff operation is not executed less than system-off instruction, therefore temporarily, then assists the APP of software upgrading to execute the present invention real The Oftware updating method of example is applied, actual realization process is referred to Fig. 2, and Fig. 2 is that an exemplary embodiment of the invention is shown The flow chart of Oftware updating method, the embodiment can be applied in computer equipment, include the following steps S201-S206:
Step S201, the system-off instruction sent to operating system is intercepted and captured.
Step S202, whether detection target software needs to update, if so, thening follow the steps S203.In other examples, If not, step S206 can be executed directly.
Step S203, judge whether freezing point reduction software is in running order, if so, thening follow the steps S204.At it In his example, if not, target software can directly be updated, step S206 is then executed.
Step S204, it closes the freezing point and restores software, and send system reboot instruction to the operating system.
Step S205, after system reboot, the target software is updated.
Step S206, system-off instruction is sent to the operating system.
The technology contents of the present embodiment are corresponding to the technology contents in embodiment involved in Figure 1A, Figure 1B or Fig. 1 C, This is repeated no more.The difference is that:System-off instruction is intercepted and captured by the APP of auxiliary software upgrading, closes behaviour in triggering system When making, system-off instruction is sent again from the APP of auxiliary software upgrading to operating system, operating system receives system pass System shutoff operation is executed after closing instruction.When triggering system reset operation, sent out from the APP of auxiliary software upgrading to operating system System reboot is sent to instruct, operating system executes system reset operation after receiving system reboot instruction.
As can be seen from the above embodiments, in order to avoid updating software repeatedly, the embodiment of the present invention closes freezing point reduction software, If not setting the program of automatic starting freezing point reduction software when system is again started up after closing freezing point reduction software, During user uses computer equipment, it is likely that poisoning intrusion and artificial intentionally or accidentally destruction of computer systems occur Situation can judge whether to need to start freezing point reduction before triggering system shutoff operation in order to avoid the generation of the situation Software, the process of realization can be the flow chart of the Oftware updating method shown in an exemplary embodiment of the invention refering to Fig. 3, Fig. 3, The embodiment can be applied in computer equipment, include the following steps S301-S309:
Step S301, system-off instruction is obtained.
Step S302, whether detection target software needs to update, if so, thening follow the steps S303.In other examples, If not, step S309 can be executed directly.
Step S303, judge whether freezing point reduction software is in running order, if so, thening follow the steps S304.At it In his example, if not, target software can directly be updated, step S309 is then executed.
Step S304, it closes the freezing point and restores software, and trigger system reset operation.
Step S305, after system reboot, the target software is updated and executes step S306.
Step S306, the software configuration of the freezing point reduction software is obtained.
Step S307, it determines the need for starting the freezing point reduction software based on the software configuration.
Step S308, start the freezing point reduction software if necessary, then start the freezing point reduction software, and execute step Rapid S309.
Step S309, system shutoff operation is triggered.
The step of the present embodiment, is corresponding to the technology contents in embodiment involved in Figure 1A, Figure 1B, Fig. 1 C or Fig. 2, This is repeated no more.The difference is that needing to restore the software configuration of software according to freezing point before triggering system shutoff operation, sentencing It is disconnected whether to need to start freezing point reduction software.
And when obtaining the software configuration of freezing point reduction software, the configuration information in config.ini file can be read, such as Fruit configuration information is consistent with the scheduled starting freezing point reduction information of software, it is determined that needs to start freezing point reduction software.Not The information of scheduled starting freezing point reduction software may be different under same scene, such as:When configuration information key=value, really Surely need to start freezing point reduction software;Or when configuration information Start=True, determines and need to start freezing point reduction software.? Other scenes can set other configurations information according to actual scene demand, and the embodiment of the present invention is without limitation.
From Figure 1A into Fig. 3 any embodiment being related to:Peace either in system software update scene or equipment The more new scene of the APP of dress, the embodiment of the present invention is after obtaining system-off instruction, if it is determined that and target software needs to update, And freezing point reduction software is in running order, can restore software, starting system of laying equal stress on, for needing to update by closing freezing point Target software be updated.It is therefore not necessary to user to freezing point reduction software carry out repeatedly be turned off and on operation, Ke Yi While not influencing freezing point reduction security system for software, target software is automatically updated.In addition, getting system-off instruction Afterwards, it is updated the operation of target software, interference of the software upgrading to user can be effectively reduced.
In addition, Figure 1A of the embodiment of the present invention, Figure 1B, Fig. 1 C, Fig. 2 and Fig. 3 are of the invention soft only for illustration Part update method is not intended to limit the specific execution sequence of each step of the present invention, all within the spirits and principles of the present invention, To any modification, equivalent substitution, improvement and etc. that step execution sequence is done, should be included within the scope of the present invention.
Corresponding with the embodiment of preceding method, the present invention also provides the embodiments of device.
Referring to fig. 4, Fig. 4 is the block diagram of the software renewing apparatus shown in an of the invention exemplary embodiment, which can be with Applied to computer equipment, including:Instruction acquisition module 410 updates detection module 420, reduction judgment module 430, restarts touching It sends out module 440 and closes trigger module 450, for the ease of example, the specific connection of one kind that each intermodule is shown in Fig. 4 is closed System, in other examples, is referred to Figure 1A, Figure 1B and Fig. 1 C, using other connection relationships.
Wherein, instruction acquisition module 410, for obtaining system-off instruction.
Detection module 420 is updated, for detecting whether target software needs to update.
Judgment module 430 is restored, for judging whether freezing point reduction software is in running order.
Restart trigger module 440, for needing to update in target software, and freezing point reduction software is in running order When, the freezing point reduction software is closed, and trigger system reset operation.
Trigger module 450 is closed, for being updated after system reboot to the target software, and triggers system pass Closed operation.
The technology contents of the software renewing apparatus of the embodiment of the present invention and the technology contents of above method embodiment are corresponding, This is repeated no more.
In some examples, closes trigger module 450 and be also used to:
When the target software does not need to update, system shutoff operation is directly triggered.
In other examples, the software renewing apparatus of the embodiment of the present invention can also include:
Configuration module is restored, for before triggering system shutoff operation, obtaining the software configuration of the freezing point reduction software;
Freezing point judgment module starts the freezing point reduction software for determining the need for based on the software configuration;
Starting module is restored, for when needing to start the freezing point reduction software, starting the freezing point reduction software.
In in other examples, updating detection module 420 be can be also used for:
Judge whether to receive the request for updating the target software;
If received, it is determined that the target software needs to update.
In in other examples, updating detection module 420 be can be also used for:
Obtain the update configuration of the target software;
Whether need to carry out software upgrading according to target software described in the update configuration determination.
In one embodiment, the software renewing apparatus of the embodiment of the present invention can also include:
Cue module is updated, for when the target software needs to update, output to update the confirmation prompt of target software;
When closing trigger module 450 is also used to not receive update confirmation instruction in scheduled time slot, system is directly triggered Shutoff operation;
Judgment module 430 is restored, when being also used to receive update confirmation instruction in scheduled time slot, judges that freezing point reduction is soft Whether part is in running order.
In one embodiment, the software renewing apparatus of the embodiment of the present invention is applied to operating system or auxiliary mark software The application software of update.
In one embodiment, the software renewing apparatus of the embodiment of the present invention is applied to the application of auxiliary mark software upgrading When software, instruction acquisition module 410 can also include:
Interception module is instructed, for intercepting and capturing the system-off instruction sent to operating system.
The function of each unit (or module) and the realization process of effect are specifically detailed in right in the above method in above-mentioned apparatus The realization process of step is answered, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit or module of explanation may or may not be physically separated, and the component shown as unit or module can be with It is or may not be physical unit or module, it can it is in one place, or may be distributed over multiple network lists In member or module.Some or all of the modules therein can be selected to realize the mesh of the present invention program according to the actual needs 's.Those of ordinary skill in the art can understand and implement without creative efforts.
The embodiment of invention software updating device can be using on a computing device.It specifically can be by computer chip Or entity is realized, or is realized by the product with certain function.In the typical realization of one kind, computer equipment is to calculate Machine, the concrete form of computer can be personal computer, laptop computer, cellular phone, camera phone, smart phone, Navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device, internet television, intelligent machine It is any several in vehicle, pilotless automobile, teaching one-piece, intelligent writing equipment, smart home device or these equipment The combination of equipment.
Installation practice can also be realized by software realization by way of hardware or software and hardware combining.With For software realization, as the device on a logical meaning, being will be non-volatile by the processor of computer equipment where it Property the readable storage medium storing program for executing such as memory in corresponding computer program instructions be read into memory what operation was formed.From hardware view For, as shown in figure 5, for a kind of hardware structure diagram of invention software updating device place computer equipment, in addition to shown in Fig. 5 Processor, memory, except network interface and nonvolatile memory, the computer equipment in embodiment where device is logical Often according to the actual functional capability of the computer equipment, it can also include other hardware, this is repeated no more.Wherein, memory and Fei Yi The property lost memory is the memory of device-readable, and the memory of computer equipment can store the executable program of processor and refer to It enables;Processor can with coupled memory, for reading the program instruction of the storage medium storage, and in response, execute with Lower operation:
Obtain system-off instruction;
Whether detection target software needs to update;
Judge whether freezing point reduction software is in running order;
If the target software needs to update, and freezing point reduction software is in running order, then closes the ice Point reduction software, and trigger system reset operation;
After system reboot, the target software is updated, and triggers system shutoff operation.
In other embodiments, operation performed by processor can be with reference to the embodiment of Oftware updating method described above In relevant description, it will not be described here.
In addition, the embodiment of the present invention also provides a kind of machine readable storage medium (memory of computer equipment), it is described Program instruction is stored in readable storage medium storing program for executing, described program instruction includes that each step of Oftware updating method described above is corresponding Instruction.When executed by one or more processors, so that computer equipment executes Oftware updating method described above.
The embodiment of the present invention can be used one or more wherein include program code readable storage medium storing program for executing (including but Be not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer is available Readable storage medium storing program for executing includes permanent and non-permanent, removable and non-removable media, can by any method or technique Lai Realize information storage.Information can be computer readable instructions, data structure, the module of program or other data.It is machine readable The example of storage medium includes but is not limited to:Phase change memory (PRAM), static random access memory (SRAM), dynamic random are deposited Access to memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable are only Read memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), the more function of number Can CD (DVD) other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices or it is any its His non-transmission medium, can be used for storing and can be accessed by a computing device information.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (11)

1.一种软件更新方法,其特征在于,包括步骤:1. A method for updating software, characterized in that, comprising steps: 获取系统关闭指令;Obtain a system shutdown command; 检测目标软件是否需要更新;Detect whether the target software needs to be updated; 判断冰点还原软件是否处于工作状态;Determine whether the freezing point reduction software is in working condition; 如果所述目标软件需要更新,且所述冰点还原软件处于工作状态,则关闭所述冰点还原软件,并触发系统重启操作;If the target software needs to be updated, and the freezing point restoration software is in a working state, then close the freezing point restoration software and trigger a system restart operation; 在系统重启后,对所述目标软件进行更新,并触发系统关闭操作。After the system is restarted, the target software is updated and a system shutdown operation is triggered. 2.根据权利要求1所述的方法,其特征在于:2. The method according to claim 1, characterized in that: 如果所述目标软件不需要更新,则触发系统关闭操作;If the target software does not need to be updated, a system shutdown operation is triggered; 如果所述目标软件需要更新,且所述冰点还原软件未处于工作状态,则对所述目标软件进行更新,并触发系统关闭操作。If the target software needs to be updated and the freezing point restoration software is not in working state, then update the target software and trigger a system shutdown operation. 3.根据权利要求1或2所述的方法,其特征在于,在触发系统关闭操作前,所述方法还包括:3. The method according to claim 1 or 2, wherein, before triggering the shutdown operation of the system, the method further comprises: 获取所述冰点还原软件的软件配置;Obtaining the software configuration of the freezing point reduction software; 基于所述软件配置确定是否需要启动所述冰点还原软件;Determine whether to start the freezing point restoration software based on the software configuration; 如果需要启动所述冰点还原软件,则启动所述冰点还原软件。If the freezing point restoration software needs to be started, then start the freezing point restoration software. 4.根据权利要求1所述的方法,其特征在于,所述检测目标软件是否需要更新,包括:4. The method according to claim 1, wherein the detecting whether the target software needs to be updated comprises: 判断是否接收到更新所述目标软件的请求;judging whether a request for updating the target software is received; 如果接收到,则确定所述目标软件需要更新。If so, it is determined that the target software needs to be updated. 5.根据权利要求1所述的方法,其特征在于,所述检测目标软件是否需要更新,包括:5. The method according to claim 1, wherein the detecting whether the target software needs to be updated comprises: 获取所述目标软件的更新配置;obtaining an update configuration of the target software; 根据所述更新配置判断所述目标软件是否需要进行软件更新。It is judged according to the update configuration whether the target software needs to be updated. 6.根据权利要求4所述的方法,其特征在于,如果所述目标软件需要更新,所述方法还包括:6. The method according to claim 4, wherein if the target software needs to be updated, the method further comprises: 输出更新目标软件的确认提示;Output a confirmation prompt to update the target software; 预定时段内未接收到更新确认指令,则直接触发系统关闭操作;If the update confirmation instruction is not received within the predetermined period, the system shutdown operation will be directly triggered; 判断冰点还原软件是否处于工作状态的步骤,在预定时段内接收到更新确认指令时执行。The step of judging whether the freezing point reduction software is in a working state is executed when an update confirmation instruction is received within a predetermined period of time. 7.根据权利要求1所述的方法,其特征在于,应用于操作系统或辅助目标软件更新的应用软件。7. The method according to claim 1, characterized in that it is applied to an operating system or application software that assists target software updates. 8.根据权利要求7所述的方法,其特征在于,应用于辅助目标软件更新的应用软件时,所述获取系统关闭指令,包括:8. The method according to claim 7, wherein when applied to an application software that assists target software update, said obtaining the system shutdown instruction comprises: 截获向操作系统发送的系统关闭指令。Intercept system shutdown commands sent to the operating system. 9.一种软件更新装置,其特征在于,包括:9. A software update device, characterized in that it comprises: 指令获取模块,用于获取系统关闭指令;An instruction acquisition module, configured to acquire a system shutdown instruction; 更新检测模块,用于检测目标软件是否需要更新;An update detection module is used to detect whether the target software needs to be updated; 还原判断模块,用于判断冰点还原软件是否处于工作状态;Restore judging module, used for judging whether the freezing point restoration software is in working state; 重启触发模块,用于在目标软件需要更新,且所述冰点还原软件处于工作状态时,关闭所述冰点还原软件,并触发系统重启操作;A restart trigger module is used to close the freezing point restoration software and trigger a system restart operation when the target software needs to be updated and the freezing point restoration software is in a working state; 关闭触发模块,用于在系统重启后,对所述目标软件进行更新,并触发系统关闭操作。The shutdown trigger module is used to update the target software after the system is restarted, and trigger a system shutdown operation. 10.一种计算机设备,其特征在于,包括:10. A computer device, comprising: 处理器;processor; 存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器耦合于所述存储器,用于读取所述存储器存储的程序指令,并作为响应,执行如权利要求1-8中任一项所述方法中的操作。Wherein, the processor is coupled to the memory, and is configured to read program instructions stored in the memory, and in response, execute the operations in the method according to any one of claims 1-8. 11.一个或多个机器可读存储介质,其特征在于,其上存储有指令,当由一个或多个处理器执行时,使得计算机设备执行如权利要求1-8中任一项所述方法中的操作。11. One or more machine-readable storage media, characterized in that instructions are stored thereon, which, when executed by one or more processors, cause a computer device to perform the method according to any one of claims 1-8 operations in .
CN201810623052.2A 2018-06-15 2018-06-15 Software updating method, device and equipment and readable storage medium Pending CN108920161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810623052.2A CN108920161A (en) 2018-06-15 2018-06-15 Software updating method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810623052.2A CN108920161A (en) 2018-06-15 2018-06-15 Software updating method, device and equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN108920161A true CN108920161A (en) 2018-11-30

Family

ID=64421202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810623052.2A Pending CN108920161A (en) 2018-06-15 2018-06-15 Software updating method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN108920161A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505283A (en) * 2019-07-31 2019-11-26 湖南微算互联信息技术有限公司 A kind of automatic maintenance system and method based on cloud mobile phone
CN111623475A (en) * 2020-04-27 2020-09-04 海信(山东)空调有限公司 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060053417A1 (en) * 2004-09-03 2006-03-09 Microsoft Corporation Update at shutdown
US20080244555A1 (en) * 2007-03-29 2008-10-02 Welvaert Eugene F Bundling software updates
CN101490652A (en) * 2006-07-12 2009-07-22 奥林巴斯株式会社 Controller, control method, and control program
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
CN104793980A (en) * 2015-05-19 2015-07-22 北京奇虎科技有限公司 Application program update notification method and device
CN105786556A (en) * 2014-12-26 2016-07-20 博雅网络游戏开发(深圳)有限公司 Software update guide method and device
CN106484462A (en) * 2016-09-14 2017-03-08 广州视睿电子科技有限公司 Software updating method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060053417A1 (en) * 2004-09-03 2006-03-09 Microsoft Corporation Update at shutdown
CN101490652A (en) * 2006-07-12 2009-07-22 奥林巴斯株式会社 Controller, control method, and control program
US20080244555A1 (en) * 2007-03-29 2008-10-02 Welvaert Eugene F Bundling software updates
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
CN105786556A (en) * 2014-12-26 2016-07-20 博雅网络游戏开发(深圳)有限公司 Software update guide method and device
CN104793980A (en) * 2015-05-19 2015-07-22 北京奇虎科技有限公司 Application program update notification method and device
CN106484462A (en) * 2016-09-14 2017-03-08 广州视睿电子科技有限公司 Software updating method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505283A (en) * 2019-07-31 2019-11-26 湖南微算互联信息技术有限公司 A kind of automatic maintenance system and method based on cloud mobile phone
CN110505283B (en) * 2019-07-31 2022-10-21 湖南微算互联信息技术有限公司 Automatic maintenance system and method based on cloud mobile phone
CN111623475A (en) * 2020-04-27 2020-09-04 海信(山东)空调有限公司 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner

Similar Documents

Publication Publication Date Title
US10394621B1 (en) Method and computer readable medium for providing checkpointing to windows application groups
US8209290B1 (en) Generic granular restore of application data from a volume image backup
EP3036623B1 (en) Method and apparatus for modifying a computer program in a trusted manner
CN102360298B (en) Software upgrading method of terminal equipment
CN106020865A (en) System upgrading method and device
US20080263350A1 (en) Update in-use flash memory without external interfaces
US8752049B1 (en) Method and computer readable medium for providing checkpointing to windows application groups
US20180173580A1 (en) Methods and apparatus to recover a processor state during a system failure or security event
US10783041B2 (en) Backup and recovery of data files using hard links
CN111767066A (en) Method and apparatus for in-situ mitigation of firmware failures
US11150884B1 (en) Device driver update images
US7788462B2 (en) Resource management for data storage services
CN102236764A (en) Method and monitoring system for Android system to defend against desktop information attack
US8918776B2 (en) Self-adapting software system
US9146748B1 (en) Systems and methods for injecting drivers into computing systems during restore operations
CN113032183A (en) System management method, device, computer equipment and storage medium
CN108920161A (en) Software updating method, device and equipment and readable storage medium
US20070118499A1 (en) Method and system for collecting and restoring application state information
US7512777B2 (en) Method and system for maintaining system management BIOS
KR20120027219A (en) Capturing and loading operating system states
US20120191803A1 (en) Decommissioning factored code
CN111382011A (en) A file data access method, device and computer-readable storage medium
CN113360176A (en) Software program upgrading method and device, storage medium and electronic equipment
KR20080054592A (en) Log storage method using fixed location memory area in embedded system
CN114064247A (en) Camera control method, device, electronic device and storage medium in application program

Legal Events

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

Application publication date: 20181130