CN107578515A - The control method of a kind of electronic equipment and electronic lock - Google Patents

The control method of a kind of electronic equipment and electronic lock Download PDF

Info

Publication number
CN107578515A
CN107578515A CN201710865696.8A CN201710865696A CN107578515A CN 107578515 A CN107578515 A CN 107578515A CN 201710865696 A CN201710865696 A CN 201710865696A CN 107578515 A CN107578515 A CN 107578515A
Authority
CN
China
Prior art keywords
electronic lock
electronic equipment
electronic
interface
input
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.)
Granted
Application number
CN201710865696.8A
Other languages
Chinese (zh)
Other versions
CN107578515B (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 CN201710865696.8A priority Critical patent/CN107578515B/en
Publication of CN107578515A publication Critical patent/CN107578515A/en
Application granted granted Critical
Publication of CN107578515B publication Critical patent/CN107578515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

This application provides a kind of electronic equipment and the control method of electronic lock, the electronic equipment includes:Cabinet, mainboard, electronic lock, the input interface for input unit to be accessed to the mainboard, first interface controller, second interface controller, interface switch, and also include electronic lock controller, the electronic lock controller is used for when electronic equipment is in off-mode, the electronic lock encrypted message of input unit input is obtained by second interface controller, and switch control is carried out to the electronic lock based on the electronic lock encrypted message;Wherein, when electronic equipment is in off-mode, carried out to the input interface of electronic equipment, interface switch, second interface controller and electronic lock controller independently-powered.It can be seen that using application scheme, when electronic equipment is in off-mode, remain to carry out switch control to the electronic lock of electronic equipment, be that the use control of electronic lock under off-mode is provided convenience.

Description

The control method of a kind of electronic equipment and electronic lock
Technical field
The invention belongs to the technical field of switch control of electronic lock, more particularly to the control of a kind of electronic equipment and electronic lock Method.
Background technology
The computer product requirement of a new generation imports electronic lock function for the mainframe box of computer, with lifting means master The security of machine.
At present, typically by computer BIOS (Basic Input Output System, basic input output system) Middle progress Lock or unLock are set, and realize and the state of electronic lock is controlled, but cannot be started up in computer, are such as run into When the problems such as BIOS collapses causes the computer to cannot be started up, then it can not realize and electronics lock status is controlled.So as in order to right Computer motherboard is repaired to solve problem, is generally required to open cabinet by way of tolling breakdown electronic lock, is easily caused Electronic lock damages and brings great inconvenience to open equipment cabinets.
The content of the invention
In view of this, it is an object of the invention to provide a kind of electronic equipment and the control method of electronic lock, it is intended to solves Above mentioned problem so that when computer is in off-mode, remain to carry out switch control to computer cabinet electronic lock.
Therefore, the present invention is disclosed directly below technical scheme:
A kind of electronic equipment, including:
Cabinet;
Mainboard, it is arranged on the cabinet inside;
Electronic lock, for when in locked state, the sealed cabinet;
Input interface, for input unit to be accessed into the mainboard;
First interface controller and second interface controller, are arranged on mainboard, for from the input interface Input information carries out input control;
Interface switch, for when electronic equipment is in open state, controlling the input interface and the first interface Controller connects;When electronic equipment is in off-mode, the input interface is controlled to be connected with the second interface controller;
Electronic lock controller, for when the electronic equipment is in off-mode, passing through the second interface controller The electronic lock encrypted message of the input unit input is obtained, and the electronic lock is carried out based on the electronic lock encrypted message State controls;Wherein, when the electronic equipment is in off-mode, to the input interface, the interface of the electronic equipment Switch, second interface controller and electronic lock controller carry out independently-powered.
Above-mentioned electronic equipment, it is preferred that the first interface controller is arranged on the mainboard soldered ball battle array of the electronic equipment In row encapsulation PCH, the second interface controller, the interface switch and the electronic lock controller are arranged on the electronics and set In multifunction card superIO on standby mainboard.
Above-mentioned electronic equipment, it is preferred that the electronic equipment also includes:The register being arranged in the superIO;
The then electronic lock controller, state control, tool are carried out to the electronic lock based on the electronic lock encrypted message Body includes:
The electronic lock benchmark password prestored is obtained from the register;Judge the electronics of the input unit input Whether lock cipher information and the electronic lock benchmark password are consistent, obtain judged result;If both described judged result expressions one Cause, then control the electronic lock to be in unlocking condition, if the judged result represents that both are inconsistent, control the electronic lock In blocking.
Above-mentioned electronic equipment, it is preferred that the electronic lock benchmark password in the register is:It is in advance in electronic equipment During open state by the predetermined application in the electronic equipment set by password.
Above-mentioned electronic equipment, it is preferred that the electronic lock controller, be additionally operable to:
When the electronic equipment is in open state, it is defeated that the input unit is obtained by the first interface controller The electronic lock encrypted message entered, and state control is carried out to the electronic lock based on the electronic lock encrypted message.
Above-mentioned electronic equipment, it is preferred that the electronic equipment also includes:The electronics being arranged on the predetermined panel of the cabinet Ink screen E-ink.
A kind of control method of electronic lock, applied to electronic equipment, the electronic equipment includes:Cabinet, it is arranged at described The mainboard of cabinet inside, for the electronic lock of sealed cabinet when in locked state, for input unit to be accessed into institute State the input interface of mainboard, the first interface controller and second interface controller being arranged on the mainboard, and for When electronic equipment is in open state, the input interface is controlled to be connected, at electronic equipment with the first interface controller When off-mode, the interface switch that controls the input interface to be connected with the second interface controller;
Methods described includes:
When the electronic equipment is in off-mode, it is defeated that the input unit is obtained by the second interface controller The electronic lock encrypted message entered;
State control is carried out to the electronic lock based on the electronic lock encrypted message;Wherein, at the electronic equipment When off-mode, controlled to the input interface of the electronic equipment, interface switch, second interface controller and electronic lock Device carries out independently-powered.
The above method, it is preferred that the first interface controller is arranged on the mainboard welded ball array envelope of the electronic equipment Fill in PCH, the second interface controller, the interface switch and the electronic lock controller are arranged on the electronic equipment master In multifunction card superIO on plate, the electronic equipment also includes the register being arranged in the superIO;
It is then described that state control is carried out to the electronic lock based on the electronic lock encrypted message, including:
The electronic lock benchmark password prestored is obtained from the register;
Judge whether electronic lock encrypted message and the electronic lock benchmark password of the input unit input are consistent, obtain Judged result;
If the judged result represents that both are consistent, the electronic lock is controlled to be in unlocking condition, if described judge knot Fruit represents that both are inconsistent, then controls the electronic lock to be in blocking.
The above method, it is preferred that before the electronic lock benchmark password for obtaining and prestoring from the register, Also include:
In advance when electronic equipment is in open state, by the predetermined application in the electronic equipment to Electronic lock benchmark password is set in the register.
The above method, it is preferred that also include:
When the electronic equipment is in open state, it is defeated that the input unit is obtained by the first interface controller The electronic lock encrypted message entered, and state control is carried out to the electronic lock based on the electronic lock encrypted message.
From above scheme, this application provides a kind of electronic equipment and the control method of electronic lock, the electronics is set It is standby to include:Cabinet, mainboard, electronic lock, the input interface for input unit to be accessed to the mainboard, first interface controller, Second interface controller, interface switch, and also include electronic lock controller, the electronic lock controller is used in electronic equipment During in off-mode, the electronic lock encrypted message of input unit input is obtained by second interface controller, and based on described Electronic lock encrypted message carries out switch control to the electronic lock;Wherein, when electronic equipment is in off-mode, set to electronics Standby input interface, interface switch, second interface controller and electronic lock controller carries out independently-powered.It can be seen that using this Shen Please scheme, when electronic equipment is in off-mode, remain to carry out switch control to the electronic lock of electronic equipment, be off-mode The use control of lower electronic lock is provided convenience.
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 the structural representation for a kind of electronic equipment embodiment one that the application provides;
Fig. 2 is the electrical block diagram being controlled to electronic lock that the embodiment of the present application one provides;
Fig. 3 is the principle schematic being controlled to electronic lock that the embodiment of the present application one provides;
Fig. 4 is the structural representation for a kind of electronic equipment embodiment two that the application provides;
Fig. 5 is the structural representation for a kind of electronic equipment embodiment five that the application provides;
Fig. 6 is a kind of flow chart of the control method embodiment six for electronic lock that the application provides;
Fig. 7 is a kind of flow chart of the control method embodiment seven for electronic lock that the application provides;
Fig. 8 is a kind of flow chart of the control method embodiment eight for electronic lock that the application provides;
Fig. 9 is a kind of flow chart of the control method embodiment nine for electronic lock that the application 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.
The embodiment of the present application one provides a kind of electronic equipment, it is intended to is the use of the electronic lock under electronic equipment off-mode Control provides facility so that when electronic equipment shuts down, remains to carry out state control to the electronic lock of electronic equipment.With reference to figure 1 The structural representation of the application a kind of electronic equipment embodiment one shown, the electronic equipment can include:
Cabinet 1.
The electronic equipment can be computer (such as desktop computer) equipment, and accordingly, the cabinet can be calculated The mainframe box of the equipment such as machine, for placing mainboard, CPU (Central Processing with stationary computer equipment Unit, central processing unit), the various accessories such as video card, and the various accessories are played a part of with support and protection.
Mainboard 2, it is arranged on the cabinet inside.
The mainboard, can be specifically computer motherboard, installed in the inside of the mainframe box of computer, the mainboard one As be rectangular circuit board, the main circuit system of composition computer installed above, typically there is BIOS (Basic Input Output System, basic input output system) chip, I/O (Input/Output, input/output) control chip, key and Panel control switch interface, indicator lamp plug connector, expansion slot, the element such as dc source power supply connector of mainboard and plug-in card.
Electronic lock 3, for when in locked state, the sealed cabinet.
The electronic lock has sealed and opens two states, can be sealed when the electronic lock is in locked state The cabinet, to lift the security of the main frame of the electronic equipment.
Input interface 4, for input unit to be accessed into the mainboard.
The input interface can be wireline interface or wave point, for example can be specifically USB (Universal Serial Bus, USB) interface, or bluetooth, WI-FI (WIreless-Fidelity, Wireless Fidelity) interface Deng to be respectively used to that input unit is accessed into the mainboard by wired or wireless way.
Wherein, the input unit is used to provide input information to the mainboard, and it can be oneself of the electronic equipment Band input unit or external input device, such as, can be specifically that computer carries keyboard or external connection keyboard etc..
First interface controller 5 and second interface controller 6, are arranged on mainboard, for from the input interface Input information carry out input control.
The first interface controller, specifically for being connect when electronic equipment is in open state with the input interface It is logical, for carrying out input control to the input information from the input interface when electronic equipment is in open state;Phase Accordingly, the second interface controller, specifically for being connected when electronic equipment is in off-mode with the input interface, For carrying out input control to the input information from the input interface when electronic equipment is in off-mode.
Wherein, for example, when the input interface is USB interface, the first interface controller is specifically as follows USB Host interface control modules, as shown in Fig. 2 under traditional approach, the USB Host interface control modules are generally located on It is described when the electronic equipments such as computer are in open state in the PCH (encapsulation of mainboard welded ball array) of the electronic equipment USB Host in PCH are connected by USB interface with input units such as keyboards, to ensure the normal input of electronic apparatus system Function.
In the application, in order to realize under electronic equipment off-mode, remain to from input units such as the keyboards of electronic equipment Input information is obtained, and then makes it possible to carry out state control to the electronic lock of electronic equipment, in the electronic device additional Second interface controller, when the input interface is USB interface, the second interface controller equally can be USB Host interface control modules, as shown in Fig. 2 the USB Host set up specifically may be provided at it is more on the electronic equipment mainboard In function card superIO, for when electronic equipment is in off-mode, necessary letter is provided for the state control of electronic lock Cease access function.
Wherein, the PCH and the multifunction card superIO are arranged on the mainboard of electronic equipment.
Interface switch 7, for when electronic equipment is in open state, controlling the input interface and the first interface Controller connects;When electronic equipment is in off-mode, the input interface is controlled to be connected with the second interface controller.
The interface switch is connected with the first interface controller and second interface control, for according to electronics The on-off state of equipment, control is switched between the first interface controller and second interface controller, wherein, work as electricity When sub- equipment is in open state, controls and the input interface is switched to the first interface controller, when electronic equipment is in During off-mode, control and the input interface is switched to the second interface controller.
Still so that the input interface is USB interface as an example, as shown in Fig. 2 the interface switch can be USBSwitch (corresponding to the USB SW1 in fig. 2), in the present embodiment, the USB Switch are similarly disposed at the multifunction card In superIO.When electronic equipment is in open state, the USB interface is switched into PCH and connect with the USB Host in PCH It is logical, using cause based on the USB Host in PCH as open state under electronic lock state control provide needed for information (such as password Information) input function, that is to say, that when electronic equipment is in open state, input unit such as USB keyboard etc. returns PCH to manage, PCH possesses the control to input unit;When electronic equipment is in off-mode, the USB interface is switched to super IO simultaneously with super IO USB Host connect, using cause based on the USB Host in super IO as off-mode under electronics The switch control of lock provides required information input function, so as to which when electronic equipment is in off-mode, input unit is returned Super IO are managed, and super IO possess the control to input unit.
Electronic lock controller 8, for when the electronic equipment is in off-mode, passing through the second interface controller The electronic lock encrypted message of the input unit input is obtained, and the electronic lock is carried out based on the electronic lock encrypted message Switch control;Wherein, when the electronic equipment is in off-mode, to the input interface, the interface of the electronic equipment Switch, second interface controller and electronic lock controller carry out independently-powered.
The electronic lock controller can be specifically single-chip microcomputer, as shown in Fig. 2 can specifically be but not limited to institute in Fig. 2 The 8032UC single-chip microcomputers shown, it equally may be provided in the superIO.
The electronic lock controller can be used for when the electronic equipment is in off-mode, pass through the second interface control Device processed obtains the electronic lock encrypted message of the input unit input, and based on the electronic lock encrypted message to the electronic lock Carry out corresponding state control.For example when electronic equipment is in off-mode, pass through the USB Host in superIO in Fig. 2 The electronic lock unlocking cipher of USB keyboard is obtained, and unlocking control etc. is carried out to electronic lock based on the unlocking cipher, except this it Outside, with reference to figure 3, the locking configured information that USB keyboard can also be obtained by the USB Host in superIO (is closed as obtained one Lock cipher etc.), to carry out lock-in control to the electronic lock.
Here, it is necessary to illustrate, in order to support the normal use of electronic lock control function under electronic equipment off-mode, At least described input interface, interface switch, second interface controller and electronic lock controlled are still needed under electronic equipment off-mode Device processed is powered, however, in view of in the power-offstate, each component in electronic equipment can not be normally on slave unit mainboard Power taking, the application propose to carry out independent confession to the input interface, interface switch, second interface controller and electronic lock controller Electricity, can be electronics under off-mode by the external power supply of electronic equipment and/or the internal cell of electronic equipment specifically Each component is carried out independently-powered more than involved by the control function of lock.So that even if electronic equipment is in off-mode, Also it still is able to carry out switch control to the electronic lock of electronic equipment.
From above scheme, the electronic equipment that the embodiment of the present application provides includes:Cabinet, mainboard, electronic lock, for will Input unit accesses input interface, first interface controller, second interface controller, the interface switch of the mainboard, and also Including electronic lock controller, the electronic lock controller is used for when electronic equipment is in off-mode, passes through second interface control Device processed obtains the electronic lock encrypted message of input unit input, and the electronic lock is carried out based on the electronic lock encrypted message Switch control;Wherein, when electronic equipment is in off-mode, to the input interface, interface switch, second interface of electronic equipment Controller and electronic lock controller carry out independently-powered.It can be seen that using application scheme, off-mode is in electronic equipment When, remain to carry out switch control to the electronic lock of electronic equipment, be that the use control of electronic lock under off-mode is provided convenience.
In the embodiment of the present application two, the structural representation of the application a kind of electronic equipment embodiment two with reference to shown in figure 4 Figure, the electronic equipment can also include:
Register 9, it is connected with the electronic lock controller, for depositing the benchmark password of the electronic lock.
The register equally be may be provided in the multifunction card superIO, and electronic lock is carried out with reference to what figure 2 provided The principle schematic of control, the register (Password save storage unit described in corresponding diagram 2) are at least available Required benchmark password when storage to electronic lock unlock control.
On this basis, the electronic lock controller in the electronic equipment, when electronic equipment is in off-mode, it is based on The electronic lock encrypted message of reception carries out state control to the electronic lock, specifically includes:
The electronic lock benchmark password prestored is obtained from the register;Judge the electronics of the input unit input Whether lock cipher information and the electronic lock benchmark password are consistent, obtain judged result;If both described judged result expressions one Cause, then control the electronic lock to be in unlocking condition, if the judged result represents that both are inconsistent, control the electronic lock In blocking.
Still by taking Fig. 2 example as an example, when electronic equipment is in off-mode, the single-chip microcomputer 8032UC can be by described USB Host in superIO receive the electronic lock encrypted message from input unit, and are receiving electronic lock encrypted message When, the electronic lock benchmark password for pre-setting and storing is obtained from the register of the superIO, and compare the electronics of reception Whether lock cipher information and the benchmark password are consistent, if both are consistent, then it represents that password is correct, so as to control the electronic lock Unlock, otherwise, if both are inconsistent, then it represents that Password Input mistake, so as to still control the electronic lock to be in blocking.
Using this embodiment scheme, under electronic equipment power down condition, remain to carry out state to the electronic lock of electronic equipment Control, it is that the use control of electronic lock under electronic equipment power down condition is provided convenience.
In the embodiment of the present application three, the electronic lock benchmark password in the register is:It is in advance in electronic equipment During open state, pass through the password set by the predetermined application in the electronic equipment.
Specifically, the application program App for being managed, controlling to electronic lock can be installed in the electronic device in advance (Application), and when electronic equipment is in open state, electronic lock is unlocked by the App required when controlling Benchmark password is configured, wherein, set benchmark password storage is in the register of the superIO, after being embodied as The benchmark password that continuous electronic lock is unlocked needed for control offer is supported.In addition, when electronic equipment is in open state, also It can realize that the state needed for being carried out to the electronic lock controls by performing corresponding operating in the App.
Set with prior art by carrying out Lock or unLock in computer BIOS, realize and the state of electronic lock is entered The mode of row control is compared, the present embodiment provide under switch on condition, password is carried out to the electronic lock of electronic equipment based on App Setting and the mode of state control, further improve the flexibility that user uses electronic lock, better user experience.
In the embodiment of the present application four, the electronic lock controller, it can be also used for:
When the electronic equipment is in open state, it is defeated that the input unit is obtained by the first interface controller The electronic lock encrypted message entered, and state control is carried out to the electronic lock based on the electronic lock encrypted message.
When the electronic equipment is in open state, each component normal operation in electronic equipment, so as to direct By the first interface controller, the USB Host in PCH as shown in Figure 2 are close to obtain the electronic lock of input unit input Code information, and the state of electronic lock is controlled based on the electronic lock encrypted message.
Specifically, as shown in Fig. 2 when electronic equipment is in open state, the interface switch USB can be passed through The USB Host that Switch switches to the input interface in the PCH, so that electronic lock controller is the monolithic in Fig. 2 Machine 8032UC, the electronic lock encrypted message of the input units such as keyboard is obtained by the USB Host in the PCH, and it is defeated obtaining When entering the electronic lock encrypted message of device, the benchmark password in the register is further obtained, to pass through the benchmark password With the comparison result of the encrypted message received, accordingly to be controlled the state of electronic lock.
Here, it is necessary to explanation, the present embodiment provide when electronic equipment is in open state, the control to electronic lock Process processed, with above example provide by way of preassembled App in electronic equipment is controlled to electronic lock simultaneously Do not conflict, specifically, for a user, when it needs to carry out state control to the electronic lock of electronic equipment, such as, it is necessary to When controlling electronic lock unlocking, it can recall the unlocking interface of electronic lock in the App first, and and then be existed using input unit Electronic lock encrypted message is inputted in the unlocking interface, the USB Host in electronic equipment PCH pass through USB interface on this basis The encrypted message of the input unit is received, finally by the single-chip microcomputer 8032UC in superIO by by the encrypted message of reception It is compared with the benchmark password obtained from register, to determine whether to carry out unlocking control to electronic lock.
In the embodiment of the present application five, the structural representation of the application a kind of electronic equipment embodiment five with reference to shown in figure 5 Figure, the electronic equipment can also include:
The electronic ink screen E-ink 10 being arranged on the predetermined panel of the cabinet.
Wherein, the E-ink is used for the corresponding information for showing electronic equipment, the corresponding assets of electronic equipment as described in display Label information etc., to facilitate user to watch.
The predetermined panel, preferably can be the front panel of the mainframe box, you can with before mainframe box On be provided for the E-ink that is shown to electronic equipment corresponding information.When the application is embodied, can be set using integration Meter mode, the E-ink is embedded in the front panel of electronic equipment chassis before equipment is dispatched from the factory, or, in order to support E-ink Disassembled and assembled freely on electronic equipment chassis, corresponding mounting assembly, such as buckle or fixing screws, by described in can also be used E-ink is attached in the front panel of electronic equipment chassis, and the present embodiment is not construed as limiting to this.
The phase to electronic equipment can be achieved by setting E-ink on the predetermined panel of electronic equipment chassis in the present embodiment Close information (such as Asset Tag information) to be shown, so as to provide conveniently for user's viewing, understanding electronic device information.
The embodiment of the present application six provides a kind of control method of electronic lock, and this method is applicable to the electronics such as computer In equipment.Before being illustrated to the method for the embodiment of the present application, the electronic equipment that this method is applicable is situated between first Continue, wherein, the electronic equipment can include:
Cabinet.
The electronic equipment can be computer (such as desktop computer) equipment, and accordingly, the cabinet can be calculated The mainframe box of the equipment such as machine, for placing mainboard, CPU (Central Processing with stationary computer equipment Unit, central processing unit), the various accessories such as video card, and the various accessories are played a part of with support and protection.
Mainboard, it is arranged on the cabinet inside.
The mainboard, can be specifically computer motherboard, installed in the inside of the mainframe box of computer, the mainboard one As be rectangular circuit board, the main circuit system of composition computer installed above, typically there is BIOS (Basic Input Output System, basic input output system) chip, I/O (Input/Output, input/output) control chip, key and Panel control switch interface, indicator lamp plug connector, expansion slot, the element such as dc source power supply connector of mainboard and plug-in card.
Electronic lock, for when in locked state, the sealed cabinet.
The electronic lock has sealed and opens two states, can be sealed when the electronic lock is in locked state The cabinet, to lift the security of the main frame of the electronic equipment.
Input interface, for input unit to be accessed into the mainboard.
The input interface can be wireline interface or wave point, for example can be specifically USB (Universal Serial Bus, USB) interface, or bluetooth, WI-FI (WIreless-Fidelity, Wireless Fidelity) interface Deng to be respectively used to that input unit is accessed into the mainboard by wired or wireless way.
Wherein, the input unit is used to provide input information to the mainboard, and it can be oneself of the electronic equipment Band input unit or external input device, such as, can be specifically that computer carries keyboard or external connection keyboard etc..
First interface controller and second interface controller, are arranged on mainboard, for from the input interface Input information carries out input control.
The first interface controller, specifically for being connect when electronic equipment is in open state with the input interface It is logical, for carrying out input control to the input information from the input interface when electronic equipment is in open state;Phase Accordingly, the second interface controller, specifically for being connected when electronic equipment is in off-mode with the input interface, For carrying out input control to the input information from the input interface when electronic equipment is in off-mode.
Wherein, for example, when the input interface is USB interface, the first interface controller is specifically as follows USB Host interface control modules, as shown in Fig. 2 under traditional approach, the USB Host interface control modules are generally located on It is described when the electronic equipments such as computer are in open state in the PCH (encapsulation of mainboard welded ball array) of the electronic equipment USB Host in PCH are connected by USB interface with input units such as keyboards, to ensure the normal input of electronic apparatus system Function.
In the application, in order to realize under electronic equipment off-mode, remain to from input units such as the keyboards of electronic equipment Input information is obtained, and then makes it possible to carry out state control to the electronic lock of electronic equipment, in the electronic device additional Second interface controller, when the input interface is USB interface, the second interface controller equally can be USB Host interface control modules, as shown in Fig. 2 the USB Host set up specifically may be provided at it is more on the electronic equipment mainboard In function card superIO, for when electronic equipment is in off-mode, necessary letter is provided for the open state system of electronic lock Cease access function.
Wherein, the PCH and the multifunction card superIO are arranged on the mainboard of electronic equipment.
Interface switch, for when electronic equipment is in open state, controlling the input interface and the first interface Controller connects;When electronic equipment is in off-mode, the input interface is controlled to be connected with the second interface controller.
The interface switch is connected with the first interface controller and second interface control, for according to electronics The on-off state of equipment, control is switched between the first interface controller and second interface controller, wherein, work as electricity When sub- equipment is in open state, controls and the input interface is switched to the first interface controller, when electronic equipment is in During off-mode, control and the input interface is switched to the second interface controller.
Still so that the input interface is USB interface as an example, as shown in Fig. 2 the interface switch can be USBSwitch (corresponding to the USB SW1 in fig. 2), in the present embodiment, the USB Switch are similarly disposed at the multifunction card In superIO.When electronic equipment is in open state, the USB interface is switched into PCH and connect with the USB Host in PCH It is logical, using cause based on the USB Host in PCH as open state under electronic lock state control provide needed for information (such as password Information) input function, that is to say, that when electronic equipment is in open state, input unit such as USB keyboard etc. returns PCH to manage, PCH possesses the control to input unit;When electronic equipment is in off-mode, the USB interface is switched into super IO And with super IO USB Host connect, using cause based on the USB Host in super IO as off-mode under electronic lock Switch control provide needed for information input function, so as to, when electronic equipment is in off-mode, input unit is returned Super IO are managed, and super IO possess the control to input unit.
On this basis, the control method flow chart of the electronic lock with reference to shown in figure 6, methods described can include following step Suddenly:
Step 601, when the electronic equipment is in off-mode, by the second interface controller obtain it is described defeated Enter the electronic lock encrypted message of device input.
When implementing the present processes, it can realize that each processing of the application method walks by an electronic lock controller Suddenly, such as especially by the 8032UC chip microcontroller the present processes schemes in Fig. 2.
In this step, can be by the USB Host in superIO in Fig. 2 (that is, described second by taking Fig. 2 as an example Interface controller) obtain USB keyboard electronic lock encrypted message, such as acquisition electronic lock unlocking cipher.
Step 602, based on the electronic lock encrypted message to the electronic lock carry out state control;Wherein, in the electricity When sub- equipment is in off-mode, to the input interface of the electronic equipment, interface switch, second interface controller and electricity Sub- lock controller carries out independently-powered.
Wherein, after the electronic lock unlocking cipher that input unit provides is obtained, can continue based on the unlocking cipher to electricity Son lock carry out state control.In addition, with reference to figure 3, USB keyboard can also be obtained by the USB Host in superIO Locking configured information (such as lock combinations), to carry out lock-in control to the electronic lock.
Here, it is necessary to illustrate, in order to support the normal use of electronic lock control function under electronic equipment off-mode, At least described input interface, interface switch, second interface controller and the present embodiment are still needed under electronic equipment off-mode The executive agent of method is that the electronic lock controller is powered, however, in view of in the power-offstate, it is each in electronic equipment Individual component can not normally power taking on slave unit mainboard, the application propose to the input interface, interface switch, second interface control Device and electronic lock controller progress processed is independently-powered, specifically, can pass through the external power supply and/or electronic equipment of electronic equipment Internal cell, be under off-mode involved by the control function of electronic lock more than each component carry out it is independently-powered.So that Even if obtaining electronic equipment is in off-mode, also it still is able to carry out switch control to the electronic lock of electronic equipment.
The control method for electronic lock provided from above scheme, the embodiment of the present application, it is in and closes in the electronic equipment During machine state, the electronic lock encrypted message of the input unit input is obtained by the second interface controller, and is based on institute State electronic lock encrypted message and switch control is carried out to the electronic lock.So as to using application scheme, be in and close in electronic equipment During machine state, remain to carry out switch control to the electronic lock of electronic equipment, the use control for electronic lock under off-mode provides Facility.
In the embodiment of the present application seven, the electronic equipment can also include:Register, for depositing the electronic lock Benchmark password.
The register equally be may be provided in the multifunction card superIO, and electronic lock is carried out with reference to what figure 2 provided The principle schematic of control, the register (Password save storage unit described in corresponding diagram 2) are at least available Required benchmark password when storage to electronic lock unlock control.
On this basis, the flow chart of the control method embodiment seven of the electronic lock with reference to shown in figure 7, the step 602 It can specifically be realized by following processing procedure:
Step 6021, the electronic lock benchmark password prestored is obtained from the register;
Whether step 6022, the electronic lock encrypted message for judging the input unit input and the electronic lock benchmark password Unanimously, judged result is obtained;
If step 6023, the judged result represent that both are consistent, the electronic lock is controlled to be in unlocking condition;
If step 6024, the judged result represent that both are inconsistent, the electronic lock is controlled to be in blocking.
Still by taking Fig. 2 example as an example, when electronic equipment is in off-mode, pass through using the single-chip microcomputer 8032UC USB Host in the superIO receive the electronic lock encrypted message from input unit, and are receiving electronics lock cipher During information, the electronic lock benchmark password for pre-setting and storing is obtained from the register of the superIO, and compare reception Whether electronic lock encrypted message and the benchmark password are consistent, if both are consistent, then it represents that password is correct, so as to control the electricity Son lock is unlocked, otherwise, if both are inconsistent, then it represents that Password Input mistake, so as to still control the electronic lock to be in latch like State.
Using this embodiment scheme, under electronic equipment power down condition, remain to carry out state to the electronic lock of electronic equipment Control, it is that the use control of electronic lock under electronic equipment power down condition is provided convenience.
In the embodiment of the present application eight, the flow chart of the control method embodiment eight of the electronic lock with reference to shown in figure 8 is described Method can also include:
Step 601 ', in advance when electronic equipment is in open state, pass through predetermined in the electronic equipment Application program sets electronic lock benchmark password into register.
Specifically, the application program App for being managed, controlling to electronic lock can be installed in the electronic device in advance (Application), and when electronic equipment is in open state, electronic lock is unlocked by the App required when controlling Benchmark password is configured, wherein, set benchmark password storage is in the register of the superIO, after being embodied as The benchmark password that continuous electronic lock is unlocked needed for control offer is supported.In addition, when electronic equipment is in open state, also It can realize that the state needed for being carried out to the electronic lock controls by performing corresponding operating in the App.
Set with prior art by carrying out Lock or unLock in computer BIOS, realize and the state of electronic lock is entered The mode of row control is compared, the present embodiment provide under switch on condition, password is carried out to the electronic lock of electronic equipment based on App Setting and the mode of state control, further improve the flexibility that user uses electronic lock, better user experience.
In the embodiment of the present application nine, the flow chart of the control method embodiment nine of the electronic lock with reference to shown in figure 9 is described Method can also include:
Step 603, when the electronic equipment is in open state, by the first interface controller obtain it is described defeated Enter the electronic lock encrypted message of device input;
Step 604, based on the electronic lock encrypted message to the electronic lock carry out state control.
When the electronic equipment is in open state, each component normal operation in electronic equipment, so as to direct By the first interface controller, the USB Host in PCH as shown in Figure 2 are close to obtain the electronic lock of input unit input Code information, and the state of electronic lock is controlled based on the electronic lock encrypted message.
Specifically, as shown in Fig. 2 when electronic equipment is in open state, the interface switch USB can be passed through The USB Host that Switch switches to the input interface in the PCH, so that electronic lock controller is the monolithic in Fig. 2 Machine 8032UC, the electronic lock encrypted message of the input units such as keyboard is obtained by the USB Host in the PCH, and it is defeated obtaining When entering the electronic lock encrypted message of device, the benchmark password in the register is further obtained, to pass through the benchmark password With the comparison result of the encrypted message received, accordingly to be controlled the state of electronic lock.
Here, it is necessary to explanation, the present embodiment provide when electronic equipment is in open state, the control to electronic lock Process processed, with above example provide by way of preassembled App in electronic equipment is controlled to electronic lock simultaneously Do not conflict, specifically, for a user, when it needs to carry out state control to the electronic lock of electronic equipment, such as, it is necessary to When controlling electronic lock unlocking, it can recall the unlocking interface of electronic lock in the App first, and and then be existed using input unit The unlocking interface inputs electronic lock encrypted message, and the USB Host in electronic equipment PCH are connect by USB interface on this basis Receive the encrypted message of the input unit, finally by the single-chip microcomputer 8032UC in superIO by by the encrypted message of reception with The benchmark password obtained from register is compared, to determine whether to carry out unlocking control to electronic lock.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For convenience of description, describe to be divided into various modules when system above or device with function or unit describes respectively. Certainly, the function of each unit can be realized in same or multiple softwares and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (can be personal computer, server, either network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
Finally, it is to be noted that, herein, the relational terms of such as first, second, third and fourth or the like It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires or imply these Any this actual relation or order be present between entity or operation.Moreover, term " comprising ", "comprising" or its is any Other variants are intended to including for nonexcludability, so that process, method, article or equipment including a series of elements Not only include those key elements, but also the other element including being not expressly set out, or also include for this process, side Method, article or the intrinsic key element of equipment.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that other identical element in the process including the key element, method, article or equipment also be present.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of electronic equipment, it is characterised in that including:
Cabinet;
Mainboard, it is arranged on the cabinet inside;
Electronic lock, for when in locked state, the sealed cabinet;
Input interface, for input unit to be accessed into the mainboard;
First interface controller and second interface controller, are arranged on mainboard, for the input from the input interface Information carries out input control;
Interface switch, for when electronic equipment is in open state, controlling the input interface to be controlled with the first interface Device connects;When electronic equipment is in off-mode, the input interface is controlled to be connected with the second interface controller;
Electronic lock controller, for when the electronic equipment is in off-mode, being obtained by the second interface controller The electronic lock encrypted message of the input unit input, and state is carried out to the electronic lock based on the electronic lock encrypted message Control;Wherein, when the electronic equipment is in off-mode, to the input interface of the electronic equipment, interface switch, Second interface controller and electronic lock controller carry out independently-powered.
2. electronic equipment according to claim 1, it is characterised in that the first interface controller is arranged on the electronics In the mainboard welded ball array encapsulation PCH of equipment, the second interface controller, the interface switch and the electronic lock controller It is arranged in the multifunction card superIO on the electronic equipment mainboard.
3. according to the method for claim 2, it is characterised in that the electronic equipment also includes:It is arranged on the superIO In register;
The then electronic lock controller, state control, specific bag are carried out to the electronic lock based on the electronic lock encrypted message Include:
The electronic lock benchmark password prestored is obtained from the register;Judge that the electronic lock of the input unit input is close Whether code information and the electronic lock benchmark password are consistent, obtain judged result;If the judged result represents that both are consistent, Control the electronic lock to be in unlocking condition, if the judged result represents that both are inconsistent, control the electronic lock to be in Blocking.
4. electronic equipment according to claim 3, it is characterised in that the electronic lock benchmark password in the register is: In advance when electronic equipment is in open state by close set by the predetermined application in the electronic equipment Code.
5. according to the electronic equipment described in claim any one of 1-4, it is characterised in that the electronic lock controller, be additionally operable to:
When the electronic equipment is in open state, obtain what the input unit inputted by the first interface controller Electronic lock encrypted message, and state control is carried out to the electronic lock based on the electronic lock encrypted message.
6. according to the electronic equipment described in claim any one of 1-4, it is characterised in that the electronic equipment also includes:Set Electronic ink screen E-ink on the predetermined panel of the cabinet.
7. a kind of control method of electronic lock, it is characterised in that applied to electronic equipment, the electronic equipment includes:Cabinet, if The mainboard of the cabinet inside is placed in, for the electronic lock of sealed cabinet when in locked state, for input to be filled The input interface for accessing the mainboard is put, the first interface controller and second interface controller being arranged on the mainboard, with And for when electronic equipment is in open state, controlling the input interface to be connected, in electricity with the first interface controller When sub- equipment is in off-mode, the interface switch that controls the input interface to be connected with the second interface controller;
Methods described includes:
When the electronic equipment is in off-mode, obtain what the input unit inputted by the second interface controller Electronic lock encrypted message;
State control is carried out to the electronic lock based on the electronic lock encrypted message;Wherein, it is in and closes in the electronic equipment During machine state, enter to the input interface of the electronic equipment, interface switch, second interface controller and electronic lock controller Row is independently-powered.
8. according to the method for claim 7, it is characterised in that the first interface controller is arranged on the electronic equipment Mainboard welded ball array encapsulation PCH in, the second interface controller, the interface switch and the electronic lock controller are set In multifunction card superIO on the electronic equipment mainboard, the electronic equipment also includes being arranged in the superIO Register;
It is then described that state control is carried out to the electronic lock based on the electronic lock encrypted message, including:
The electronic lock benchmark password prestored is obtained from the register;
Judge whether electronic lock encrypted message and the electronic lock benchmark password of the input unit input are consistent, are judged As a result;
If the judged result represents that both are consistent, the electronic lock is controlled to be in unlocking condition, if the judged result table Show that both are inconsistent, then control the electronic lock to be in blocking.
9. according to the method for claim 8, it is characterised in that in the electricity for obtaining and prestoring from the register Before the sub- quasi- password of lock base, in addition to:
In advance when electronic equipment is in open state, by the predetermined application in the electronic equipment to described Electronic lock benchmark password is set in register.
10. according to the method described in claim any one of 7-9, it is characterised in that also include:
When the electronic equipment is in open state, obtain what the input unit inputted by the first interface controller Electronic lock encrypted message, and state control is carried out to the electronic lock based on the electronic lock encrypted message.
CN201710865696.8A 2017-09-22 2017-09-22 Electronic equipment and control method of electronic lock Active CN107578515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710865696.8A CN107578515B (en) 2017-09-22 2017-09-22 Electronic equipment and control method of electronic lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710865696.8A CN107578515B (en) 2017-09-22 2017-09-22 Electronic equipment and control method of electronic lock

Publications (2)

Publication Number Publication Date
CN107578515A true CN107578515A (en) 2018-01-12
CN107578515B CN107578515B (en) 2020-10-27

Family

ID=61038568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710865696.8A Active CN107578515B (en) 2017-09-22 2017-09-22 Electronic equipment and control method of electronic lock

Country Status (1)

Country Link
CN (1) CN107578515B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111402458A (en) * 2018-12-26 2020-07-10 新唐科技股份有限公司 Lock control circuit and electronic system comprising same
CN113360959A (en) * 2020-03-03 2021-09-07 新唐科技股份有限公司 Host system and electronic lock unlocking method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908354A (en) * 2005-08-05 2007-02-07 鸿富锦精密工业(深圳)有限公司 Trick lock
CN104328950A (en) * 2014-10-27 2015-02-04 武汉普林光通科技有限公司 Low power consumption safe electronic lock
US20150205676A1 (en) * 2013-09-29 2015-07-23 Huawei Technologies Co., Ltd. Server Control Method and Server Control Device
CN105354125A (en) * 2015-09-25 2016-02-24 联想(北京)有限公司 Information processing method, battery and electronic device
CN106292989A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908354A (en) * 2005-08-05 2007-02-07 鸿富锦精密工业(深圳)有限公司 Trick lock
US20150205676A1 (en) * 2013-09-29 2015-07-23 Huawei Technologies Co., Ltd. Server Control Method and Server Control Device
CN104328950A (en) * 2014-10-27 2015-02-04 武汉普林光通科技有限公司 Low power consumption safe electronic lock
CN106292989A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105354125A (en) * 2015-09-25 2016-02-24 联想(北京)有限公司 Information processing method, battery and electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111402458A (en) * 2018-12-26 2020-07-10 新唐科技股份有限公司 Lock control circuit and electronic system comprising same
CN111402458B (en) * 2018-12-26 2022-03-25 新唐科技股份有限公司 Lock control circuit and electronic system comprising same
CN113360959A (en) * 2020-03-03 2021-09-07 新唐科技股份有限公司 Host system and electronic lock unlocking method thereof

Also Published As

Publication number Publication date
CN107578515B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN203192055U (en) Electronic lock
CN107066869A (en) The system and method that additional security is provided with location-based data to platform
CA2558309A1 (en) Partition access control system and method for controlling partition access
BR112013006586B1 (en) METHOD FOR GAINING ACCESS, BY A USER, TO CONTROL OF A PROGRAMMABLE MULTIMEDIA CONTROLLER, METHOD OF OPERATING A SYSTEM, AND, PROGRAMMABLE MULTIMEDIA CONTROLLER SYSTEM
CN107578515A (en) The control method of a kind of electronic equipment and electronic lock
CN204531669U (en) Boxlike coded lock tripper
JP2015116757A (en) Injection molding machine which is operable from network terminal
US20200389366A1 (en) Method for managing multiple servers and device employing method
CN109948310A (en) A kind of locking means and associated electronic device
CN107845170A (en) A kind of Digit Control Machine Tool duration latch system and its method
EP1764954B1 (en) Information processing apparatus and control method for the information processing apparatus
CN106959743A (en) A kind of control method and electronic equipment
EP2810205A1 (en) Secure information access over network
CN101149769A (en) Device and method for limiting and managing computer information transmission
KR20120100342A (en) Security token device and rf module and method of authentication usable in smartphone and pc
US20210287197A1 (en) Configurable correctional facility computer kiosk systems and methods for portable electronic device access and management
CN204576642U (en) A kind of coded lock based on microcomputer
CN205206591U (en) Safe deposit box based on bar codes technique
US20110238970A1 (en) System and method to lock electronic device
US20130174620A1 (en) Device and method for controlling electric lock
TW202340994A (en) System-on-chip, a method for the same, and a computing device
CN213518259U (en) Computer security interface structure for preventing data from being stolen
US20230105250A1 (en) Self-encrypting device (sed) setup system and method
US20070213094A1 (en) Method and apparatus for a configurable processing and storage device
CN115691776B (en) Drug management method, device, apparatus, storage medium, and computer program product

Legal Events

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