CN107578515B - Electronic equipment and control method of electronic lock - Google Patents

Electronic equipment and control method of electronic lock Download PDF

Info

Publication number
CN107578515B
CN107578515B CN201710865696.8A CN201710865696A CN107578515B CN 107578515 B CN107578515 B CN 107578515B CN 201710865696 A CN201710865696 A CN 201710865696A CN 107578515 B CN107578515 B CN 107578515B
Authority
CN
China
Prior art keywords
electronic lock
electronic
interface
input
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710865696.8A
Other languages
Chinese (zh)
Other versions
CN107578515A (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

Images

Landscapes

  • Power Sources (AREA)

Abstract

The application provides an electronic device and a control method of an electronic lock, wherein the electronic device comprises: the electronic lock comprises a case, a mainboard, an electronic lock, an input interface for connecting an input device to the mainboard, a first interface controller, a second interface controller, an interface switch and an electronic lock controller, wherein the electronic lock controller is used for acquiring electronic lock password information input by the input device through the second interface controller when the electronic equipment is in a shutdown state, and controlling the electronic lock to be switched on and off based on the electronic lock password information; when the electronic equipment is in a shutdown state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered. Therefore, by applying the scheme of the application, when the electronic equipment is in the shutdown state, the electronic lock of the electronic equipment can still be controlled to be turned on or off, and convenience is provided for the use control of the electronic lock in the shutdown state.

Description

Electronic equipment and control method of electronic lock
Technical Field
The invention belongs to the technical field of switch control of electronic locks, and particularly relates to electronic equipment and a control method of an electronic lock.
Background
New generation computer products require the introduction of electronic lock functions into the host case of the computer to improve the security of the device host.
At present, the state of the electronic Lock is generally controlled by setting Lock or unLock in a BIOS (Basic Input Output System) of a computer, but when the computer cannot be started, for example, when the computer cannot be started due to a BIOS crash, the state of the electronic Lock cannot be controlled. Therefore, in order to maintain the computer mainboard to solve the problem, the case is often opened by forcibly detaching the electronic lock, so that the electronic lock is easily damaged, and great inconvenience is brought to opening the equipment case.
Disclosure of Invention
In view of the above, an object of the present invention is to provide an electronic device and a control method of an electronic lock, which are used to solve the above problems, so that the electronic lock of a computer case can still be controlled to be turned on or off when the computer is in a power-off state.
Therefore, the invention discloses the following technical scheme:
an electronic device, comprising:
a chassis;
the mainboard is arranged inside the case;
the electronic lock is used for locking the case when the electronic lock is in a locking state;
the input interface is used for connecting an input device to the mainboard;
the first interface controller and the second interface controller are arranged on the mainboard and used for carrying out input control on input information from the input interface;
the interface switch is used for controlling the input interface to be communicated with the first interface controller when the electronic equipment is in a starting state; when the electronic equipment is in a shutdown state, controlling the input interface to be communicated with the second interface controller;
the electronic lock controller is used for acquiring the electronic lock password information input by the input device through the second interface controller when the electronic equipment is in a shutdown state, and performing state control on the electronic lock based on the electronic lock password information; when the electronic equipment is in a power-off state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered.
Preferably, in the electronic device, the first interface controller is disposed in a main board solder ball array package PCH of the electronic device, and the second interface controller, the interface switch, and the electronic lock controller are disposed in a multifunctional card superIO on a main board of the electronic device.
Preferably, the electronic device further includes: a register disposed in the superIO;
the electronic lock controller performs state control on the electronic lock based on the electronic lock password information, and specifically includes:
obtaining a prestored electronic lock reference password from the register; judging whether the electronic lock password information input by the input device is consistent with the electronic lock reference password or not to obtain a judgment result; and if the judgment result shows that the electronic lock and the electronic lock are consistent, controlling the electronic lock to be in an unlocking state, and if the judgment result shows that the electronic lock and the electronic lock are inconsistent, controlling the electronic lock to be in a locking state.
In the electronic device, preferably, the reference password of the electronic lock in the register is: the password setting method includes setting a password in advance through a predetermined application program installed in the electronic device when the electronic device is in a power-on state.
The above electronic device, preferably, the electronic lock controller is further configured to:
when the electronic equipment is in a starting state, the electronic lock password information input by the input device is obtained through the first interface controller, and the state of the electronic lock is controlled based on the electronic lock password information.
Preferably, the electronic device further includes: and the electronic ink screen E-ink is arranged on a preset panel of the case.
A control method of an electronic lock is applied to electronic equipment, and the electronic equipment comprises the following steps: the electronic equipment comprises a case, a mainboard, an electronic lock, an input interface, a first interface controller, a second interface controller and an interface switch, wherein the mainboard is arranged in the case, the electronic lock is used for locking the case when the electronic equipment is in a locking state, the input interface is used for connecting an input device to the mainboard, the first interface controller and the second interface controller are arranged on the mainboard, and the interface switch is used for controlling the input interface to be communicated with the first interface controller when the electronic equipment is in a starting state and controlling the input interface to be communicated with the second interface controller when the electronic equipment is in a shutdown state;
the method comprises the following steps:
when the electronic equipment is in a shutdown state, obtaining the password information of the electronic lock input by the input device through the second interface controller;
performing state control on the electronic lock based on the password information of the electronic lock; when the electronic equipment is in a power-off state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered.
In the method, preferably, the first interface controller is disposed in a main board solder ball array package PCH of the electronic device, the second interface controller, the interface switch, and the electronic lock controller are disposed in a superIO of a multi-function card on a main board of the electronic device, and the electronic device further includes a register disposed in the superIO;
then the performing state control on the electronic lock based on the electronic lock password information includes:
obtaining a prestored electronic lock reference password from the register;
judging whether the electronic lock password information input by the input device is consistent with the electronic lock reference password or not to obtain a judgment result;
and if the judgment result shows that the electronic lock and the electronic lock are consistent, controlling the electronic lock to be in an unlocking state, and if the judgment result shows that the electronic lock and the electronic lock are inconsistent, controlling the electronic lock to be in a locking state.
Preferably, before obtaining the reference password of the electronic lock stored in advance from the register, the method further includes:
and when the electronic equipment is in a starting state, setting an electronic lock reference password in the register through a preset application program installed in the electronic equipment in advance.
The above method, preferably, further comprises:
when the electronic equipment is in a starting state, the electronic lock password information input by the input device is obtained through the first interface controller, and the state of the electronic lock is controlled based on the electronic lock password information.
In view of the above, the present application provides an electronic device and a control method of an electronic lock, where the electronic device includes: the electronic lock comprises a case, a mainboard, an electronic lock, an input interface for connecting an input device to the mainboard, a first interface controller, a second interface controller, an interface switch and an electronic lock controller, wherein the electronic lock controller is used for acquiring electronic lock password information input by the input device through the second interface controller when the electronic equipment is in a shutdown state, and controlling the electronic lock to be switched on and off based on the electronic lock password information; when the electronic equipment is in a shutdown state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered. Therefore, by applying the scheme of the application, when the electronic equipment is in the shutdown state, the electronic lock of the electronic equipment can still be controlled to be turned on or off, and convenience is provided for the use control of the electronic lock in the shutdown state.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a first embodiment of an electronic device provided in the present application;
fig. 2 is a schematic structural diagram of a circuit for controlling an electronic lock according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a principle of controlling an electronic lock according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a second embodiment of an electronic device provided in the present application;
fig. 5 is a schematic structural diagram of a fifth embodiment of an electronic device provided in the present application;
fig. 6 is a flowchart of a sixth embodiment of a control method of an electronic lock according to the present application;
fig. 7 is a flowchart of a seventh embodiment of a control method of an electronic lock provided in the present application;
fig. 8 is a flowchart of an eighth embodiment of a method for controlling an electronic lock provided by the present application;
fig. 9 is a flowchart of a ninth embodiment of a method for controlling an electronic lock according to the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present application provides an electronic device, which is to provide convenience for controlling an electronic lock in a shutdown state of the electronic device, so that when the electronic device is shutdown, the electronic lock of the electronic device can still be controlled in a state. Referring to fig. 1, a schematic structural diagram of a first embodiment of an electronic device according to the present application may include:
a cabinet 1.
The electronic device may be a computer (e.g., a desktop computer) or other devices, and correspondingly, the chassis may be a host chassis of the computer or other devices, so as to place and fix various accessories of the computer device, such as a motherboard, a Central Processing Unit (CPU), a graphics card, and the like, and to support and protect the various accessories.
And the mainboard 2 is arranged inside the case.
The main board, which may be a computer main board, is installed inside a host chassis of a computer, and the main board is generally a rectangular circuit board, on which a main circuit System constituting the computer is installed, and generally includes elements such as a BIOS (Basic Input Output System) chip, an I/O (Input/Output) control chip, a key and a board control switch interface, an indicator light socket, an expansion slot, a main board, and a direct-current power supply connector of a plug-in card.
And the electronic lock 3 is used for locking the case when in a locking state.
The electronic lock has two states of locking and unlocking, and when the electronic lock is in the locking state, the case can be locked, so that the safety of the host of the electronic equipment is improved.
And the input interface 4 is used for connecting an input device to the mainboard.
The input interface may be a wired interface or a WIreless interface, such as a USB (universal serial Bus) interface, a bluetooth (WIreless-Fidelity) interface, a WI-FI (WIreless Fidelity) interface, or the like, for connecting an input device to the motherboard in a wired or WIreless manner, respectively.
The input device is used for providing input information to the main board, and may be a self-contained input device or an external input device of the electronic device, for example, a self-contained keyboard or an external keyboard of a computer may be specifically used.
And the first interface controller 5 and the second interface controller 6 are arranged on the mainboard and used for carrying out input control on input information from the input interface.
The first interface controller is specifically used for being connected with the input interface when the electronic equipment is in a power-on state, so as to perform input control on input information from the input interface when the electronic equipment is in the power-on state; correspondingly, the second interface controller is specifically configured to be connected with the input interface when the electronic device is in the shutdown state, so as to perform input control on input information from the input interface when the electronic device is in the shutdown state.
For example, when the input interface is a USB interface, the first interface controller may specifically be a USB Host interface control module, as shown in fig. 2, in a conventional manner, the USB Host interface control module is generally disposed in a PCH (solder ball array package) of the electronic device, and when the electronic device such as a computer is in a power-on state, the USB Host in the PCH is connected to an input device such as a keyboard through the USB interface to ensure a normal input function of the electronic device system.
In this application, in order to realize under electronic equipment shutdown state, still can obtain input information from input device such as electronic equipment's keyboard, and then make and to carry out state control to electronic equipment's electronic lock, additionally add second interface controller in electronic equipment, work as when input interface is the USB interface, second interface controller equally can be USBHost interface control module, as shown in FIG. 2, this USB Host that adds specifically can set up in the multi-functional card superIO on the electronic equipment mainboard for when electronic equipment is in shutdown state, provide necessary information access function for electronic lock's state control.
The PCH and the multifunctional card superIO are arranged on a mainboard of the electronic equipment.
The interface switch 7 is used for controlling the input interface to be communicated with the first interface controller when the electronic equipment is in a starting state; and when the electronic equipment is in a shutdown state, controlling the input interface to be communicated with the second interface controller.
The interface switch is connected with the first interface controller and the second interface controller and used for switching control between the first interface controller and the second interface controller according to the on-off state of the electronic equipment, wherein when the electronic equipment is in the on state, the input interface is controlled to be switched to the first interface controller, and when the electronic equipment is in the off state, the input interface is controlled to be switched to the second interface controller.
Still taking the input interface as an example of a USB interface, as shown in fig. 2, the interface Switch may be a USB Switch (corresponding to the USB SW1 in fig. 2), and in this embodiment, the USB Switch is also disposed in the multi-function card superIO. When the electronic equipment is in a power-on state, the USB interface is switched to the PCH and is communicated with the USB Host in the PCH, so that the USB Host in the PCH provides a required information (such as password information) input function for state control of the electronic lock in the power-on state, namely, when the electronic equipment is in the power-on state, an input device such as a USB keyboard and the like is managed by the PCH, and the PCH has a control right on the input device; when the electronic equipment is in a shutdown state, the USB interface is switched to the super IO and is connected with the USB Host in the super IO, so that a required information input function is provided for on-off control of the electronic lock in the shutdown state based on the USB Host in the super IO, therefore, when the electronic equipment is in the shutdown state, the input device is managed by the super IO, and the super IO has a control right for the input device.
The electronic lock controller 8 is configured to obtain, through the second interface controller, electronic lock password information input by the input device when the electronic device is in a shutdown state, and perform on-off control on the electronic lock based on the electronic lock password information; when the electronic equipment is in a power-off state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered.
The electronic lock controller may be specifically a single chip microcomputer, as shown in fig. 2, and may be specifically but not limited to an 8032UC single chip microcomputer shown in fig. 2, which may also be disposed in the superIO.
The electronic lock controller can be used for acquiring the electronic lock password information input by the input device through the second interface controller when the electronic equipment is in a shutdown state, and performing corresponding state control on the electronic lock based on the electronic lock password information. For example, when the electronic device is in a shutdown state, the electronic lock unlocking password of the USB keyboard is obtained through the USB Host in the superIO in fig. 2, and the electronic lock is controlled to unlock based on the unlocking password, and in addition, referring to fig. 3, the locking indication information of the USB keyboard (for example, a locking password is obtained) may also be obtained through the USB Host in the superIO, so as to control to lock the electronic lock.
Here, it should be noted that, in order to support the normal use of the electronic lock control function in the shutdown state of the electronic device, at least the input interface, the interface switch, the second interface controller, and the electronic lock controller still need to be powered in the shutdown state of the electronic device, however, in view of that, in the shutdown state, each component in the electronic device cannot normally get power from the device motherboard, the present application proposes to independently power the input interface, the interface switch, the second interface controller, and the electronic lock controller, and specifically, each component related to the control function of the electronic lock in the shutdown state may be independently powered by an external power supply of the electronic device and/or an internal battery of the electronic device. Therefore, even if the electronic equipment is in a shutdown state, the electronic lock of the electronic equipment can still be controlled to be opened and closed.
As can be seen from the above solutions, the electronic device provided in the embodiment of the present application includes: the electronic lock comprises a case, a mainboard, an electronic lock, an input interface for connecting an input device to the mainboard, a first interface controller, a second interface controller, an interface switch and an electronic lock controller, wherein the electronic lock controller is used for acquiring electronic lock password information input by the input device through the second interface controller when the electronic equipment is in a shutdown state, and controlling the electronic lock to be switched on and off based on the electronic lock password information; when the electronic equipment is in a shutdown state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered. Therefore, by applying the scheme of the application, when the electronic equipment is in the shutdown state, the electronic lock of the electronic equipment can still be controlled to be turned on or off, and convenience is provided for the use control of the electronic lock in the shutdown state.
In the second embodiment of the present application, referring to the schematic structural diagram of the second embodiment of the electronic device in the present application shown in fig. 4, the electronic device may further include:
and the register 9 is connected with the electronic lock controller and used for storing the reference password of the electronic lock.
The register may also be set in the multifunctional card superIO, and referring to the schematic diagram of the principle for controlling the electronic lock provided in fig. 2, the register (corresponding to the passed safe storage unit in fig. 2) may be at least used to store a reference Password required when the electronic lock is controlled to be unlocked.
On this basis, when the electronic device is in a shutdown state, the electronic lock controller in the electronic device performs state control on the electronic lock based on the received electronic lock password information, and specifically includes:
obtaining a prestored electronic lock reference password from the register; judging whether the electronic lock password information input by the input device is consistent with the electronic lock reference password or not to obtain a judgment result; and if the judgment result shows that the electronic lock and the electronic lock are consistent, controlling the electronic lock to be in an unlocking state, and if the judgment result shows that the electronic lock and the electronic lock are inconsistent, controlling the electronic lock to be in a locking state.
Still taking the example of fig. 2 as an example, when the electronic device is in the shutdown state, the single chip microcomputer 8032UC may receive the electronic lock password information from the input device through the USB Host in the superIO, and when the electronic lock password information is received, obtain the preset and stored electronic lock reference password from the register of the superIO, and compare whether the received electronic lock password information is consistent with the reference password, if so, it indicates that the password is correct, thereby controlling the electronic lock to unlock, otherwise, if not, it indicates that the password is input incorrectly, thereby still controlling the electronic lock to be in the locked state.
By applying the scheme of the embodiment, the state of the electronic lock of the electronic equipment can be still controlled under the condition that the electronic equipment is powered off, and convenience is provided for the use control of the electronic lock under the condition that the electronic equipment is powered off.
In the third embodiment of the present application, the reference password of the electronic lock in the register is: the password setting method includes setting a password in advance through a predetermined application program installed in the electronic device when the electronic device is in a power-on state.
Specifically, an application program App (application) for managing and controlling the electronic lock may be installed in the electronic device in advance, and when the electronic device is in a power-on state, a reference password required for unlocking control of the electronic lock is set by the App, where the set reference password is stored in the superIO register to provide a required reference password support for subsequent unlocking control of the electronic lock. In addition, when the electronic equipment is in a starting state, the electronic lock can be controlled in a required state by executing corresponding operation in the App.
Compared with the prior art that the Lock or unLock setting is carried out in the BIOS of the computer, the mode of controlling the state of the electronic Lock is realized, the mode that password setting and state control are carried out on the electronic Lock of the electronic equipment based on the App under the starting condition is provided by the embodiment, the flexibility of using the electronic Lock by a user is further improved, and the user experience is better.
In the fourth embodiment of the present application, the electronic lock controller may be further configured to:
when the electronic equipment is in a starting state, the electronic lock password information input by the input device is obtained through the first interface controller, and the state of the electronic lock is controlled based on the electronic lock password information.
When the electronic device is in the power-on state, each component in the electronic device normally operates, so that the electronic lock password information input by the input device can be directly obtained through the first interface controller, such as the USB Host in the PCH in fig. 2, and the state of the electronic lock is controlled based on the electronic lock password information.
Specifically, as shown in fig. 2, when the electronic device is in the power-on state, the input interface may be switched to the USB Host in the PCH through the interface switch USBSwitch, so that the electronic lock controller, that is, the single chip microcomputer 8032UC in fig. 2, obtains the electronic lock password information of the input device, such as the keyboard, through the USB Host in the PCH, and further obtains the reference password in the register when obtaining the electronic lock password information of the input device, so as to correspondingly control the state of the electronic lock through the comparison result between the reference password and the received password information.
It should be noted that, in the embodiment, when the electronic device is in the power-on state, the control process of the electronic lock, there is no conflict with the way the electronic lock is controlled by the pre-installed App in the electronic device as provided in the above embodiments, and in particular, when the user needs to control the state of the electronic lock of the electronic device, for example, when the user needs to control the unlocking of the electronic lock, firstly, an unlocking interface of the electronic lock can be called out in the App, and then the input device is utilized to input the password information of the electronic lock in the unlocking interface, on the basis, the USB Host in the electronic equipment PCH receives the password information of the input device through the USB interface, and finally, the singlechip 8032UC in the superIO determines whether to unlock the electronic lock or not by comparing the received password information with the reference password obtained from the register.
In the fifth embodiment of the present application, referring to the schematic structural diagram of the fifth embodiment of the electronic device shown in fig. 5, the electronic device may further include:
and the electronic ink screen E-ink 10 is arranged on a preset panel of the case.
The E-ink is used for displaying corresponding information of the electronic device, such as displaying corresponding asset tag information of the electronic device, so as to facilitate viewing by a user.
The predetermined panel may be a front panel of the host chassis, that is, an E-ink for displaying corresponding information of the electronic device may be disposed on the front of the host chassis. In a specific implementation of the present application, an integrated design manner may be adopted, and the E-ink is embedded into the front panel of the electronic equipment chassis before the equipment leaves the factory, or, in order to support the E-ink to be freely detached from the electronic equipment chassis, a corresponding mounting component, such as a buckle or a fixing screw, may also be adopted to mount the E-ink into the front panel of the electronic equipment chassis, which is not limited in this embodiment.
In the embodiment, the E-ink is arranged on the predetermined panel of the electronic equipment case, so that the related information (such as asset tag information) of the electronic equipment can be displayed, and convenience is provided for a user to watch and know the information of the electronic equipment.
The sixth embodiment of the present application provides a control method of an electronic lock, which may be applied to an electronic device such as a computer. Before describing the method of the embodiment of the present application, an electronic device to which the method is applied is first described, where the electronic device may include:
a case.
The electronic device may be a computer (e.g., a desktop computer) or other devices, and correspondingly, the chassis may be a host chassis of the computer or other devices, so as to place and fix various accessories of the computer device, such as a motherboard, a Central Processing Unit (CPU), a graphics card, and the like, and to support and protect the various accessories.
The mainboard is arranged inside the case.
The main board, which may be a computer main board, is installed inside a host chassis of a computer, and the main board is generally a rectangular circuit board, on which a main circuit System constituting the computer is installed, and generally includes elements such as a BIOS (Basic Input Output System) chip, an I/O (Input/Output) control chip, a key and a board control switch interface, an indicator light socket, an expansion slot, a main board, and a direct-current power supply connector of a plug-in card.
And the electronic lock is used for locking the case when the electronic lock is in a locking state.
The electronic lock has two states of locking and unlocking, and when the electronic lock is in the locking state, the case can be locked, so that the safety of the host of the electronic equipment is improved.
And the input interface is used for connecting an input device to the mainboard.
The input interface may be a wired interface or a WIreless interface, such as a USB (universal serial Bus) interface, a bluetooth (WIreless-Fidelity) interface, a WI-FI (WIreless Fidelity) interface, or the like, for connecting an input device to the motherboard in a wired or WIreless manner, respectively.
The input device is used for providing input information to the main board, and may be a self-contained input device or an external input device of the electronic device, for example, a self-contained keyboard or an external keyboard of a computer may be specifically used.
And the first interface controller and the second interface controller are arranged on the mainboard and are used for carrying out input control on the input information from the input interface.
The first interface controller is specifically used for being connected with the input interface when the electronic equipment is in a power-on state, so as to perform input control on input information from the input interface when the electronic equipment is in the power-on state; correspondingly, the second interface controller is specifically configured to be connected with the input interface when the electronic device is in the shutdown state, so as to perform input control on input information from the input interface when the electronic device is in the shutdown state.
For example, when the input interface is a USB interface, the first interface controller may specifically be a USB Host interface control module, as shown in fig. 2, in a conventional manner, the USB Host interface control module is generally disposed in a PCH (solder ball array package) of the electronic device, and when the electronic device such as a computer is in a power-on state, the USB Host in the PCH is connected to an input device such as a keyboard through the USB interface to ensure a normal input function of the electronic device system.
In this application, in order to realize under electronic equipment shutdown state, still can obtain input information from input device such as electronic equipment's keyboard, and then make and to carry out state control to electronic equipment's electronic lock, additionally add the second interface controller in electronic equipment, work as when input interface is the USB interface, the second interface controller equally can be USBHost interface control module, as shown in FIG. 2, this USB Host that adds specifically can set up in the multi-functional card superIO on the electronic equipment mainboard for when electronic equipment is in shutdown state, provide necessary information access function for electronic lock's open state system.
The PCH and the multifunctional card superIO are arranged on a mainboard of the electronic equipment.
The interface switch is used for controlling the input interface to be communicated with the first interface controller when the electronic equipment is in a starting state; and when the electronic equipment is in a shutdown state, controlling the input interface to be communicated with the second interface controller.
The interface switch is connected with the first interface controller and the second interface controller and used for switching control between the first interface controller and the second interface controller according to the on-off state of the electronic equipment, wherein when the electronic equipment is in the on state, the input interface is controlled to be switched to the first interface controller, and when the electronic equipment is in the off state, the input interface is controlled to be switched to the second interface controller.
Still taking the input interface as an example of a USB interface, as shown in fig. 2, the interface Switch may be a USB Switch (corresponding to the USB SW1 in fig. 2), and in this embodiment, the USB Switch is also disposed in the multi-function card superIO. When the electronic equipment is in a power-on state, the USB interface is switched to the PCH and is communicated with the USB Host in the PCH, so that the USB Host in the PCH provides a required information (such as password information) input function for state control of the electronic lock in the power-on state, namely, when the electronic equipment is in the power-on state, an input device such as a USB keyboard and the like is managed by the PCH, and the PCH has a control right on the input device; when the electronic equipment is in a shutdown state, the USB interface is switched to the super IO and is connected with the USB Host in the super IO, so that a required information input function is provided for the on-off control of the electronic lock in the shutdown state based on the USB Host in the super IO, therefore, when the electronic equipment is in the shutdown state, the input device is managed by the super IO, and the super IO has the control right for the input device.
On this basis, referring to the flowchart of the control method of the electronic lock shown in fig. 6, the method may include the following steps:
step 601, when the electronic device is in a shutdown state, obtaining the password information of the electronic lock input by the input device through the second interface controller.
When the method of the present application is implemented, each processing step of the method of the present application may be implemented by an electronic lock controller, for example, the method scheme of the present application is implemented by an 8032UC single chip microcomputer in fig. 2.
In this step, taking fig. 2 as an example, the electronic lock password information of the USB keyboard, such as the electronic lock unlocking password, may be obtained through the USB Host (i.e. equivalent to the second interface controller) in the superIO in fig. 2.
Step 602, performing state control on the electronic lock based on the password information of the electronic lock; when the electronic equipment is in a power-off state, the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment are independently powered.
After the unlocking password of the electronic lock provided by the input device is obtained, the state control of the electronic lock can be continuously carried out based on the unlocking password. In addition, referring to fig. 3, locking indication information (such as a locking password) of the USB keyboard may be obtained through the USB Host in the superIO to perform locking control on the electronic lock.
Here, it should be noted that, in order to support the normal use of the electronic lock control function in the shutdown state of the electronic device, at least the input interface, the interface switch, the second interface controller and the execution main body of the method in this embodiment, that is, the electronic lock controller, need to supply power in the shutdown state of the electronic device, however, in view of that, in the shutdown state, each component in the electronic device cannot normally get power from the device motherboard, the present application proposes to independently supply power to the input interface, the interface switch, the second interface controller and the electronic lock controller, and specifically, may independently supply power to each component related to the control function of the electronic lock in the shutdown state through an external power supply of the electronic device and/or an internal battery of the electronic device. Therefore, even if the electronic equipment is in a shutdown state, the electronic lock of the electronic equipment can still be controlled to be opened and closed.
According to the scheme, when the electronic equipment is in the shutdown state, the electronic lock password information input by the input device is obtained through the second interface controller, and the electronic lock is controlled to be turned on or off based on the electronic lock password information. Therefore, by applying the scheme of the application, when the electronic equipment is in the shutdown state, the electronic lock of the electronic equipment can still be controlled to be turned on or off, and convenience is provided for the use control of the electronic lock in the shutdown state.
In an embodiment of the present application, the electronic device may further include: and the register is used for storing the reference password of the electronic lock.
The register may also be set in the multifunctional card superIO, and referring to the schematic diagram of the principle for controlling the electronic lock provided in fig. 2, the register (corresponding to the passed safe storage unit in fig. 2) may be at least used to store a reference Password required when the electronic lock is controlled to be unlocked.
On this basis, referring to the flowchart of the seventh embodiment of the control method of the electronic lock shown in fig. 7, the step 602 may be specifically implemented by the following processing procedures:
step 6021, obtaining the pre-stored electronic lock reference password from the register;
step 6022, judging whether the electronic lock password information input by the input device is consistent with the electronic lock reference password to obtain a judgment result;
step 6023, if the judgment result shows that the two are consistent, controlling the electronic lock to be in an unlocking state;
and 6024, if the judgment result shows that the two are not consistent, controlling the electronic lock to be in a locking state.
Still taking the example of fig. 2 as an example, when the electronic device is in a shutdown state, the single chip 8032UC may be used to receive the electronic lock password information from the input device through the USB Host in the superIO, and when the electronic lock password information is received, obtain the preset and stored electronic lock reference password from the register of the superIO, and compare whether the received electronic lock password information is consistent with the reference password, if so, it indicates that the password is correct, thereby controlling the electronic lock to unlock, otherwise, if not, it indicates that the password is input incorrectly, thereby still controlling the electronic lock to be in a locked state.
By applying the scheme of the embodiment, the state of the electronic lock of the electronic equipment can be still controlled under the condition that the electronic equipment is powered off, and convenience is provided for the use control of the electronic lock under the condition that the electronic equipment is powered off.
In an eighth embodiment of the present application, with reference to the flowchart of the eighth embodiment of the method for controlling an electronic lock shown in fig. 8, the method may further include:
step 601', when the electronic device is in a power-on state in advance, setting an electronic lock reference password in a register through a preset application program installed in the electronic device.
Specifically, an application program App (application) for managing and controlling the electronic lock may be installed in the electronic device in advance, and when the electronic device is in a power-on state, a reference password required for unlocking control of the electronic lock is set by the App, where the set reference password is stored in the superIO register to provide a required reference password support for subsequent unlocking control of the electronic lock. In addition, when the electronic equipment is in a starting state, the electronic lock can be controlled in a required state by executing corresponding operation in the App.
Compared with the prior art that the Lock or unLock setting is carried out in the BIOS of the computer, the mode of controlling the state of the electronic Lock is realized, the mode that password setting and state control are carried out on the electronic Lock of the electronic equipment based on the App under the starting condition is provided by the embodiment, the flexibility of using the electronic Lock by a user is further improved, and the user experience is better.
In an embodiment ninth of the present application, with reference to the flowchart of the ninth embodiment of the control method of the electronic lock shown in fig. 9, the method may further include:
step 603, when the electronic device is in a power-on state, obtaining the password information of the electronic lock input by the input device through the first interface controller;
and step 604, performing state control on the electronic lock based on the password information of the electronic lock.
When the electronic device is in the power-on state, each component in the electronic device normally operates, so that the electronic lock password information input by the input device can be directly obtained through the first interface controller, such as the USB Host in the PCH in fig. 2, and the state of the electronic lock is controlled based on the electronic lock password information.
Specifically, as shown in fig. 2, when the electronic device is in the power-on state, the input interface may be switched to the USB Host in the PCH through the interface switch USBSwitch, so that the electronic lock controller, that is, the single chip microcomputer 8032UC in fig. 2, obtains the electronic lock password information of the input device, such as the keyboard, through the USB Host in the PCH, and further obtains the reference password in the register when obtaining the electronic lock password information of the input device, so as to correspondingly control the state of the electronic lock through the comparison result between the reference password and the received password information.
It should be noted that, in the embodiment, when the electronic device is in the power-on state, the control process of the electronic lock, there is no conflict with the way the electronic lock is controlled by the pre-installed App in the electronic device as provided in the above embodiments, and in particular, when the user needs to control the state of the electronic lock of the electronic device, for example, when the user needs to control the unlocking of the electronic lock, firstly, an unlocking interface of the electronic lock can be called out in the App, and then the input device is used for inputting the password information of the electronic lock in the unlocking interface, on the basis, the USB Host in the electronic equipment PCH receives the password information of the input device through the USB interface, and finally, the singlechip 8032UC in the superIO determines whether to unlock the electronic lock or not by comparing the received password information with the reference password obtained from the register.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. An electronic device, comprising:
a chassis;
the mainboard is arranged inside the case;
the electronic lock is used for locking the case when the electronic lock is in a locking state;
the input interface is used for connecting an input device to the mainboard;
the first interface controller and the second interface controller are arranged on the mainboard and used for carrying out input control on input information from the input interface;
the interface switch is used for controlling the input interface to be communicated with the first interface controller when the electronic equipment is in a starting state; when the electronic equipment is in a shutdown state, controlling the input interface to be communicated with the second interface controller;
the electronic lock controller is used for acquiring the electronic lock password information input by the input device through the second interface controller when the electronic equipment is in a shutdown state, and performing state control on the electronic lock based on the electronic lock password information; when the electronic equipment is in a power-off state, independently supplying power to the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment;
the first interface controller is arranged in a main board solder ball array package PCH of the electronic equipment, and the second interface controller, the interface switch and the electronic lock controller are arranged in a multifunctional card superIO on a main board of the electronic equipment;
when the electronic equipment is in a starting state, the input device is controlled by the PCH; when the electronic equipment is in a shutdown state, the input device is controlled by superIO.
2. The electronic device of claim 1, further comprising: a register disposed in the superIO;
the electronic lock controller performs state control on the electronic lock based on the electronic lock password information, and specifically includes:
obtaining a prestored electronic lock reference password from the register; judging whether the electronic lock password information input by the input device is consistent with the electronic lock reference password or not to obtain a judgment result; and if the judgment result shows that the electronic lock and the electronic lock are consistent, controlling the electronic lock to be in an unlocking state, and if the judgment result shows that the electronic lock and the electronic lock are inconsistent, controlling the electronic lock to be in a locking state.
3. The electronic device of claim 2, wherein the electronic lock reference password in the register is: the password setting method includes setting a password in advance through a predetermined application program installed in the electronic device when the electronic device is in a power-on state.
4. The electronic device of any of claims 1-3, wherein the electronic lock controller is further configured to:
when the electronic equipment is in a starting state, the electronic lock password information input by the input device is obtained through the first interface controller, and the state of the electronic lock is controlled based on the electronic lock password information.
5. The electronic device of any of claims 1-3, further comprising: and the electronic ink screen E-ink is arranged on a preset panel of the case.
6. A control method of an electronic lock is applied to electronic equipment, and the electronic equipment comprises the following steps: the electronic equipment comprises a case, a mainboard, an electronic lock, an input interface, a first interface controller, a second interface controller and an interface switch, wherein the mainboard is arranged in the case, the electronic lock is used for locking the case when the electronic equipment is in a locking state, the input interface is used for connecting an input device to the mainboard, the first interface controller and the second interface controller are arranged on the mainboard, and the interface switch is used for controlling the input interface to be communicated with the first interface controller when the electronic equipment is in a starting state and controlling the input interface to be communicated with the second interface controller when the electronic equipment is in a shutdown state;
the method comprises the following steps:
when the electronic equipment is in a shutdown state, obtaining the password information of the electronic lock input by the input device through the second interface controller;
performing state control on the electronic lock based on the password information of the electronic lock; when the electronic equipment is in a power-off state, independently supplying power to the input interface, the interface switch, the second interface controller and the electronic lock controller of the electronic equipment;
the first interface controller is arranged in a main board solder ball array package PCH of the electronic equipment, and the second interface controller, the interface switch and the electronic lock controller are arranged in a multifunctional card superIO on a main board of the electronic equipment;
when the electronic equipment is in a starting state, the input device is controlled by the PCH; when the electronic equipment is in a shutdown state, the input device is controlled by superIO.
7. The method of claim 6, wherein the electronic device further comprises a register disposed in the superIO;
then the performing state control on the electronic lock based on the electronic lock password information includes:
obtaining a prestored electronic lock reference password from the register;
judging whether the electronic lock password information input by the input device is consistent with the electronic lock reference password or not to obtain a judgment result;
and if the judgment result shows that the electronic lock and the electronic lock are consistent, controlling the electronic lock to be in an unlocking state, and if the judgment result shows that the electronic lock and the electronic lock are inconsistent, controlling the electronic lock to be in a locking state.
8. The method of claim 7, further comprising, prior to said obtaining a pre-stored electronic lock reference code from said register:
and when the electronic equipment is in a starting state, setting an electronic lock reference password in the register through a preset application program installed in the electronic equipment in advance.
9. The method according to any one of claims 6-8, further comprising:
when the electronic equipment is in a starting state, the electronic lock password information input by the input device is obtained through the first interface controller, and the state of the electronic lock is controlled based on the electronic lock password information.
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 CN107578515A (en) 2018-01-12
CN107578515B true 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)

