CN104504341B - A kind of Loopholes of OS restorative procedure and device - Google Patents

A kind of Loopholes of OS restorative procedure and device Download PDF

Info

Publication number
CN104504341B
CN104504341B CN201510030642.0A CN201510030642A CN104504341B CN 104504341 B CN104504341 B CN 104504341B CN 201510030642 A CN201510030642 A CN 201510030642A CN 104504341 B CN104504341 B CN 104504341B
Authority
CN
China
Prior art keywords
function
operating system
leak
request
user
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.)
Active
Application number
CN201510030642.0A
Other languages
Chinese (zh)
Other versions
CN104504341A (en
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 CN201510030642.0A priority Critical patent/CN104504341B/en
Publication of CN104504341A publication Critical patent/CN104504341A/en
Application granted granted Critical
Publication of CN104504341B publication Critical patent/CN104504341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/577Assessing vulnerabilities and evaluating computer system security
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/033Test or assess software

Abstract

The application provides a kind of Loopholes of OS restorative procedure and device, by receiving function list of the carrying package containing several functions, and utilize the HOOK mechanism pre-set in an operating system, object function corresponding to each function in the difference and function list in operating system is updated, to realize the leak reparation to operating system.The application is by using function list, and the mode using object function corresponding to each function distinguished in the HOOK new mechanism operating systems pre-set in an operating system in and function list, the problem of leak repair process can just be completed by avoiding prior art and need to downloading larger AKU (OTA bags/brush machine bag) and need to restart, and caused leak remediation efficiency is low, user experience is poor.

Description

A kind of Loopholes of OS restorative procedure and device
Technical field
The application is related to leak recovery technique field, more particularly to a kind of Loopholes of OS restorative procedure and device.
Background technology
Loopholes of OS refers to operating system (such as:Android system of intelligent machine etc.) itself the problems of or Technological deficiency, operating system product supplier would generally periodically issue patch to known bugs and then provide leak reparation clothes Business.
Although prior art user can be by downloading OTA (Over-the-Air, aerial to download) bags or downloading brush machine bag Mode realize the leak repair process to operating system.But both repair modes are in leak repair process, not only Can be because larger AKU (OTA bags/brush machine bag) need to be downloaded, and the problem of leak remediation efficiency is low is produced, it can also produce because of this Need caused by two kinds of repair mode self attributes, which are restarted, can just complete leak repair process, and the problem of influence Consumer's Experience.
The content of the invention
In view of this, the application provides a kind of Loopholes of OS restorative procedure and device, is being leaked with solving prior art In the repair process of hole, the problem of caused leak remediation efficiency is low, user experience is poor.
To achieve these goals, technical scheme provided in an embodiment of the present invention is as follows:
A kind of Loopholes of OS restorative procedure, including:
Leak reparation request is received, function list of the carrying package containing several functions is asked in the leak reparation;
Using the HOOK mechanism pre-set in an operating system, update in the operating system respectively with the function Object function corresponding to each function in list, to realize the leak reparation to the operating system.
Preferably, the process of the reception leak reparation request is:
The application software renewal request of user's input is received, the application software renewal request carries redaction application software Information;
Several letters included in the first function list carried in the redaction application software information are shown to user Number;
Selection operation of the user to the function is responded, receives the leak reparation request of user's input, wherein, the leak Repair the function list of each function that carrying package selects containing user in request.
Preferably, it is described using the HOOK mechanism pre-set in an operating system, update point in the operating system The process of object function not corresponding with each function in the function list is:
For each function in the function list, using the HOOK mechanism pre-set in an operating system, search Corresponding object function in the operating system;And
The object function in the operating system found is replaced using the function.
Preferably, in addition to:Preserve the object function in the operating system updated by the function.
Preferably, in addition to:
The first leak for receiving user's input repairs rollback requests;
The each function included in the function list carried in presently described leak reparation request is shown to user;
Selection operation of the user to the function is responded, the second leak is received and repairs rollback requests, second leak is repaiied The second function list for each function that carrying package selects containing user in multiple rollback requests;
For each function carried in the second function list, using object function corresponding with the function, replace Change first object function corresponding with the function in the operating system found by the HOOK mechanism.
A kind of Loopholes of OS prosthetic device, including:
Request reception unit, for receiving leak reparation request, the leak reparation request carrying package contains several functions Function list;
Leak repairs unit, for using the HOOK mechanism pre-set in an operating system, updating the operating system In object function corresponding with each function in the function list respectively, the leak of the operating system is repaiied with realizing It is multiple.
Preferably, the request reception unit includes:
First request reception unit, the application software for receiving user's input update request, the application software renewal Request carries redaction application software information;
First display unit, for showing the first function list carried in the redaction application software information to user In several functions for including;
Second request reception unit, for responding selection operation of the user to the function, receive the leak of user's input Request is repaired, wherein, the function list for each function that carrying package selects containing user in the leak reparation request.
Preferably, the leak is repaired unit and included:
Searching unit, for for each function in the function list, using pre-setting in an operating system HOOK mechanism, search object function corresponding in the operating system;
Replacement unit, for replacing the object function in the operating system found using the function.
Preferably, in addition to:
Storage unit, for preserving the object function in the operating system updated by the function.
Preferably, in addition to:3rd request reception unit, the second display unit, the 4th request reception unit and leak are repaiied Member of cancelling the order is returned, wherein:
3rd request reception unit, the first leak for receiving user's input repair rollback requests;
Second display unit, for being shown to user in the function list carried in presently described leak reparation request Comprising each function;
4th request reception unit, for responding selection operation of the user to the function, receive the second leak and repair Multiple rollback requests, second leak repair the second function row of each function that carrying package selects containing user in rollback requests Table;
The leak reparation rollback unit, for each function for being carried in the second function list, using with Object function corresponding to the function, replace in the operating system found by the HOOK mechanism with the function pair The first object function answered.
The application provides a kind of Loopholes of OS restorative procedure and device, by receiving carrying package containing several functions Function list, and using the HOOK mechanism pre-set in an operating system, update the difference and function list in operating system In each function corresponding to object function, to realize leak reparation to operating system.The application by using function list, And utilize each function distinguished in the HOOK new mechanism operating systems pre-set in an operating system in and function list The mode of corresponding object function, larger AKU (OTA bags/brush machine bag) need to be downloaded and need to restart by avoiding prior art Leak repair process can be just completed, and the problem of caused leak remediation efficiency is low, user experience is poor.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of Loopholes of OS restorative procedure flow chart that the embodiment of the present application one provides;
Fig. 2 is a kind of method flow diagram for reception leak reparation request that the embodiment of the present application two provides;
Fig. 3 is that a kind of of the offer of the embodiment of the present application three utilizes the HOOK mechanism pre-set in an operating system, renewal The method flow diagram of object function corresponding to each function in difference and function list in operating system;
Fig. 4 is that a kind of Loopholes of OS that the embodiment of the present application four provides repairs backing method flow chart;
Fig. 5 is a kind of structural representation for Loopholes of OS prosthetic device that the embodiment of the present application five provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment one:
Fig. 1 is a kind of Loopholes of OS restorative procedure flow chart that the embodiment of the present application one provides.
As shown in figure 1, this method includes:
S101, receive leak reparation request, leak reparation request function list of the carrying package containing several functions.
In the embodiment of the present application, it is preferred that receive the leak reparation request of user's input, leak reparation request first Middle carrying function list, several functions are included in the function list.
S102, using the HOOK mechanism pre-set in an operating system, update the difference and function row in operating system Object function corresponding to each function in table, to realize the leak reparation to operating system.
In the embodiment of the present application, it is preferred that be provided with HOOK mechanism in an operating system in advance, pass through the HOOK mechanism Object function corresponding to each function in difference and function list in renewable operating system, and then realize to operating system Leak reparation.
In the embodiment of the present application, it is preferred that the method for setting HOOK mechanism is in an operating system:By in operating system Original virtual machine replaces with the virtual machine with HOOK mechanism.
In the embodiment of the present application, it is preferred that virtual machine is a file, and original virtual machine in operating system is replaced with The process of virtual machine with HOOK mechanism is:HOOK mechanism program code is inserted in the file of original virtual machine and generates one New file, the new file are the file of the virtual machine with HOOK mechanism of original virtual machine in replacement operation system.
In the embodiment of the present application, it is preferred that virtual machine is the preferred side of a file, only the embodiment of the present application Formula, inventor can arbitrarily set the form of expression of virtual machine according to the demand of oneself, not limit herein.
Specifically, Hook mechanism is a kind of to replace under DOS the system mechanism of " interruption ", Chinese be translated into " hook " or " hook ".After hook is carried out to specific system event, once hook events occur, hook program is carried out to the event It will be notified by system, at this moment program can just respond in the very first time to the event.Specifically, the work of HOOK mechanism Prior art is referred to as principle, is not described in detail herein.
In the embodiment of the present application, it is preferred that operating system is Android system.
It is only the preferred embodiment of the embodiment of the present application above, inventor can arbitrarily set operation system according to the demand of oneself The specific manifestation form of system, such as:Windows etc., is not limited herein.
The application provides a kind of Loopholes of OS restorative procedure, by receiving function row of the carrying package containing several functions Table, and using the HOOK mechanism pre-set in an operating system, update every in the difference and function list in operating system Object function corresponding to individual function, to realize the leak reparation to operating system.The application is by using function list, and utilizes Pre-set in HOOK new mechanism operating systems in an operating system distinguish and function list in each function corresponding to The mode of object function, avoids that prior art need to download larger AKU (OTA bags/brush machine bag) and need to restart just can be complete Into leak repair process, and the problem of caused leak remediation efficiency is low, user experience is poor.
Embodiment two:
Become apparent from order that obtaining a kind of Loopholes of OS restorative procedure that the embodiment of the present application provides, be easy to this area Technical staff understands, a kind of method flow for receiving leak reparation request in Loopholes of OS repair process is provided at this Figure, refers to Fig. 2.
As shown in Fig. 2 a kind of method for reception leak reparation request that the embodiment of the present application two provides includes:
S201, the application software renewal request for receiving user's input, application software renewal request carry redaction using soft Part information.
In the embodiment of the present application, it is preferred that the Loopholes of OS recovery scenario provided is bundled in application software more On new, when operating system operation maintenance personnel needs to repair the leak of operating system, often through issuing redaction application software Mode realizes, i.e.,:Issue redaction application software, and each group of functions for repairing will be needed in Loopholes of OS repair process Into redaction application software information of the first function list as the redaction application software.
When user needs input loophole reparation to ask, need to input corresponding application software more by operation system interface first New request, redaction application software information is carried in application software renewal request.
S202, several letters included in the first function list carried in redaction application software information are shown to user Number.
S203, response user are to the selection operation of function, the leak reparation request that reception user inputs, wherein, leak is repaiied The function list for each function that carrying package selects containing user in multiple request.
In the embodiment of the present application, it is preferred that when the first letter carried into user's displaying redaction application software information After each function included in ordered series of numbers table, selection operation of the user to function can be responded, the leak reparation for receiving user's input please Ask, carry function list in leak reparation request, each function of user's selection is included in the function list.
Pass through the above-mentioned introduction to by way of receiving leak reparation request so that a kind of operation that the embodiment of the present application provides System vulnerability restorative procedure becomes apparent from, completely.But those skilled in the art's application is appreciated that, is only this Shen above Please a kind of preferred embodiment of reception leak reparation request that provides of embodiment, inventor can also arbitrarily set according to the demand of oneself The mode of leak reparation request is received, is not limited herein.
Embodiment three:
Become apparent from order that obtaining a kind of Loopholes of OS restorative procedure that the embodiment of the present application provides, be easy to this area Technical staff understands, a kind of utilization in Loopholes of OS repair process is provided at this and is pre-set in an operating system HOOK mechanism, update the method flow of object function corresponding to each function in the difference and function list in operating system Figure, refers to Fig. 3.
As shown in figure 3, a kind of of the embodiment of the present application offer utilizes the HOOK mechanism pre-set in an operating system, more The method of object function includes corresponding to each function in difference and function list in new operating system:
S301, for each function in function list, utilize the HOOK mechanism pre-set in an operating system, search Corresponding object function in operating system.
In the embodiment of the present application, it is preferred that be previously provided with HOOK mechanism in an operating system, utilize the HOOK mechanism Can be with object function corresponding to each function in and function list in search operation system.
In the embodiment of the present application, it is preferred that HOOK mechanism can be searched every in and function list respectively by function name Object function corresponding to individual function, i.e.,:For each function in function list, pass through letter in HOOK mechanism search operation systems The several and function name identical function of the function is as object function.
S302, using function replace the object function in the operating system that finds.
In the embodiment of the present application, it is preferred that when finding mesh corresponding to the function in operating system in and function list After scalar functions, the function in the function list is replaced into the object function in the operating system.
In the embodiment of the present application, it is preferred that for each function in function list, searched and gone out for drill using HOOK mechanism After making object function corresponding in system, just by the object function in the function replacement operation system;Also function can be directed to All functions in list, after corresponding object function is found out using HOOK mechanism, it is being utilized respectively each function Corresponding object function in replacement operation system, is only the preferred embodiment of the embodiment of the present application above, and inventor can root Arbitrarily set according to the demand of oneself and search object function corresponding to and function using HOOK mechanism, and target is replaced using function The order of function, is not limited herein.
By it is above-mentioned to using the HOOK mechanism in an operating system of pre-setting, update in operating system respectively with letter A kind of introduction of the mode of object function corresponding to each function in ordered series of numbers table so that operation system that the embodiment of the present application provides System leak restorative procedure becomes apparent from, completely.But those skilled in the art's application is appreciated that, is only the application above Embodiment provides a kind of using the HOOK mechanism pre-set in an operating system, updates the difference and function in operating system The preferred embodiment of object function corresponding to each function in list, inventor can also arbitrarily set utilization according to the demand of oneself HOOK mechanism in an operating system is pre-set, each function pair updated in the difference and function list in operating system should Object function mode, do not limit herein.
Example IV:
The embodiment of the present application four provides a kind of Loopholes of OS restorative procedure, and it is repaiied in the leak that above-described embodiment provides Further comprise on the basis of compound method:Preserve by the object function in the operating system of function renewal.
In the embodiment of the present application, it is preferred that preserve the target letter replaced in operating system by the function in function list Number.
A kind of Loopholes of OS restorative procedure that the embodiment of the present application four provides, in the leak restorative procedure of above-mentioned offer On the basis of further comprise that a kind of leak repairs backing method, refer to Fig. 4.
Include as shown in figure 4, a kind of Loopholes of OS that the embodiment of the present application provides repairs backing method:
S401, the first leak reparation rollback requests for receiving user's input.
In the embodiment of the present application, it is preferred that after the leak repair process of above-described embodiment offer is completed, if user couple Function in operating system after some progress leak reparations is unsatisfied with, and can also pass through the leak reparation that the embodiment of the present application provides and return Annealing method, the function after being repaired in operating system is return back to before reparation.
When user needs to carry out leak reparation back off procedure, it is necessary first to input the first leak and repair rollback requests.
S402, each function included in the function list carried in current leak reparation request is shown to user.
In the embodiment of the present application, it is preferred that after the first leak for receiving user's input repairs rollback requests, first The each function included in the function list carried in current leak reparation request need to be shown to user, namely:The last time leakage Repair each function included in the function list carried in request in hole.
S403, response user receive the second leak and repair rollback requests, the second leak reparation is returned to the selection operation of function Move back the second function list of each function that carrying package selects containing user in request.
In the embodiment of the present application, it is preferred that it can perform to complete S401-S402 that the second leak, which repairs rollback requests, Afterwards, received by performing S403;It can also be that the second leak of the user's input directly received repairs rollback requests, should Second leak repairs one function list of carrying in rollback requests, and (function list can regard the second function row in step S403 as Table), and comprising several functions, (function here can regard the second function list in step S403 as in the function list In include user selection function).
When the second leak repair rollback requests be directly receive user input request when, can directly using this second Leak repairs rollback requests and performs step S404.
S404, each function for being carried in second function list, using object function corresponding to and function, replace logical Cross first object function corresponding to and function in the operating system that HOOK mechanism is found.
In the embodiment of the present application, it is preferred that for each function carried in second function list, utilize HOOK mechanism (the first object function is for corresponding first object function in search operation system:It is above-mentioned to carry out leak repair process In, the function in the function list of the object function in replacement operation system), and then utilize object function corresponding with the function (object function corresponding with the function is:In above-mentioned carry out leak repair process, the operating system that is found using HOOK mechanism Object function corresponding to function in middle and function list) replace first object function.
Pass through the above-mentioned introduction that backing method is repaired to leak so that a kind of operating system leakage that the embodiment of the present application provides Hole restorative procedure becomes apparent from, completely.It is only that the application is implemented above but those skilled in the art's application is appreciated that A kind of leak that example provides repairs the preferred embodiment of backing method, and inventor also arbitrarily can set leak to repair according to the demand of oneself The concrete mode of annealing method is returned, is not limited herein.
Embodiment five:
Fig. 5 is a kind of structural representation for Loopholes of OS prosthetic device that the embodiment of the present application five provides.
As shown in figure 5, the device includes:
Request reception unit 1, for receiving leak reparation request, leak reparation request letter of the carrying package containing several functions Ordered series of numbers table;
Leak repairs unit 2, for using the HOOK mechanism pre-set in an operating system, updating in operating system Object function corresponding to each function in and function list respectively, to realize the leak reparation to operating system.
In the embodiment of the present application, it is preferred that request reception unit includes:First request reception unit, used for receiving The application software renewal request of family input, application software renewal request carry redaction application software information;First display unit, For showing several functions included in the first function list carried in redaction application software information to user;Second please Receiving unit is sought, for responding selection operation of the user to function, receives the leak reparation request of user's input, wherein, leak Repair the function list of each function that carrying package selects containing user in request.
In the embodiment of the present application, it is preferred that leak, which repairs unit, to be included:Searching unit, for in function list Each function, using the HOOK mechanism pre-set in an operating system, corresponding target letter in search operation system Number;Replacement unit, for replacing the object function in the operating system found using function.
Further, in a kind of leak prosthetic device that the embodiment of the present application provides, in addition to:Storage unit, it is used for Preserve by the object function in the operating system of function renewal.
Further, in a kind of leak prosthetic device that the embodiment of the present application provides, in addition to the 3rd request receives list Member, the second display unit, the 4th request reception unit and leak reparation rollback unit, wherein:
3rd request reception unit, the first leak for receiving user's input repair rollback requests;
Second display unit, for being shown to user in the function list carried in presently described leak reparation request Comprising each function;
4th request reception unit, for responding selection operation of the user to the function, receive the second leak and repair Multiple rollback requests, second leak repair the second function row of each function that carrying package selects containing user in rollback requests Table;
The leak reparation rollback unit, for each function for being carried in the second function list, using with Object function corresponding to the function, replace in the operating system found by the HOOK mechanism with the function pair The first object function answered.
In the embodiment of the present application, it is preferred that the 4th request reception unit also can be directly used for receiving the of user's input Two leaks repair rollback requests, and second leak repairs carrying function list in rollback requests, and (function list can regard second as Function list), comprising several functions, (function can regard user's selection for being included in second function list as in the function list Function).
The application provides a kind of Loopholes of OS prosthetic device, by receiving function row of the carrying package containing several functions Table, and using the HOOK mechanism pre-set in an operating system, update every in the difference and function list in operating system Object function corresponding to individual function, to realize the leak reparation to operating system.The application is by using function list, and utilizes Pre-set in HOOK new mechanism operating systems in an operating system distinguish and function list in each function corresponding to The mode of object function, avoids that prior art need to download larger AKU (OTA bags/brush machine bag) and need to restart just can be complete Into leak repair process, and the problem of caused leak remediation efficiency is low, user experience is poor.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
It the above is only the preferred embodiment of the application, make skilled artisans appreciate that or realizing the application.It is right A variety of modifications of these embodiments will be apparent to one skilled in the art, as defined herein general former Reason can be realized in other embodiments in the case where not departing from spirit herein or scope.Therefore, the application will not Be intended to be limited to the embodiments shown herein, and be to fit to it is consistent with principles disclosed herein and features of novelty most Wide scope.

