CN103294526A - Hardware configuration method and device of electronic equipment as well as electronic equipment - Google Patents

Hardware configuration method and device of electronic equipment as well as electronic equipment Download PDF

Info

Publication number
CN103294526A
CN103294526A CN2012100481661A CN201210048166A CN103294526A CN 103294526 A CN103294526 A CN 103294526A CN 2012100481661 A CN2012100481661 A CN 2012100481661A CN 201210048166 A CN201210048166 A CN 201210048166A CN 103294526 A CN103294526 A CN 103294526A
Authority
CN
China
Prior art keywords
hardware
electronic equipment
executable code
initialization
machine system
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.)
Granted
Application number
CN2012100481661A
Other languages
Chinese (zh)
Other versions
CN103294526B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210048166.1A priority Critical patent/CN103294526B/en
Publication of CN103294526A publication Critical patent/CN103294526A/en
Application granted granted Critical
Publication of CN103294526B publication Critical patent/CN103294526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a hardware configuration method and device of electronic equipment, as well as the electronic equipment. The method is applied to hardware equipment which can be operated in the electronic equipment provided with a first hardware framework; and the hardware equipment at least comprises a memory unit, and an executable code used for initializing the hardware equipment is memorized in the memory unit and supports a second hardware framework instruction set. The method comprises the steps as follows: the hardware equipment is connected to the electronic equipment; a virtual machine system is called in a software system based on the first hardware framework in the electronic equipment, and the virtual machine system is used for virtualizing a software system based on the second hardware framework; and the initialization of the hardware equipment is completed through executing the executable code by the virtual machine system. With the adoption of the scheme provided by the invention, the electronic equipment provided with one hardware framework can effectively initialized the hardware equipment provided with another hardware framework instruction set.

Description

The hardware configuration method of electronic equipment, device and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, particularly relate to a kind of hardware configuration method, device and electronic equipment of electronic equipment.
Background technology
Can extrapolation on the PCI groove of conventional P C machine the hardware device of ROM (ROM (read-only memory)) of some additional executable machine instructions, for example: video card, network interface card, IO card etc.Wherein, the executable machine instruction of preserving among the ROM (ROM (read-only memory)) is generally the x86 instruction, and can be by carrying out the x86 instruction corresponding hardware device of initialization or some Basic Input or Output System (BIOS)/dos being provided required system service based on the PC of x86 framework.In the prior art, the implementation of x86 instruction can for: when the PC system starts, system's Basic Input or Output System (BIOS) reads the x86 instruction among the corresponding ROM (ROM (read-only memory)), and carries out the x86 instruction after being loaded into internal memory, to finish the initialization of corresponding hardware device.
And along with science and technology development, present PC no longer has been confined to the x86 framework, and for example: the PC based on ARM framework, MIPS framework occurs in succession.Wherein, non-x86 framework executable instructions such as ARM, MIPS are different fully with x86 framework executable instruction, and just, the x86 instruction can't run directly on the PC of non-x86 architecture.Therefore, the hardware device that stores x86 instruction directly is inserted on the PC based on non-x86 platform, will cause the x86 instruction on the hardware device effectively to be carried out, and then corresponding hardware device can't be by effective initialization.
As seen, the electronic equipment with a hardware structure how effectively initialization has hardware device based on another hardware structure instruction set, is a problem that merits attention.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of hardware configuration method, device and electronic equipment of electronic equipment, to realize that the effective initialization of electronic equipment with a hardware structure has the purpose of the hardware device of another hardware structure instruction set, technical scheme is as follows:
A kind of hardware configuration method of electronic equipment is applied to run on the hardware device in the described electronic equipment, and described electronic equipment has first hardware structure; Described hardware device comprises a storage unit at least, stores the executable code for the described hardware device of initialization in the described storage unit, and described executable code is for supporting the executable code of the second hardware structure instruction set;
Described method comprises:
Described hardware device is plugged into to described electronic equipment;
Call dummy machine system in the software systems based on described first hardware structure of described electronic equipment, described dummy machine system is used for virtual software systems based on described second hardware structure;
Carry out described executable code to finish the initialization of described hardware device by described dummy machine system.
Wherein, be operating system based on described first hardware structure based on the software systems of described first hardware structure.
Wherein, be bootloader system based on described first hardware architecture based on the software systems of described first hardware architecture.
Wherein, described dummy machine system is carried out the process of described executable code and is:
The virtual Basic Input or Output System (BIOS) interface of described second hardware architecture is provided;
By the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carry out described executable code.
Wherein, described first hardware architecture is non-x86 framework, and corresponding, described second hardware architecture is the x86 framework;
Perhaps,
Described first hardware architecture is the x86 framework, and corresponding, described second hardware architecture is non-x86 framework.
The embodiment of the invention also provides a kind of hardware configuration device of electronic equipment, is applied to run on the hardware device in the described electronic equipment, and described electronic equipment has first hardware structure; Described hardware device comprises a storage unit at least, stores the executable code for the described hardware device of initialization in the described storage unit, and described executable code is for supporting the executable code of the second hardware structure instruction set; Described device comprises:
The module of plugging into is used for described hardware device is plugged into to described electronic equipment;
The virtual machine call module is used for calling dummy machine system in the software systems based on described first hardware structure of described electronic equipment, and described dummy machine system is used for virtual software systems based on described second hardware structure;
Initialization module is used for carrying out described executable code to finish the initialization of described hardware device by described dummy machine system.
Wherein, described initialization module comprises:
Interface provides the unit, is used for providing the virtual Basic Input or Output System (BIOS) interface of described second hardware architecture;
Initialization unit is used for by the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carries out described executable code.
The embodiment of the invention also provides a kind of electronic equipment, it has first hardware structure, and the hardware device in the described electronic equipment comprises a storage unit at least, store the executable code for the described hardware device of initialization in the described storage unit, described executable code is for supporting the executable code of the second hardware structure instruction set; Described electronic equipment comprises: the hardware configuration device of electronic equipment; Wherein, the hardware configuration device of described electronic equipment comprises:
The module of plugging into is used for described hardware device is plugged into to described electronic equipment;
The virtual machine call module is used for calling dummy machine system in the software systems based on described first hardware structure of described electronic equipment, and described dummy machine system is used for virtual software systems based on described second hardware structure;
Initialization module is used for carrying out described executable code to finish the initialization of described hardware device by described dummy machine system.
Wherein, described initialization module comprises:
Interface provides the unit, is used for providing the virtual Basic Input or Output System (BIOS) interface of described second hardware architecture;
Initialization unit is used for by the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carries out described executable code.
Compared with prior art, in this programme, preset a dummy machine system in the software systems based on first hardware structure of electronic equipment, this dummy machine system is used for virtual software systems based on corresponding second hardware structure of hardware device instruction set.When the initialization hardware device, call this dummy machine system, by supporting this instruction set executable code to finish the initialization of this hardware device in this dummy machine system execution hardware device, realize that with this effective initialization of electronic equipment with a hardware structure has the purpose of the hardware device of another hardware structure instruction set.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do simple the introduction to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
First kind of process flow diagram of the hardware configuration method of a kind of electronic equipment that Fig. 1 provides for the embodiment of the invention;
Second kind of process flow diagram of the hardware configuration method of a kind of electronic equipment that Fig. 2 provides for the embodiment of the invention;
The third process flow diagram of the hardware configuration method of a kind of electronic equipment that Fig. 3 provides for the embodiment of the invention;
The 4th kind of process flow diagram of the hardware configuration method of a kind of electronic equipment that Fig. 4 provides for the embodiment of the invention;
The structural representation of the hardware configuration device of a kind of electronic equipment that Fig. 5 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
In order to realize that the effective initialization of electronic equipment with a hardware architecture has the purpose of the hardware device of another hardware structure instruction set, the embodiment of the invention provides a kind of hardware configuration method, device and electronic equipment of electronic equipment.
At first the hardware configuration method of a kind of electronic equipment provided by the present invention is introduced below.
Need to prove that the hardware configuration method of a kind of electronic equipment that the embodiment of the invention provides is applied to run on the hardware device in this electronic equipment, this electronic equipment has first hardware structure; This electronic equipment comprises a storage unit at least, stores the executable code for this hardware device of initialization in this storage unit, and this executable code is for supporting the executable code of the second hardware architecture instruction set.Be understandable that this hardware device can be peripheral hardwares such as keyboard, video card, network interface card.And first hardware structure is different with second hardware structure, and for example: first hardware structure is the x86 framework, and corresponding, second hardware structure can be non-x86 frameworks such as ARM framework, MIPS framework; Perhaps, first hardware structure is non-x86 frameworks such as ARM framework, MIPS framework, and corresponding, second hardware structure is the x86 framework.
As shown in Figure 1, a kind of hardware configuration method of electronic equipment can comprise:
S101 plugs into a hardware device to this electronic equipment;
When a hardware device is carried out initialization, at first need this hardware device is plugged into to this electronic equipment, with under the state of plugging into, carry out follow-up initialization.
S102 calls dummy machine system in the software systems based on this first hardware structure of this electronic equipment;
In the software systems based on this first hardware architecture of this electronic equipment a dummy machine system is set in advance, wherein, this dummy machine system is used for virtual software systems based on this second hardware architecture.Be understandable that in actual applications, this dummy machine system is set according to the framework type of hardware device instruction set correspondence, for example: when hardware device had x86 framework instruction set, this dummy machine system needed the software systems of virtual this x86 framework; And when having non-x86 framework instruction set in the hardware device, this dummy machine system needs the software systems of virtual this non-x86 framework.
When this hardware device is plugged into to this electronic equipment, then need in the software systems based on first hardware structure of this electronic equipment, call a dummy machine system, read and carry out the executable code of supporting this instruction set in this hardware device to utilize this dummy machine system.
S103 carries out this executable code to finish the initialization of this hardware device by this dummy machine system.
After calling this dummy machine system, then can utilize this dummy machine system to carry out the executable code of the support second hardware architecture instruction set that this hardware device stores, finish the initialization of this hardware device with this.
Wherein, this dummy machine system is carried out the process of this executable code and is:
The virtual Basic Input or Output System (BIOS) interface of this second hardware architecture is provided;
By this virtual this executable code of Basic Input or Output System (BIOS) interface interchange, and carry out this executable code.
Be understandable that the virtual Basic Input or Output System (BIOS) interface of second hardware architecture that dummy machine system provides is set according to this hardware device.
In the present embodiment, plug into to this electronic equipment at this hardware device, call the dummy machine system for virtual software systems based on second hardware structure, and by this dummy machine system carry out support the second hardware architecture instruction set in this hardware device executable code to finish the initialization of this hardware device.Therefore, by utilizing this programme, can realize that the effective initialization of electronic equipment with a hardware structure has the purpose of the hardware device of another hardware structure instruction set.
Be introduced below in conjunction with the hardware configuration method of concrete application example to a kind of electronic equipment provided by the present invention.
Need to prove that the hardware configuration method of a kind of electronic equipment that the embodiment of the invention provides is applied to run on the hardware device in this electronic equipment, this electronic equipment has first hardware structure; This electronic equipment comprises a storage unit at least, stores the executable code for this hardware device of initialization in this storage unit, and this executable code is for supporting the executable code of the second hardware architecture instruction set.Be understandable that this hardware device can be peripheral hardwares such as keyboard, video card, network interface card.And first hardware structure is different with second hardware structure, and for example: first hardware structure is the x86 framework, and corresponding, second hardware structure can be non-x86 frameworks such as ARM framework, MIPS framework; Perhaps, first hardware structure is non-x86 frameworks such as ARM framework, MIPS framework, and corresponding, second hardware structure is the x86 framework.
As shown in Figure 2, a kind of hardware configuration method of electronic equipment can comprise:
S201 plugs into a hardware device to this electronic equipment;
When needs carry out initialization to a hardware device, at first need this hardware device is plugged into to this electronic equipment, with under the state of plugging into, carry out follow-up initialization.
S202 calls dummy machine system in the operating system based on this first hardware structure of this electronic equipment;
In the operating system based on this first hardware architecture of this electronic equipment a dummy machine system is set in advance, wherein, this dummy machine system is used for virtual operating system based on this second hardware architecture.Be understandable that, in actual applications, this dummy machine system is set according to the framework type of hardware device executable code correspondence, and for example: when hardware device had x86 framework instruction set, this dummy machine system needed the operating system of virtual this x86 framework; And when hardware device had non-x86 framework instruction set, this dummy machine system needed the operating system of virtual this non-x86 framework.
When this hardware device is plugged into to this electronic equipment, then need in the operating system based on first hardware structure of this electronic equipment, call a dummy machine system, read and carry out the executable code of supporting the second hardware structure instruction set in this hardware device to utilize this dummy machine system.
S203 provides the virtual Basic Input or Output System (BIOS) interface of this second hardware architecture;
Be understandable that the virtual Basic Input or Output System (BIOS) interface of second hardware architecture that dummy machine system provides is set according to this hardware device.
S204 by this virtual this executable code of Basic Input or Output System (BIOS) interface interchange, and carries out this executable code.
Behind the virtual Basic Input or Output System (BIOS) interface of this second hardware architecture that this hardware device correspondence is provided, this dummy machine system then can be by the executable code of this virtual this hardware device of Basic Input or Output System (BIOS) interface interchange, and carry out this executable code, to finish the initialization of this hardware device.
In the present embodiment, this electronic equipment based on the operating system of this first hardware structure in a default dummy machine system, this dummy machine system is used for virtual operating system based on this second hardware architecture.When needs carry out initialization to this hardware device, then calling this dummy machine system provides the virtual Basic Input or Output System (BIOS) interface of this second hardware structure, by this virtual this executable code of Basic Input or Output System (BIOS) interface interchange, and carry out this executable code, finally realized the initialization of this hardware device.
Be introduced below in conjunction with the hardware configuration method of another concrete application example to a kind of electronic equipment provided by the present invention.
Need to prove that the hardware configuration method of a kind of electronic equipment that the embodiment of the invention provides is applied to run on the hardware device in this electronic equipment, this electronic equipment has first hardware structure; This electronic equipment comprises a storage unit at least, stores the executable code for this hardware device of initialization in this storage unit, and this instruction set is for supporting the executable code of the second hardware architecture instruction set.Be understandable that this hardware device can be peripheral hardwares such as keyboard, video card, network interface card.And first hardware structure is different with second hardware structure, and for example: first hardware structure is the x86 framework, and corresponding, second hardware structure can be non-x86 frameworks such as ARM framework, MIPS framework; Perhaps, first hardware structure is non-x86 frameworks such as ARM framework, MIPS framework, and corresponding, second hardware structure is the x86 framework.
As shown in Figure 3, a kind of hardware configuration method of electronic equipment can comprise:
S301 plugs into a hardware device to this electronic equipment;
When needs carry out initialization to a hardware device, at first need this hardware device is plugged into to this electronic equipment, with under the state of plugging into, carry out follow-up initialization.
S302 calls dummy machine system in the bootloader system based on this first hardware structure of this electronic equipment;
In the bootloader system based on this first hardware architecture of this electronic equipment a dummy machine system is set in advance, wherein, this dummy machine system is used for virtual bootloader system based on this second hardware architecture.Be understandable that, in actual applications, this dummy machine system is set according to the framework type of hardware device executable code correspondence, and for example: when hardware device had x86 framework instruction set, this dummy machine system needed the bootloader system of virtual this x86 framework; And when hardware device had non-x86 framework instruction set, this dummy machine system needed the bootloader system of virtual this non-x86 framework.
When this hardware device is plugged into to this electronic equipment, then need in the bootloader system based on first hardware structure of this electronic equipment, call a dummy machine system, read and carry out the executable code of supporting the second hardware structure instruction set in this hardware device to utilize this dummy machine system.
S303 provides the virtual Basic Input or Output System (BIOS) interface of this second hardware architecture;
Be understandable that the virtual Basic Input or Output System (BIOS) interface of second hardware architecture that dummy machine system provides is set according to this hardware device.
S304 by this virtual this executable code of Basic Input or Output System (BIOS) interface interchange, and carries out this executable code.
Behind the virtual Basic Input or Output System (BIOS) interface of this second hardware architecture that this hardware device correspondence is provided, this dummy machine system then can be by the executable code of this virtual this hardware device of Basic Input or Output System (BIOS) interface interchange, and carry out this executable code, to finish the initialization of this hardware device.
In the present embodiment, this electronic equipment based on the bootloader system of this first hardware structure in a default dummy machine system, this dummy machine system is used for virtual bootloader system based on this second hardware architecture.When needs carry out initialization to this hardware device, then calling this dummy machine system provides the virtual Basic Input or Output System (BIOS) interface of this second hardware structure, by this virtual this executable code of Basic Input or Output System (BIOS) interface interchange, and carry out this executable code, finally realized the initialization of this hardware device.
Below with at non-x86 framework: in the PC of ARM framework effectively the initialization video card that stores the executable code of supporting x86 framework instruction set be example, the hardware configuration method of a kind of electronic equipment that the embodiment of the invention is provided is introduced.
As shown in Figure 4, a kind of hardware configuration method of electronic equipment can comprise:
S401 plugs into this video card to this PC;
When this video card is carried out initialization, at first need this video card is plugged into to this PC, with under the state of plugging into, carry out follow-up initialization.
S402 calls dummy machine system in the operating system based on the ARM framework of this PC;
In the operating system based on this first hardware architecture of this PC a dummy machine system is set in advance, wherein, this dummy machine system is used for virtual operating system based on this x86 framework.When this video card is plugged into to this PC, then need in the operating system based on the ARM framework of this PC, call this dummy machine system, read and carry out the executable code of supporting x86 framework instruction set in this video card to utilize this dummy machine system.
S403 provides the virtual video card interface of this x86 framework;
S404 should support the executable code of x86 framework instruction set by this virtual video card interface interchange, and carry out this executable code.
After the virtual video card interface of this x86 framework was provided, this dummy machine system then can pass through this this executable code of virtual video card interface interchange, and carries out this executable code, to finish the initialization of this video card.
In the present embodiment, plug into to this PC at this video card, call the dummy machine system for virtual operating system based on the x86 framework, and by this dummy machine system carry out support x86 framework instruction set in this video card executable code to finish the initialization of this video card.Therefore, by utilizing this programme, can realize that the effective initialization of electronic equipment with a hardware structure has the purpose of the hardware device of another hardware structure instruction set.
Description by above method embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as ROM (read-only memory) (ROM), random-access memory (ram), magnetic disc or CD.
Corresponding to said method, the embodiment of the invention also provides a kind of hardware configuration device of electronic equipment, is applied to run on the hardware device in the described electronic equipment, and described electronic equipment has first hardware structure; Described hardware device comprises a storage unit at least, stores the executable code for the described hardware device of initialization in the described storage unit, and described executable code is for supporting the executable code of the second hardware structure instruction set; As shown in Figure 5, described device can comprise:
The module 110 of plugging into is used for described hardware device is plugged into to described electronic equipment;
Virtual machine call module 120 is used for calling dummy machine system in the software systems based on described first hardware structure of described electronic equipment, and described dummy machine system is used for virtual software systems based on described second hardware structure;
Initialization module 130 is used for carrying out described executable code to finish the initialization of described hardware device by described dummy machine system.
In the scheme that present embodiment provides, preset a dummy machine system in the software systems based on first hardware structure of electronic equipment, this dummy machine system is used for virtual software systems based on corresponding second hardware structure of hardware device instruction set.When the initialization hardware device, call this dummy machine system, by this dummy machine system carry out support this instruction set in hardware device executable code to finish the initialization of this hardware device, realize that with this effective initialization of electronic equipment with a hardware structure has the purpose of the hardware device of another hardware structure instruction set.
Wherein, initialization module 130 can comprise:
Interface provides the unit, is used for providing the virtual Basic Input or Output System (BIOS) interface of described second hardware architecture;
Initialization unit is used for by the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carries out described executable code.
The embodiment of the invention also provides a kind of electronic equipment, it has first hardware structure, and the hardware device in the described electronic equipment comprises a storage unit at least, store the executable code for the described hardware device of initialization in the described storage unit, described executable code is for supporting the executable code of the second hardware structure instruction set; Described electronic equipment comprises: the hardware configuration device of electronic equipment; Wherein, the hardware configuration device of described electronic equipment can comprise:
The module of plugging into is used for described hardware device is plugged into to described electronic equipment;
The virtual machine call module is used for calling dummy machine system in the software systems based on described first hardware structure of described electronic equipment, and described dummy machine system is used for virtual software systems based on described second hardware structure;
Initialization module is used for carrying out described executable code to finish the initialization of described hardware device by described dummy machine system.
Preset a dummy machine system in the software systems based on first hardware structure of the electronic equipment that present embodiment provides, this dummy machine system is used for virtual software systems based on corresponding second hardware structure of hardware device instruction set.When the initialization hardware device, call this dummy machine system, by this dummy machine system carry out support this instruction set in hardware device executable code to finish the initialization of this hardware device, realize that with this effective initialization of electronic equipment with a hardware structure has the purpose of the hardware device of another hardware structure instruction set.
Wherein, described initialization module comprises:
Interface provides the unit, is used for providing the virtual Basic Input or Output System (BIOS) interface of described second hardware architecture;
Initialization unit is used for by the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carries out described executable code.
For device or system embodiment, because it is substantially corresponding to method embodiment, so relevant part gets final product referring to the part explanation of method embodiment.Device described above or system embodiment only are schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills namely can understand and implement under the situation of not paying creative work.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method not surpassing in the application's the spirit and scope, can realize in other way.Current embodiment is a kind of exemplary example, should be as restriction, and given particular content should in no way limit the application's purpose.For example, the division of described unit or subelement only is that a kind of logic function is divided, and during actual the realization other dividing mode can be arranged, and for example a plurality of unit or a plurality of subelement combine.In addition, a plurality of unit can or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.
In addition, institute's descriptive system, the synoptic diagram of apparatus and method and different embodiment, in the scope that does not exceed the application, can with other system, module, technology or method in conjunction with or integrated.Another point, the shown or coupling each other discussed or directly to be coupled or to communicate to connect can be by some interfaces, the indirect coupling of device or unit or communicate to connect can be electrically, machinery or other form.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. the hardware configuration method of an electronic equipment is applied to run on the hardware device in the described electronic equipment, and described electronic equipment has first hardware structure; Described hardware device comprises a storage unit at least, stores the executable code for the described hardware device of initialization in the described storage unit, and described executable code is for supporting the executable code of the second hardware structure instruction set;
It is characterized in that described method comprises:
Described hardware device is plugged into to described electronic equipment;
Call dummy machine system in the software systems based on described first hardware structure of described electronic equipment, described dummy machine system is used for virtual software systems based on described second hardware structure;
Carry out described executable code to finish the initialization of described hardware device by described dummy machine system.
2. method according to claim 1 is characterized in that, is operating system based on described first hardware structure based on the software systems of described first hardware structure.
3. method according to claim 1 is characterized in that, is bootloader system based on described first hardware architecture based on the software systems of described first hardware architecture.
4. method according to claim 1 is characterized in that, the process that described dummy machine system is carried out described executable code is:
The virtual Basic Input or Output System (BIOS) interface of described second hardware architecture is provided;
By the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carry out described executable code.
5. according to any described method of claim 1-4, it is characterized in that described first hardware architecture is non-x86 framework, corresponding, described second hardware architecture is the x86 framework;
Perhaps,
Described first hardware architecture is the x86 framework, and corresponding, described second hardware architecture is non-x86 framework.
6. the hardware configuration device of an electronic equipment is applied to run on the hardware device in the described electronic equipment, and described electronic equipment has first hardware structure; Described hardware device comprises a storage unit at least, stores the executable code for the described hardware device of initialization in the described storage unit, and described executable code is for supporting the executable code of the second hardware structure instruction set; It is characterized in that described device comprises:
The module of plugging into is used for described hardware device is plugged into to described electronic equipment;
The virtual machine call module is used for calling dummy machine system in the software systems based on described first hardware structure of described electronic equipment, and described dummy machine system is used for virtual software systems based on described second hardware structure;
Initialization module is used for carrying out described executable code to finish the initialization of described hardware device by described dummy machine system.
7. device according to claim 6 is characterized in that, described initialization module comprises:
Interface provides the unit, is used for providing the virtual Basic Input or Output System (BIOS) interface of described second hardware architecture;
Initialization unit is used for by the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carries out described executable code.
8. electronic equipment, it has first hardware structure, and the hardware device in the described electronic equipment comprises a storage unit at least, store the executable code for the described hardware device of initialization in the described storage unit, described executable code is for supporting the executable code of the second hardware structure instruction set; It is characterized in that described electronic equipment comprises: the hardware configuration device of electronic equipment; Wherein, the hardware configuration device of described electronic equipment comprises:
The module of plugging into is used for described hardware device is plugged into to described electronic equipment;
The virtual machine call module is used for calling dummy machine system in the software systems based on described first hardware structure of described electronic equipment, and described dummy machine system is used for virtual software systems based on described second hardware structure;
Initialization module is used for carrying out described executable code to finish the initialization of described hardware device by described dummy machine system.
9. electronic equipment according to claim 8 is characterized in that, described initialization module comprises:
Interface provides the unit, is used for providing the virtual Basic Input or Output System (BIOS) interface of described second hardware architecture;
Initialization unit is used for by the described executable code of described virtual Basic Input or Output System (BIOS) interface interchange, and carries out described executable code.
CN201210048166.1A 2012-02-27 2012-02-27 Hardware configuration method, device and the electronic equipment of electronic equipment Active CN103294526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210048166.1A CN103294526B (en) 2012-02-27 2012-02-27 Hardware configuration method, device and the electronic equipment of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210048166.1A CN103294526B (en) 2012-02-27 2012-02-27 Hardware configuration method, device and the electronic equipment of electronic equipment

Publications (2)

Publication Number Publication Date
CN103294526A true CN103294526A (en) 2013-09-11
CN103294526B CN103294526B (en) 2017-11-28

Family

ID=49095459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210048166.1A Active CN103294526B (en) 2012-02-27 2012-02-27 Hardware configuration method, device and the electronic equipment of electronic equipment

Country Status (1)

Country Link
CN (1) CN103294526B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107924316A (en) * 2015-08-31 2018-04-17 三菱电机株式会社 Application executing device and application executing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118499A (en) * 2006-08-04 2008-02-06 深圳市研祥智能科技股份有限公司 System for software transplantation between isomerization hardware systems
CN102023889A (en) * 2010-11-04 2011-04-20 天津曙光计算机产业有限公司 Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118499A (en) * 2006-08-04 2008-02-06 深圳市研祥智能科技股份有限公司 System for software transplantation between isomerization hardware systems
CN102023889A (en) * 2010-11-04 2011-04-20 天津曙光计算机产业有限公司 Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107924316A (en) * 2015-08-31 2018-04-17 三菱电机株式会社 Application executing device and application executing method

Also Published As

Publication number Publication date
CN103294526B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN103593370B (en) The method and browser of expanded application are realized in a browser
CN105138382A (en) Method for upgrading Android system and terminal
CN103699398A (en) Terminal equipment and starting control method thereof
CN103853586A (en) Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer
CN103488466A (en) Method and device for executing application program
CN103729210A (en) Method and device for supporting intelligent terminals of multiple sorts of modes with one flashing package
CN103345407A (en) Control circuit, connectivity controller, connectivity control method and main board
CN104267981A (en) Method and device for loading application layout on desktop
CN103365668A (en) Loading and linking method and device of dynamic link library
CN105279117A (en) Bridge module for updating basic input output system and updating method thereof
CN104424122A (en) Electronic equipment and memory dividing method
CN102063317A (en) Method and system for renewedly burning application program by embedded equipment
CN104375854A (en) Application updating and downloading method and user terminal
CN110399168B (en) System starting method, device and equipment for multiple data disk storage servers
CN101673210A (en) Cross-platform and cross-processor method based on extensible firmware interface and device
CN103309741B (en) Call the method and apparatus of pin function
CN105653317A (en) Application downloading and installing method and terminal device
CN103744911A (en) Video file scanning method and electronic device
CN105260186A (en) Construction method and device of application program SDK for embedded system
CN108205503B (en) Hardware drive compatible method and terminal
CN103294526A (en) Hardware configuration method and device of electronic equipment as well as electronic equipment
CN113031999A (en) Method, device and equipment for controlling firmware upgrade of server component and storage medium
CN105573940B (en) A kind of automatic detection method and device of SDIO interface peripherals
CN102567251B (en) Control method and control device for BIOS (basic input/output system)
CN105138365A (en) Upgrading method and device for interface converter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant