CN102541289A - Method for implementation of universal keyboard lock function - Google Patents

Method for implementation of universal keyboard lock function Download PDF

Info

Publication number
CN102541289A
CN102541289A CN2012100049964A CN201210004996A CN102541289A CN 102541289 A CN102541289 A CN 102541289A CN 2012100049964 A CN2012100049964 A CN 2012100049964A CN 201210004996 A CN201210004996 A CN 201210004996A CN 102541289 A CN102541289 A CN 102541289A
Authority
CN
China
Prior art keywords
user
dynamic link
link library
unlocking
lock function
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
CN2012100049964A
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.)
Shenzhen 3nod Information Technology Co., Ltd.
Shenzhen 3Nod Electronics Co Ltd
Original Assignee
SUZHOU 3NOD INFORMATION TECHNOLOGY 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 SUZHOU 3NOD INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU 3NOD INFORMATION TECHNOLOGY Co Ltd
Priority to CN2012100049964A priority Critical patent/CN102541289A/en
Publication of CN102541289A publication Critical patent/CN102541289A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for implementation of a universal keyboard lock function, which includes steps: calling a derived function from a dynamic link library and setting up a global hook within a system range; and judging whether each user's keying intercepted in the dynamic link library is an unlocking key combination or not, if yes, stopping intercepting and unlocking, and if no, directly ignoring the keying which is transparent for an operating system. An unlocking key predefined by a user is directly written into a registry, and an original file system of the user is unchanged while unlocking failure caused by file misoperation of the user can be avoided. A WIN32API (application program interface) is used in the method without depending on any other component, the capacity of a final program is greatly reduced, and the capacity of all finally released program files cannot exceed 64KB.

Description

The implementation method of universal keypad lock function
Technical field
The present invention relates to a kind of method of keypad lock function, be specifically related to a kind of method that is implemented in the keyboard lockout function on the WINDOWS operating system to universal computer.
Background technology
In the real life, need the temporary close keypad function sometimes, the ongoing task of user is caused interference to prevent the keyboard misoperation.Traditional similar software is mainly considered from security purpose, in the locking keyboard, can lock mouse simultaneously, and What is more directly locks desktop, and the user just can't normally carry out other operation (such as watching video) like this, has therefore brought very big inconvenience.
Summary of the invention
The objective of the invention is to overcome the above problem that prior art exists, a kind of implementation method of universal keypad lock function is provided.
For realizing above-mentioned technical purpose, reach above-mentioned technique effect, the present invention realizes through following technical scheme:
The implementation method of universal keypad lock function may further comprise the steps:
Step 1) is called the derivative function in the dynamic link library, and the overall hook in the system scope is set;
Step 2) whenever intercepting user's button in the dynamic link library, can judge whether it is the release Macintosh, is then to stop interception, release; Otherwise directly ignore this button, uncared-for button is transparent to operating system.
The invention has the beneficial effects as follows:
The present invention directly writes registration table with the locking key of separating of consumer premise justice, neither changes the original user file system, can avoid the user misoperation file to cause the release failure again.In addition, program of the present invention is used WIN32 API fully, does not rely on any other assembly, has dwindled the volume of final program widely, and all program file volumes of final issue can not surpass 64KB.
Above-mentioned explanation only is the general introduction of technical scheme of the present invention, understands technological means of the present invention in order can more to know, and can implement according to the content of instructions, below with preferred embodiment of the present invention and conjunction with figs. specify as after.Embodiment of the present invention is provided by following examples and accompanying drawing thereof in detail.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 master's dialog box of the present invention synoptic diagram;
Fig. 2 system tray synoptic diagram of the present invention.
Embodiment
Below with reference to accompanying drawing and combine embodiment, specify the present invention.
The implementation method of universal keypad lock function may further comprise the steps:
During this program of step 1) operation, detect this program and whether move, withdraw from if moved then;
Step 2) the locking key setting is separated in inspection, if move this program first, then writes default setting to registration table;
Step 3) shows user interfaces such as dialog box, tray icon, and according to step 2) in the parameter that reads, window controls such as CheckBox and Edit are set, as shown in Figure 1;
Step 4) is called the derivative function in the dynamic link library behind user click Lock button, the overall hook in the system scope is set;
Whenever intercepting user's button in the step 5) dynamic link library, can judge whether it is the release Macintosh, is then to stop interception, release; Otherwise directly ignore this button, uncared-for button is transparent to operating system;
Other function of step 6): the user can be provided with, preserve and separate locking key; Right button can be selected to quit a program on tray icon, and is as shown in Figure 2.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (1)

