CN106295416B - Wake-up control method and electronic equipment - Google Patents

Wake-up control method and electronic equipment Download PDF

Info

Publication number
CN106295416B
CN106295416B CN201610696654.1A CN201610696654A CN106295416B CN 106295416 B CN106295416 B CN 106295416B CN 201610696654 A CN201610696654 A CN 201610696654A CN 106295416 B CN106295416 B CN 106295416B
Authority
CN
China
Prior art keywords
hard disk
electronic device
electronic equipment
sleep state
data interface
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
CN201610696654.1A
Other languages
Chinese (zh)
Other versions
CN106295416A (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 CN201610696654.1A priority Critical patent/CN106295416B/en
Publication of CN106295416A publication Critical patent/CN106295416A/en
Application granted granted Critical
Publication of CN106295416B publication Critical patent/CN106295416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/80Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in storage media based on magnetic or optical technology, e.g. disks with sectors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/85Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The application provides a wake-up control method and electronic equipment, in the process of waking up the electronic equipment in a sleep state, the method verifies whether a plug-in event occurs to a hard disk data interface of the electronic equipment during the sleep state of the electronic equipment, and when the plug-in event occurs to the hard disk interface during the sleep state of the electronic equipment is determined, if a three-head data line is used for replacing two data lines of the hard disk data interface of the electronic equipment, the electronic equipment is controlled to execute preset operation, so that the read-out of a hard disk of the electronic equipment is stopped, the leakage of data in the hard disk is avoided, and the use safety of the electronic equipment is ensured.

Description

Wake-up control method and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wake-up control method and an electronic device.
Background
At present, in order to improve the use security of the electronic device and prevent the stored information in the electronic device from being checked by others, the hard disk of the electronic device is usually encrypted, so that the electronic device can enter the operation interface only by inputting a password when being started at each time.
However, in practical applications, in order to simplify operations, it is not necessary to Input the password again when the electronic device enters the working state from the sleep state, and specifically, in the process of waking up the electronic device in the sleep state, the BIOS (Basic Input Output System) of the electronic device automatically unlocks the hard disk of the electronic device by using the password saved when the electronic device is turned on, so as to shorten the time for waking up the electronic device.
However, the applicant finds that, in the conventional electronic device wake-up method, if the electronic device is attacked in the process of waking up the electronic device, data stored in a hard disk of the electronic device is easily read illegally, and the use safety of the electronic device is reduced.
Disclosure of Invention
In view of the above, the present invention provides a wake-up control method and an electronic device, which solve the technical problem that the data stored in the hard disk of the electronic device is easily read illegally due to the attack during the wake-up period of the existing electronic device, that is, a data line with three heads replaces two data lines of the hard disk data interface of the electronic device, thereby reducing the use security of the electronic device.
In order to solve the technical problem, the application provides the following technical scheme:
a wake-up control method is applied to an electronic device, and comprises the following steps:
in the process of awakening the electronic equipment in the sleep state, verifying whether the hard disk data interface of the electronic equipment in the sleep state has an occurrence of plugging and unplugging events;
when it is determined that the hard disk data interface is plugged and unplugged during the sleep state of the electronic equipment, the electronic equipment is controlled to execute preset operation so as to stop reading the hard disk of the electronic equipment.
Preferably, the verifying whether the hard disk data interface of the electronic device is plugged or unplugged during the sleep state includes:
acquiring the output voltage of the target detection port during the sleep state of the electronic equipment;
calculating whether the output voltage change value of the target detection port exceeds a preset threshold value or not by using the acquired output voltage;
the occurrence of the plugging event of the hard disk data interface during the sleep state of the electronic device is specifically:
and the output voltage change value of the target detection port exceeds the preset threshold value.
Preferably, the method further comprises:
detecting and storing an output voltage of the target detection port during a sleep state of the electronic device.
Preferably, the controlling the electronic device to execute a preset operation includes:
and controlling the electronic equipment to be powered off or maintain a sleep state.
Preferably, the controlling the electronic device to execute a preset operation includes:
controlling the electronic equipment to output a password input interface;
detecting current password information input by a user aiming at the password input interface, and verifying the current password information;
when the current password information is verified to be correct, reading a hard disk of the electronic equipment through the hard disk data interface;
and when the current password information is verified to be incorrect, controlling the electronic equipment to be powered off or maintaining a sleep state.
Preferably, the controlling the electronic device to execute a preset operation includes:
controlling the electronic equipment to output a password resetting interface;
and detecting target password information input by a user aiming at the password resetting interface, and replacing the target password information with the hard disk decryption information prestored in the electronic equipment to serve as new hard disk decryption information.
Preferably, when it is determined that the hard disk data interface has a plug event during the sleep state of the electronic device, the method further includes:
and outputting alarm information, wherein the alarm information is used for reminding a user that the electronic equipment is attacked currently.
An electronic device, the electronic device comprising:
the hard disk is provided with a hard disk data interface and is used for outputting data in the hard disk;
the controller is used for detecting whether the hard disk data interface has an over-plugging event or not during the sleep state of the electronic equipment in the process of awakening the electronic equipment in the sleep state, and controlling the electronic equipment to execute preset operation to stop reading the hard disk when the over-plugging event of the hard disk data interface during the sleep state of the electronic equipment is determined.
Preferably, the electronic device further includes:
the output end of the target detection port is respectively connected with the first end of the hard disk detection interface and the power supply, and the second end of the hard disk detection interface is grounded;
the controller is specifically configured to obtain an output voltage of the target detection port during a sleep state of the electronic device, calculate whether a change value of the output voltage of the target detection port exceeds a preset threshold value by using the obtained output voltage, and control the electronic device to execute a preset operation to stop reading the hard disk when the change value of the output voltage of the target detection port exceeds the preset threshold value.
Preferably, the electronic device further includes:
a detector for detecting an output voltage of the target detection port during a sleep state of the electronic device;
a memory for storing the output voltage of the target detection port detected by the detector.
Therefore, compared with the prior art, the method and the electronic device for awakening control are provided, and in the process of awakening the electronic device in the sleep state, the method and the electronic device verify whether the plugging event occurs to the hard disk data interface of the electronic device during the sleep state of the electronic device, and if the plugging event occurs to the hard disk data interface during the sleep state of the electronic device is determined, for example, a three-head data line is used for replacing two-head data lines of the hard disk data interface of the electronic device, the electronic device is controlled to execute the preset operation, so that the reading of the hard disk of the electronic device is stopped, the leakage of data in the hard disk is avoided, and the use safety of the electronic device is ensured.
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 flowchart of a wake-up control method according to an embodiment of the present disclosure;
fig. 2 is a schematic circuit diagram of a detection circuit according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another wake-up control method according to an embodiment of the present application;
fig. 4 is a partial flowchart of another wake-up control method according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of another electronic device according to an embodiment of the present disclosure.
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.
The application provides a wake-up control method and electronic equipment, in the process of waking up the electronic equipment in a sleep state, the method verifies whether a plug-in event occurs to a hard disk data interface of the electronic equipment during the sleep state of the electronic equipment, and when the plug-in event occurs to the hard disk interface during the sleep state of the electronic equipment is determined, if a three-head data line is used for replacing two data lines of the hard disk data interface of the electronic equipment, the electronic equipment is controlled to execute preset operation, so that the read-out of a hard disk of the electronic equipment is stopped, the leakage of data in the hard disk is avoided, and the use safety of the electronic equipment is ensured.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
As shown in fig. 1, a flowchart of a wake-up control method provided in this embodiment of the present application is shown, where the method may be applied to an electronic device with a hard disk, such as a computer, an upper computer, a workstation, and the like, and the application does not limit a product type of the electronic device, the wake-up control method provided in this embodiment may include the following steps:
step S11, waking up the electronic device in the sleep state;
in this embodiment, according to the specification of Advanced Configuration and Power Management Interface (ACPI), an ACPI-compatible electronic device system may be divided into multiple states, such as S0-S5.
The S3 state may be referred to as a suspend to memory in the BIOS, and in practical applications, according to different versions of an installation system of the electronic device, the state may be referred to as a standby state or a sleep state, at this time, the main memory RAM of the electronic device still has power supply, and states of an operating system, an application program, an opened document, and the like of the electronic device read from the hard disk are all stored in the main memory, and when the electronic device is woken up from the S3 state, the state is directly restored to the contents when the electronic device enters the S3 state.
Based on the above analysis, the sleep state in the above step S11 may indicate that the electronic device is in the S3 state. In addition, the method for waking up the electronic device from the sleep state is not limited in the present application, and the user may trigger the input device of the electronic device, so as to wake up the electronic device in the sleep state based on the information output by the input device; of course, a sleep time may also be set, and when the time for the electronic device to enter the sleep state reaches a preset sleep time, the electronic device may be automatically woken up, and so on, which is not listed herein any more.
Step S12, verifying whether the hard disk data interface of the electronic device is in the sleep state and the plugging event occurs; if yes, go to step S13; if not, go to step S14;
in practical application, a password is usually required to be input when the electronic device is started, and the password is not required to be input again when the electronic device is controlled to enter a normal working state from an awakening state, so that if a plugging event occurs on a data interface of the hard disk in the awakening process, if an original two-head data line is replaced by a three-head data line, an illegal user can read data in the hard disk through one of the two-head data line, and the safety of the electronic device is affected.
In order to avoid the situation and cause the leakage of the hard disk data, the present application provides a scheme for performing plug detection on the hard disk data interface, and specifically, this embodiment may record an action of a data line connected to the hard disk data interface, so as to determine whether the plug event has occurred during the sleep state of the electronic device according to the record content.
Step S13, controlling the electronic device to execute a preset operation to stop reading the hard disk of the electronic device;
after the detection, it is determined that the hard disk data interface of the electronic device does have the plugging event, and at this time, in order to ensure the security of the hard disk data of the electronic device, the electronic device may stop reading the hard disk data, that is, the hard disk data interface is controlled to stop outputting any hard disk data.
Therefore, the specific content of the preset operation is not limited, the operation can be the operation of closing the host, resetting the password or re-inputting the password, and the effect of controlling the hard disk data interface to stop outputting any data can be achieved.
And step S14, reading the data in the hard disk of the electronic equipment, and controlling the electronic equipment to enter a normal working state.
Through the detection, it is determined that the hard disk data interface of the electronic device is not subjected to a plugging event, the hard disk data interface of the electronic device is not considered to be illegally attacked, and the situation that the hard disk data is stolen cannot occur in the process of waking up the electronic device.
In summary, in this embodiment, in the process of waking up the electronic device in the sleep state, it is verified whether the hard disk data interface of the electronic device has an over-plugging event during the sleep state of the electronic device, and when it is determined that the hard disk interface has the over-plugging event during the sleep state of the electronic device, the electronic device is directly controlled to execute the preset operation, and the reading of the hard disk of the electronic device is stopped, so that the hard disk data is prevented from leaking during the reading process, and the use safety of the electronic device is ensured.
Optionally, on the basis of the foregoing embodiment, in order to detect whether the hard disk data interface of the electronic device is plugged or unplugged during the sleep state of the electronic device, the present application may design a detection circuit for identifying plugging and unplugging of a data line of the hard disk data interface on a motherboard of the electronic device, and specifically, a GPIO or Superior IO (industrial serial port and network software communication platform) or a microprocessor may be used to record the plugging and unplugging actions of the data line on the hard disk data interface, so that in the present application, an interface of the GPIO or Superior IO or the microprocessor may be used as the target detection port 21, and the target detection port 21 is connected to the power VCC, as shown in fig. 2, so that the target detection port 21 always outputs a high level under a normal condition, and for the hard disk data interface 22 of the electronic device, the first end a thereof may be connected to the target detection port 21 and the connection line of the power VCC, the second segment B is grounded.
Based on the detection circuit shown in fig. 2, the present application may verify whether a plug event occurs during a period in which the electronic device is in a sleep state through the following method, but is not limited to this, and as shown in fig. 3, a verification process of the plug event is as follows:
step S31, detecting and storing the output voltage of the target detection port when the electronic device is in the sleep state;
the output voltage of the target detection port may be a specific voltage value or a high-low level state, which is not limited in this application, and this embodiment only takes the specific voltage value as an example for description.
In this embodiment, as shown in the circuit structure shown in fig. 2, when the first end a of the hard disk data interface is plugged, since it is connected to the target detection port and the connection line of the power supply, when the data line connected to the hard disk data line interface is plugged, the output voltage of the target detection port will be affected, and therefore, the present application can determine whether the plugging event occurs on the hard disk data interface.
Optionally, when the output voltage of the target detection port is stored, the output voltage may be stored in association with the current state of the electronic device, where the current state of the electronic device may be represented by information such as an output signal of some ports, which is not limited in this application.
Step S32, when waking up the electronic device, obtaining the output voltage of the target detection port during the sleep state of the electronic device;
as described above, in the process of waking up the electronic device from the sleep state, an illegal user can only steal data in the hard disk through the hard disk data interface, so to avoid this situation, the present application will detect whether a plug event occurs before the electronic device is woken up, that is, whether the illegal user is connected to the hard disk data interface before the electronic device is woken up, so as to obtain data output by the hard disk data interface in the wake-up process.
Therefore, in order to avoid stealing hard disk data in the process of waking up the electronic device in the sleep state, the embodiment can monitor whether the data line of the hard disk data interface is plugged by an illegal user or not during the sleep state of the electronic device, and replace the data line with three or more heads. Therefore, when the electronic device in the sleep state is awakened, the output voltage of the target detection port during the sleep state of the electronic device is obtained from the recorded output voltage of the target detection port.
Step S33, calculating whether the output voltage variation value of the target detection port exceeds a preset threshold value by using the acquired output voltage; if yes, go to step S34, if no, return to step S35;
in practical application of this embodiment, a difference between output voltages of the target detection ports detected at adjacent moments, that is, a variation value of the output voltage, may be calculated, so as to determine whether the hard disk data interface has an over-plugging event according to the magnitude of the variation value.
In order to improve the accuracy of the plug-in/pull-out event verification, a preset threshold may be set in this embodiment, so that when it is determined that the calculated output voltage variation value is greater than the preset threshold, it is determined that a plug-in/pull-out event occurs on the hard disk data interface; otherwise, the hard disk data interface can be considered to be normal.
Therefore, the preset threshold value can be a critical value for judging whether the hard disk data interface has an insertion/extraction event or not based on the output voltage of the target detection port, and the size of the preset threshold value can be determined according to factors such as the product type of the electronic device, the current application scene, the power supply connected with the target detection port and the like.
And step S34, controlling the electronic device to power off or maintain a sleep state.
And step S35, reading the data in the hard disk of the electronic equipment, and controlling the electronic equipment to enter a normal working state.
Therefore, in the embodiment, the detection circuit is arranged to detect whether the hard disk output interface has an over-plugging event during the sleep period of the electronic device, and when the over-plugging event is determined to occur during the sleep period of the hard disk output interface, the electronic device is directly controlled to be powered off or continue to maintain the sleep state, so that the hard disk data interface is ensured not to output hard disk data, the risk of hard disk data leakage caused by awakening the electronic device under the condition is avoided, and the use safety of the electronic device is improved.
Optionally, after it is determined that the hard disk data interface has the plugging event during the sleep state of the electronic device, the method is not limited to the scheme of directly controlling the electronic device to shut down or maintain the sleep state, and may also ensure the security of the hard disk data output by the hard disk output interface in the following manner:
the first method is as follows: as shown in fig. 4, in this embodiment, only when the determination result of the step S33 is yes, the subsequent control process is described, and other steps may refer to the description of the corresponding parts in the above embodiment, which is not described again in this embodiment. In order to avoid that the hard disk data interface directly outputs the hard disk data in this case, the following steps may be adopted:
step S41, controlling the electronic equipment to output the password input interface again;
the password input interface can be a password input interface such as numbers, fingerprints, voice, patterns and the like, and the specific type of the password input interface is not limited in the application.
Therefore, in the embodiment, after it is determined that the hard disk data interface of the electronic device has the plugging event during the sleep state, the password needs to be input again before any subsequent operation is performed, so that the leakage risk caused by directly outputting the hard disk data through the hard disk data interface is avoided.
Step S42, detecting the current password information input by the user aiming at the password input interface;
step S43, verifying whether the detected current password information is correct, if yes, entering step S44; if not, go to step S45;
in this embodiment, the correct password information may be pre-stored for the type of the password input interface, and used as a standard in the actual verification process, so that step S43 may compare the detected current password information with the pre-stored password information, and if the detected current password information is consistent with the pre-stored password information, it indicates that the current password information is correct; otherwise, the current password information is considered to be incorrect.
Step S44, reading the hard disk of the electronic device through the hard disk data interface;
and step S45, controlling the electronic device to power off or maintain a sleep state.
Therefore, in the embodiment, in order to further improve the accuracy of wake-up control and avoid the situation that the normal use of the electronic device by a user is affected by directly controlling the electronic device to be powered off or maintaining a sleep state due to the fact that the user mistakenly plugs and unplugs the hard disk data interface or actually plugs and unplugs the data interface, the embodiment provides that when it is determined that a plugging event occurs during the sleep period of the electronic device, the password authentication is performed again, and the hard disk data interface is controlled to output hard disk data only after the authentication is passed, so that the situation that an illegal user steals data stored in the hard disk through the hard disk data interface is avoided.
The second method comprises the following steps: similarly to the above manner, in the case that the determination result in the step S33 is yes, the electronic device may be controlled to output the password resetting interface, so that a legitimate user resets the power-on password of the electronic device, and when the electronic device detects target password information input by the user for the password resetting interface, the target password information is used to replace the hard disk decryption information pre-stored in the electronic device, and the hard disk decryption information is used as new hard disk decryption information, so that in the process of waking up the electronic device, the electronic device can be successfully woken up by re-inputting the hard disk decryption information, and the electronic device enters a normal working state, instead of directly waking up the electronic device. Therefore, the purpose of improving the safety of the hard disk data output by the hard disk data interface can be achieved by resetting the hard disk safety function of the electronic equipment in the password resetting mode.
It should be noted that, for the situation that the hard disk data interface is plugged or unplugged when the electronic device is in the sleep state, the subsequent processing mode is not limited to the three modes listed above, and a technician may adopt other modes to improve the safety of the hard disk data interface outputting the hard disk data under the guidance of the inventive concept described above in this application, which are not listed herein one by one.
Optionally, on the basis of the foregoing embodiments, when it is determined that the hard disk data interface has an occurrence of a plug event during a sleep state of the electronic device, alarm information may be output to remind the user that the electronic device is currently attacked.
Wherein, the alarm information can be a voice signal, a buzzer or the like output by the electronic equipment; or, the alarm information can be output through other electronic equipment carried by a legal user bound with the electronic equipment, so that the user can timely return to the site of the electronic equipment, and the data of the hard disk of the electronic equipment is prevented from being leaked. It can be seen that the specific output mode of the alarm information is not limited in the present application.
As shown in fig. 5, a block diagram of an electronic device provided in an embodiment of the present application is shown, where the electronic device may include: a hard disk 51 and a controller 52, wherein:
the hard disk 51 has a hard disk data interface 511 for outputting data stored in the hard disk 51;
in this embodiment, the hard disk 51 may be a solid state disk, a mechanical hard disk, a magnetic disk, and the like, and the structure type of the hard disk 51 is not limited in this application.
The controller 52 detects whether the hard disk data interface 511 of the electronic device in the sleep state has an over-plugging event during waking up the electronic device in the sleep state, and controls the electronic device to execute a preset operation to stop reading the hard disk 51 when determining that the hard disk data interface 511 has the over-plugging event during the sleep state of the electronic device.
Therefore, in the embodiment, in the process of waking up the electronic device in the sleep state, whether the hard disk data interface of the electronic device has an over-plugging event during the sleep state of the electronic device is verified, and when it is determined that the hard disk interface has the over-plugging event during the sleep state of the electronic device, the electronic device is directly controlled to execute the preset operation, and the reading of the hard disk of the electronic device is stopped, so that the hard disk data is prevented from leaking in the reading process, and the use safety of the electronic device is ensured.
As another embodiment of the present application, when the electronic device is provided with the detection circuit shown in fig. 2, referring to fig. 6, the electronic device may further include, in addition to the above embodiment:
an object detection port 53, an output end of the object detection port 53 is respectively connected with the first end a of the hard disk detection interface 511 and the power VCC, and the second end B of the hard disk detection interface 511 is grounded;
a detector 54 for detecting an output voltage of the target detection port 53 during a sleep state of the electronic apparatus;
a memory 55 for storing the output voltage of the target detection port detected by the detector 54;
the controller 52 may be specifically configured to obtain an output voltage of the target detection port during a sleep state of the electronic device, calculate whether a variation value of the output voltage of the target detection port 53 exceeds a preset threshold by using the obtained output voltage, and control the electronic device to perform a preset operation to stop reading the hard disk 51 when the variation value of the output voltage of the target detection port 53 exceeds the preset threshold.
Optionally, the preset operation performed by the controller 53 may be implemented in three ways as described in the corresponding part of the foregoing method embodiment, and based on this, the electronic device may further include: a display.
Correspondingly, the controller can specifically control the display to output a password input interface, verify the current password information after detecting the current password information input by the user aiming at the password input interface, and read the hard disk of the electronic equipment through the hard disk data interface when verifying that the current password information is correct; and when the current password information is verified to be incorrect, controlling the electronic equipment to be powered off or maintaining a sleep state.
Or, the controller may be further specifically configured to control the display to output a password resetting interface, and after target password information input by a user for the password resetting interface is detected, replace, as new hard disk decryption information, hard disk decryption information prestored in the electronic device with the target password information, so that before the hard disk data is output by the hard disk data interface, the hard disk is decrypted again in the above manner, and the hard disk data is prevented from being leaked in a process of waking up the electronic device from a sleep state.
Or, the controller may also directly control the electronic device to be powered off or maintain a sleep state, so as to ensure the use safety of the electronic device, which is not listed herein.
It should be noted that, the circuit for detecting whether the hard disk data interface is plugged or unplugged is not limited to the detection circuit shown in fig. 2, and when the structure of the detection circuit is changed, the detection mode is also changed accordingly; in addition to the detection circuit shown in fig. 2, the insertion/removal detection method is not limited to the above-described several types of insertion/removal detection method using a change in the output voltage of the target detection port.
Optionally, on the basis of the foregoing embodiments, the electronic device may further include:
and the alarm is used for outputting alarm information to remind a user that the electronic equipment is attacked currently when the hard disk data interface is determined to have an occurrence of a plugging event during the sleep state of the electronic equipment.
Based on the analysis, the detection circuit is arranged to detect whether the hard disk output interface has the plugging event during the sleep period of the electronic equipment, and when the plugging event occurs during the period of the hard disk output interface, the electronic equipment is directly controlled to be powered off or continuously maintain the sleep state, so that the hard disk data interface is ensured not to output the hard disk data, the risk of hard disk data leakage caused by awakening the electronic equipment under the condition is avoided, and the use safety of the electronic equipment is improved.
Finally, it should be noted that, in the embodiments, relational terms such as first, second and the like may be used solely to distinguish one operation, unit or module from another operation, unit or module without necessarily requiring or implying any actual such relationship or order between such units, operations or modules. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or system 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, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or system that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the electronic equipment disclosed by the embodiment, the method disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A wake-up control method is applied to an electronic device, and comprises the following steps:
in the process of awakening the electronic equipment in the sleep state, verifying whether the hard disk data interface of the electronic equipment in the sleep state has an insertion and extraction event by using a target detection port connected with the hard disk data interface; the first end of the hard disk data interface is connected with the target detection port and a connecting wire of a power supply, and the second end of the hard disk data interface is grounded; the target detection port is an interface of a detection circuit of a mainboard of the electronic equipment;
when it is determined that the hard disk data interface is plugged and unplugged during the sleep state of the electronic equipment, the electronic equipment is controlled to execute preset operation so as to stop reading the hard disk of the electronic equipment.
2. The method of claim 1, wherein the verifying whether the hard disk data interface of the electronic device has been subjected to a plug event during the sleep state comprises:
acquiring the output voltage of the target detection port during the sleep state of the electronic equipment;
calculating whether the output voltage change value of the target detection port exceeds a preset threshold value or not by using the acquired output voltage;
the occurrence of the plugging event of the hard disk data interface during the sleep state of the electronic device is specifically:
and the output voltage change value of the target detection port exceeds the preset threshold value.
3. The method of claim 2, further comprising:
detecting and storing an output voltage of the target detection port during a sleep state of the electronic device.
4. The method according to any one of claims 1-3, wherein the controlling the electronic device to perform a preset operation comprises:
and controlling the electronic equipment to be powered off or maintain a sleep state.
5. The method according to any one of claims 1-3, wherein the controlling the electronic device to perform a preset operation comprises:
controlling the electronic equipment to output a password input interface;
detecting current password information input by a user aiming at the password input interface, and verifying the current password information;
when the current password information is verified to be correct, reading a hard disk of the electronic equipment through the hard disk data interface;
and when the current password information is verified to be incorrect, controlling the electronic equipment to be powered off or maintaining a sleep state.
6. The method according to any one of claims 1-3, wherein the controlling the electronic device to perform a preset operation comprises:
controlling the electronic equipment to output a password resetting interface;
and detecting target password information input by a user aiming at the password resetting interface, and replacing the target password information with the hard disk decryption information prestored in the electronic equipment to serve as new hard disk decryption information.
7. The method of claim 1, wherein when it is determined that a plug event has occurred on the hard disk data interface during the electronic device being in the sleep state, the method further comprises:
and outputting alarm information, wherein the alarm information is used for reminding a user that the electronic equipment is attacked currently.
8. An electronic device, characterized in that the electronic device comprises:
the hard disk is provided with a hard disk data interface and is used for outputting data in the hard disk;
the controller is used for detecting whether the hard disk data interface generates an over-plugging event or not during the sleep state of the electronic equipment by using a target detection port connected with the hard disk data interface in the process of awakening the electronic equipment in the sleep state, and controlling the electronic equipment to execute preset operation to stop reading the hard disk when determining that the over-plugging event occurs during the sleep state of the electronic equipment by using the hard disk data interface;
the electronic device further includes:
the output end of the target detection port is respectively connected with the first end of the hard disk data interface and the power supply, and the second end of the hard disk data interface is grounded; the target detection port is an interface of a detection circuit of a mainboard of the electronic equipment.
9. The electronic device of claim 8,
the controller is specifically configured to acquire an output voltage of the target detection port during a sleep state of the electronic device, calculate whether a change value of the output voltage of the target detection port exceeds a preset threshold value by using the acquired output voltage, and control the electronic device to execute a preset operation to stop reading the hard disk when the change value of the output voltage of the target detection port exceeds the preset threshold value.
10. The electronic device of claim 9, further comprising:
a detector for detecting an output voltage of the target detection port during a sleep state of the electronic device;
a memory for storing the output voltage of the target detection port detected by the detector.
CN201610696654.1A 2016-08-19 2016-08-19 Wake-up control method and electronic equipment Active CN106295416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610696654.1A CN106295416B (en) 2016-08-19 2016-08-19 Wake-up control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610696654.1A CN106295416B (en) 2016-08-19 2016-08-19 Wake-up control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106295416A CN106295416A (en) 2017-01-04
CN106295416B true CN106295416B (en) 2021-07-16

Family

ID=57662339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610696654.1A Active CN106295416B (en) 2016-08-19 2016-08-19 Wake-up control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106295416B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625587A (en) * 2008-07-11 2010-01-13 微星科技股份有限公司 System for power supply management and safety protection and method thereof
CN102549594A (en) * 2009-10-13 2012-07-04 微软公司 Secure storage of temporary secrets
CN202870836U (en) * 2012-11-05 2013-04-10 包头市万佳信息工程有限公司 Protocol control information (PCI) safety protective card and system of secret-related computer
CN103207975A (en) * 2012-01-15 2013-07-17 联想(新加坡)私人有限公司 Method for protecting password and computer
CN104535851A (en) * 2014-12-12 2015-04-22 惠州Tcl移动通信有限公司 Rapid detecting method and system for judging pullout state of mobile terminal charger
CN104683601A (en) * 2013-11-29 2015-06-03 红板凳科技股份有限公司 Detection method and detection device of working condition of telephone set
CN104700046A (en) * 2013-12-04 2015-06-10 大连东浦机电有限公司 Security detection method of movable storage device
CN104834954A (en) * 2015-05-14 2015-08-12 成都芯昊芯科技有限公司 Passive electronic label with dismounting detection function
CN105574444A (en) * 2015-12-11 2016-05-11 无锡市同芯恒通科技有限公司 Device for important data destruction of disassembly trigger device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5476363B2 (en) * 2011-12-19 2014-04-23 レノボ・シンガポール・プライベート・リミテッド Computer startup method using biometric authentication device and computer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625587A (en) * 2008-07-11 2010-01-13 微星科技股份有限公司 System for power supply management and safety protection and method thereof
CN102549594A (en) * 2009-10-13 2012-07-04 微软公司 Secure storage of temporary secrets
CN103207975A (en) * 2012-01-15 2013-07-17 联想(新加坡)私人有限公司 Method for protecting password and computer
CN202870836U (en) * 2012-11-05 2013-04-10 包头市万佳信息工程有限公司 Protocol control information (PCI) safety protective card and system of secret-related computer
CN104683601A (en) * 2013-11-29 2015-06-03 红板凳科技股份有限公司 Detection method and detection device of working condition of telephone set
CN104700046A (en) * 2013-12-04 2015-06-10 大连东浦机电有限公司 Security detection method of movable storage device
CN104535851A (en) * 2014-12-12 2015-04-22 惠州Tcl移动通信有限公司 Rapid detecting method and system for judging pullout state of mobile terminal charger
CN104834954A (en) * 2015-05-14 2015-08-12 成都芯昊芯科技有限公司 Passive electronic label with dismounting detection function
CN105574444A (en) * 2015-12-11 2016-05-11 无锡市同芯恒通科技有限公司 Device for important data destruction of disassembly trigger device

Also Published As

Publication number Publication date
CN106295416A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN103207975B (en) The method of protection password and computing machine
CN101373437B (en) Accessing safety memory by embedded controller to increase system safety
US20050273845A1 (en) Information processing device, program therefor, and information processing system wherein information processing devices are connected via a network
CN103902934B (en) A kind of cabinet tamper machine method for detecting and device
US20090064316A1 (en) Method and Apparatus for Enhancing Information Security in a Computer System
US20160246957A1 (en) Method and Apparatus for Controlling Debug Port of Terminal Device
CN104484629A (en) Computer starting method and device
US9262631B2 (en) Embedded device and control method thereof
CN201397508Y (en) Stand-alone terminal secure login and monitoring device
CN110598384B (en) Information protection method, information protection device and mobile terminal
CN102722663A (en) Handheld smart device data security protection method
EP2207120A2 (en) System operating method using hardware lock and electronic device started by utilizing hardware lock
CN103914664A (en) Controller and control method having interior memory bank protecting function
US11386241B2 (en) Host system and method for unlocking electronic lock
JP2000259276A (en) Password controller
CN114595178A (en) External protection equipment and method for protecting HID (human interface device) keyboard and mouse equipment
TWI381734B (en) Protection system for display apparatus and method thereof
US20060282902A1 (en) Security device and method for information processing apparatus
CN106295416B (en) Wake-up control method and electronic equipment
JP6128388B2 (en) Information processing device
CN1357840A (en) Computer security system
KR101153873B1 (en) A PINPAD capable of self-detecting the illegal detachment and the method of maintaining the PINPAD security using the same
TWI467408B (en) Embedded devices and control methods thereof
TWI476675B (en) Flash drive with security device
CN110659477A (en) Anti-flash protection method and system for android device, android device and storage medium

Legal Events

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