Claims (10)

  1. A kind of 1. Loopholes of OS restorative procedure, it is characterised in that including:
    Leak reparation request is received, function list of the carrying package containing several functions is asked in the leak reparation;
    Using the HOOK mechanism pre-set in an operating system, update in the operating system respectively with the function list In each function corresponding to object function, to realize leak reparation to the operating system.
  2. 2. according to the method for claim 1, it is characterised in that it is described receive leak reparation request process be:
    The application software renewal request of user's input is received, the application software renewal request carries redaction application software letter Breath;
    Several functions included in the first function list carried in the redaction application software information are shown to user;
    Selection operation of the user to the function is responded, receives the leak reparation request of user's input, wherein, the leak reparation The function list for each function that carrying package selects containing user in request.
  3. 3. according to the method for claim 1, it is characterised in that described to utilize the HOOK machines pre-set in an operating system System, the process for updating the object function corresponding with each function in the function list respectively in the operating system are:
    For each function in the function list, using the HOOK mechanism pre-set in an operating system, described in lookup Corresponding object function in operating system;And
    The object function in the operating system found is replaced using the function.
  4. 4. according to the method described in claim 1-3 any one, it is characterised in that also include:Preservation is updated by the function The operating system in object function.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    The first leak for receiving user's input repairs rollback requests;
    The each function included in the function list carried in presently described leak reparation request is shown to user;
    Selection operation of the user to the function is responded, the second leak is received and repairs rollback requests, the second leak reparation is returned Move back the second function list of each function that carrying package selects containing user in request;
    For each function carried in the second function list, using object function corresponding with the function, replace logical Cross first object function corresponding with the function in the operating system that the HOOK mechanism is found.
  6. A kind of 6. Loopholes of OS prosthetic device, it is characterised in that including:
    Request reception unit, for receiving leak reparation request, letter of the carrying package containing several functions is asked in the leak reparation Ordered series of numbers table;
    Leak repairs unit, for using the HOOK mechanism pre-set in an operating system, updating in the operating system Object function corresponding with each function in the function list respectively, to realize the leak reparation to the operating system.
  7. 7. device according to claim 6, it is characterised in that the request reception unit includes:
    First request reception unit, the application software for receiving user's input update request, the application software renewal request Carry redaction application software information;
    First display unit, wrapped for being shown to user in the first function list carried in the redaction application software information Several functions contained;
    Second request reception unit, for responding selection operation of the user to the function, receive the leak reparation of user's input Request, wherein, the function list for each function that carrying package selects containing user in the leak reparation request.
  8. 8. device according to claim 6, it is characterised in that the leak, which repairs unit, to be included:
    Searching unit, for for each function in the function list, utilizing the HOOK pre-set in an operating system Mechanism, search object function corresponding in the operating system;
    Replacement unit, for replacing the object function in the operating system found using the function.
  9. 9. according to the device described in claim 6-8 any one, it is characterised in that also include:
    Storage unit, for preserving the object function in the operating system updated by the function.
  10. 10. device according to claim 9, it is characterised in that also include:3rd request reception unit, the second displaying are single Member, the 4th request reception unit and leak reparation rollback unit, wherein:
    3rd request reception unit, the first leak for receiving user's input repair rollback requests;
    Second display unit, included for being shown to user in the function list carried in presently described leak reparation request Each function;
    4th request reception unit, for responding selection operation of the user to the function, receive the second leak reparation and return Request is moved back, second leak repairs the second function list of each function that carrying package selects containing user in rollback requests;
    The leak reparation rollback unit, for each function for being carried in the second function list, using with it is described Object function corresponding to function, replace corresponding with the function in the operating system found by the HOOK mechanism First object function.
