CN102446102A - System and method for remotely updating ACPI table - Google Patents

System and method for remotely updating ACPI table Download PDF

Info

Publication number
CN102446102A
CN102446102A CN2010102990544A CN201010299054A CN102446102A CN 102446102 A CN102446102 A CN 102446102A CN 2010102990544 A CN2010102990544 A CN 2010102990544A CN 201010299054 A CN201010299054 A CN 201010299054A CN 102446102 A CN102446102 A CN 102446102A
Authority
CN
China
Prior art keywords
acpi table
acpi
memory
amended
module
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
CN2010102990544A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010102990544A priority Critical patent/CN102446102A/en
Publication of CN102446102A publication Critical patent/CN102446102A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for remotely updating an ACPI (Advanced Configuration and Power Interface) table, comprising the following steps of: searching for an ACPI table stored in the internal memory area of a memory in the startup process of a BIOS (Basic Input-Output System), and reading the data of the ACPI table; transmitting the read data of the ACPI table to a debugging host through a network; downloading the modified ACPI table from the debugging host through the network; writing the modified ACPI table in the corresponding internal memory area of the memory to take the place of the ACPI table stored in the memory previously. The invention also provides a system for remotely updating an ACPI table. The method is capable of remotely and independently modifying the ACPI table without re-generating a BIOS file or burning a BIOS chip.

Description

