CN100437494C - Method of dynamic updating resource configuration state - Google Patents

Method of dynamic updating resource configuration state Download PDF

Info

Publication number
CN100437494C
CN100437494C CNB2006100011675A CN200610001167A CN100437494C CN 100437494 C CN100437494 C CN 100437494C CN B2006100011675 A CNB2006100011675 A CN B2006100011675A CN 200610001167 A CN200610001167 A CN 200610001167A CN 100437494 C CN100437494 C CN 100437494C
Authority
CN
China
Prior art keywords
configuration state
resource configuration
dynamically updates
acpi
predominating path
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.)
Expired - Fee Related
Application number
CNB2006100011675A
Other languages
Chinese (zh)
Other versions
CN101000558A (en
Inventor
尤焕智
张啟聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2006100011675A priority Critical patent/CN100437494C/en
Publication of CN101000558A publication Critical patent/CN101000558A/en
Application granted granted Critical
Publication of CN100437494C publication Critical patent/CN100437494C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for dynamically updating resource configuration state includes setting up a data storage region first, using basic I/O system to check resource configuration state at master path and storing checked result in said data storage region, setting up update sampler table and filling data stored in data storage region correspondingly into said update sampler table.

Description

Dynamically update the method for resource configuration state
Technical field
The invention relates to a kind of data updating technology, particularly about a kind of can be under the not ready as yet situation of hardware, obtain the resources allocation situation, the method that dynamically updates resource configuration state of the relevant form that upgrades in time by the mode of running software.
Background technology
ACPI (Advanced Configuration ﹠amp; Power Interface is designated hereinafter simply as ACPI) power-management interface of all hardware is provided for the application program management of operating system.In the middle of operating system, collocation hardware can detect the information such as voltage of mainboard temperature, rotation speed of the fan and power supply unit, provides suitable power supply and host work frequency, the effect that reaches economize on electricity and efficient and deposit.ACPI is the earliest by Intel, Microsoft and the common electric power management system interface of developing of Toshiba, it can make operating system (OS) can manage the electricity consumption situation of peripherals according to certain mode, hard disk or screen are surpassed the user enter energy-saving mode when one section special time does not use, perhaps out of service, reuse up to the user.
The ACPI standard can be used on general personal computer and the notebook computer.It is transferred to OS (operating system) with the use of keyholed back plate computing machine and peripheral unit power supply and is responsible for, and just when operating system detects partial function and do not use, reduces the use of power minimizing power supply automatically.But therefore in order to allow OS keyholed back plate power supply, directly link the shift knob of power supply unit (Power Supply) on the mainboard, unlike the early stage practice is that shift knob with power supply unit is connected on the power supply unit, if the shift knob of power supply unit is turned to the state of " pass " in the past, then computing machine is stopped power supply at once, now when the user presses power knob on the lower panel, only can enter sleep (sleeping mode) state, if really the power supply of computing machine will be closed fully, then must continue to push power knob on the panel after four seconds, system is just notified to be closed power supply fully, and during this section, data is carried out appropriate arrangement, OS has at fingertips to the operation situation of present system state simultaneously, for example, the user is carrying out bulletin work now, and application program can inform that screen normally uses, and the power management principle can make an amendment according to current needs at any time, do not need to start shooting again.The more important thing is and utilize the OS management, can not have the problem of power management principle parking space as the BIOS management.The hardware of ACPI specification is much more extensive than APM, also provide in addition one easily window interface allow the user set and to manage, learn simultaneously the use situation of present power supply by graphic interface, can reach preferable power management capabilities and purpose.
The CPU (central processing unit) (CPU) of traditional X86 structure is gone into chip chamber to output only has a predominating path to be called Single HOST, therefore only must provide static ACPI form to get final product to operating system, but AMD HT-Based now can support 4 predominating paths, ACPI under the conventional architectures will report that all some resources are (as internal memory, bus, input/output device) resource (Resource) of ACPI definition such as, if any 4 predominating paths, then must report the resource distribution situation of every predominating path one by one, in other words, article 2, predominating path need be set up 2 parts of ACPI tables, article 3, predominating path then need be set up 3 parts of ACPI tables, by that analogy, the way that resource distribution information obtains in the existing ACPI table is when system is ready, under open state, insert after the arrangement situation by user's frame of reference resource in the ACPI table, the shortcoming of this way be need be at machine ready and boot program can carry out under the situation of DOS, can obtain required resource distribution information, so make the test duration of ACPI delay, and because of being the mode of artificial input, can't be applicable to other system platform, and after the used system platform of project of every replacing, because platform architecture and predominating path are all inequality, so during each the test, must insert corresponding resource distribution information again, if pilot process or information are wrong, also difficultly find out the single actually predominating path of problem or other predominating path causes, cause expending of time, increase user's inconvenience, therefore, how a kind of resource information adquisitiones that is applicable to each system platform is provided, in response to existing system platform trend, be present problem demanding prompt solution with a plurality of predominating paths.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of method that dynamically updates resource configuration state, it can dynamically update the configuration and the application scenarios of the contained resource of predominating path, avoid manually upgrading consumed time, can be ready for the ACPI function as early as possible, even hardware is not prepared fully as yet, software section also can be reported the state of hardware in advance.
Another object of the present invention is to provide a kind of method that dynamically updates resource configuration state, it need not distinguish platform architecture and contained predominating path number applicable to the system platform framework of disparity items, significantly increases elasticity and convenience on using.
Another purpose of the present invention is to provide a kind of method that dynamically updates resource configuration state, and it can make the user be easy to debug and put what the reason that platform architecture produces different problems is in order, reduces debug and required time of the problem of finding out.
For reaching above-mentioned and other purpose, the invention provides a kind of method that dynamically updates resource configuration state, it plans a region of data storage in the running software mode in advance, exchanges data zone as basic input/output and ACPI program code, solving basic input/output (BIOS) and ACPI program code can't compatible problem, basic input/output is detected the resource distribution and the application result that obtain insert indirectly in the ACPI table, read for operating system; The method that dynamically updates resource configuration state of the present invention comprises: (1) sets up a data storage area in advance; (2) basic input/output detects the distribution situation of contained resource on the predominating path, and testing result is stored in this data storage area; (3) set up renewal model table; And (4) are filled out the store data correspondence of this data storage area and are put in this renewal model table.
In sum, the method that dynamically updates resource configuration state provided by the invention is applicable in the system platform with at least one predominating path, be ready for the function of ACPI as early as possible, avoid manually upgrading consumed time, and, need not distinguish platform architecture and contained predominating path number applicable to the platform architecture of disparity items, significantly increase elasticity and convenience on using, the user is easy to debug and finds out the very crux of problem, so can solve the existing in prior technology problem really.
Description of drawings
Fig. 1 is that the method that dynamically updates resource configuration state of the present invention is being carried out the contained resource configuration state updating steps of predominating path process flow diagram; And
Fig. 2 is the described calcspar of steps flow chart of the present invention.
Embodiment
Embodiment
Fig. 1 is that the method that dynamically updates resource configuration state of the present invention is being carried out the contained resource configuration state updating steps of predominating path process flow diagram, the method that dynamically updates resource configuration state of the present invention is applicable in the system platform that has a predominating path (HOST) at least, operating system can be grasped the contained resource of the system platform that contains a plurality of predominating paths really (as internal memory, bus, input/output device etc.) distribution and application scenarios, import chip chamber because of the CPU (central processing unit) (CPU) of traditional X-ray 86 structures to output a predominating path is only arranged, only must provide static ACPI to show to get final product to operating system, but AMD HT-Based can support 4 predominating paths now, ACPI under the conventional architectures all will report as internal memory, bus, the resource (Resource) of ACPI such as input/output device definition, if any 4 predominating paths, must report the resource distribution situation of every predominating path one by one, therefore, article two, predominating path need be set up two parts of ACPI tables, article 3, predominating path then need be set up 3 parts of ACPI tables, yet the way that resource distribution information obtains in the existing ACPI table is when system is ready, under open state, then insert in the ACPI table by the arrangement situation of user's frame of reference resource, the shortcoming of this way is to be ready for and boot program can be carried out under the situation of DOS at machine, can obtain required resource distribution information, so make the test duration of ACPI delay, and because be artificial input mode, therefore can't be applicable to other system platform, after the system platform that project of just every replacing is used, because platform architecture and predominating path are all inequality, so must insert corresponding resource distribution information again during each the test, if pilot process or information are wrong, also be difficult to find the problem, the predominating path that actually is single predominating path or other number causes, cause expending of time, increase user's inconvenience, in view of this, the invention provides a kind of method that dynamically updates resource configuration state, as shown in Figure 1, in step S1, the inventive method is set up a data storage area in advance, as ACPI buffer zone (Advance Configuration and PowerInterface Buffer), incompatible each other BIOS and ACPI Code can then enter step S2 at this regional swap data.
In step S2, basic input/output (Basic Input/Output System) is when carrying out the start test procedure, and the resource distribution and the application scenarios in check and analysis platform path then enter step S3.
In step S3, basic input/output (Basic Input/Output System) will detect the ACPI buffer zone that the result who obtains is stored in previous foundation at step S2, then enter step S4.
In step S4, revise source language (Source Language) program code of ACPI, set up a plurality of models, then enter step S5.
In step S5, be filled in a plurality of models of in step S4, setting up about the resource distribution in platform path and the data of application scenarios filling out among the step S3 to be put in the ACPI buffer zone, form the ACPI table, then enter step S6.
In step S6, operating system reads the data in the model after start is finished, and grasps the resource distribution and the application state of the contained predominating path of system platform that uses.

Claims (7)

1. a method that dynamically updates resource configuration state is useful in the system platform with at least one predominating path, dynamically updates the configuration scenario of the contained resource of predominating path, it is characterized in that, this method that dynamically updates resource configuration state comprises:
(1) sets up a data storage area in advance;
(2) basic input/output detects the distribution situation of contained resource on the predominating path, and testing result is stored in this data storage area;
(3) set up renewal model table; And
(4) the store data correspondence of this data storage area is filled out be put in this renewal model table.
2. the method that dynamically updates resource configuration state as claimed in claim 1 is characterized in that, this system platform is an AMD HT-Based system platform.
3. the method that dynamically updates resource configuration state as claimed in claim 1 is characterized in that, this predominating path number is 4.
4. the method that dynamically updates resource configuration state as claimed in claim 1 is characterized in that this data storage area is as the ACPI buffer zone.
5. the method that dynamically updates resource configuration state as claimed in claim 1 is characterized in that, in step (2), this basic input/output the start test procedure in the stage to predominating path on the distribution situation of contained resource detect.
6. the method that dynamically updates resource configuration state as claimed in claim 1 is characterized in that, this upgrades the model table by the source language program code gained of revising ACPI.
7. the method that dynamically updates resource configuration state as claimed in claim 1 is characterized in that, comprises also that after step (4) operating system reads the data of upgrading in the model, the configuration and the application scenarios of contained resource on the predominating path of grasp system platform.
CNB2006100011675A 2006-01-13 2006-01-13 Method of dynamic updating resource configuration state Expired - Fee Related CN100437494C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100011675A CN100437494C (en) 2006-01-13 2006-01-13 Method of dynamic updating resource configuration state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100011675A CN100437494C (en) 2006-01-13 2006-01-13 Method of dynamic updating resource configuration state

Publications (2)

Publication Number Publication Date
CN101000558A CN101000558A (en) 2007-07-18
CN100437494C true CN100437494C (en) 2008-11-26

Family

ID=38692542

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100011675A Expired - Fee Related CN100437494C (en) 2006-01-13 2006-01-13 Method of dynamic updating resource configuration state

Country Status (1)

Country Link
CN (1) CN100437494C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727383B (en) * 2008-10-16 2012-07-04 上海市医疗保险信息中心 Simulation test method and system of database
CN101436964B (en) * 2008-12-17 2010-11-10 北京航空航天大学 Top layer design platform for electronic system
CN102298544A (en) * 2010-06-25 2011-12-28 广达电脑股份有限公司 Method for debugging for computer systems
EP3075109B1 (en) * 2013-11-29 2020-06-03 Telefonaktiebolaget LM Ericsson (publ) A method and apparatus for elastic optical networking
CN108446399B (en) * 2018-03-29 2021-07-30 重庆大学 Dynamic storage optimization method for structured massive real-time data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185667B1 (en) * 1998-04-09 2001-02-06 Teranex, Inc. Input/output support for processing in a mesh connected computer
CN1567229A (en) * 2003-07-03 2005-01-19 纬创资通股份有限公司 Method for dynamically establishing high-level configuration and power source interface architecture
US20050198596A1 (en) * 2000-04-24 2005-09-08 Microsoft Corporation Dynamically configuring resources for cycle translation in a computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185667B1 (en) * 1998-04-09 2001-02-06 Teranex, Inc. Input/output support for processing in a mesh connected computer
US20050198596A1 (en) * 2000-04-24 2005-09-08 Microsoft Corporation Dynamically configuring resources for cycle translation in a computer system
CN1567229A (en) * 2003-07-03 2005-01-19 纬创资通股份有限公司 Method for dynamically establishing high-level configuration and power source interface architecture

Also Published As

Publication number Publication date
CN101000558A (en) 2007-07-18

Similar Documents

Publication Publication Date Title
CN106155657B (en) The method and its computer system of UEFI firmware
US5771370A (en) Method and apparatus for optimizing hardware and software co-simulation
US7596686B2 (en) Power management system
CN102436387B (en) Method and device for fast computer startup
US20060004554A1 (en) Systems and methods for development of emulated devices in a virtual machine environment
CN104572165B (en) A kind of UEFI firmware implementation methods based on FT server
US20070162776A1 (en) Processor specific BIOS interface for power management
CN104572164A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng portable computer
CN108108199A (en) Multiple operating system starts method and device on a kind of multi-core CPU
JP2008509483A (en) Adapting software and firmware to unexpected / changing hardware environments
CN104572161B (en) A kind of UEFI firmware implementation methods based on Godson portable computer
CN110134446A (en) Start the method for PCIE device scanning
CN100437494C (en) Method of dynamic updating resource configuration state
US11005735B1 (en) Configuration system and method for an integrated computing system
CN104572061A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson server
CN114222975A (en) Data preservation using memory aperture flush sequence
De Alfonso et al. An energy management system for cluster infrastructures
CN106909399A (en) A kind of UEFI firmware implementation methods based on server computer
CN104572163A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson desk computer
US20130117549A1 (en) Method for executing multiple operating systems and electronic apparatus
US20130159689A1 (en) Method and apparatus for initializing embedded device
CN104572162A (en) UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Loongson handheld computer
CN111008106B (en) Server monitoring management method and device, electronic equipment and storage medium
Poss et al. MGSim—A simulation environment for multi-core research and education
Siegmund et al. Automating energy optimization with features

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081126

Termination date: 20120113