Method, apparatus and system for device initialization

An initialization and equipment technology, applied in the computer field, can solve problems such as affecting initialization efficiency and increasing system complexity, and achieve the effects of improving initialization efficiency, reducing system burden, and simplifying settings.

Active Publication Date: 2012-09-12
HUAWEI TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the above-mentioned virtual machine initialization, the inventors found that at least the following problems exist in the prior art: when a certain node has only one device, it is still necessary to set up a bus to mount the device, and set up a bus bridge and PCI control The device is connected, which increases the complexity of the system and affects the initialization efficiency

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
  • Method, apparatus and system for device initialization
  • Method, apparatus and system for device initialization
  • Method, apparatus and system for device initialization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] The embodiment of the present invention provides a method for device initialization, such as figure 1 As shown, the method is a method on the master node side, including:

[0047] 101. Acquire device information of devices in the master node and in the slave node.

[0048] Wherein, the device information is used to identify information such as a device name, a device model, and a node where the device is located corresponding to the device in each node, which are not listed here in this embodiment of the present invention.

[0049] It should be noted that the device information may be obtained directly from the system configuration file, or may be obtained through interaction with other nodes, which is not limited in this embodiment of the present invention.

[0050] Wherein, the master node and the slave node may be devices such as single-chip microcomputers and server boards, which are not limited in this embodiment of the present invention.

[0051] 102. Establish a ...

Embodiment 2

[0075] An embodiment of the present invention provides a device initialization device, such as Figure 4 As shown, the device includes: an acquisition unit 31 , an establishment unit 32 , a generation unit 33 , a mounting unit 34 , an allocation unit 35 , and a sending unit 36 ​​.

[0076] The obtaining unit 31 is configured to obtain device information corresponding to devices in the master node and in the slave node.

[0077] The establishment unit 32 is configured to establish a bus tree in the master node according to the device information of the devices in the master node and in the slave nodes acquired by the acquisition unit 31 .

[0078] A generating unit 33, configured to generate a device copy of a device corresponding to the device information in the slave node according to the device information of the device in the slave node acquired by the acquiring unit 31, and the device in the slave node have the same device information as the device copy corresponding to t...

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 invention discloses a method, an apparatus and a system for device initialization, and relates to the field of the computer technology. According to the invention, complexity of a virtual machine system can be reduced, and efficiency of virtual machine initialization is improved. The method comprises the following steps: acquiring device information of master node devices and slave node devices; establishing a bus tree inside a master node according to the device information of the master node devices and the slave node devices; generating a device copy of slave node devices corresponding to the device information of the slave node devices according to the device information of the slave node devices; mounting the master node devices and the device copy corresponding to the slave node devices on the bus tree, and allocating corresponding address space to the master node devices and the device copy corresponding to the slave node devices; and transmitting address space information corresponding to the device copy to slave nodes at which slave node devices corresponding to the device copy are located. The embodiments of the invention are mainly used in a virtual machine initialization process.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a device initialization method, device and system. Background technique [0002] Distributed virtualization technology is a technology that recombines resources from multiple physical machines, such as processors, memory and external devices, into a virtual machine in a virtual way. In distributed virtualization scenarios, such as disks, The network card devices may be located on different physical nodes. At this time, the virtual machine needs to initialize the device, so that all devices are set under the same topology, and the corresponding address space is allocated to all devices, so that the virtual machine can process service requests. , can access all nodes' devices. [0003] The device initialization method provided in the prior art includes separately setting a bus and a bus bridge for each node, and mounting the devices on the node on the bus of the node, an...

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 Applications(China)
IPC IPC(8): G06F9/455
Inventor 董益兼
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products