CN102750488A - Safety detection control method and device - Google Patents

Safety detection control method and device Download PDF

Info

Publication number
CN102750488A
CN102750488A CN2012102118013A CN201210211801A CN102750488A CN 102750488 A CN102750488 A CN 102750488A CN 2012102118013 A CN2012102118013 A CN 2012102118013A CN 201210211801 A CN201210211801 A CN 201210211801A CN 102750488 A CN102750488 A CN 102750488A
Authority
CN
China
Prior art keywords
shutdown
interface
safety
safety detection
pattern
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
CN2012102118013A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2012102118013A priority Critical patent/CN102750488A/en
Publication of CN102750488A publication Critical patent/CN102750488A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides safety detection control method and device. The method comprises the steps of capturing opening information of a shutdown interface; processing the captured opening information to obtain the shutdown interface in which safety shutdown option is set; and executing safety detection according to safety shutdown selected operation in the shutdown interface, and closing an operating system after finishing the safety detection. The device comprises a capturing module, a processing module and a response module. By adopting the safety detection control method and device, the interference on users is reduced.

Description

The control method of safety detection and device
Technical field
The present invention relates to computer security technique, particularly relate to a kind of control method and device of safety detection.
Background technology
Flourish along with various application software and internet; The application software of installing in the operating system and the Miscellaneous Documents of storage are more and more; And carrying out comparatively frequent data interaction with the internet, to meet consumers' demand, still; Also caused the security risks that operating system faced increasingly high thus, be necessary safe and stable operation through security classes software maintenance operating system.
Traditional security classes software is through carrying out the safe and stable operation that safety detection such as apocrypha scanning and rubbish cleaning guarantee operating system.Yet; Spent time of the implementation of safety detection is longer, and can take part system resource, causes user operation system swimmingly during safety detection; Cause bigger user to disturb, make the user possibly abandon safety detection in order to save time.
Summary of the invention
Based on this, be necessary operation system swimmingly during safety detection to the user, the problem that causes bigger user to disturb provides a kind of control method that can reduce the safety detection that the user disturbs.
In addition, also be necessary to provide a kind of control device that can reduce the safety detection of user's interference.
A kind of control method of safety detection comprises the steps:
Catch the unlatching message at shutdown interface;
Handle said unlatching message of catching and obtain being provided with the shutdown interface of safety shutdown option;
Safety detection is carried out in selected operation according to safety shutdown in the said shutdown interface, and finishes shutoff operation system afterwards in safety detection.
Among embodiment, said step of catching the unlatching message at shutdown interface is therein:
Call Hook Function;
Catch the unlatching message at shutdown interface through said Hook Function.
Therein among embodiment, also be included in the step of in the dynamic link library of operating system said Hook Function being installed before the said step of calling Hook Function.
Therein among embodiment, the step that the said unlatching message of catching of said processing obtains being provided with the shutdown interface of safety shutdown option is:
Pattern according to shutdown interface in the said operating system inserts the safety shutdown option in the shutdown interface;
Show said shutdown interface.
Among embodiment, the pattern at said shutdown interface is drop-down list or button therein, and said pattern according to shutdown interface in the said operating system inserts the safety shutdown option in the shutdown interface; Detailed process be:
Dialog box through application programming interfaces in the operating system user interface is created the pattern at function change shutdown interface, imports the pattern of said change into shutdown interface that the message call back function obtains inserting safety shutdown drop-down list item or button as parameter.
Among embodiment, the pattern at said shutdown interface is a menu therein, and said pattern according to shutdown interface in the said operating system inserts the safety shutdown option in the shutdown interface; Detailed process be:
Through the constructive process of The Component Object Model function processing enclosure expanded menu interface, and the shell extension menu interface of the said establishment of SubClassing obtains inserting the menu of safety shutdown expanded menu item.
A kind of control device of safety detection comprises:
Trapping module is used to catch the unlatching message at shutdown interface;
Processing module is used to handle the shutdown interface that said unlatching message of catching obtains being provided with the safety shutdown option;
Respond module is used for carrying out safety detection according to the selected operation of said shutdown interface safety shutdown, and finishes shutoff operation system afterwards in safety detection.
Among embodiment, said trapping module comprises therein:
Call unit is used to call Hook Function;
The message capturing unit, be used for through said Hook Function catch the shutdown interface unlatching message.
Among embodiment, said trapping module also is used at the dynamic link library of operating system said Hook Function being installed therein.
Among embodiment, said processing module comprises therein:
Insert the unit, be used in the shutdown interface, inserting the safety shutdown option according to the pattern at said operating system shutdown interface;
Display unit is used to show said shutdown interface.
Therein among embodiment; The pattern at said shutdown interface is drop-down list or button; The dialog box that said insertion unit also is used for through operating system user interface application programming interfaces is created the pattern at function change shutdown interface, imports the pattern of said change into shutdown interface that the message call back function obtains inserting safety shutdown drop-down list item or button as parameter.
Therein among embodiment; The pattern at said shutdown interface is a menu; Said insertion unit also is used for the constructive process through The Component Object Model function processing enclosure expanded menu interface, and the shell extension menu interface of the said establishment of SubClassing obtains inserting the menu of safety shutdown expanded menu item.
The control method of above-mentioned safety detection and device; In capturing operating system after the unlatching message at shutdown interface,, and then carry out safety detection through the selected operation of safety shutdown option in the shutdown interface with the shutdown interface that create to supply the user to carry out the selected operation of safety shutdown; And after safety detection finishes automatic shutoff operation system; Because the user can not use any service in the operating system, therefore can not use and cause interference, and then reduce user's interference in the meantime the user; Take into account the user to the smooth and easy use of operating system and the execution of safety detection, improved security of system.
Description of drawings
Fig. 1 is the process flow diagram of the control method of safety detection among the embodiment;
Fig. 2 is the method flow diagram of catching the unlatching message at shutdown interface among Fig. 1;
Fig. 3 is for handling the method flow diagram that the unlatching message of catching obtains being provided with the shutdown interface of safety shutdown option among Fig. 1;
Fig. 4 is the structural representation of the control device of safety detection among the embodiment;
Fig. 5 is the structural representation of trapping module among Fig. 5;
Fig. 6 is the structural representation of processing module among Fig. 5.
Embodiment
As shown in Figure 1, in one embodiment, a kind of control method of safety detection comprises the steps:
Step S10, catch the shutdown interface unlatching message.
In the present embodiment, the unlatching message at shutdown interface is used for the unlatching at trigger action system shutdown interface, produces through the power-off operation that the user carried out.For example; In windows XP operating system; The user at this moment, catches the unlatching message of generation through clicking the unlatching message at the shutdown button triggering for generating shutdown interface in the desktop start menu; The forms procedure function will be handled after receiving unlatching message and open message, and open the shutdown interface that comprises three selector buttons.
As shown in Figure 2, in one embodiment, the detailed process of above-mentioned steps S10 is:
Step S110 calls Hook Function.
In the present embodiment, hook (Hook) function is that essence is the program segment of a processing messages, through calling in the injected system at the normal function that message starts before in advance of accepting in service.The pass closed procedure of operating system is combined with safety detection; The operation safety detection neither can not wasted user time when the user need not use service in the operating system to hope the shutoff operation operation; Taken into account security of system again; Therefore, before the unlatching message at shutdown interface also triggers the unlatching at the interface of shutting down, need call Hook Function and realize that safety detection is injected in the desktop process.
In another embodiment, also will in the dynamic link library of operating system, carry out the step of hold-down hook subfunction in advance before the above-mentioned steps S110.In the present embodiment, the installation in advance of Hook Function can be realized as the inlet point of Hook Function in the entrance of system closing, at this moment, can be after the unlatching message of having caught the shutdown interface through the operation of preassembled Hook Function execution appointment.Because Hook Function is kept watch on is the message that this thread of open event at shutdown interface is produced, and belongs to the thread hook, will be installed in advance in the dynamic link library of operating system.
Step S130, through Hook Function catch the shutdown interface unlatching message.
In the present embodiment, when the unlatching message at triggering for generating shutdown interface, catch unlatching message through Hook Function, to realize operating system is closed the control of closed procedure.
Step S30 handles the shutdown interface that the unlatching message of catching obtains being provided with the safety shutdown option.
In the present embodiment, the unlatching message of catching is handled so that follow-up operating system is closed the operation establishment shutdown interface of closed procedure according to appointment, obtained comprising the shutdown interface of safety shutdown option, carry out selection operation for the user.
As shown in Figure 3, in one embodiment, the detailed process of above-mentioned steps S30 is:
Step S310 is according to pattern insertion safety shutdown option in the shutdown interface at shutdown interface in the operating system.
In the present embodiment, various OS Type all has the pattern at the shutdown interface corresponding with it, and the pattern at shutdown interface has been described the information of aspects such as layout in the shutdown interface, attribute, is used for confirming the forms form at shutdown interface.For example; Windows XP operating system has comprised the shutdown interface of drop-down list form and the shutdown interface of three button forms, the user through to the shutdown of the click executive operating system of the selected or a certain button of drop-down list item, restart and operation such as sleep; In the windows7 operating system; The shutdown interface is positioned at start menu with the form of menu; Wherein, The shutdown interface comprises a shutdown button and a plurality of expansion shutdown menu, and this expansion shutdown menu has comprised expansion shutdown menu items such as " switching the user ", " cancellation ", " locking ", " restarting ", " dormancy " and " sleep ".
In operating system with in the corresponding shutdown of the pattern interface of presetting, insert the safety shutdown option; Comparing with original shutdown interface and increased the safety shutdown option newly in shutdown interface after feasible the insertion, carries out safety detection so that the user can be chosen in the system closing process through the shutdown interface.
In one embodiment; The pattern at shutdown interface is drop-down list or button; The detailed process of above-mentioned steps S310 is: create the pattern at function change shutdown interface through the dialog box of application programming interfaces in the operating system user interface, import the pattern of changing into shutdown interface that the message call back function obtains inserting safety shutdown drop-down list item or button as parameter.
In the present embodiment; After capturing unlatching message; Application programming interfaces are crucial system function User32 in the operating system user interface; Can be used for creating window and send message, and dialog box establishment function is DialogBoxParam that the pattern that can be used for carrying out according to the shutdown interface is created operations such as dialog box.The pattern of change is imported into as parameter, in the dialog box process, control the initialization of dialog box through the message call back function, and then the shutdown interface that obtains inserting safe drop-down list item or button.At this moment, the shutdown interface selection that will shutdown will be provided, restart and sleep to the user with the form of drop-down list.
Further, the pattern at shutdown interface is the dialog template resource in the windows XP operating system, promptly is used to describe the resource of dialog box style, wherein, has described attribute, control and the layout of dialog box respectively.In system, in the pattern at preset shutdown interface, set button in the interface of shutting down and the service that can provide thereof have been described.
In one embodiment; The pattern at shutdown interface is a menu; The detailed process of above-mentioned steps S310 is: through the constructive process of The Component Object Model function processing enclosure expanded menu interface, and the shell extension menu interface of SubClassing establishment obtains inserting the menu of safety shutdown expanded menu item.
In the present embodiment; When the user triggers the clicking operation that gets into the shutdown menu through opening menu, with the shut down establishment of menu of triggering, at this moment; Will be through the The Component Object Model function; Be the constructive process that the com object function comes processing enclosure expanded menu interface, and then shell expanded menu interface carried out SubClassing forms process handle, take over by the window of SubClassing; The interface of promptly shutting down; Obtain the control at shutdown interface, in the shutdown menu, insert the safety shutdown expanded menu, to show expansion shutdown menu items such as having comprised " switching the user ", " cancellation ", " locking ", " restarting ", " dormancy ", " sleep " and " safety shutdown " to the user.Wherein, the shell extension menu interface is the IShellMenu interface.SubClassing forms process is handled to be and is used the shutdown interface that has increased the safety shutdown option newly to replace the process at original shutdown interface.
The control method of above-mentioned safety detection is passed through the injection of safety detection in the bottom layer realization system closing, for the user provides the operation interface that carries out safety shutdown, and then according to shutdown system after user's the operation enforcement safety detection.
Step S330 shows the shutdown interface.
In the present embodiment, show the shutdown interface to the user, make the user implement shutdown system, make system get into sleep pattern and carry out safety detection through the operation of shutdown in the interface after response process such as shutdown system.
Step S50 carries out safety detection according to the selected operation of safety shutdown in the shutdown interface, and finishes shutoff operation system afterwards in safety detection.
In the present embodiment, the shutdown interface is monitored, the selected operation that listens to is thrown by the upper strata framework handle, carry out safety detection, and detecting shutoff operation system when finishing.The upper strata framework is that the bottom of safety detection during relative system is closed injects; Be used to provide various services, for example, power-off operation, apocrypha scanning, rubbish cleaning etc.; Correspondingly comprise several plug-in units, be respectively applied for the required service that provides in the framework of upper strata that realizes.Concrete, in the framework of upper strata each service corresponding a plug-in unit, for example, this service of apocrypha scanning has corresponding insert, and this service of rubbish cleaning also has plug-in unit corresponding with it, and according to the selected operation calls corresponding insert that listens to.
The control method of above-mentioned safety detection is applied in the security classes software; The user carries out operations such as apocrypha scanning and garbage-cleaning through corresponding insert in the operation calls security classes software of triggering safety shutdown in the interface of shutting down, and detecting end afterwards can shutdown system.
As shown in Figure 4, in one embodiment, a kind of control device of safety detection comprises trapping module 10, processing module 30 and respond module 50.
Trapping module 10 is used to catch the unlatching message at shutdown interface.
In the present embodiment, the unlatching message at shutdown interface is used for the unlatching at trigger action system shutdown interface, produces through the power-off operation that the user carried out.For example; In windows XP operating system; The user is through clicking the unlatching message at the shutdown button triggering for generating shutdown interface in the desktop start menu, and at this moment, trapping module 10 is caught the unlatching message of generation; The forms procedure function will be handled after receiving unlatching message and open message, and open the shutdown interface that comprises three selector buttons.
As shown in Figure 5, in one embodiment, above-mentioned trapping module 10 comprises call unit 110 and message capturing unit 130.
Call unit 110 is used to call Hook Function.
In the present embodiment, Hook Function is that essence is the program segment of a processing messages at the normal function that message starts before in advance of accepting in service, and call unit 110 is through calling in the safety detection injected system.The pass closed procedure of operating system combines with safety detection; The operation safety detection neither can not wasted user time when the user need not use service in the operating system to hope the shutoff operation operation; Taken into account security of system again; Therefore, before the unlatching message at shutdown interface also triggers the unlatching at the interface of shutting down, need call unit 110 to call Hook Function and realize that safety detection is injected in the desktop process.
In another embodiment, calling before the Hook Function also hold-down hook subfunction in the dynamic link library in operating system in advance of above-mentioned trapping module 10.In the present embodiment, the installation in advance of Hook Function can be realized as the inlet point of Hook Function in the entrance of system closing, at this moment, can be after the unlatching message of having caught the shutdown interface through the operation of preassembled Hook Function execution appointment.Because Hook Function is kept watch on is the message that this thread of open event at shutdown interface is produced, and belongs to the thread hook, and module 10 is installed in the dynamic link library of operating system in advance with being hunted down.
Message capturing unit 130, be used for through Hook Function catch the shutdown interface unlatching message.
In the present embodiment, when the unlatching message at triggering for generating shutdown interface, message capturing unit 130 is caught unlatching message through Hook Function, to realize operating system is closed the control of closed procedure.
Processing module 30 is used to handle the shutdown interface that the unlatching message of catching obtains being provided with the safety shutdown option.
In the present embodiment, the unlatching message that 30 pairs of processing modules are caught is handled so that follow-up operating system is closed closed procedure and is created the shutdown interface according to the operation of appointment, has obtained comprising the shutdown interface of safety shutdown option, carries out selection operation for the user.
As shown in Figure 6, in one embodiment, above-mentioned processing module 30 comprises inserts unit 310 and display unit 330.
Insert unit 310, be used in the shutdown interface, inserting the safety shutdown option according to the pattern at operating system shutdown interface.
In the present embodiment, various OS Type all has the pattern at the shutdown interface corresponding with it, and the pattern at shutdown interface has been described the information of aspects such as layout in the shutdown interface, attribute, is used for confirming the forms form at shutdown interface.For example; Windows XP operating system has comprised the shutdown interface of drop-down list form and the shutdown interface of three button forms, the user through to the shutdown of the click executive operating system of the selected or a certain button of drop-down list item, restart and operation such as sleep; In the windows7 operating system; The shutdown interface is positioned at start menu with the form of menu; Wherein, The shutdown interface comprises a shutdown button and a plurality of expansion shutdown menu, and this expansion shutdown menu has comprised expansion shutdown menu items such as " switching the user ", " cancellation ", " locking ", " restarting ", " dormancy " and " sleep ".
Insert unit 310 and in operating system with in the corresponding shutdown of the pattern interface of presetting, insert the safety shutdown option; Comparing with original shutdown interface and increased the safety shutdown option newly in shutdown interface after feasible the insertion, carries out safety detection so that the user can be chosen in the system closing process through the shutdown interface.
In one embodiment; The pattern at shutdown interface is drop-down list or button; Above-mentioned insertion unit 310 also is used for creating through the dialog box of operating system user interface application programming interfaces the pattern at function change shutdown interface, imports the pattern of changing into shutdown interface that the message call back function obtains inserting safety shutdown drop-down list item or button as parameter.
In the present embodiment; After capturing unlatching message; Application programming interfaces are crucial system function User32 in the operating system user interface; Can be used for creating window and send message, and dialog box establishment function is DialogBoxParam that the pattern that can be used for carrying out according to the shutdown interface is created operations such as dialog box.Insert unit 310 pattern of changing is imported into as parameter, in the dialog box process, control the initialization of dialog box through the message call back function, and then the shutdown interface that obtains inserting safe drop-down list item or button.At this moment, the shutdown interface selection that will shutdown will be provided, restart and sleep to the user with the form of drop-down list.
Further, the pattern at shutdown interface is the dialog template resource in the windows XP operating system, promptly is used to describe the resource of dialog box style, wherein, has described attribute, control and the layout of dialog box respectively.In system, in the pattern at preset shutdown interface, set button in the interface of shutting down and the service that can provide thereof have been described.
In another embodiment; The pattern at shutdown interface is a menu; Above-mentioned insertion unit 310 also is used for the constructive process through The Component Object Model function processing enclosure expanded menu interface, and the shell extension menu interface of SubClassing establishment obtains inserting the menu of safety shutdown expanded menu item.
In the present embodiment; When the user triggers the clicking operation that gets into the shutdown menu through opening menu, with the shut down establishment of menu of triggering, at this moment; Inserting unit 310 will be through the The Component Object Model function; Be the constructive process that the com object function comes processing enclosure expanded menu interface, and then shell expanded menu interface carried out SubClassing forms process handle, take over by the window of SubClassing; The interface of promptly shutting down; Obtain the control at shutdown interface, in the shutdown menu, insert the safety shutdown expanded menu, to show expansion shutdown menu items such as having comprised " switching the user ", " cancellation ", " locking ", " restarting ", " dormancy ", " sleep " and " safety shutdown " to the user.Wherein, the shell extension menu interface is the IShellMenu interface.SubClassing forms process is handled to be and is used the shutdown interface that has increased the safety shutdown option newly to replace the process at original shutdown interface.
The control device of above-mentioned safety detection passes through the injection of safety detection in the bottom layer realization system closing, for the user provides the operation interface that carries out safety shutdown, and then according to shutdown system after user's the operation enforcement safety detection.
Display unit 330 is used for showing the shutdown interface.
In the present embodiment, display unit 330 is showed the shutdown interface to the user, make the user implement shutdown system, make system get into sleep pattern and carry out safety detection through the operation of shutdown in the interface after response process such as shutdown system.
Respond module 50 is used for carrying out safety detection according to the selected operation of shutdown interface safety shutdown, and finishes shutoff operation system afterwards in safety detection.
In the present embodiment, the shutdown interface is monitored, the selected operation that listens to is thrown by the upper strata framework handle, carry out safety detection, and detecting shutoff operation system when finishing.The upper strata framework is that the bottom of safety detection during relative system is closed injects; Be used to provide various services, for example, power-off operation, apocrypha scanning, rubbish cleaning etc.; Correspondingly comprise several plug-in units, be respectively applied for the required service that provides in the framework of upper strata that realizes.Concrete, in the framework of upper strata each service corresponding a plug-in unit, for example, this service of apocrypha scanning has corresponding insert, and this service of rubbish cleaning also has plug-in unit corresponding with it, and according to the selected operation calls corresponding insert that listens to.
The control device of above-mentioned safety detection is applied in the security classes software; The user carries out operations such as apocrypha scanning and garbage-cleaning through corresponding insert in the operation calls security classes software of triggering safety shutdown in the interface of shutting down, and detecting end afterwards can shutdown system.
The control method of above-mentioned safety detection and device; In capturing operating system after the unlatching message at shutdown interface,, and then carry out safety detection through the selected operation of safety shutdown option in the shutdown interface with the shutdown interface that create to supply the user to carry out the selected operation of safety shutdown; And after safety detection finishes automatic shutoff operation system; Because the user can not use any service in the operating system, therefore can not use and cause interference, and then reduce user's interference in the meantime the user; Take into account the user to the smooth and easy use of operating system and the execution of safety detection, improved security of system.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.