ACPI table remote update system and method
Technical field
The present invention relates to a kind of update system and method, especially relate to a kind of ACPI table remote update system and method.
Background technology
At computer motherboard BIOS (Basic Input Output System; Basic Input or Output System (BIOS)) in the exploitation; The support of ACPI (Advanced Configuration and PowerManagement Interface, advanced configuration and power-management interface) is normally indispensable.BIOS comprises a large amount of ACPI related contents usually, to support or to realize the ACPI standard.BIOS provides ACPI table the most basic in the ACPI framework, and operating system or other program rely on the associative operation that these basic ACPI tables are accomplished ACPI.In the performance history of BIOS, the change of these ACPI of verifying and debugging table, common way is in the BIOS source code, to revise its correlative code, regenerates the BIOS file, programming BIOS chip then, this process is loaded down with trivial details time-consuming.
Summary of the invention
In view of above content, be necessary to provide a kind of ACPI table remote update system, can long-range this ACPI table be revised individually, need not to regenerate BIOS file or programming BIOS chip.
In view of above content, also be necessary to provide a kind of ACPI table method for remote updating, can long-range this ACPI table be revised individually, need not to regenerate BIOS file or programming BIOS chip.
Said ACPI table remote update system; Run in the test machine; This test machine comprises storer, and this test machine communicates through network and debug host, and this system comprises: read module; Be used for searching for the BIOS start-up course and deposit in the ACPI table in the store memory zone, read this ACPI table data; Delivery module is used for sending the ACPI table data that read to debug host through network; Download module is used for downloading amended ACPI table through network from debug host; And writing module, being used for the corresponding region of memory of amended ACPI table write store, the ACPI table in the storer was deposited in replacement originally.
Said ACPI table method for remote updating; Be applied in the test machine; This test machine comprises storer; This test machine communicates through network and debug host, and this method comprises: read step: deposit in the ACPI table in the store memory zone in the search BIOS start-up course, read this ACPI table data; Transfer step: send the ACPI table data that read to debug host through network; Download step: from debug host, download amended ACPI table through network; And write step: with corresponding region of memory in the amended ACPI table write store, the ACPI table in the storer was deposited in replacement originally.
Compared to prior art; Described ACPI table remote update system and method can be accomplished the renewal of ACPI table separately through the network service between debug host and the test machine; ACPI table after the operating system on upper strata or program provide renewal, thus the testing authentication of ACPI table accomplished easily.Effectively utilize network simultaneously, realize the no dish operation of test machine, to satisfy test and the maintenance under the specific condition.
Description of drawings
Fig. 1 is the Organization Chart of ACPI table remote update system of the present invention preferred embodiment.
Fig. 2 is the process flow diagram of ACPI table method for remote updating of the present invention preferred embodiment.
The main element symbol description
Test machine 1
Debug host 2
Network 3
ACPI shows remote update system 10
Storer 20
Read module 100
Delivery module 200
Download module 300
Writing module 400
Parsing module 500
Modified module 600
Memory module 700
Embodiment
As shown in Figure 1, be the Organization Chart of ACPI table remote update system of the present invention preferred embodiment.Said ACPI (Advanced Configuration and Power ManagementInterface, advanced configuration and power-management interface) table remote update system 10 runs in the test machine 1, and this test machine 1 also comprises storer 20.Said test machine 1 communicates through network 3 and debug host 2.Said network 3 can be internet or enterprises lan.
Said test machine 1 is used for said ACPI table is read and write operation, thereby accomplishes the independent renewal of this ACPI table, the ACPI table after the operating system on upper strata or program provide renewal, and whether test the modification that this ACPI table is made easily effective.
Said debug host 2 is used for these ACPI table data of long-range reception and makes amendment, and test machine 1 can be shown by the amended ACPI of remote download, thereby carries out the renewal operation to this ACPI table.
Said ACPI table remote update system 10 comprises read module 100, delivery module 200, download module 300 and writing module 400.
Said read module 100 is used for searching for the BIOS start-up course and deposits in the ACPI table in storer 20 region of memorys, reads this ACPI table data.
Said delivery module 200 is used for sending the ACPI table data that read to debug host 2 through network 3.
Said debug host 2 comprises parsing module 500, modified module 600 and memory module 700.Said parsing module 500 is used to use ASL (ACPI Source Language) compiler that these received ACPI table data are carried out decompiling, resolves to the description form that can read.Said modified module 600 is used for according to the test needs these ACPI table data after resolving being made amendment, and it is saved in memory module 700.
Said download module 300 is used for downloading amended ACPI table through network 3 from the memory module 700 of debug host 2.
Said write module 400 is used for amended ACPI table write store 20 corresponding region of memorys, and the ACPI table in the storer 20 was deposited in replacement originally.Said write module 400 can dynamically be adjusted the region of memory size of ACPI table according to the size contrast of this amended ACPI table with original ACPI table when writing amended ACPI table.If should be amended ACPI table bigger than original ACPI table, then adjusted depositing the region of memory size that this ACPI shows originally, redistribute the region of memory of suitable size, avoid the situation that occurs covering and lead to errors.
The operating system of said test machine 1 shows to accomplish corresponding configuration or operation according to amended ACPI in storer 20 region of memorys, thereby whether test the modification that the ACPI table is made effective.
As shown in Figure 2, be the process flow diagram of ACPI table method for remote updating of the present invention preferred embodiment.
Step S10 deposits in the ACPI table in storer 20 region of memorys in the said read module 100 search BIOS start-up courses, reads this ACPI table data.
Step S12, said delivery module 200 sends the ACPI table data that read to debug host 2 through network 3.
Step S14, parsing module 500 utilization ASL (ACPISource Language) compilers of said debug host 2 carry out decompiling with received these ACPI table data, resolve to the description form that can read.
Step S16, the modified module 600 of said debug host 2 is made amendment to these ACPI table data after resolving according to the test needs, and it is saved in memory module 700.
Step S18, said download module 300 is downloaded amended ACPI table through network 3 from the memory module 700 of debug host 2.
Step S20, whether said write module 400 relatively this amended ACPI table is bigger than original ACPI table, if not execution in step S 22 then, if than original ACPI table execution in step S24 greatly then.
Step S22, said write module 400 is replaced original ACPI table with the region of memory at ACPI table place original in the amended ACPI table write store 20.
Step S24,400 pairs of said write modules were deposited the region of memory size of this ACPI table originally and were adjusted, and redistributed the region of memory of suitable size, and amended ACPI table is write the region of memory that this is redistributed, and replaced original ACPI table.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that; Can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and the scope of technical scheme of the present invention.

Claims (8)

