Computer wake-up method and computer power saving method

文档序号:1489771 发布日期:2020-02-04 浏览:18次 中文

阅读说明:本技术 电脑唤醒方法及电脑节电方法 (Computer wake-up method and computer power saving method ) 是由 林克讳 邓宜铭 林立德 于 2018-07-20 设计创作,主要内容包括:本发明公开了一种电脑唤醒方法,适用于具有蓝牙信号接收端口的电脑,电脑唤醒方法包括:在电脑的运算器停止运作而处于节电模式的情况下,判断电脑是否接获触发指令;判断蓝牙信号接收端口所取得关联于已注册移动装置的通讯信号的强度是否落工作强度范围;以及当电脑接获触发指令且通讯信号的强度落入工作强度范围时,致动运算器运作以将电脑运行于工作模式下。(The invention discloses a computer awakening method which is suitable for a computer with a Bluetooth signal receiving port, and comprises the following steps: judging whether the computer receives a trigger instruction or not under the condition that an arithmetic unit of the computer stops operating and is in a power-saving mode; judging whether the intensity of the communication signal related to the registered mobile device acquired by the Bluetooth signal receiving port falls within a working intensity range or not; and when the computer receives the trigger instruction and the intensity of the communication signal falls into the working intensity range, the arithmetic unit is actuated to operate so as to operate the computer in the working mode.)

1. A method for waking up a computer, which is suitable for a computer having a Bluetooth signal receiving port, the method comprising:

judging whether the computer receives a trigger instruction or not under the condition that an arithmetic unit of the computer stops operating and is in a power saving mode;

judging whether the intensity of a communication signal which is acquired by the Bluetooth signal receiving port and is related to a registered mobile device falls into a working intensity range or not; and

when the computer receives the trigger instruction and the intensity of the communication signal falls into the working intensity range, the arithmetic unit is actuated to operate so as to operate the computer in a working mode.

2. The method as claimed in claim 1, wherein the power saving mode is the power saving mode S4, and the intensity of the communication signal associated with the mobile device received by the Bluetooth signal receiving port is determined to fall within the working intensity range after the triggering command is received by the computer.

3. The method as claimed in claim 1, wherein the power saving mode is the power saving state S3, and the communication signal of the mobile device is the triggering command.

4. The method as claimed in claim 1, further comprising, after operating the computer in the operating mode: and executing an automatic login program by using a login account number and a password which are pre-stored in the computer.

5. The computer wake-up method according to claim 1, wherein the bluetooth signal receiving port is a USB port, and the USB port is used for connecting a bluetooth signal transceiver.

6. The computer wake-up method of claim 1, wherein the bluetooth signal receiving port is a PCIE port, and the PCIE port is configured to connect to a bluetooth signal transceiver.

7. The computer wake-up method of claim 1, wherein the bluetooth signal receiving port is a minippice connection port, and the Mini PCIE connection port is used for connecting a bluetooth signal transceiver.

8. A computer power saving method is suitable for a computer with a Bluetooth signal receiving port, and comprises the following steps:

a mobile device is in communication connection with the computer in a Bluetooth communication mode through the Bluetooth signal receiving port and is registered in the computer;

under the condition that an arithmetic unit of the computer is operated and is in a working mode, judging whether the intensity of a communication signal which is acquired by the Bluetooth signal receiving port and is related to the mobile device falls into a working intensity range or not;

when the intensity of the communication signal does not fall into the working intensity range, the arithmetic unit is stopped to operate the computer in a power-saving mode;

judging whether the computer receives a trigger instruction or not under the condition that the arithmetic unit of the computer stops operating and is in the power saving mode;

judging whether the intensity of the communication signal related to the mobile device acquired by the Bluetooth signal receiving port falls into the working intensity range; and

and when the computer receives the trigger instruction and the intensity of the communication signal falls into the working intensity range, the arithmetic unit is actuated to operate so as to operate the computer in the working mode.

9. The computer power saving method of claim 8, wherein the power saving mode is the power saving mode S4, and the intensity of the communication signal associated with the mobile device received by the Bluetooth signal receiving port is determined to fall within the working intensity range after the computer receives the triggering command.

10. The method of claim 8, wherein the power saving mode is the power saving state S3, and the communication signal of the mobile device is the triggering command.

11. The method of claim 8, further comprising, after the enabling the computing device to operate the computer in the operating mode: and executing an automatic login program by using a login account number and a password which are pre-stored in the computer.

12. The computer power saving method of claim 8, wherein the bluetooth signal receiving port is a USB port, and the USB port is used for connecting a bluetooth signal transceiver.