Claims (12)

1. the control method of a safety detection comprises the steps:
Catch the unlatching message at shutdown interface;
Handle said unlatching message of catching and obtain being provided with the shutdown interface of safety shutdown option;
Safety detection is carried out in selected operation according to safety shutdown in the said shutdown interface, and finishes shutoff operation system afterwards in safety detection.
2. the control method of safety detection according to claim 1 is characterized in that, said step of catching the unlatching message at shutdown interface is:
Call Hook Function;
Catch the unlatching message at shutdown interface through said Hook Function.
3. the control method of safety detection according to claim 2 is characterized in that, the said step of calling Hook Function also is included in the step of in the dynamic link library of operating system said Hook Function being installed before.
4. the control method of safety detection according to claim 1 is characterized in that, the step that the said unlatching message of catching of said processing obtains being provided with the shutdown interface of safety shutdown option is:
Pattern according to shutdown interface in the said operating system inserts the safety shutdown option in the shutdown interface;
Show said shutdown interface.
5. the control method of safety detection according to claim 4; It is characterized in that; The pattern at said shutdown interface is drop-down list or button, and said pattern according to shutdown interface in the said operating system inserts the safety shutdown option in the shutdown interface detailed process is:
Dialog box through application programming interfaces in the operating system user interface is created the pattern at function change shutdown interface, imports the pattern of said change into shutdown interface that the message call back function obtains inserting safety shutdown drop-down list item or button as parameter.
6. the control method of safety detection according to claim 4; It is characterized in that; The pattern at said shutdown interface is a menu, and said pattern according to shutdown interface in the said operating system inserts safety shutdown option safety shutdown option in the shutdown interface detailed process is:
Through the constructive process of The Component Object Model function processing enclosure expanded menu interface, and the shell extension menu interface of the said establishment of SubClassing obtains inserting the menu of safety shutdown expanded menu item.
7. the control device of a safety detection is characterized in that, comprising:
Trapping module is used to catch the unlatching message at shutdown interface;
Processing module is used to handle the shutdown interface that said unlatching message of catching obtains being provided with the safety shutdown option;
Respond module is used for carrying out safety detection according to the selected operation of said shutdown interface safety shutdown, and finishes shutoff operation system afterwards in safety detection.
8. the control device of safety detection according to claim 7 is characterized in that, said trapping module comprises:
Call unit is used to call Hook Function;
The message capturing unit, be used for through said Hook Function catch the shutdown interface unlatching message.
9. the control device of safety detection according to claim 8 is characterized in that, said trapping module also is used at the dynamic link library of operating system said Hook Function being installed.
10. the control device of safety detection according to claim 7 is characterized in that, said processing module comprises:
Insert the unit, be used in the shutdown interface, inserting the safety shutdown option according to the pattern at said operating system shutdown interface;
Display unit is used to show said shutdown interface.
11. the control device of safety detection according to claim 10; It is characterized in that; The pattern at said shutdown interface is drop-down list or button; The dialog box that said insertion unit also is used for through operating system user interface application programming interfaces is created the pattern at function change shutdown interface, imports the pattern of said change into shutdown interface that the message call back function obtains inserting safety shutdown drop-down list item or button as parameter.
12. the control device of safety detection according to claim 9; It is characterized in that; The pattern at said shutdown interface is a menu; Said insertion unit also is used for the constructive process through The Component Object Model function processing enclosure expanded menu interface, and the shell extension menu interface of the said establishment of SubClassing obtains inserting the menu of safety shutdown expanded menu item.
CN2012102118013A 2012-06-25 2012-06-25 Safety detection control method and device Pending CN102750488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102118013A CN102750488A (en) 2012-06-25 2012-06-25 Safety detection control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102118013A CN102750488A (en) 2012-06-25 2012-06-25 Safety detection control method and device