1. an ACPI table remote update system runs in the test machine, and this test machine comprises storer, and this test machine communicates through network and debug host, it is characterized in that, this system comprises:
Read module is used for searching for the BIOS start-up course and deposits in the ACPI table in the store memory zone, reads this ACPI table data;
Delivery module is used for sending the ACPI table data that read to debug host through network;
Download module is used for downloading amended ACPI table through network from debug host; And
Writing module is used for the corresponding region of memory of amended ACPI table write store, and the ACPI table in the storer was deposited in replacement originally.
2. ACPI table remote update system as claimed in claim 1 is characterized in that said debug host comprises:
Parsing module is used to use the ASL compiler that these received ACPI table data are carried out decompiling, resolves to the description form that can read;
Modified module is used for according to the test needs these ACPI table data after resolving being made amendment, and it is saved in memory module.
3. ACPI table remote update system as claimed in claim 1; It is characterized in that; The said write module is used for also relatively whether this amended ACPI table is bigger than original ACPI table; If then the region of memory size of depositing this ACPI table is originally adjusted, redistribute the region of memory of suitable size, and amended ACPI table is write the region of memory that this is redistributed.
4. ACPI table remote update system as claimed in claim 1 is characterized in that said network is internet or enterprises lan.
5. an ACPI table method for remote updating is applied in the test machine, and this test machine comprises storer, and this test machine communicates through network and debug host, it is characterized in that, this method comprises:
Read step: deposit in the ACPI table in the store memory zone in the search BIOS start-up course, read this ACPI table data;
Transfer step: send the ACPI table data that read to debug host through network;
Download step: from debug host, download amended ACPI table through network; And
Write step: with corresponding region of memory in the amended ACPI table write store, the ACPI table in the storer was deposited in replacement originally.
6. ACPI table method for remote updating as claimed in claim 5 is characterized in that this method also comprises between transfer step and download step:
Analyzing step: debug host utilization ASL compiler carries out decompiling with these received ACPI table data, resolves to the description form that can read;
Modify steps: debug host is made amendment to these ACPI table data after resolving according to the test needs and is preserved.
7. ACPI table method for remote updating as claimed in claim 5 is characterized in that the said write step comprises:
Relatively whether this amended ACPI table is bigger than original ACPI table;
When this amended ACPI table is shown when big than original ACPI; Region of memory size to depositing this ACPI table is originally adjusted; Redistribute the region of memory of suitable size, and amended ACPI table is write the region of memory that this is redistributed, replace original ACPI table;
When this amended ACPI table is shown directly with the region of memory at ACPI table place original in the amended ACPI table write store, replace original ACPI and show when big unlike original ACPI.
8. ACPI table method for remote updating as claimed in claim 5 is characterized in that said network is internet or enterprises lan.
CN2010102990544A 2010-10-07 2010-10-07 System and method for remotely updating ACPI table Pending CN102446102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102990544A CN102446102A (en) 2010-10-07 2010-10-07 System and method for remotely updating ACPI table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102990544A CN102446102A (en) 2010-10-07 2010-10-07 System and method for remotely updating ACPI table

Publications (1)

Publication Number Publication Date
CN102446102A true CN102446102A (en) 2012-05-09

Family

ID=46008619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102990544A Pending CN102446102A (en) 2010-10-07 2010-10-07 System and method for remotely updating ACPI table

Country Status (1)