13. The method of claim 8, wherein the bluetooth signal receiving port is a PCIE port, and the PCIE port is configured to connect to a bluetooth signal transceiver.

14. The computer power saving method of claim 8, wherein the bluetooth signal receiving port is a minippice connection port, and the Mini PCIE connection port is used to connect a bluetooth signal transceiver.

15. The method of claim 8, further comprising, after stopping the computing device to operate the computer in a power saving mode: closing a screen electrically connected to the computer; after the computing device is activated to operate the computer in the operating mode, the method further comprises: and opening the screen electrically connected with the computer.

Technical Field

The present invention relates to a power saving method, and more particularly, to a power saving method and a wake-up method for a computer.

Background

The power consumption of electronic products is one of the design factors, and each manufacturer does not want the electronic products at home to consume the least power, so as to increase the standby time and meet the user's needs.

When using a computer, a user often leaves the computer temporarily without turning off the computer because other transactions need to be processed temporarily, but once such events occur frequently, the more energy the computer consumes. Therefore, the computer system is usually set with a power saving mode to stop supplying power to some devices in the computer, thereby achieving the power saving effect.

The current computer switches to a power saving mode, which is usually determined according to the time when the input interface (such as a keyboard or a mouse) is not activated. However, the user does not actuate the keyboard or mouse, and does not indicate that the user is away from the computer, and may be viewing the data displayed on the screen. If the computer is to be woken up again, the computer can be woken up only by actuating the keyboard, the mouse or the power switch. Therefore, the current computer is still inconvenient whether switching to the power-saving mode or waking up the computer again.

Accordingly, there is a need for an improved power saving method and wake-up method for a computer that at least solves the above-mentioned problems.

Disclosure of Invention

The computer wake-up method and the computer power saving method provided by the embodiment of the invention can more accurately judge whether the user leaves the computer, and after the user leaves a certain distance, the computer enters the power saving mode so as to achieve faster and more effective energy saving.

The computer wake-up method provided by an embodiment of the present invention is applicable to a computer having a bluetooth signal receiving port, and the computer wake-up method includes: judging whether the computer receives a trigger instruction or not under the condition that an arithmetic unit of the computer stops operating and is in a power-saving mode; judging whether the intensity of the communication signal related to the registered mobile device acquired by the Bluetooth signal receiving port falls within a working intensity range or not; and when the computer receives the trigger instruction and the intensity of the communication signal falls into the working intensity range, the arithmetic unit is actuated to operate so as to operate the computer in the working mode.

The computer power saving method provided by one embodiment of the invention is suitable for a computer with a Bluetooth signal receiving port, and comprises the following steps: the mobile device is in communication connection with a computer in a Bluetooth communication mode through a Bluetooth signal receiving port and is registered in the computer to become a registered mobile device; under the condition that an arithmetic unit of a computer operates and is in a working mode, judging whether the intensity of a communication signal which is acquired by a Bluetooth signal receiving port and is related to a registered mobile device falls into a working intensity range or not; when the intensity of the communication signal does not fall into the working intensity range, stopping the operation of the arithmetic unit to operate the computer in a power-saving mode; judging whether the computer receives a trigger instruction or not under the condition that an arithmetic unit of the computer stops operating and is in a power-saving mode; judging whether the intensity of the communication signal related to the registered mobile device acquired by the Bluetooth signal receiving port falls into a working intensity range or not; and when the computer receives the trigger instruction and the intensity of the communication signal falls into the working intensity range, the arithmetic unit is actuated to operate so as to operate the computer in the working mode.

In the past, the computer is switched to the power saving mode, which is judged according to the time length of the computer with the input interface not being actuated, so that a user does not leave the computer actually, and the user can be judged to leave the computer by mistake. In the computer power saving method and the computer wake-up method provided by an embodiment of the present invention, whether the intensity of the communication signal associated with the registered mobile device obtained by the bluetooth signal receiving port falls within the working intensity range is used as a basis for determining whether the computer is switched from the working mode to the power saving mode and is re-woken from the power saving mode, so that whether the user leaves the computer can be determined more accurately, and the power saving effect is achieved.

The foregoing description of the present invention and the following detailed description are presented to illustrate and explain the principles and spirit of the invention and to provide further explanation of the invention as claimed.

Drawings

Fig. 1 is a hardware architecture diagram illustrating a computer with a power saving function according to an embodiment.

FIG. 2A and FIG. 2B are flowcharts illustrating a computer power saving method according to a first embodiment of the invention.