CN201510030642.0A 2015-01-21 2015-01-21 A kind of Loopholes of OS restorative procedure and device Active CN104504341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510030642.0A CN104504341B (en) 2015-01-21 2015-01-21 A kind of Loopholes of OS restorative procedure and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510030642.0A CN104504341B (en) 2015-01-21 2015-01-21 A kind of Loopholes of OS restorative procedure and device

Publications (2)

Publication Number Publication Date
CN104504341A CN104504341A (en) 2015-04-08
CN104504341B true CN104504341B (en) 2018-01-23

Family

ID=52945737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510030642.0A Active CN104504341B (en) 2015-01-21 2015-01-21 A kind of Loopholes of OS restorative procedure and device

Country Status (1)

Country Link
CN (1) CN104504341B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866307B (en) * 2015-05-14 2018-04-27 百度在线网络技术(北京)有限公司 The restorative procedure and device of a kind of application program
CN107967155B (en) * 2016-10-18 2022-01-07 腾讯科技(深圳)有限公司 Method, device, server and medium for realizing program operation based on Hook shared library
CN108446134A (en) * 2018-03-30 2018-08-24 努比亚技术有限公司 Loophole restorative procedure, mobile terminal and the readable storage medium storing program for executing of application program
CN109933410B (en) * 2019-03-22 2021-06-01 北京智游网安科技有限公司 Virtual instruction issuing method and system based on virtualization technology

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710539A (en) * 2004-06-16 2005-12-21 华为技术有限公司 Soft wave renewing method
CN1770108A (en) * 2004-11-05 2006-05-10 华为技术有限公司 Online software updating method
CN101931944A (en) * 2010-07-23 2010-12-29 华为终端有限公司 Method, device and system for updating terminal patches on line
CN101937340A (en) * 2009-06-29 2011-01-05 中兴通讯股份有限公司 Method and device for dynamically updating and controlling software by using patches
CN102195817A (en) * 2011-05-25 2011-09-21 上海华为技术有限公司 Software upgrading method and device and software rollback method and device
CN102591684A (en) * 2011-12-30 2012-07-18 苏州汉清投资管理有限公司 Software updating method
CN103473505A (en) * 2012-06-06 2013-12-25 腾讯科技(深圳)有限公司 Scanning prompt method and device for software vulnerabilities
CN103745158A (en) * 2014-01-26 2014-04-23 北京奇虎科技有限公司 Method and device for repairing system bugs

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294511A1 (en) * 2005-06-22 2006-12-28 International Business Machines Corporation Method, system, and computer program product for deploying different versions of software in a single package
US8479163B2 (en) * 2009-11-05 2013-07-02 Oracle International Corporation Simplifying maintenance of large software systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710539A (en) * 2004-06-16 2005-12-21 华为技术有限公司 Soft wave renewing method
CN1770108A (en) * 2004-11-05 2006-05-10 华为技术有限公司 Online software updating method
CN101937340A (en) * 2009-06-29 2011-01-05 中兴通讯股份有限公司 Method and device for dynamically updating and controlling software by using patches
CN101931944A (en) * 2010-07-23 2010-12-29 华为终端有限公司 Method, device and system for updating terminal patches on line
CN102195817A (en) * 2011-05-25 2011-09-21 上海华为技术有限公司 Software upgrading method and device and software rollback method and device
CN102591684A (en) * 2011-12-30 2012-07-18 苏州汉清投资管理有限公司 Software updating method
CN103473505A (en) * 2012-06-06 2013-12-25 腾讯科技(深圳)有限公司 Scanning prompt method and device for software vulnerabilities
CN103745158A (en) * 2014-01-26 2014-04-23 北京奇虎科技有限公司 Method and device for repairing system bugs