Publications (1)

Publication Number Publication Date
CN102750488A true CN102750488A (en) 2012-10-24

Family

ID=47030661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102118013A Pending CN102750488A (en) 2012-06-25 2012-06-25 Safety detection control method and device

Country Status (1)

Country Link
CN (1) CN102750488A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345798A (en) * 2018-01-26 2018-07-31 北京奇虎科技有限公司 Loophole restorative procedure and device
CN110188536A (en) * 2019-05-22 2019-08-30 北京邮电大学 Application program detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369778A (en) * 2001-02-15 2002-09-18 英业达股份有限公司 High-safety shtdown method for protecting Window 9X system
CN101334724A (en) * 2007-06-25 2008-12-31 国际商业机器公司 Shutdown options setting method and device based on computer operating time
CN102222184A (en) * 2011-05-17 2011-10-19 中兴通讯股份有限公司 Method and system for killing mobile terminal viruses

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369778A (en) * 2001-02-15 2002-09-18 英业达股份有限公司 High-safety shtdown method for protecting Window 9X system
CN101334724A (en) * 2007-06-25 2008-12-31 国际商业机器公司 Shutdown options setting method and device based on computer operating time
CN102222184A (en) * 2011-05-17 2011-10-19 中兴通讯股份有限公司 Method and system for killing mobile terminal viruses

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345798A (en) * 2018-01-26 2018-07-31 北京奇虎科技有限公司 Loophole restorative procedure and device
CN110188536A (en) * 2019-05-22 2019-08-30 北京邮电大学 Application program detection method and device
CN110188536B (en) * 2019-05-22 2021-04-20 北京邮电大学 Application program detection method and device