FIGS. 3A and 3B are flowcharts illustrating a computer power saving method according to a second embodiment of the invention.

FIG. 4 is a flowchart illustrating a computer power saving method according to a third embodiment of the present invention.

Fig. 5 is a hardware architecture diagram of a computer with power saving function according to another embodiment.

Wherein, the reference numbers:

100 computer

10 host board

11 power supply connection port

12 power management controller

13 arithmetic unit

14 random access memory

15 hard disk connection port

16 bluetooth signal receiving port

17 Screen connection Port

20 power supply

30 hard disk

40 bluetooth signal transceiver

50 Screen

200 mobile device

300 computer

CS communication signal

Detailed Description

The detailed features and advantages of the present invention are described in detail in the following embodiments, which are sufficient for anyone skilled in the art to understand the technical content of the present invention and to implement the present invention, and the related objects and advantages of the present invention can be easily understood by anyone skilled in the art according to the disclosure, claims and drawings of the present specification. The following examples further illustrate aspects of the present invention in detail, but are not intended to limit the scope of the invention in any way.

Fig. 1 is a hardware architecture diagram illustrating a computer with a power saving function according to an embodiment. As shown in fig. 1, the computer 100 includes a main board 10, a power supply 20, a hard disk 30, a bluetooth transceiver 40, and a screen 50. In the embodiment, the motherboard 10 conforms to the specifications of Advanced Configuration and Power Interface (ACPI), and the motherboard 10 conforming to the APCI specification has an S0 state, an S1 state (Standby), an S2 state, an S3 state (Suspend to RAM), an S4 state (Hibernate), and an S5 state, where the S0 state is an operating mode, the S1 state to the S4 state are Power saving modes, and the S5 state is Power off. The power supply 20, the hard disk 30, the bluetooth signal transceiver 40 and the screen 50 are electrically connected to the motherboard 10, respectively. The power supply 20 supplies power to the motherboard 10, and the motherboard 10 distributes the power supplied by the power supply 20 to the hard disk 30, the bluetooth signal transceiver 40 and the screen 50 for use. The hard disk 30 is a non-volatile storage device, and when the computer 100 is powered off, the data stored in the hard disk 30 will not be lost. The bluetooth signal transceiver 40 is used for receiving a communication signal CS sent by the mobile device 200 of the user and determining the intensity of the communication signal CS, where the communication signal CS is a bluetooth signal.

The motherboard 10 includes a power port 11, a power management controller 12, an arithmetic unit 13, a random access memory 14(RAM), a hard disk port 15, a Bluetooth signal receiving port 16, and a screen port 17. The power connection port 11 is electrically connected to the power supply 20 and the power management controller 12, and the power connection port 11 is used for transmitting the power generated by the power supply 20 to the power management controller 12. The power management controller 12 is electrically connected to the arithmetic unit 13, the random access memory 14, the hard disk connection port 15, the bluetooth signal receiving port 16 and the screen connection port 17, respectively, and the power management controller 12 is used for managing power required by the operation of the arithmetic unit 13, the random access memory 14, the hard disk connection port 15, the bluetooth signal receiving port 16 and the screen connection port 17. The computing unit 13 is electrically connected to the ram 14, the hard disk connection port 15, the bluetooth signal receiving port 16 and the screen connection port 17, in addition to the power management controller 12, and the computing unit 13 is used for executing the program instructions stored in the ram 14. The RAM 14 is used for temporarily storing program instructions and data required for executing the program instructions. Since the RAM 14 is volatile, power must be continuously supplied to the RAM 14 to store data and program instructions in the RAM 14. The hard disk connection port 15 is electrically connected to the hard disk 30 in addition to the power management controller 12. In this embodiment, the bluetooth signal receiving port 16 is a USB connection port, but in other embodiments of the present invention, the bluetooth signal receiving port 16 may also be other types of connection ports, such as a PCIE connection port or a Mini PCIE connection port. The bluetooth signal receiving port 16 is electrically connected to the computing unit 13 and the bluetooth signal transceiver 40, in addition to the power management controller 12. In this embodiment, the bluetooth transceiver 40 is an external device of the computer 100, and is not built in the motherboard 10 of the computer 100.