1. the implementation method of universal keypad lock function is characterized in that, may further comprise the steps:
Step 1) is called the derivative function in the dynamic link library, and the overall hook in the system scope is set;
Step 2) whenever intercepting user's button in the dynamic link library, can judge whether it is the release Macintosh, is then to stop interception, release; Otherwise directly ignore this button, uncared-for button is transparent to operating system.
CN2012100049964A 2012-01-10 2012-01-10 Method for implementation of universal keyboard lock function Pending CN102541289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100049964A CN102541289A (en) 2012-01-10 2012-01-10 Method for implementation of universal keyboard lock function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100049964A CN102541289A (en) 2012-01-10 2012-01-10 Method for implementation of universal keyboard lock function

Publications (1)

Publication Number Publication Date
CN102541289A true CN102541289A (en) 2012-07-04

Family

ID=46348326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100049964A Pending CN102541289A (en) 2012-01-10 2012-01-10 Method for implementation of universal keyboard lock function

Country Status (1)

Country Link
CN (1) CN102541289A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553316A (en) * 2003-03-12 2004-12-08 中兴通讯股份有限公司 Universal locking system of windows applied programm interface and method thereof
CN101727281A (en) * 2009-09-04 2010-06-09 丁贵 System and method for one-key locking of computer monitor
CN101951423A (en) * 2010-08-31 2011-01-19 华为终端有限公司 Keyboard unlocking method and terminal
CN102236760A (en) * 2011-07-05 2011-11-09 珠海恒宇新科技有限公司 System and method for locking and unlocking keyboard

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553316A (en) * 2003-03-12 2004-12-08 中兴通讯股份有限公司 Universal locking system of windows applied programm interface and method thereof
CN101727281A (en) * 2009-09-04 2010-06-09 丁贵 System and method for one-key locking of computer monitor
CN101951423A (en) * 2010-08-31 2011-01-19 华为终端有限公司 Keyboard unlocking method and terminal
CN102236760A (en) * 2011-07-05 2011-11-09 珠海恒宇新科技有限公司 System and method for locking and unlocking keyboard

Similar Documents

Publication Publication Date Title
EP3493090B1 (en) Control method and unit of mobile storage devices, and storage medium
TWI659328B (en) Computer system and file access control method
US7797727B1 (en) Launching an application in a restricted user account
CN101788944A (en) Method for detecting failures of AIX system by means of mandatory access control
CN104063669A (en) Method for monitoring file integrity in real time
EP2241987A3 (en) Method and system for safely deleting information from a computer
CN101510157B (en) Input method installation method and device
US20110289418A1 (en) Method for Accessing Control That Based on Virtual Computing
WO2019037521A1 (en) Security detection method, device, system, and server
CN102194079A (en) File access filtering method
CN102541289A (en) Method for implementation of universal keyboard lock function
CN101827091A (en) Method for detecting Solaris system fault by utilizing mandatory access control
CN109165506B (en) Online virus searching and killing and virus protecting method for industrial control fault-tolerant server
CN113467895B (en) Docker operation method, docker operation device, server and storage medium
CN102222189A (en) Method for protecting operating system
CN103235746B (en) Server all-in-one automatic recovery method
CN103353930A (en) Method and device for preventing infectious virus infection
WO2012109895A1 (en) Method and device for managing device management tree under device management client multi-server
CN104360856B (en) Cloud application delivery installation
CN102651036A (en) Universal and reliable file coping operation identifying method
CN104021355B (en) A kind of multi-process operates the security method menu of same file simultaneously
CN102156839A (en) Method for limiting authority of cloud computing privileged user by using mandatory access control
CN101894243A (en) Immunization method of malicious plugins aiming at network browser
KR20220145580A (en) Security Managing Method For Industrial Control System To Detect DLL Injection
KR101552688B1 (en) Security method and system at endpoint stage using user policy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHENZHEN 3NOD ELECTRONICS CO., LTD.

Free format text: FORMER OWNER: SUZHOU 3NOD INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20130807

Owner name: SHENZHEN 3NOD INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20130807

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 215000 SUZHOU, JIANGSU PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20130807

Address after: 518057 Guangdong city of Shenzhen province Baoan District Songgang Tangxia Chung Community Public Road No. 15 Sannuo high tech Park

Applicant after: Shenzhen 3nod Electronics Co., Ltd.

Applicant after: Shenzhen 3nod Information Technology Co., Ltd.

Address before: High tech Zone Suzhou city Jiangsu province 215000 Chuk Yuen Road No. 209

Applicant before: Suzhou 3NOD Information Technology Co., Ltd.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120704