Country Link
CN (1) CN102446102A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729462A (en) * 2017-10-11 2018-02-23 广州供电局有限公司 Daily record of work table updating method and system
CN110333901A (en) * 2019-07-09 2019-10-15 环胜电子(深圳)有限公司 The title update method of storage device
CN111198719A (en) * 2020-01-07 2020-05-26 天津飞腾信息技术有限公司 Method, device, equipment and storage medium for realizing ACPI (advanced RISC machine) by ARM (advanced RISC machine) platform
CN114675735A (en) * 2022-03-01 2022-06-28 阿里巴巴(中国)有限公司 Configuration and power management interface table debugging method, chip debugging method, equipment and medium
CN114866413A (en) * 2021-01-18 2022-08-05 网宿科技股份有限公司 Method and system for dynamically configuring variables

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167511A (en) * 1998-06-15 2000-12-26 Phoenix Technologies Ltd. Method to reflect BIOS set up changes into ACPI machine language
CN1936840A (en) * 2005-09-23 2007-03-28 联想(北京)有限公司 Computer system not relying on operation system renewing software data and method
CN101030867A (en) * 2006-02-28 2007-09-05 联想(北京)有限公司 System and method for refreshing and upgrading BIOS
CN101770379A (en) * 2008-12-31 2010-07-07 北京联想软件有限公司 Method and computer system for loading high-grade configuration and power interface denomination space

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167511A (en) * 1998-06-15 2000-12-26 Phoenix Technologies Ltd. Method to reflect BIOS set up changes into ACPI machine language
CN1936840A (en) * 2005-09-23 2007-03-28 联想(北京)有限公司 Computer system not relying on operation system renewing software data and method
CN101030867A (en) * 2006-02-28 2007-09-05 联想(北京)有限公司 System and method for refreshing and upgrading BIOS
CN101770379A (en) * 2008-12-31 2010-07-07 北京联想软件有限公司 Method and computer system for loading high-grade configuration and power interface denomination space

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729462A (en) * 2017-10-11 2018-02-23 广州供电局有限公司 Daily record of work table updating method and system
CN107729462B (en) * 2017-10-11 2020-08-14 广州供电局有限公司 Method and system for updating work log table
CN110333901A (en) * 2019-07-09 2019-10-15 环胜电子(深圳)有限公司 The title update method of storage device
CN111198719A (en) * 2020-01-07 2020-05-26 天津飞腾信息技术有限公司 Method, device, equipment and storage medium for realizing ACPI (advanced RISC machine) by ARM (advanced RISC machine) platform
CN114866413A (en) * 2021-01-18 2022-08-05 网宿科技股份有限公司 Method and system for dynamically configuring variables
CN114675735A (en) * 2022-03-01 2022-06-28 阿里巴巴(中国)有限公司 Configuration and power management interface table debugging method, chip debugging method, equipment and medium

Similar Documents

Publication Publication Date Title
CN103955363B (en) A kind of manufacture method of program upgrade installation package
US9891939B2 (en) Application compatibility with library operating systems
CN101673207B (en) Program updating method of handheld learning terminal
US8566372B2 (en) Method and device for dynamically loading relocatable file
CN109491695A (en) A kind of increment updating method of integrated Android application
US9489189B2 (en) Dynamically generate and execute a context-specific patch installation procedure on a computing system
CN108279922A (en) Differential file generation method, upgrade method and system based on the differential file
US9519466B2 (en) Executable code for constrained computing environments
CN102955702A (en) Method and device for installing and upgrading software
CN105100191A (en) Method, device and system for realizing Java application installation via cloud compilation
CN104199706A (en) Firmware upgrade method and device for eMMC
KR101213275B1 (en) System and method for providing monolithic image for use in a wireless device
CN102446102A (en) System and method for remotely updating ACPI table
CN104182255A (en) Method and terminal for upgrading library files of system application
CN102156643A (en) Software integration method and system thereof
CN1752946A (en) Debugging method of embedded system and its system
CN102289380B (en) firefox starting acceleration method
CN103051496A (en) Monitoring method and device of monitoring point server
CN106874195A (en) A kind of bug for android applications repairs and continues delivery scheme
CN112068852B (en) Method, system, equipment and medium for installing open-source software based on domestic server
CN102364433B (en) Method for realizing Wine construction tool transplanting on ARM (Advanced RISC Machines) processor
CN102880494A (en) Local code updating method and local code updating system for micro-satellite system
CN110780908A (en) Screen display program upgrading method and system and terminal equipment
CN104133699A (en) Equipment system software updating method and equipment system software updating system
CN102207878A (en) Method for upgrading internetwork television difference

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120509