FIGS. 2A and 2B are flowcharts illustrating a computer power saving method according to a first embodiment of the invention, and the computer power saving method of FIGS. 2A and 2B can be executed by the computer 100 of FIG. 1. Referring to fig. 1 and fig. 2A, in step S201, the mobile device 200 is communicatively connected to the computer 100 via the bluetooth signal receiving port 16 in a bluetooth communication manner, and registers in the computer 100. Next, in step S202, a working intensity range is preset in the bluetooth signal transceiver 40, and when the computing unit 13 of the computer 100 is operated and is in the working mode, the bluetooth signal transceiver 40 is configured to receive the communication signal CS sent by the mobile device 200 and transmit the communication signal CS to the bluetooth signal receiving port 16, and determine whether the intensity of the communication signal CS associated with the mobile device 200 acquired by the bluetooth signal receiving port 16 falls within the working intensity range. If the intensity of the communication signal CS does not fall within the working intensity range, step S203 is executed, and if the intensity of the communication signal CS falls within the working intensity range, step S204 is executed. In addition, the bluetooth signal receiving port 16 further transmits the communication signal CS to the power management controller 12.

In step S203, since the intensity of the communication signal CS acquired by the bluetooth signal receiving port 16 does not fall within the working intensity range, it may be that the distance between the mobile device 200 and the computer 100 is too far. At this time, the power management controller 12 stops supplying power to the computing unit 13, so that the computing unit 13 stops operating, and the computer 100 is operated in the power saving state (Suspend to RAM) of S3. In the power saving state of S3, the program and data being executed by the computer 100 are stored in the RAM 14, and the power management controller 12 continuously provides power to the RAM 14. Otherwise, in step S204, the computer 100 continues to maintain the operating mode.

Step S205 continues to step S203, in step S205, the power management controller 12 stops supplying power to the screen connection port 17 to turn off the screen 50 electrically connected to the computer 100. In step S206, the power management controller 12 stops supplying power to the hard disk connection port 15 to close the hard disk 30 electrically connected to the computer 100. In other embodiments, step S205 and step S206 may be performed simultaneously.

As shown in fig. 1 and fig. 2B, the computer power saving method of the present embodiment further includes steps S207 to S212. For convenience of the following description, steps S207 to S212 are further defined as a computer wake-up method. When the computing unit 13 of the computer 100 stops operating and is in the power saving state of S3, the trigger command for waking up the computer 100 is the communication signal CS sent by the mobile device 200. In step S207, it is determined again whether the intensity of the communication signal CS sent by the mobile device 200 acquired by the bluetooth signal receiving port 16 falls within the working intensity range. If the intensity of the communication signal CS falls within the working intensity range, go to step S208; if the intensity of the communication signal CS does not fall within the working intensity range, step S209 is executed. In step S208, the reason why the intensity of the communication signal CS acquired by the bluetooth signal receiving port 16 falls within the working intensity range may be that the mobile device 200 is close to the computer 100, and the power management controller 12 re-supplies power to the computing unit 13 to activate the computing unit 13 to operate. On the contrary, in step S209, when the intensity of the communication signal CS does not fall within the working intensity range, the computer 100 continues to maintain the power saving state in S3.

Step S210 continues to step S208, and in step S210, after the operation of the computing unit 13 is activated, the power management controller 12 re-supplies power to the hard disk connection port 15 to turn on the hard disk 30 electrically connected to the computer 100, so as to re-operate the computer 100 in the normal operating mode. In step S211, the power management controller 12 re-supplies power to the screen connection port 17 to turn on the screen 50 electrically connected to the computer 100. In other embodiments, step S210 and step S211 may be performed simultaneously. In step S212, an automatic login procedure is executed with a login account and a password pre-stored in the computer 100.

FIGS. 3A and 3B are flowcharts illustrating a computer power saving method according to a second embodiment of the present invention, and the computer power saving method of FIGS. 3A and 3B can be implemented in the computer 100 of FIG. 1. In step S301, the mobile device 200 is communicatively connected to the computer 100 via the bluetooth signal receiving port 16 in a bluetooth communication manner, and registers with the computer 100. Next, in step S302, when the computing unit 13 of the computer 100 is operated and in the operating mode, it is determined whether the intensity of the communication signal CS associated with the mobile device 200 acquired by the bluetooth signal receiving port 16 falls within the operating intensity range, if the intensity of the communication signal CS does not fall within the operating intensity range, step S303 is executed, and if the intensity of the communication signal CS falls within the operating intensity range, step S304 is executed.

In step S303, when the intensity of the communication signal CS acquired by the bluetooth signal receiving port 16 does not fall within the working intensity range, the computing unit 12 first stores the command program and data stored in the random access memory 14 to the hard disk 30. In step S304, the computer 100 continues to maintain the operating mode.