Similar Documents

Publication Publication Date Title
CN103927484B (en) Rogue program behavior catching method based on Qemu simulator
CN102347941B (en) A kind of safety applications control method based on open platform
US20060075359A1 (en) System and method for managing a floating window
CN103164229A (en) Method and device for clearing progresses of mobile terminal
CN102750477B (en) Method and system for controlling closing of terminal
CN102810143A (en) Safety detecting system and method based on mobile phone application program of Android platform
CN101316402A (en) Method for managing task on mobile phone
CN111291384B (en) Vulnerability scanning method and device and electronic equipment
CN102196097A (en) Method and device for automatically closing idle programs of mobile communication terminal background
CN101727281A (en) System and method for one-key locking of computer monitor
CN102833120B (en) The abnormal method and system of NM server are processed in a kind of rapid automatized test
CN103067597B (en) Mobile terminal startup task execution method
CN106330599A (en) Multi-thread collection system and method for network flow of Android application program
CN107526477B (en) Unlocking screen method, apparatus and terminal
CN106843675B (en) Method and device for generating shortcut
CN103812996B (en) A kind of information cuing method, device and terminal
CN102184118B (en) System recovery method
CN110022492A (en) Intelligent television terminal focus adaptation method and device
CN106030523A (en) Method and device of realizing 3D dynamic effect interaction on handset launcher
CN102750488A (en) Safety detection control method and device
CN105930190B (en) A kind of program self-start method and device based on operating system
CN103309668A (en) Method and device for processing uncaught exception of application programs
CN108055142B (en) Automatic interface configuration method and system for vCPE (virtual customer premise equipment)
CN111382424A (en) Mobile application sensitive behavior detection method and system based on controlled environment
CN107835454A (en) Timeout treatment method, apparatus and storage medium based on WebApp

Legal Events

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

Application publication date: 20121024