Families Citing this family (2)

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

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015042925A1 (en) * 2013-09-29 2015-04-02 华为技术有限公司 Server control method and server control device

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN107578515A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US7849301B2 (en) Providing a user input interface prior to initiation of an operating system
US20070180255A1 (en) Information processing apparatus and authentication control method
CN107578515B (en) Electronic equipment and control method of electronic lock
US6609207B1 (en) Data processing system and method for securing a docking station and its portable PC
CN103366110A (en) System for encrypting and decrypting electronic device through external device, electronic device and external device
EP1950679A1 (en) Method for locking computer and device for the same
CN102855428A (en) Security control method of computer and computer
US20070030117A1 (en) Coded lock
US20140373183A1 (en) Computer and control method thereof
US9218512B2 (en) Portable computer and operating method thereof
JP2010157200A (en) System operating method using hardware lock and electronic device started by utilizing the hardware lock
US20050010784A1 (en) Information processing apparatus and authentication program storage medium
CN106814840A (en) Low power state for processor keeps pattern
US8893265B2 (en) Apparatus for waking up a system and the computer system using the same
US20170004301A1 (en) Device matching verification method and the computer system thereof
CN103198257B (en) Security under mixed information treatment facility environment is reused
JPH09305249A (en) Information processor and method for mounting electronic equipment on the information processor
JP5037309B2 (en) Information processing apparatus and logon method
JP3488385B2 (en) Core computer unit and computer system using it
JP2006018545A (en) Usb module
US20120159141A1 (en) Information processing apparatus and start-up control method
CN216146597U (en) Control device for electronic device and electronic device
JP2010152721A (en) Information processor and start-up program of the information processor
JP2008250933A (en) Information processor
JP5869429B2 (en) Information processing apparatus, communication method thereof, and wireless card

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