Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A power control method and device

A power control device and power control technology, applied in the direction of program control device, boot program, etc., can solve the problems of ACPI and APM incompatibility, UEFI cannot support APM shutdown action, etc., to meet control requirements, improve system availability, and improve response. The effect of efficiency

Active Publication Date: 2021-08-13
深圳市研祥智慧科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a power control method, which aims to solve the problem that when the BIOS is upgraded to UEFI, ACPI and APM in UEFI are not compatible, and UEFI cannot support APM to perform shutdown actions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A power control method and device
  • A power control method and device
  • A power control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is an implementation flow chart of the power supply control method provided by the embodiment of the present invention, which is described in detail as follows:

[0023] In step S101, when the basic input and output system BIOS is upgraded to the unified extensible firmware interface UEFI, in the interrupt vector table, obtain the address pointed to by the interrupt vector int15;

[0024] In step S102, in the memory area corresponding to the address pointed to by the int15, an advanced power management APM shutdown processing program is embedded;

[0025] Step S102, specifically:

[0026] Detect whether the system shutdown event is triggered;

[0027] When the system shutdown event is triggered, the int15 is read and executed in the interrupt vector table.

[0028] In step S103, when the system is shut down, in the interrupt vector table, read and execute the int15;

[0029] In step S104, by executing the int15, jump to the address pointed to by the int1...

Embodiment 2

[0032] The embodiment of the present invention describes the implementation process of writing the command of APM power management, which is described in detail as follows:

[0033] In the memory area corresponding to the address pointed to by the int15, an APM shutdown processing program is embedded by writing an APM power management command.

Embodiment 3

[0035] figure 2 It is the implementation flowchart of the embedded APM shutdown processing program provided by the embodiment of the present invention, and is described in detail as follows:

[0036] In step S201, obtain the address bit after PMbase offset 5;

[0037] In step S202, in the memory area corresponding to the address pointed to by the int15, by writing 3C in the obtained address bit, the APM shutdown processing program is embedded;

[0038] Among them, 3C is a hexadecimal value;

[0039] Among them, PMbase is the initial address of the advanced configuration and power management interface ACPI.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention is applicable to the field of computer power management, and provides a power control method and device. The power control method includes: when the basic input and output system BIOS is upgraded to a unified extensible firmware interface UEFI, in the interrupt vector table, obtain The address pointed to by the interrupt vector int15; in the memory area corresponding to the address pointed to by the int15, the APM shutdown handler is embedded; when the system is shut down, in the interrupt vector table, the int15 is read and executed; by executing the said int15, jump to the address pointed to by said int15, and execute the embedded APM shutdown handler. The invention enables the system to use the ACPI power management module and also support APM commands. When the APM command responds, the APM command is realized by controlling the ACPI, and its beneficial effect lies in two aspects. On the one hand, it improves the response efficiency and system availability, and on the other hand, it satisfies the control requirements of the computer on the power supply.

Description

technical field [0001] The invention belongs to the field of computer power management, and in particular relates to a power control method and device. Background technique [0002] There are two types of advanced power management on a computer, namely Advanced Power Management (APM) and Advanced Configuration and Power Management Interface (ACPI). BIOS (Basic Input Output System, Basic Input Output System) uses APM, and UEFI (Unified Extensible Firmware Interface, Unified Extensible Firmware Interface) uses ACPI. In addition, APM is a relatively backward power management system, which has been almost eliminated, and only some specific industries are still using it. ACPI is an advanced power management system currently used in the mainstream, and its performance is outstanding, so many computers upgrade the BIOS of the motherboard to UEFI in order to improve performance. [0003] However, when the BIOS is upgraded to UEFI, ACPI and APM in UEFI are not compatible, and UEFI ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/442
Inventor 王正昊徐成泽
Owner 深圳市研祥智慧科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products