Also Published As

Publication number Publication date
CN104504341A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN104504341B (en) A kind of Loopholes of OS restorative procedure and device
CN105677404B (en) A kind of configuration update method and device based on Zookeeper
US20080071885A1 (en) Methods, systems and computer program products for determining installation status of SMS packages
CN105404519A (en) Version control method, code testing method and system
CN103020058B (en) A kind of multi-version data acquisition method and device
CN107391104A (en) A kind of client and the renewal of react native codes rely on management method, apparatus and system
CN104918114B (en) A kind of operating system update method and device
CN104216751B (en) The loading method and system of a kind of functional unit interface resources of application program
CN109445807A (en) Realize the method, apparatus and computer readable storage medium of application program update
CN105912641A (en) Icon update method and apparatus of Native Apps
CN103778026B (en) Object reference method and apparatus
CN105389176B (en) Skin processing method and device based on application
CN106201584B (en) Version upgrading method and terminal device
CN102222001A (en) Environment deployment device and method
CN108037929A (en) A kind of message treatment method and system
CN105511914A (en) Application update method, device and system
CN103678413A (en) Method and device for displaying dynamic column of report
CN102654825A (en) Data synchronization method of display device
CN107818010A (en) The method and apparatus switched between different maps
CN105868384A (en) Method, device and system for updating shared data
CN103488503B (en) Oftware updating method and device
US10152466B2 (en) Comparing user interfaces
US20150100925A1 (en) Menu Showing Method, Apparatus, and Device
CN110113746A (en) White list processing method, enterprise UE terminal and server
CN112306843A (en) Test method, test device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant