CN116400970A - Computer starting method and device, computer equipment and storage medium - Google Patents

Computer starting method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN116400970A
CN116400970A CN202310358205.6A CN202310358205A CN116400970A CN 116400970 A CN116400970 A CN 116400970A CN 202310358205 A CN202310358205 A CN 202310358205A CN 116400970 A CN116400970 A CN 116400970A
Authority
CN
China
Prior art keywords
fingerprint
power
operating system
signal
fingerprint sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310358205.6A
Other languages
Chinese (zh)
Inventor
常辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ziguang Computer Technology Co Ltd
Original Assignee
Ziguang Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ziguang Computer Technology Co Ltd filed Critical Ziguang Computer Technology Co Ltd
Priority to CN202310358205.6A priority Critical patent/CN116400970A/en
Publication of CN116400970A publication Critical patent/CN116400970A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Image Input (AREA)

Abstract

The invention relates to the technical field of computers and discloses a computer starting method, a device, computer equipment and a storage medium, wherein the equipment comprises a fingerprint sensor, a processor, a memory and a power-on circuit; the fingerprint sensor is connected with the ground and is respectively connected with the power-on circuit and the processor through buses, the fingerprint sensor is kept in a standby state through current provided by the power-on circuit, the power-on circuit is connected with the processor through buses, and the memory is connected with the processor; when the processor receives a power-on signal sent by the power-on circuit, the computer instruction of the memory is operated, so that the processor starts an operating system and enters a login interface of the operating system; the method comprises the steps that when an operating system is started, a processor acquires fingerprints acquired by a fingerprint sensor and verifies the fingerprints; when the fingerprint verification is passed, the processor controls the operating system to skip the login interface and enter the desktop of the operating system. The invention realizes the effect that the computer equipment is started only by the fingerprint of the user.

Description

Computer starting method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a computer startup method, a device, a computer device, and a storage medium.
Background
At present, some intelligent products with fingerprint verification function are only used for verifying the safety operation of a user after the user starts up and enters an operating system, and some technologies are that a startup key of equipment and a fingerprint verification module are combined together, for example, a startup scheme of the equipment provided by a document WO2018195832A1 is that the startup key and the fingerprint verification module are combined together, and reference can be made to fig. 14 in the document, when the user needs to start up, the user needs to press the startup key first to enable a power-on circuit to be connected, the power-on circuit is respectively powered on to a second MCU running the operating system, a first MCU running the fingerprint module and a fingerprint sensor, the operating system loads a login interface when the fingerprint module collects fingerprints, when the operating system enters the login interface, the second MCU requests fingerprint verification to the first MCU, and after the fingerprint verification passes, the second MCU controls the operating system to enter a computer desktop. Therefore, in the power-off state, the method can play a role in starting up only by pressing the power-on key by a user, and cannot start up only by means of the fingerprint of the user, so that the power-on key is damaged in the long time.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method, an apparatus, a computer device and a storage medium for starting up a computer, so as to solve the problem that the computer device cannot be started up only by means of a fingerprint of a user.
In a first aspect, an embodiment of the present invention provides a computer device, including a fingerprint sensor, a processor, a memory, and a power-on circuit; the fingerprint sensor is connected with the ground and is respectively connected with the power-on circuit and the processor through buses, the power-on circuit is connected with the processor through buses, and the memory is connected with the processor; the memory stores computer instructions, when the processor receives a power-on signal sent by the power-on circuit, the computer instructions are operated, so that the processor starts an operating system and enters a login interface of the operating system, the fingerprint sensor is kept in a standby state through current provided by the power-on circuit, the power-on signal is a signal sent by the power-on circuit when the fingerprint sensor detects that the fingerprint sensor outputs a fingerprint signal, and when a finger is placed on the fingerprint sensor, the fingerprint sensor outputs the fingerprint signal; the processor acquires the fingerprint acquired by the fingerprint sensor and verifies the fingerprint while starting the operating system; and when the fingerprint verification is passed, the processor controls the operating system to skip the login interface and enter a desktop of the operating system.
The beneficial effects are that: the scheme that this embodiment provided utilizes fingerprint sensor to replace push switch access power-on circuit, and fingerprint sensor is connected with treater and power-on circuit simultaneously. When the computer equipment is not started, the processor is not started, the power-on circuit supplies current to the fingerprint sensor to enable the fingerprint sensor to be kept in a standby state, when a user places a finger on the fingerprint sensor, a capacitance signal sensed by the fingerprint sensor changes to send a fingerprint signal to the power-on circuit, the power-on circuit responds to the received fingerprint signal to send a power-on signal to power up the processor, and the processor immediately runs a computer instruction in the memory after power-on, so that an operating system is started to start the computer; when the processor is started, a passage between the processor and the fingerprint sensor can be conducted, so that fingerprint signals sent by the fingerprint sensor can reach the processor, the processor acquires fingerprints acquired by the fingerprint sensor and verifies the fingerprints, when the fingerprints pass through, the processor controls the operating system to skip a login interface and enter a desktop, and when the fingerprints do not pass through, the processor controls the operating system to be kept at the login interface. Through this scheme, regard as the switch of start with fingerprint sensor, need not the user to press the switch, only need the user to place the finger on fingerprint sensor, just can power on and fingerprint verification computer device, realized only relying on borrow user's fingerprint to start the scheme of computer device, avoided the problem that the start key was destroyed by the pressing force.
In a second aspect, an embodiment of the present invention provides a computer booting method, which is applied to a processor in the computer device in the first aspect, where the method includes: when a power-on signal sent by a power-on circuit is received, starting an operating system and entering a login interface of the operating system, wherein the power-on signal is a signal sent when the power-on circuit detects that the fingerprint sensor outputs a fingerprint signal, the fingerprint sensor is kept in a standby state through current provided by the power-on circuit, and when a finger is placed on the fingerprint sensor, the fingerprint sensor outputs the fingerprint signal; acquiring a fingerprint acquired by the fingerprint sensor and verifying the fingerprint while starting the operating system; and when the fingerprint verification is passed, controlling the operating system to skip the login interface and enter a desktop of the operating system.
The beneficial effects are that: through this scheme, regard as the switch of start with fingerprint sensor, need not the user to press the switch, only need the user to place the finger on fingerprint sensor, just can power on and fingerprint verification computer device, realized only relying on borrow user's fingerprint to start the scheme of computer device, avoided the problem that the start key was destroyed by the pressing force.
With reference to the second aspect, in one implementation manner, a duration of time that the power-up circuit sends the power-up signal and a duration of time that the fingerprint sensor outputs the fingerprint signal remain the same, and when the power-up signal sent by the power-up circuit is received, an operating system is started and enters a login interface of the operating system, where the method includes: when a power-on signal sent by a power-on circuit is received, counting the duration time of the power-on signal; when the duration time of the power-on signal exceeds a first preset time, starting an operating system and entering a login interface of the operating system; and shielding the power-on signal while starting the operating system.
The beneficial effects are that: by configuring the computer instruction, the user can start the computer only when the time of placing the finger of the user on the fingerprint sensor exceeds the first preset time, and the direct start of the computer caused by false touch of the user is avoided, so that the power resource is wasted. In addition, when the operating system is started, the power-on signal is shielded, so that the situation that after the computer is started, when a user verifies in other fingerprint verification scenes, fingerprint signals simultaneously reach the processor and the power-on circuit, and the power-on signal generated by the power-on circuit interferes the processor is avoided.
With reference to the second aspect or corresponding embodiments thereof, in one embodiment, after entering a login interface of the operating system, the method further includes: when a fingerprint signal sent by the fingerprint sensor is received, counting the duration time of the fingerprint signal; and when the duration of the fingerprint signal exceeds a second preset time, the computer is turned off.
The beneficial effects are that: by configuring the computer instruction, after the computer is successfully started, the user can turn off the computer when the time of placing the finger of the user on the fingerprint sensor exceeds the second preset time, so that the flexibility of using the computer equipment by the user is improved.
With reference to the second aspect or the corresponding implementation manner, in an implementation manner, when the fingerprint signal sent by the fingerprint sensor is received, the counting duration of the fingerprint signal includes: when a fingerprint signal sent by the fingerprint sensor is received, acquiring a fingerprint acquired by the fingerprint sensor; verifying whether the fingerprint collected by the fingerprint sensor has the authority of shutdown; when the verification passes, the duration of the fingerprint signal is counted.
The method has the advantages that when the user makes the computer shut down through the fingerprint, the fingerprint of the user is verified first, and only when the fingerprint of the user has the authority of shutting down, the processor counts whether the time for placing the finger of the user exceeds the second preset time, otherwise, the user does not count and does not execute the shutdown. Avoiding other users than the owner of the computer device from causing a shutdown via a power key.
With reference to the second aspect or the corresponding implementation manner, in an implementation manner, when the duration of the fingerprint signal exceeds a second preset time, turning off the computer includes: when the duration of the fingerprint signal exceeds a second preset time, popping up a prompt message, wherein the prompt message is used for inquiring whether a user is powered off or not; and when the prompt message is popped up and then an input shutdown instruction is received, the computer is shut down.
The beneficial effects are that: under the condition that the computer is started, when the finger of the user is placed on the fingerprint sensor for more than a second preset time, a prompt message is popped up to inquire whether the user is shut down. The computer is powered off only when a power-off instruction input by a user according to the prompt message is received, so that the problem that the user is powered off due to the fact that the fingerprint sensor is touched by mistake for more than a second preset time in the process of using the computer, and the work and property loss is caused is avoided.
With reference to the second aspect or corresponding implementation manner, in an implementation manner, when the prompting message pops up and receives an input shutdown instruction, closing the computer includes: judging whether the duration of the fingerprint signal exceeds a third preset time, wherein the third preset time is longer than the second preset time; and when the duration of the fingerprint signal exceeds the third preset time, judging that a shutdown instruction is received, and closing the computer.
The beneficial effects are that: when the pop-up prompt message asks the user whether to shut down, if the user continues to keep the finger placed on the fingerprint sensor for more than a third preset time, the processor determines that a shutdown instruction is received and shuts down the computer. The user does not need to input a shutdown instruction by using a mouse or a keyboard, and the operation efficiency of the user is improved.
With reference to the second aspect, in an embodiment or a corresponding embodiment, if a desktop of the operating system is locked, the method further includes: when a fingerprint signal sent by the fingerprint sensor is received, acquiring a fingerprint acquired by the fingerprint sensor; verifying whether the fingerprint collected by the fingerprint sensor has the right of unlocking the desktop; when the verification is passed, counting the duration of the fingerprint signal; and unlocking the desktop when the duration of the fingerprint signal exceeds a fourth preset time and does not exceed the second preset time.
The beneficial effects are that: when the desktop of the operating system is locked, a user can unlock through fingerprints, and at the moment, the configuration computer instructions identify that the finger placement time of the user exceeds a fourth preset time and does not exceed the second preset time, so that the unlocking function of the desktop is realized, and the scheme of placing and unlocking the finger for a short time and placing and shutting down for a long time is realized.
In a third aspect, an embodiment of the present invention provides a computer booting device, which is applied to a processor in a computer device in the first aspect, where the device includes: the power-on starting module is used for starting an operating system and entering a login interface of the operating system when receiving a power-on signal sent by the power-on circuit, wherein the power-on signal is a signal sent by the power-on circuit when detecting that the fingerprint sensor outputs a fingerprint signal, and the fingerprint sensor outputs the fingerprint signal when a finger is placed on the fingerprint sensor; the fingerprint verification module is used for acquiring the fingerprint acquired by the fingerprint sensor and verifying the fingerprint when the operating system is started; and the login module is used for controlling the operating system to skip the login interface and enter a desktop of the operating system when the fingerprint verification is passed.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where computer instructions are stored on the computer readable storage medium, where the computer instructions are configured to cause a computer to perform the computer booting method according to the second aspect or any implementation manner corresponding to the second aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of the hardware architecture of a computer device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating steps of a computer booting method according to some embodiments of the present invention;
fig. 3 is a block diagram of a computer booting device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In practical application, some computer devices are added with fingerprint verification functions, so that the safety of the computer devices is improved, and meanwhile, a fingerprint sensor and a startup and shutdown key are combined together, so that a startup flow based on fingerprint verification can be realized. However, in the conventional two-in-one technology, circuits of a power-on/off key and a fingerprint sensor are separated, two processors are respectively required to be configured, one is used for running an operating system, the other is used for collecting fingerprints, the power-on/off key is connected between the ground and an input pin of a power-on circuit, when a user starts up, the power-on key is required to be pressed by the external force of the user, so that the input pin of the power-on circuit is connected with the ground, and the power-on circuit respectively powers on the two processors and the fingerprint sensor through output pins in response to a received low-level signal; the first processor for running the operating system starts running the system and the second processor captures a fingerprint through the connected fingerprint sensor. After the system is running, the first processor requests the collected fingerprint from the second processor through fingerprint driving installed in the system, verifies the collected fingerprint and enters the desktop of the computer if the verification is passed. The method can not only start by means of fingerprint, but also can start by pressing two-in-one start-stop key by user, and the fingerprint sensor belongs to precise element, and the fingerprint sensor is easy to be damaged by long-time pressing.
Based on the above, the embodiment of the invention provides a computer starting device and a starting method, which can achieve the starting effect by placing by fingers without pressing by fingers through improving a starting circuit and configuring computer instructions.
According to an embodiment of the present invention, a computer power-on method embodiment is provided, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
In this embodiment, a computer startup method is provided and applied to a computer device, as shown in fig. 1, where the computer device includes a fingerprint sensor 30, a processor 10, a memory 20, and a power-on circuit 40, where the fingerprint sensor is connected to the ground and is connected to the power-on circuit and the processor through buses, respectively, the fingerprint sensor is kept in a standby state by a current provided by the power-on circuit, the power-on circuit is connected to the processor through buses, and the memory is connected to the processor.
As shown in fig. 2, the process includes the steps of:
step S201, when a power-on signal sent by a power-on circuit is received, starting an operating system and entering a login interface of the operating system; the power-on signal is a signal sent when the power-on circuit detects that the fingerprint sensor outputs a fingerprint signal, and the fingerprint sensor outputs the fingerprint signal when a finger is placed on the fingerprint sensor.
Specifically, in this embodiment, the push switch is not connected between the input end of the power-on circuit and the ground, but replaced by the fingerprint sensor, and the fingerprint sensor is used as a trigger switch for switching on and switching off and also as a fingerprint acquisition module. The power-on circuit includes at least a power chip and a power source, wherein the power source includes but is not limited to a mains power source, a lithium battery power source, and the power chip is a programmable power-on chip such as an IT5571VG-VFBGA chip. It should be noted that, in the computer field, the un-started state refers to a state in which the processor and other elements are not started, and the power chip of the power-on circuit needs to continuously maintain a low-power-consumption working state under the supply of power. Based on this, the power-on circuit is configured to continuously supply current to the fingerprint sensor, so that the current supplied by the fingerprint sensor through the power-on circuit is kept in a standby state, when a user needs to start up, only a finger needs to be placed on the fingerprint sensor, and the capacitance array on the fingerprint sensor detects the change of the capacitance, so that another level signal (i.e., a fingerprint signal) different from the standby level is output, and after the fingerprint signal reaches the power-on circuit, the power-on circuit responds to the fingerprint signal to output the power-on signal to the processor. When the processor receives the power-on signal, the operating system is started immediately, and a login interface of the operating system is accessed.
In some alternative embodiments, the duration of the power-up circuit transmitting the power-up signal is kept the same as the duration of the fingerprint sensor outputting the fingerprint signal, and the step S201 includes:
and a step a1, counting the duration of the power-on signal when the power-on signal transmitted by the power-on circuit is received.
And a2, when the duration of the power-on signal exceeds a first preset time, starting the operating system and entering a login interface of the operating system.
Step a3, shielding the power-on signal while starting the operating system.
Specifically, in practical application, if the user does not need to start the computer, but the user starts up because of the false touch of the fingerprint sensor, unnecessary trouble is caused. To solve the problem, in this embodiment, by configuring the computer instruction, the duration of the power-on circuit for transmitting the power-on signal is kept the same as the duration of the fingerprint sensor for outputting the fingerprint signal, statistics is performed on the time when the finger of the user is placed on the fingerprint sensor, and when the time when the finger is placed exceeds the first preset time, the power-on signal also continuously exceeds the first preset time (for example, 10 seconds), so that the processor can start the operating system when detecting that the power-on signal exceeds the first preset time, thereby avoiding direct start of the operating system by the computer due to false touch by the user and wasting electric power resources. In addition, after the operating system is started, when a user performs verification in other fingerprint verification scenes, the computer equipment provided by the embodiment of the invention can enable fingerprint signals generated by the fingerprint sensor to reach the processor and the power-on circuit at the same time, so that the processor is shielded from power-on signals sent by the power-on circuit in order to avoid interference of power-on signals generated by the power-on circuit to the processor, and the running reliability of the system can be improved.
Step S202, when the operating system is started, the fingerprint collected by the fingerprint sensor is obtained, and the fingerprint is verified.
Specifically, after the processor is powered on and started, the processor starts to work, a circuit between the processor and the fingerprint sensor can be conducted, and the processor can directly communicate with the fingerprint sensor, so that the processor acquires a fingerprint acquired by the fingerprint sensor and verifies the fingerprint while an operating system is started. The fingerprints of the users can be pre-stored in the memory, when the computer equipment has a plurality of users, the pre-stored fingerprints can be grouped, different groups can be defined according to different operation authorities, for example, in the current starting-up process, the fingerprints with the starting-up authorities can be stored in one group. Whereby the step of fingerprint authentication comprises: reading a pre-stored fingerprint with starting permission in a memory; when the part of the memory does not store the pre-stored fingerprints (the computer equipment is considered to not start the fingerprint verification function by the absence of the pre-stored fingerprints), judging that the fingerprint verification passes, and any user can trigger the fingerprint sensor to start; when the part of the memory stores the pre-stored fingerprints, judging whether the pre-stored fingerprints comprise the currently acquired fingerprints or not; when the pre-stored fingerprints comprise the currently acquired fingerprints, judging that the fingerprint verification is passed; when the pre-stored fingerprints do not comprise the currently acquired fingerprints, the fingerprint verification is judged not to pass.
In step S203, when the fingerprint verification is passed, the operating system is controlled to skip the login interface and enter the desktop of the operating system.
Specifically, when fingerprint verification is passed, the control operating system skips the login interface and enters the desktop of the operating system, and when fingerprint verification is not passed, the control operating system is kept at the login interface.
Specifically, by using the fingerprint sensor as a switch for starting up the computer provided by the embodiment, on one hand, a user does not need to press the switch, and only needs to place a finger on the fingerprint sensor to power on and verify the fingerprint of the computer, so that the scheme of starting up the computer only by using the fingerprint of the user is realized, and the problem that the starting key is damaged by pressing force is avoided; on the other hand, the method can be realized by only one processor, and the manufacturing cost of the computer equipment is reduced.
In this embodiment, a computer startup method is provided, which can be used for the above computer device, and the process includes the following steps:
step S301, counting duration time of the power-on signal when the power-on signal sent by the power-on circuit is received;
step S302, when the duration of the power-on signal exceeds a first preset time, starting an operating system and entering a login interface of the operating system;
in step S303, the power-on signal is shielded while the operating system is started.
Specifically, please refer to the steps a1 to a3 for details of the steps S301 to 303, and the details are not repeated here.
Step S304, when the fingerprint signal sent by the fingerprint sensor is received, the duration of the fingerprint signal is counted.
Specifically, after the operating system enters the login interface (including the state of the login interface and the subsequent state of successfully entering the system desktop), the operating system runs stably. When the user places a finger on the fingerprint sensor for the first time and the processor is powered on and the operating system is started after exceeding a first preset time, the user releases hands, so that when the user places the finger on the fingerprint sensor for the second time, the processor establishes communication with the fingerprint sensor and can directly receive fingerprint signals, in order to avoid shutdown of the computer caused by false touch of the user, the processor counts the time of placing the finger on the user again through the duration time of the fingerprint signals, and when the user places the finger for the second time and exceeds a certain time, the processor executes shutdown operation to shutdown the computer.
In some alternative embodiments, the step S304 includes:
and b1, acquiring the fingerprint acquired by the fingerprint sensor when the fingerprint signal transmitted by the fingerprint sensor is received.
Step b2, verifying whether the fingerprint collected by the fingerprint sensor has the authority of shutdown;
and b3, counting the duration of the fingerprint signal when the verification is passed.
In particular, in practical applications, if a user who turns off a computer by means of a fingerprint is not the owner of the computer, there may be a loss of ongoing work on the computer, which is detrimental to the privacy and security of the computer operation. Therefore, before the timing of the shutdown of the fingerprint, the fingerprint is first verified, and it is confirmed whether the fingerprint with the finger placed for a long time has shutdown authority, and the verification step is the same as step S202, and the description related to step S202 is referred to and will not be repeated here. And counting the duration of the fingerprint signal only when the fingerprint verification is passed, otherwise, not counting and not executing shutdown. Therefore, the shutdown of the computer by a non-computer owner through fingerprints is avoided, and the privacy and the safety of the computer are improved.
In step S305, the computer is turned off when the duration of the fingerprint signal exceeds the second preset time.
Specifically, the present embodiment sets that the computer is turned off when the duration of time for which the processor receives the fingerprint signal exceeds a second preset time (for example, exceeds 10 seconds). According to the computer starting method, after the computer is successfully started, the user can turn off the computer when the time for putting the finger of the user on the fingerprint sensor again exceeds the second preset time, so that the flexibility of using the computer equipment by the user is improved.
In some alternative embodiments, the step S305 includes:
and c1, popping up a prompt message when the duration of the fingerprint signal exceeds a second preset time, wherein the prompt message is used for inquiring whether the user is powered off or not.
And step c2, when the prompt message is popped up and an input shutdown instruction is received, the computer is shut down.
Specifically, in this embodiment, a prompting step is additionally added, and when the fingerprint of the user is correct and the time of placing the finger on the fingerprint sensor exceeds the second preset time, the processor receives the fingerprint signal and exceeds the second preset time, and the processor inquires whether the user is powered off or not through a popup prompt message. The prompt message includes, but is not limited to, a voice prompt and/or a message box prompt, and when the prompt message includes a message box, a confirmation control (e.g., a drop down control or an input control) may be deployed in the message box to cause the user to trigger the confirmation control to input a shutdown instruction to the processor; when the prompt message includes a voice prompt, a shutdown instruction may be input to the processor according to a formulated operation performed by the voice content, for example, the specified operation may be three mouse strokes, a specified key on a trigger keyboard, and so on. By means of the scheme of the embodiment, the situation that the user is shut down and the work and property loss is caused because the fingerprint sensor is touched by mistake for more than the second preset time in the process of using the computer can be avoided.
In some alternative embodiments, step c2 includes:
step d1, judging whether the duration of the fingerprint signal exceeds a third preset time, wherein the third preset time is longer than the second preset time.
And d2, when the duration of the fingerprint signal exceeds a third preset time, judging that a shutdown instruction is received, and closing the computer.
Specifically, in this embodiment, when the pop-up prompt message asks the user whether to turn off, if the user does not loose his hand, and continues to keep the finger placed on the fingerprint sensor for a third greater preset time (for example, for a third preset time set to 15s over the second preset time 10 s), the processor determines that the shutdown instruction is received, and turns off the computer. If the user releases the finger before the third preset time, the processor judges that the shutdown instruction is not received and does not shutdown the computer. By the scheme provided by the embodiment, a user does not need to input a shutdown instruction by using a mouse or a keyboard, and can confirm shutdown by continuously placing fingers for a longer time, so that the operation efficiency of the user is further improved.
In this embodiment, a computer startup method is provided, which can be used for the above computer device, for an application scenario in which a desktop of an operating system is locked, where the process includes the following steps:
step S401, when a power-on signal sent by the power-on circuit is received, starting the operating system and entering a login interface of the operating system, wherein the power-on signal is a signal sent by the power-on circuit when the fingerprint sensor outputs a fingerprint signal, and when the fingerprint sensor is placed on the fingerprint sensor, the fingerprint sensor outputs the fingerprint signal.
Step S402, when the operating system is started, the fingerprint collected by the fingerprint sensor is obtained, and the fingerprint is verified.
Step S403, when the fingerprint verification is passed, the operating system is controlled to skip the login interface and enter the desktop of the operating system.
Specifically, please refer to the steps S201 to 203 for details of the steps S401 to 403, and details thereof are not repeated herein.
In step S404, when a fingerprint signal sent by the fingerprint sensor is received, a fingerprint acquired by the fingerprint sensor is acquired.
Specifically, after the computer device enters the desktop, in order to avoid that the content of the computer screen is stolen, the desktop of the system is usually locked, when the desktop is locked, the fingerprint sensor is in a standby state, and the processor can receive the fingerprint signal sent by the fingerprint sensor, verify the fingerprint signal and unlock the desktop.
Step S405, verifies whether the fingerprint collected by the fingerprint sensor has the right to unlock the desktop.
Specifically, when the processor receives the fingerprint collected by the fingerprint sensor, the fingerprint is verified, whether the current fingerprint has the right to unlock the desktop is judged, if so, the desktop is unlocked, otherwise, the desktop is not unlocked. The verification process is similar to the step S202, and the related description may refer to the step S202, which is not repeated here.
In step S406, when the verification is passed, the duration of the fingerprint signal is counted.
In step S407, the desktop is unlocked when the duration of the fingerprint signal exceeds the fourth preset time and does not exceed the second preset time.
Specifically, according to the above embodiment, considering that the computer may perform fingerprint shutdown after startup, the present embodiment additionally configures a fourth preset time for desktop unlocking, when the desktop of the operating system is locked, the user may unlock through the fingerprint, and on the premise that the fingerprint of the user is correct, the processor counts the duration of the fingerprint signal to identify the time when the user places the finger, and specifically configures the computer instruction to identify that the finger placement time of the user exceeds the fourth preset time and does not exceed the second preset time to implement the desktop unlocking function (for example, when the finger placement time of the user exceeds 3s and does not exceed 10s, it is determined to unlock the desktop directly, when the finger placement time of the user exceeds 10s, it is determined to directly shutdown in the desktop locking state), thereby implementing a scheme of finger placement unlocking for a short time and placing shutdown for a long time, and further improving the flexibility of operating the computer by the user.
In this embodiment, a computer starting device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The embodiment provides a computer starting device, which is applied to a processor in the computer device, as shown in fig. 3, and includes:
the power-on starting module 301 is configured to start the operating system and enter a login interface of the operating system when receiving a power-on signal sent by the power-on circuit, where the power-on signal is a signal sent when the power-on circuit detects that the fingerprint sensor outputs a fingerprint signal, and when the fingerprint sensor places a finger on the fingerprint sensor, the fingerprint sensor outputs the fingerprint signal. For details, refer to the related description of step S201 in the above method embodiment, and no further description is given here.
The fingerprint verification module 302 is configured to obtain a fingerprint collected by the fingerprint sensor and verify the fingerprint while starting the operating system. For details, refer to the description related to step S202 in the above method embodiment, and the details are not repeated here.
And the login module 303 is used for controlling the operating system to skip the login interface and enter the desktop of the operating system when the fingerprint verification is passed. For details, refer to the related description of step S203 in the above method embodiment, and no further description is given here.
The computer booting device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that may provide the above-mentioned functions.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding method embodiments, and are not repeated here.
The embodiment of the invention also provides computer equipment, and the computer starting device shown in the figure 3 is deployed in the computer equipment.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, and as shown in fig. 1, the computer device includes: a fingerprint sensor 30, a processor, a memory, a power-up circuit 40; the fingerprint sensor 30 is connected with the ground and is respectively connected with the power-on circuit 40 and the processor through buses, the fingerprint sensor 30 is kept in a standby state through the current provided by the power-on circuit 40, the power-on circuit 40 is connected with the processor through buses, and the memory is connected with the processor; the various components may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions for execution by the processor 10 to cause the processor 10 to perform the method shown to implement the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created from the use of the computer device of the presentation of a sort of applet landing page, and the like. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The fingerprint sensor 30 is used for collecting sensing elements of fingerprints, and the fingerprint sensor 30 can be divided into an optical fingerprint sensor 30, a semiconductor capacitance sensor, a semiconductor heat-sensitive sensor, a semiconductor pressure sensor, an ultrasonic sensor, a Radio Frequency (RF) sensor and the like according to a sensing principle by adopting a fingerprint imaging principle and a technology. The embodiment of the invention adopts the capacitive fingerprint sensor 30, and when a finger is placed, the finger and the fingerprint are identified through the capacitance change of the capacitive array, so that corresponding fingerprint signals are output. Of course, other fingerprint sensors 30 are possible, but a corresponding analysis circuit is required to be deployed according to the specific fingerprint sensor 30 structure so as to analyze the fingerprint signal of the corresponding type.
The power-on circuit 40 at least comprises a power chip and a power source, wherein the power source comprises, but is not limited to, a mains power source and a lithium battery power source, the power chip is a programmable power-on chip, such as an IT5571VG-VFBGA chip, and the overall structure of the power-on circuit 40 is the prior art, and the description of this embodiment is omitted.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A computer device, which is characterized by comprising a fingerprint sensor, a processor, a memory and a power-on circuit;
the fingerprint sensor is connected with the ground and is respectively connected with the power-on circuit and the processor through buses, the fingerprint sensor is kept in a standby state through current provided by the power-on circuit, the power-on circuit is connected with the processor through buses, and the memory is connected with the processor;
the memory stores computer instructions, when the processor receives a power-on signal sent by the power-on circuit, the computer instructions are operated, so that the processor starts an operating system and enters a login interface of the operating system, the power-on signal is a signal sent when the power-on circuit detects that the fingerprint sensor outputs a fingerprint signal, and when a finger is placed on the fingerprint sensor, the fingerprint sensor outputs the fingerprint signal; the processor acquires the fingerprint acquired by the fingerprint sensor and verifies the fingerprint while starting the operating system; and when the fingerprint verification is passed, the processor controls the operating system to skip the login interface and enter a desktop of the operating system.
2. A computer boot method for use with a processor in a computer device as claimed in claim 1, the method comprising:
when a power-on signal sent by a power-on circuit is received, starting an operating system and entering a login interface of the operating system, wherein the power-on signal is a signal sent when the power-on circuit detects that the fingerprint sensor outputs a fingerprint signal, and when a finger is placed on the fingerprint sensor, the fingerprint sensor outputs the fingerprint signal;
acquiring a fingerprint acquired by the fingerprint sensor and verifying the fingerprint while starting the operating system;
and when the fingerprint verification is passed, controlling the operating system to skip the login interface and enter a desktop of the operating system.
3. The method of claim 2, wherein the duration of the power-up circuit transmitting the power-up signal remains the same as the duration of the fingerprint sensor outputting the fingerprint signal, and wherein when the power-up signal transmitted by the power-up circuit is received, starting the operating system and entering a login interface of the operating system comprises:
when a power-on signal sent by a power-on circuit is received, counting the duration time of the power-on signal;
when the duration time of the power-on signal exceeds a first preset time, starting an operating system and entering a login interface of the operating system;
and shielding the power-on signal while starting the operating system.
4. A method according to claim 3, wherein after entering the login interface of the operating system, the method further comprises:
when a fingerprint signal sent by the fingerprint sensor is received, counting the duration time of the fingerprint signal;
and when the duration of the fingerprint signal exceeds a second preset time, the computer is turned off.
5. The method of claim 4, wherein counting the duration of the fingerprint signal when the fingerprint signal transmitted by the fingerprint sensor is received comprises:
when a fingerprint signal sent by the fingerprint sensor is received, acquiring a fingerprint acquired by the fingerprint sensor;
verifying whether the fingerprint collected by the fingerprint sensor has the authority of shutdown;
when the verification passes, the duration of the fingerprint signal is counted.
6. The method according to claim 4 or 5, wherein turning off the computer when the duration of the fingerprint signal exceeds a second preset time, comprises:
when the duration of the fingerprint signal exceeds a second preset time, popping up a prompt message, wherein the prompt message is used for inquiring whether a user is powered off or not;
and when the prompt message is popped up and then an input shutdown instruction is received, the computer is shut down.
7. The method of claim 6, wherein turning off the computer when the incoming shutdown instruction is received after the alert message pops up, comprising:
judging whether the duration of the fingerprint signal exceeds a third preset time, wherein the third preset time is longer than the second preset time;
and when the duration of the fingerprint signal exceeds the third preset time, judging that a shutdown instruction is received, and closing the computer.
8. The method of claim 4, wherein if the desktop of the operating system is locked, the method further comprises:
when a fingerprint signal sent by the fingerprint sensor is received, acquiring a fingerprint acquired by the fingerprint sensor;
verifying whether the fingerprint collected by the fingerprint sensor has the right of unlocking the desktop;
when the verification is passed, counting the duration of the fingerprint signal;
and unlocking the desktop when the duration of the fingerprint signal exceeds a fourth preset time and does not exceed the second preset time.
9. A computer boot apparatus for use with a processor in a computer device as claimed in claim 1, the apparatus comprising:
the power-on starting module is used for starting an operating system and entering a login interface of the operating system when receiving a power-on signal sent by the power-on circuit, wherein the power-on signal is a signal sent by the power-on circuit when detecting that the fingerprint sensor outputs a fingerprint signal, and the fingerprint sensor outputs the fingerprint signal when a finger is placed on the fingerprint sensor;
the fingerprint verification module is used for acquiring the fingerprint acquired by the fingerprint sensor and verifying the fingerprint when the operating system is started;
and the login module is used for controlling the operating system to skip the login interface and enter a desktop of the operating system when the fingerprint verification is passed.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any of claims 2 to 8.
CN202310358205.6A 2023-04-03 2023-04-03 Computer starting method and device, computer equipment and storage medium Pending CN116400970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310358205.6A CN116400970A (en) 2023-04-03 2023-04-03 Computer starting method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310358205.6A CN116400970A (en) 2023-04-03 2023-04-03 Computer starting method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116400970A true CN116400970A (en) 2023-07-07

Family

ID=87009837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310358205.6A Pending CN116400970A (en) 2023-04-03 2023-04-03 Computer starting method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116400970A (en)

Similar Documents

Publication Publication Date Title
US9230081B2 (en) User authorization and presence detection in isolation from interference from and control by host central processing unit and operating system
CN108337913B (en) Fingerprint login method, micro control unit, fingerprint power supply assembly and electronic terminal
CN109542744B (en) Method, device, storage medium and terminal for detecting abnormal starting problem of terminal
US11928884B2 (en) Fingerprint collection method and terminal
CN106528158B (en) The method, device and mobile terminal of carry storage card
CN111176734A (en) Startup control method and equipment of server and storage medium
CN111125664B (en) Electronic equipment and method for logging in operating system
US11385701B2 (en) Power-on processing method and apparatus of terminal device, and terminal device
CN115562895B (en) Abnormality recovery method and device for electronic equipment
CN109564601A (en) Starting-up method and equipment based on fingerprint recognition
CN105825098A (en) Electronic terminal screen unlocking method and image acquisition method and device
CN107820598B (en) Fingerprint event processing device and method
CN116400970A (en) Computer starting method and device, computer equipment and storage medium
CN104427097B (en) Terminal device and changing method
CN105787321A (en) Terminal shutdown method and device as well as terminal
CN105808297B (en) A kind of program operation management method and terminal
TWI430133B (en) Biosensing boot apparatus, boot management system controlled by biometric sensor and method thereof
CN116088658B (en) Abnormality recovery method for electronic equipment and electronic equipment
WO2017012206A1 (en) Terminal, operation method therefor and storage medium
CN114626845A (en) Near field communication control method and device and electronic equipment
CN114528537A (en) System login method and electronic equipment
CN113779518A (en) Equipment encryption method and device, terminal equipment and storage medium
CN103838998A (en) Code configuring and using method and device
CN113946814A (en) MBB equipment authentication method, device, MBB, main equipment and medium
CN115378985A (en) Control method and electronic equipment

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