Step S305 follows step S303, and in step S305, the power management controller 12 stops supplying power to the arithmetic unit 13, so that the arithmetic unit 13 stops operating. In step S306, the power management controller 12 stops supplying power to the RAM 14 to stop the RAM 14. In step S307, the power management controller 12 stops supplying power to the hard disk connection port 15 to turn off the hard disk 30, so as to operate the computer 100 in the power saving state (Hibernate) of S4. In step S308, the power management controller 12 stops supplying power to the screen connection port 17 to turn off the screen 50 electrically connected to the computer 100.

As shown in fig. 1 and fig. 3B, the computer power saving method of the present embodiment further includes steps S309 to S315, and steps S309 to S315 are computer wake-up methods. When the computing unit 13, the random access memory 14 and the hard disk 30 of the computer 100 stop operating and are in the power saving state of S4, the trigger instruction to wake up the computer 100 is not the communication signal CS sent by the mobile device 200.

In step S309, it is first determined whether the computer 100 receives a trigger command, and the trigger command is generated by the user pressing a power switch of the computer 100. If the computer 100 receives the trigger command, the computer will be woken up from the state of S4, and step S310 is continued; if the computer 100 does not receive the trigger command, the process continues to step S311. In step S310, after the computer 100 receives the trigger command, it is further determined whether the intensity of the communication signal CS associated with the mobile device 200 acquired by the bluetooth signal receiving port 16 falls within the working intensity range, and if the intensity of the communication signal CS falls within the working intensity range, the step S312 continues; if the intensity of the communication signal CS does not fall within the working intensity range, step S313 is continued. In step S311, the computer 100 is maintained in the power saving state of S4.

In step S312, when the computer 100 receives the trigger command and the intensity of the communication signal CS falls within the working intensity range, the power management controller 12 re-supplies power to the computing unit 13 to activate the computing unit 13 to operate. In step S313, the computer 100 returns to the power saving state of S4 again.

Step S314 continues with step S312, in step S314, the power management controller 12 re-supplies power to the RAM 14 to operate the RAM 14. In step S315, the power management controller 12 re-supplies power to the hard disk connection port 15 to turn on the hard disk 30, so as to operate the computer 100 in a normal operation mode. In step S316, the computing unit 12 forwards the program instructions and data previously stored in the hard disk 30 to the RAM 14. In step S317, the power management controller 12 powers back the screen connection port 17 to turn on the screen 50 electrically connected to the computer 100. In step S318, an automatic login procedure is executed with a login account and a password pre-stored in the computer 100.

FIG. 4 is a flowchart illustrating a computer power saving method according to a third embodiment of the invention, where the computer power saving method of FIG. 4 can be executed by the computer 100 of FIG. 1. The steps S401, S402, S403, S404, S405, and S406 of the computer power saving method of the third embodiment are the same as the steps S201, S202, S205, S204, S207, and S211 of the computer power saving method of the first embodiment, respectively, except that the computer power saving method of the third embodiment does not stop supplying power to the arithmetic unit 13 and the hard disk 30, and only stops supplying power to the screen connection port 17 to turn off the screen 50 electrically connected to the computer 100, so that the computer 100 is re-awakened and only needs to supply power to the screen connection port 17 again to turn on the screen 50 electrically connected to the computer 100.

The computer power saving methods of the first to third embodiments of the present invention can also be implemented in computers with other hardware architectures. Fig. 5 is a hardware architecture diagram of a computer with power saving function according to another embodiment. The hardware architecture of the computer 300 in fig. 5 is different from that of the computer 100 in fig. 1 in that the bluetooth signal transceiver 40 is instead built in the motherboard 10 and electrically connected to the bluetooth signal receiving port 16, and the computer power saving methods of the first to third embodiments in fig. 2 to 4 can be implemented in the computer 300 in fig. 5, and the operation manner and principle thereof are the same as those described above.

In the past, the computer is switched to the power saving mode, which is judged according to the time length of the computer with the input interface not being actuated, so that a user does not leave the computer actually, and the user can be judged to leave the computer by mistake. In the computer power saving method and the computer wake-up method provided by an embodiment of the present invention, whether the intensity of the communication signal associated with the registered mobile device obtained by the bluetooth signal receiving port falls within the working intensity range is used as a judgment basis for switching the computer from the working mode to the power saving mode and re-waking the computer from the power saving mode, so that whether the user leaves the computer can be judged more accurately, and the power saving effect is achieved.

Although the present invention has been described with reference to the above embodiments, it is not intended to limit the invention. All changes and modifications that come within the spirit and scope of the invention are desired to be protected by the following claims. For the protection defined by the present invention, reference should be made to the appended claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于唇部动作的人机交互方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!