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

Method and apparatus for distributing resource of hot-plug bus interface

A technology of resource allocation device and bus interface, applied in instrumentation, error detection/correction, calculation, etc., can solve problems such as failure of post-insertion devices to operate normally, post-insertion devices to fail to operate normally, and inability to provide post-insertion device resources, etc.

Active Publication Date: 2008-07-23
CHENGDU HUAWEI TECH
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Since the existing system reserves resources for the PCIE slot when there is no device inserted into the PCIE slot, if the resources reserved for the free PCIE slot are not enough during system initialization, the device cannot be inserted later. The resources required for operation, such as address space resources, cause the device to fail to operate normally after insertion
[0006]2. If the device in a certain PCIE slot is pulled out, and another device is inserted into the PCIE slot, it may be due to the device inserted later and The resources required by the previous equipment are different, so that the equipment inserted later cannot operate normally, and the online replacement of the equipment cannot be completed.
[0007]3. In general, the existing PCIE hot-plug technology cannot Support hot upgrade of equipment, the system must be restarted after the equipment is upgraded, so that the upgraded equipment can be used

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 and apparatus for distributing resource of hot-plug bus interface
  • Method and apparatus for distributing resource of hot-plug bus interface
  • Method and apparatus for distributing resource of hot-plug bus interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] In this embodiment, take the computer that adopts PCIE interface (peripheral component interconnection expansion interface) as example, an independent sound card has been installed on the PCIE interface of this computer, and then plug a network card, because this PCIE interface supports hot plugging, Therefore, in this embodiment, the network card is inserted when the computer is running. The process of inserting the network card is shown in Figure 1, specifically:

[0029] 101. Without turning off the computer, insert the network card into the free PCIE interface on the computer motherboard.

[0030] 102. It is detected that a network card is inserted into one of the idle PCIE interfaces.

[0031] 103. Search for resources reserved for the PCIE interface, including address space resources. If the computer does not reserve resources for the PCIE interface, the reserved resources are empty.

[0032] 104. Determine whether the reserved address space resources meet the r...

Embodiment 2

[0037] In this embodiment, take the computer that adopts PCIE interface (peripheral component interconnection expansion interface) as example, an independent sound card has been installed on the PCIE interface of this computer, but network card is not installed, so can not access Internet, in order to access Internet , you need to insert a network card on the PCIE interface of the computer motherboard, and connect the computer to the Internet through the network card. Since the PCIE interface supports hot plugging, in this embodiment, the network card is inserted when the computer is running. The process of inserting the network card is shown in Figure 2, specifically:

[0038] 201. Without shutting down the computer, insert the network card into an idle PCIE interface on the motherboard of the computer.

[0039] 202. It is detected that a network card is inserted into one of the idle PCIE interfaces.

[0040] 203. Search for resources reserved for the PCIE interface, includ...

Embodiment 3

[0059] This embodiment provides an apparatus for implementing a resource allocation method for a hot-swappable bus interface, as shown in FIG. 4 , specifically including:

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 resource distribution method of hot plug bus interface and a relative device, belonging to the computer bus interface technical field, which resolves the defect of prior hot plug bus interface as insufficient preformed resource. The invention comprises when the hot plug bus interface is plugged into device, according to the demand of the device, distributing resource without affected by preformed resource to confirm the normal operation of the device. The invention is mainly used in PCIE interface, with wide application bus interfaces supporting hot plug.

Description

technical field [0001] The invention relates to the field of bus interfaces of computers, in particular to a method and a device for an operating system to allocate resources to the external equipment after the corresponding external equipment is hot-plugged on the bus interface of the computer. Background technique [0002] Commonly used computer internal buses mainly include an Accelerated Graphics Port (AGP) bus and a Peripheral Component Interconnect (PCI) bus. On the basis of the existing PCI bus, a new PCI Express (PCIE) bus has been developed. The PCIE interface can be directly drawn from the root complex controlling the PCIE bus, or connected to the root complex of the PCIE bus through the PCIE bridge (SWITCH) Body; multiple PCIE interfaces can be set on one PCIE bridge to plug in multiple external devices. The standard process of PCIE hot plugging is defined in the PC IE specification, and PCIE hot plugging is generally used when replacing external devices online. ...

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
IPC IPC(8): G06F13/40G06F11/00
Inventor 肖建龙陈华张巍
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products