


技术领域technical field
本发明涉及计算机应用领域,尤其涉及一种资源配置方法和装置。The present invention relates to the field of computer applications, in particular to a resource configuration method and device.
背景技术Background technique
传统模式下,企业建立一套IT系统不仅仅需要购买硬件等基础设施,还有买软件的许可证,需要专门的人员维护,当企业的规模扩大时还要继续升级各种软硬件设施以满足需要。企业在IT系统上的投入逐年增加,而IT系统本身的利用率却并不高。企业用户迫切需要一种按需服务的IT资源来提供自己所需的服务,以节省成本,提高企业效益。Under the traditional model, an enterprise needs to purchase not only hardware and other infrastructure, but also software licenses to establish an IT system, which requires specialized personnel to maintain. When the scale of the enterprise expands, various software and hardware facilities must be continuously upgraded to meet need. Enterprises' investment in IT systems is increasing year by year, but the utilization rate of IT systems themselves is not high. Enterprise users urgently need an on-demand IT resource to provide the services they need, so as to save costs and improve enterprise efficiency.
网络基础设施尤其宽带的逐渐普及,使得宽带逐渐变得和水、电、煤气一样,成为标准的基础设施。这就为云计算的兴起提供了基础。云计算观点认为硬件和软件都是资源并被封装为服务,用户可以通过互联网按需地访问和使用The gradual popularization of network infrastructure, especially broadband, has gradually made broadband a standard infrastructure like water, electricity, and gas. This provides the basis for the rise of cloud computing. The cloud computing point of view believes that both hardware and software are resources and are packaged as services, which can be accessed and used by users on demand through the Internet
对于企业和机构而言,他们不再需要规划属于自己的数据中心,也不需要将精力耗费在与自己主营业务无关的IT管理上。相反,他们可以将这些功能放到云中,由专业公司为他们提供不同程度、不同类型的信息服务。对于个人用户而言,也不再需要一次性投入大量费用购买软件,因为云中的服务已提供了他所需要的功能。For enterprises and institutions, they no longer need to plan their own data centers, nor do they need to spend energy on IT management that has nothing to do with their main business. Instead, they can put these functions in the cloud, and professional companies provide them with different degrees and different types of information services. For individual users, it is no longer necessary to invest a large amount of money to purchase software at one time, because the services in the cloud have provided the functions he needs.
然而,对于云计算系统来说,现有的IT资源管理方式无法满足云计算系统的需求。However, for cloud computing systems, existing IT resource management methods cannot meet the requirements of cloud computing systems.
发明内容Contents of the invention
本发明提供了一种资源配置方法和系统,解决了现有的IT资源管理方式无法满足云计算系统的需求的问题。The invention provides a resource configuration method and system, which solves the problem that the existing IT resource management methods cannot meet the requirements of the cloud computing system.
一种资源配置方法,包括:A resource allocation method, comprising:
接收用户请求,所述用户请求中携带有用户请求占用的资源信息;receiving a user request, the user request carrying resource information occupied by the user request;
根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源。According to the resource information occupied by the user request, appropriate hardware resources are allocated to the user request.
优选的,所述资源信息包括以下信息的任一项或任意多项:Preferably, the resource information includes any one or more of the following information:
处理单元数,通信单元数,存储单元数。Number of processing units, number of communication units, number of storage units.
优选的,上述资源配置方法还包括:Preferably, the resource allocation method above further includes:
将多个处理器的计算能力分别量化为至少一个处理单元,构建包含所述多个处理器的全部处理单元的处理单元池;Quantifying the computing capabilities of multiple processors into at least one processing unit respectively, and constructing a processing unit pool including all processing units of the multiple processors;
将多个通信线路的带宽分别量化为至少一个通信单元,构建包含所述多个通信线路的全部通信单元的通信单元池;Quantifying the bandwidth of multiple communication lines into at least one communication unit respectively, constructing a communication unit pool including all communication units of the multiple communication lines;
将多个存储设备的存储空间分别量化为至少一个存储单元,构建包含所述多个存储设备的全部存储单元的存储单元池。The storage spaces of the multiple storage devices are respectively quantified into at least one storage unit, and a storage unit pool including all the storage units of the multiple storage devices is constructed.
优选的,根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源包括:Preferably, according to resource information requested by the user request, allocating appropriate hardware resources for the user request includes:
根据所述用户请求中携带的处理单元数,为所述用户请求分配当前能够满足所述用户请求的处理器;和/或,According to the number of processing units carried in the user request, allocate a processor that can currently satisfy the user request to the user request; and/or,
根据所述用户请求中携带的通信单元数,为所述用户请求分配当前能够满足所述用户请求的通信线路;和/或,According to the number of communication units carried in the user request, allocate to the user request a communication line that can currently satisfy the user request; and/or,
根据所述用户请求中携带的存储单元数,为所述用户请求分配当前能够满足所述用户请求的存储设备。According to the number of storage units carried in the user request, a storage device that can currently satisfy the user request is allocated to the user request.
优选的,所述为所述用户请求分配当前能够满足所述用户请求的处理器具体为:Preferably, the allocation of the user request to a processor that can currently satisfy the user request is specifically:
在存在多个能够满足所述用户请求的处理器时,选择空闲处理单元最少单一处理器分配给所述用户请求;When there are multiple processors capable of satisfying the user request, select a single processor with the least number of idle processing units to assign to the user request;
在用户请求超过任一单一处理器处理能力时,将多个同一处理单元池内的多个处理器组合分配给所述用户请求。When a user request exceeds the processing capability of any single processor, multiple processors in the same processing unit pool are allocated to the user request.
优选的,所述为所述用户请求分配当前能够满足所述用户请求的通信线路具体为:Preferably, the allocation of a communication line currently capable of satisfying the user request for the user request is specifically:
在存在多条能够满足所述用户请求的通信线路时,选择剩余带宽最小的一条通信线路分配给所述用户请求;When there are multiple communication lines that can satisfy the user request, select a communication line with the smallest remaining bandwidth to allocate to the user request;
在用户请求超过任一单一通信线路的承载能力时,将多个同一通信单元池中的多条通信线路的组合分配给所述用户请求。When a user request exceeds the carrying capacity of any single communication line, a combination of multiple communication lines in the same communication unit pool is assigned to the user request.
优选的,所述为所述用户请求分配当前能够满足所述用户请求的存储设备具体为:Preferably, the allocating a storage device currently capable of satisfying the user request for the user request is specifically:
在存在多个能够满足所述用户请求的存储设备时,选择剩余存储空间最小的单一存储设备分配给所述用户请求;When there are multiple storage devices capable of satisfying the user request, select a single storage device with the smallest remaining storage space to allocate to the user request;
在用户请求超过任一单一存储单元的存储能力时,将多个同一存储单元池中的多个存储设备的组合分配给所述用户请求。When a user request exceeds the storage capacity of any single storage unit, a combination of multiple storage devices in multiple same storage unit pools is assigned to the user request.
本发明还提供了一种资源配置系统,包括:The present invention also provides a resource allocation system, including:
请求接收模块,用于接收用户请求,所述用户请求中携带有用户请求占用的资源信息;A request receiving module, configured to receive a user request, the user request carrying resource information occupied by the user request;
调度模块,用于根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源。A scheduling module, configured to allocate appropriate hardware resources to the user request according to the resource information occupied by the user request.
优选的,该装置还包括资源池管理模块,该模块包括:Preferably, the device also includes a resource pool management module, which includes:
处理单元池管理单元,用于将多个处理器的计算能力分别量化为至少一个处理单元,构建包含所述多个处理器的全部处理单元的处理单元池;A processing unit pool management unit, configured to quantify the computing capabilities of multiple processors into at least one processing unit, and construct a processing unit pool including all the processing units of the multiple processors;
通信单元池管理单元,用于将多个通信线路的带宽分别量化为至少一个通信单元,构建包含所述多个通信线路的全部通信单元的通信单元池;A communication unit pool management unit, configured to quantify the bandwidth of a plurality of communication lines into at least one communication unit respectively, and construct a communication unit pool including all communication units of the plurality of communication lines;
存储单元池管理单元,用于将多个存储设备的存储空间分别量化为至少一个存储单元,构建包含所述多个存储设备的全部存储单元的存储单元池。The storage unit pool management unit is configured to quantify the storage space of multiple storage devices into at least one storage unit, and construct a storage unit pool including all storage units of the multiple storage devices.
优选的,所述调度模块包括:Preferably, the scheduling module includes:
处理单元调度单元,用于根据所述用户请求中携带的处理单元数,为所述用户请求分配当前能够满足所述用户请求的处理器,在存在多个能够满足所述用户请求的处理器时选择空闲处理单元最少单一处理器分配给所述用户请求,在用户请求超过任一单一处理器处理能力时将多个同一处理单元池内的多个处理器组合分配给所述用户请求;A processing unit scheduling unit, configured to assign a processor that can currently satisfy the user request to the user request according to the number of processing units carried in the user request, when there are multiple processors that can satisfy the user request Selecting a single processor with the least idle processing unit to allocate to the user request, and assigning multiple processors in the same processing unit pool to the user request when the user request exceeds the processing capacity of any single processor;
通信单元调度单元,用于根据所述用户请求中携带的通信单元数,为所述用户请求分配当前能够满足所述用户请求的通信线路,在存在多条能够满足所述用户请求的通信线路时选择剩余带宽最小的一条通信线路分配给所述用户请求,在用户请求超过任一单一通信线路的承载能力时将多个同一通信单元池中的多条通信线路的组合分配给所述用户请求;A communication unit dispatching unit, configured to assign a communication line that can currently satisfy the user request to the user request according to the number of communication units carried in the user request, when there are multiple communication lines that can satisfy the user request Selecting a communication line with the smallest remaining bandwidth to allocate to the user request, and assigning a combination of multiple communication lines in the same communication unit pool to the user request when the user request exceeds the carrying capacity of any single communication line;
存储单元调度单元,用于根据所述用户请求中携带的存储单元数,为所述用户请求分配当前能够满足所述用户请求的存储设备,在存在多个能够满足所述用户请求的存储设备时选择剩余存储空间最小的单一存储设备分配给所述用户请求,在用户请求超过任一单一存储单元的存储能力时将多个同一存储单元池中的多个存储设备的组合分配给所述用户请求。A storage unit scheduling unit, configured to assign a storage device that can currently satisfy the user request to the user request according to the number of storage units carried in the user request, when there are multiple storage devices that can satisfy the user request Select a single storage device with the smallest remaining storage space to allocate to the user request, and allocate a combination of multiple storage devices in the same storage unit pool to the user request when the user request exceeds the storage capacity of any single storage unit .
本发明提供了一种资源配置方法和系统,接收用户请求,所述用户请求中携带有用户请求占用的资源信息,根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源,统一管理资源,并根据用户需求灵活配置,实现了高灵活性、高可扩展性和高可靠性的资源管理,解决了现有的IT资源管理方式无法满足云计算系统的需求的问题。The present invention provides a resource configuration method and system, which receives a user request, and the user request carries resource information occupied by the user request, and allocates a suitable resource for the user request according to the resource information requested by the user request. Hardware resources, unified management of resources, and flexible configuration according to user needs, realize resource management with high flexibility, high scalability and high reliability, and solve the problem that the existing IT resource management methods cannot meet the needs of cloud computing systems .
附图说明Description of drawings
图1是本发明的实施例一提供的一种资源配置系统的结构示意图;FIG. 1 is a schematic structural diagram of a resource allocation system provided by Embodiment 1 of the present invention;
图2是本发明的实施例二提供的一种资源配置方法的流程图;FIG. 2 is a flow chart of a resource allocation method provided by Embodiment 2 of the present invention;
图3是本发明的实施例三提供的一种资源配置系统的结构示意图。FIG. 3 is a schematic structural diagram of a resource allocation system provided by Embodiment 3 of the present invention.
具体实施方式Detailed ways
为了解决现有的IT资源管理方式无法满足云计算系统的需求的问题,本发明的实施例提供了一种资源配置方法和系统。本发明的实施例提供的技术方案不同于以计算资源或存储资源为中心的服务体系结构,而是以高速信息通信服务为核心,通过整合计算资源、通讯资源和存储资源及协调资源间的按需配置,按需申请,使体系结构发挥最大的效能。In order to solve the problem that the existing IT resource management methods cannot meet the requirements of the cloud computing system, the embodiments of the present invention provide a resource configuration method and system. The technical solutions provided by the embodiments of the present invention are different from the service architecture centered on computing resources or storage resources, but center on high-speed information communication services. By integrating computing resources, communication resources and storage resources and coordinating resources It needs to be configured and applied on demand, so that the system structure can maximize its performance.
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
首先结合附图,对本发明的实施例一进行说明。First, Embodiment 1 of the present invention will be described with reference to the accompanying drawings.
本发明的实施例一提供了一种资源配置系统,其结构如图1所示,包括:Embodiment 1 of the present invention provides a resource configuration system, its structure is shown in Figure 1, including:
请求接收模块101,用于接收用户请求,所述用户请求中携带有用户请求占用的资源信息;The request receiving
调度模块102,用于根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源。The
优选的,该装置还包括资源池管理模块103,该模块包括:Preferably, the device also includes a resource
处理单元池管理单元1031,用于将多个处理器的计算能力分别量化为至少一个处理单元,构建包含所述多个处理器的全部处理单元的处理单元池;A processing unit
通信单元池管理单元1032,用于将多个通信线路的带宽分别量化为至少一个通信单元,构建包含所述多个通信线路的全部通信单元的通信单元池;The communication unit
存储单元池管理单元1033,用于将多个存储设备的存储空间分别量化为至少一个存储单元,构建包含所述多个存储设备的全部存储单元的存储单元池。The storage unit
优选的,所述调度模块102包括:Preferably, the
处理单元调度单元1021,用于根据所述用户请求中携带的处理单元数,为所述用户请求分配当前能够满足所述用户请求的处理器,在存在多个能够满足所述用户请求的处理器时选择空闲处理单元最少单一处理器分配给所述用户请求,在用户请求超过任一单一处理器处理能力时将多个同一处理单元池内的多个处理器组合分配给所述用户请求;The processing
通信单元调度单元1022,用于根据所述用户请求中携带的通信单元数,为所述用户请求分配当前能够满足所述用户请求的通信线路,在存在多条能够满足所述用户请求的通信线路时选择剩余带宽最小的一条通信线路分配给所述用户请求,在用户请求超过任一单一通信线路的承载能力时将多个同一通信单元池中的多条通信线路的组合分配给所述用户请求;The communication
存储单元调度单元1023,用于根据所述用户请求中携带的存储单元数,为所述用户请求分配当前能够满足所述用户请求的存储设备,在存在多个能够满足所述用户请求的存储设备时选择剩余存储空间最小的单一存储设备分配给所述用户请求,在用户请求超过任一单一存储单元的存储能力时将多个同一存储单元池中的多个存储设备的组合分配给所述用户请求。The storage
下面结合附图,对本发明的实施例二进行说明。Embodiment 2 of the present invention will be described below with reference to the accompanying drawings.
本发明的实施例提供了一种资源配置方法,使用该方法,结合图1所示的资源配置装置,完成资源管理的流程如图2所示,包括:An embodiment of the present invention provides a resource configuration method. Using this method, in combination with the resource configuration device shown in FIG. 1 , the resource management process is shown in FIG. 2 , including:
步骤201、将多个处理器的计算能力分别量化为至少一个处理单元,构建包含所述多个处理器的全部处理单元的处理单元池。Step 201: Quantify computing capabilities of multiple processors into at least one processing unit respectively, and construct a processing unit pool including all processing units of the multiple processors.
步骤202、将多个通信线路的带宽分别量化为至少一个通信单元,构建包含所述多个通信线路的全部通信单元的通信单元池。Step 202: Quantify the bandwidths of multiple communication lines into at least one communication unit respectively, and construct a communication unit pool including all communication units of the multiple communication lines.
步骤203、将多个存储设备的存储空间分别量化为至少一个存储单元,构建包含所述多个存储设备的全部存储单元的存储单元池。Step 203: Quantify the storage space of multiple storage devices into at least one storage unit respectively, and construct a storage unit pool including all storage units of the multiple storage devices.
步骤204、接收用户请求,所述用户请求中携带有用户请求占用的资源信息;
本步骤中,该资源信息包括以下信息的任一项或任意多项:In this step, the resource information includes any one or more of the following information:
处理单元数,通信单元数,存储单元数。Number of processing units, number of communication units, number of storage units.
资源信息表示了用户请求所请求的最少资源数量。The resource information indicates the minimum amount of resources requested by the user request.
步骤205、根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源;Step 205: Allocate appropriate hardware resources for the user request according to the resource information occupied by the user request;
本步骤中,根据用户请求占用的具体资源,为用户配置资源。具体如下:In this step, resources are configured for the user according to the specific resources occupied by the user's request. details as follows:
根据所述用户请求中携带的处理单元数,为所述用户请求分配当前能够满足所述用户请求的处理器。在存在多个能够满足所述用户请求的处理器时,选择空闲处理单元最少单一处理器分配给所述用户请求;在用户请求超过任一单一处理器处理能力时,将多个同一处理单元池内的多个处理器组合分配给所述用户请求。According to the number of processing units carried in the user request, a processor that can currently satisfy the user request is assigned to the user request. When there are multiple processors that can satisfy the user's request, select a single processor with the least idle processing unit to allocate to the user's request; A combination of multiple processors is assigned to the user request.
根据所述用户请求中携带的通信单元数,为所述用户请求分配当前能够满足所述用户请求的通信线路。在存在多条能够满足所述用户请求的通信线路时,选择剩余带宽最小的一条通信线路分配给所述用户请求;在用户请求超过任一单一通信线路的承载能力时,将多个同一通信单元池中的多条通信线路的组合分配给所述用户请求。According to the number of communication units carried in the user request, a communication line that can currently satisfy the user request is assigned to the user request. When there are multiple communication lines that can satisfy the user's request, select a communication line with the smallest remaining bandwidth to allocate to the user's request; when the user's request exceeds the carrying capacity of any single communication line, multiple identical communication units A combination of multiple communication lines in the pool is assigned to the user request.
根据所述用户请求中携带的存储单元数,为所述用户请求分配当前能够满足所述用户请求的存储设备。在存在多个能够满足所述用户请求的存储设备时,选择剩余存储空间最小的单一存储设备分配给所述用户请求;在用户请求超过任一单一存储单元的存储能力时,将多个同一存储单元池中的多个存储设备的组合分配给所述用户请求。According to the number of storage units carried in the user request, a storage device that can currently satisfy the user request is allocated to the user request. When there are multiple storage devices that can meet the user's request, select a single storage device with the smallest remaining storage space to allocate to the user's request; when the user's request exceeds the storage capacity of any single storage unit, multiple same storage A combination of multiple storage devices in the unit pool is allocated to the user request.
下面结合附图,对本发明的实施例三进行说明。Embodiment 3 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种资源配置系统,区别于传统的以计算资源或存储资源为中心的云服务体系结构,本发明的结构是以信息通信服务为核心,通过整合计算资源、通讯资源和存储资源及协调资源间的按需配置,使体系结构发挥最大的效能,该系统结构如图3所示,包括:The embodiment of the present invention provides a resource allocation system, which is different from the traditional cloud service architecture centered on computing resources or storage resources. The structure of the present invention is centered on information communication services. By integrating computing resources, communication resources and The on-demand allocation of storage resources and coordination resources maximizes the performance of the system structure. The system structure is shown in Figure 3, including:
信息通信服务单元池301,内含处理单元通信模块池302和存储单元通信模块池303。其中,处理单元池304连接于处理单元通信模块池302,存储单元池305连接于存储单元通信模块池303,其中:The information communication
信息通信服务单元池301是系统的核心,负责协调各资源间的通信以及协议的转化;其内部包含处理单元通信模块池302和存储单元通信模块池303。The information communication
处理单元通信模块池302主要负责处理单元之间数据通信数据包的传输,其内部实现带宽分级,以满足不同客户对不同带宽的需求。The processing unit
存储单元通信模块池303的作用为在处理单元与存储单元进行数据通信时,负责数据包的转换任务,把存储服务提供的数据包格式转换成处理单元可识别的包格式,同样其内部实现存储带宽分级,以满足不同客户对不同存储带宽(传输待存储数据时的传输带宽)的需求。The role of the storage unit
处理单元池304的作用为为客户提供处理功能,用户可以查询并申请池中现有的处理单元,也可以提交需求并按需创建(根据用户需求创建,即根据用户请求,会分配略超过用户请求处理能力的处理单元或处理单元集合)处理单元。The role of the
存储单元池305的作用为客户提供存储空间,用户可提交需求并按需分配存储空间。The role of the
在这一体系结构中所提到的资源模块主要包括处理单元池、信息通信服务单元池和存储单元池。从底层物理设备上来讲,处理单元可以采用通用的计算资源设备,如PC、服务器、小型机、虚拟机等;通讯单元可以采用通用的网络交换设备,如以太网交换机、路由器、集线器、Infiniband、万兆、光纤等网络设备;存储单元也可以采用通用的存储设备,如光纤磁盘阵列、SCSI磁盘阵列、磁带库、磁带机等低端物理存储设备或集群存储等高端存储。The resource modules mentioned in this architecture mainly include processing unit pool, information communication service unit pool and storage unit pool. From the perspective of underlying physical equipment, the processing unit can use general-purpose computing resource devices, such as PCs, servers, minicomputers, virtual machines, etc.; the communication unit can use general-purpose network switching devices, such as Ethernet switches, routers, hubs, Infiniband, Gigabit, optical fiber and other network equipment; the storage unit can also use general storage equipment, such as low-end physical storage equipment such as fiber optic disk array, SCSI disk array, tape library, tape drive, or high-end storage such as cluster storage.
此外,信息通信服务单元池301作为此体系结构的核心,起到协调各资源间的通信及数据交换作用,可以根据不同的用户需要,底层物理硬件按高中低端配置分类,如高速网络设备如Infiniband、万兆、光纤,也可以有以太网,构成可以提供不同带宽的通信服务池。In addition, the information communication
信息通信服务单元池301是体系结构的核心,负责协调各资源间的通信以及协议的转化;其内部包含处理单元通信模块池302和存储单元通信模块池303。处理单元通信模块池302主要负责处理单元之间数据通信数据包的传输,其内部实现带宽分级,以满足不同客户对不同带宽的需求。存储单元通信模块池303的作用为在处理单元与存储单元进行数据通信时,负责数据包的转换任务,把存储服务提供的数据包格式转换成处理单元可识别的包格式,同样其内部实现存储带宽分级,以满足不同客户对不同存储带宽的需求。处理单元池的作用为为客户提供处理功能,用户可以查询并申请池中现有的处理单元,也可以提交需求并按需创建处理单元。存储单元池的作用为客户提供存储空间,用户可提交需求并按需分配存储空间。The information communication
与传统的以计算资源为核心的网络服务器体系结构相比,本发明实施例提供的资源配置系统结构具有高可用性、高可扩展,以及基于模块化部件灵活配置等特性。Compared with the traditional network server architecture centered on computing resources, the resource configuration system structure provided by the embodiment of the present invention has the characteristics of high availability, high scalability, and flexible configuration based on modular components.
其中,高可用性的实现方式描述如下:用户看到的处理单元、通讯单元、存储单元是虚拟化的,其底层物理硬件配置在各自的资源组中是相互冗余配置的,在某个资源单元发生故障时(如处理单元),相应的冗余配置部件会接管此故障部件继续工作,从而提高系统的整体可用性。Among them, the implementation of high availability is described as follows: the processing unit, communication unit, and storage unit seen by the user are virtualized, and the underlying physical hardware configurations are mutually redundant in their respective resource groups. When a failure occurs (such as a processing unit), the corresponding redundant configuration component will take over the failed component and continue to work, thereby improving the overall availability of the system.
高可扩展的实现方式描述如下:处理单元、通讯单元、存储单元根据用户申请动态扩展,即如果客户需求的配置较低端(性能低端,比如对网络带宽要求不高,则可配置以太网络单元给用户),可以使用处理单元、通讯单元、存储单元的低端配置的物理硬件虚拟出的资源满足客户请求,当用户提高需求时,可以用高端物理硬件虚拟出的处理单元、通信单元和存储单元满足客户需求,各种高低配置的硬件池可以动态扩展。The implementation of high scalability is described as follows: the processing unit, communication unit, and storage unit are dynamically expanded according to user applications. unit to users), the resources virtualized by the low-end physical hardware of the processing unit, communication unit, and storage unit can be used to meet customer requests. When the user’s demand increases, the processing unit, communication unit and Storage units meet customer needs, and hardware pools with various high and low configurations can be dynamically expanded.
本发明的实施例提供了一种资源配置方法和系统,接收用户请求,所述用户请求中携带有用户请求占用的资源信息,根据所述用户请求所请求占用的资源信息,为所述用户请求分配合适的硬件资源,统一管理资源,并根据用户需求灵活配置,实现了高灵活性、高可扩展性和高可靠性的资源管理,解决了现有的IT资源管理方式无法满足云计算系统的需求的问题。The embodiment of the present invention provides a resource configuration method and system, which receives a user request, and the user request carries the resource information occupied by the user request, and according to the resource information requested by the user request, provides the resource information for the user request Allocate appropriate hardware resources, manage resources in a unified manner, and flexibly configure them according to user needs, realizing resource management with high flexibility, high scalability and high reliability, and solving the problem that the existing IT resource management methods cannot meet the needs of cloud computing systems The question of demand.
基于模块化服务灵活扩展的特性,主要是指新型体系结构中的处理单元池、通讯单元池、存储单元池作为系统内的模块化服务,可以进行灵活的配置,用户可以根据自己实际的业务需要,提交对处理单元之间通信带宽的申请,然后再申请满足所需处理能力的处理单元或处理单元集群,处理单元池和处理单元通信模块池会根据申请选择合适的处理单元或处理单元集群以及处理单元通信模块池来满足客户需求,再从存储单元通信模块池中选择合适的存储带宽,用选择的存储单元通信模块实现处理单元或处理单元集群与所申请的存储单元之间的信息通讯,用户可以按照自己所需来购买合适的处理单元、通信单元和存储单元资源(用户需要确定4项内容:处理单元、处理单元间通信带宽、存储单元、处理单元与存储单元间通信带宽),同时后端的处理单元池、通信单元池和存储单元池将物理资源根据性能分级并虚拟成不同性能的资源池(性能划分的标准在于硬件本身性能,比如存储单元可以使用阵列、磁带机,阵列的性能要高于磁带机,因此类似性能的阵列可以构成阵列池,接收到请求时,可以根据客户请求的存储带宽来决定是分配到阵列池,还是磁带机池),底层硬件实现互联互通及冗余配置,使其体系结构所带来的资源均衡配置、灵活扩展等诸多特性,使其更适用于复杂的商业应用领域,因而具有非常广阔的发展前景。Based on the characteristics of flexible expansion of modular services, it mainly refers to the processing unit pool, communication unit pool, and storage unit pool in the new architecture as modular services in the system, which can be flexibly configured, and users can according to their actual business needs. , submit an application for the communication bandwidth between processing units, and then apply for a processing unit or processing unit cluster that meets the required processing capabilities. The processing unit pool and the processing unit communication module pool will select the appropriate processing unit or processing unit cluster according to the application and Processing unit communication module pool to meet customer needs, then select the appropriate storage bandwidth from the storage unit communication module pool, use the selected storage unit communication module to realize the information communication between the processing unit or processing unit cluster and the applied storage unit, Users can purchase appropriate processing unit, communication unit and storage unit resources according to their needs (users need to determine 4 items: processing unit, communication bandwidth between processing units, storage unit, communication bandwidth between processing unit and storage unit), and at the same time The back-end processing unit pool, communication unit pool and storage unit pool classify physical resources according to performance and virtualize them into resource pools with different performances (the standard for performance division lies in the performance of the hardware itself, for example, storage units can use arrays, tape drives, and the performance of arrays It is higher than tape drives, so arrays with similar performance can form an array pool. When receiving a request, you can decide whether to allocate it to the array pool or the tape drive pool according to the storage bandwidth requested by the customer), and the underlying hardware realizes interconnection and redundancy Configuration, the balanced allocation of resources, flexible expansion and many other features brought by its architecture make it more suitable for complex business applications, so it has very broad development prospects.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps in the above embodiments can be implemented using a computer program flow, the computer program can be stored in a computer-readable storage medium, and the computer program can be run on a corresponding hardware platform (such as system, device, device, device, etc.), and when executed, includes one or a combination of the steps of the method embodiment.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Optionally, all or part of the steps in the above embodiments can also be implemented using integrated circuits, and these steps can be fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module accomplish. As such, the present invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/functional modules/functional units in the above embodiments can be realized by general-purpose computing devices, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/functional module/functional unit in the above-mentioned embodiments is realized in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。Anyone skilled in the art within the technical scope disclosed in the present invention can easily think of changes or substitutions, which should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope described in the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310042544XACN103167021A (en) | 2013-02-01 | 2013-02-01 | Resource allocation method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310042544XACN103167021A (en) | 2013-02-01 | 2013-02-01 | Resource allocation method and device |
| Publication Number | Publication Date |
|---|---|
| CN103167021Atrue CN103167021A (en) | 2013-06-19 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310042544XAPendingCN103167021A (en) | 2013-02-01 | 2013-02-01 | Resource allocation method and device |
| Country | Link |
|---|---|
| CN (1) | CN103167021A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103458052A (en)* | 2013-09-16 | 2013-12-18 | 北京搜狐新媒体信息技术有限公司 | Resource scheduling method and device based on IaaS cloud platform |
| WO2015027935A1 (en)* | 2013-08-28 | 2015-03-05 | Tencent Technology (Shenzhen) Company Limited | Method and device for allocating computational resources |
| CN104954400A (en)* | 2014-03-27 | 2015-09-30 | 中国电信股份有限公司 | Cloud computing system and realizing method thereof |
| CN105183561A (en)* | 2015-09-02 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Resource distribution method and resource distribution system |
| CN106506395A (en)* | 2016-11-28 | 2017-03-15 | 迈普通信技术股份有限公司 | A kind of business stream scheduling method and device |
| CN106775499A (en)* | 2017-02-07 | 2017-05-31 | 无锡华云数据技术服务有限公司 | It is a kind of that public memory space is carried out to rationalize exposed method, exposure control system and a kind of cloud storage system |
| CN107943423A (en)* | 2017-12-07 | 2018-04-20 | 郑州云海信息技术有限公司 | The management method and computer-readable recording medium of storage resource in cloud system |
| CN108268421A (en)* | 2016-12-31 | 2018-07-10 | 英特尔公司 | For providing the mechanism of reconfigurable data Layer in rack scale environment |
| CN110583074A (en)* | 2017-05-04 | 2019-12-17 | 诺基亚技术有限公司 | URLLC support using two radio resource pools |
| WO2020062086A1 (en)* | 2018-09-28 | 2020-04-02 | 华为技术有限公司 | Method and device for selecting processor |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101742566A (en)* | 2009-12-08 | 2010-06-16 | 中国科学院声学研究所 | A Bandwidth Allocation Method Based on Channel Group |
| CN102739770A (en)* | 2012-04-18 | 2012-10-17 | 上海和辰信息技术有限公司 | Method and system for scheduling resource based on cloud computing |
| CN102739803A (en)* | 2012-07-09 | 2012-10-17 | 上海达希能源科技有限公司 | Cloud computing resource allocation method |
| CN102958166A (en)* | 2011-08-29 | 2013-03-06 | 华为技术有限公司 | Resource allocation method and resource management platform |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101742566A (en)* | 2009-12-08 | 2010-06-16 | 中国科学院声学研究所 | A Bandwidth Allocation Method Based on Channel Group |
| CN102958166A (en)* | 2011-08-29 | 2013-03-06 | 华为技术有限公司 | Resource allocation method and resource management platform |
| CN102739770A (en)* | 2012-04-18 | 2012-10-17 | 上海和辰信息技术有限公司 | Method and system for scheduling resource based on cloud computing |
| CN102739803A (en)* | 2012-07-09 | 2012-10-17 | 上海达希能源科技有限公司 | Cloud computing resource allocation method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015027935A1 (en)* | 2013-08-28 | 2015-03-05 | Tencent Technology (Shenzhen) Company Limited | Method and device for allocating computational resources |
| CN103458052A (en)* | 2013-09-16 | 2013-12-18 | 北京搜狐新媒体信息技术有限公司 | Resource scheduling method and device based on IaaS cloud platform |
| CN103458052B (en)* | 2013-09-16 | 2017-05-24 | 北京搜狐新媒体信息技术有限公司 | Resource scheduling method and device based on IaaS cloud platform |
| CN104954400A (en)* | 2014-03-27 | 2015-09-30 | 中国电信股份有限公司 | Cloud computing system and realizing method thereof |
| CN105183561A (en)* | 2015-09-02 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Resource distribution method and resource distribution system |
| CN105183561B (en)* | 2015-09-02 | 2018-09-14 | 浪潮(北京)电子信息产业有限公司 | A kind of resource allocation methods and system |
| CN106506395A (en)* | 2016-11-28 | 2017-03-15 | 迈普通信技术股份有限公司 | A kind of business stream scheduling method and device |
| CN108268421A (en)* | 2016-12-31 | 2018-07-10 | 英特尔公司 | For providing the mechanism of reconfigurable data Layer in rack scale environment |
| CN108268421B (en)* | 2016-12-31 | 2024-03-29 | 英特尔公司 | Mechanism for providing a reconfigurable data layer in a rack scale environment |
| CN106775499A (en)* | 2017-02-07 | 2017-05-31 | 无锡华云数据技术服务有限公司 | It is a kind of that public memory space is carried out to rationalize exposed method, exposure control system and a kind of cloud storage system |
| CN106775499B (en)* | 2017-02-07 | 2019-02-05 | 无锡华云数据技术服务有限公司 | A kind of pair of public memory space carries out rationalizing the method for exposure, exposure control system and a kind of cloud storage system |
| CN110583074A (en)* | 2017-05-04 | 2019-12-17 | 诺基亚技术有限公司 | URLLC support using two radio resource pools |
| CN110583074B (en)* | 2017-05-04 | 2023-06-13 | 诺基亚技术有限公司 | URLLC support using two radio resource pools |
| US11985699B2 (en) | 2017-05-04 | 2024-05-14 | Nokia Technologies Oy | Ultra-reliable low-latency communications support using grant free transmissions |
| CN107943423A (en)* | 2017-12-07 | 2018-04-20 | 郑州云海信息技术有限公司 | The management method and computer-readable recording medium of storage resource in cloud system |
| WO2020062086A1 (en)* | 2018-09-28 | 2020-04-02 | 华为技术有限公司 | Method and device for selecting processor |
| CN112292667A (en)* | 2018-09-28 | 2021-01-29 | 华为技术有限公司 | Method and apparatus for selecting a processor |
| CN112292667B (en)* | 2018-09-28 | 2022-04-29 | 华为技术有限公司 | Method and apparatus for selecting a processor |
| Publication | Publication Date | Title |
|---|---|---|
| CN103167021A (en) | Resource allocation method and device | |
| US11689436B2 (en) | Techniques to configure physical compute resources for workloads via circuit switching | |
| CN105978704B (en) | System and method for creating new cloud resource instruction set architecture | |
| CN107659433B (en) | Cloud resource scheduling method and equipment | |
| JP4986844B2 (en) | System and method for detecting and managing HPC node failures | |
| US9323580B2 (en) | Optimized resource management for map/reduce computing | |
| US10671557B2 (en) | Dynamic component communication using general purpose links between respectively pooled together of like typed devices in disaggregated datacenters | |
| US20200097426A1 (en) | Efficient component communication through resource rewiring in disaggregated datacenters | |
| US10637733B2 (en) | Dynamic grouping and repurposing of general purpose links in disaggregated datacenters | |
| KR20070011503A (en) | High Performance Computing Systems and Methods | |
| CN104135514B (en) | Fusion type virtual storage system | |
| CN110071965A (en) | A kind of data center management system based on cloud platform | |
| CN102521052A (en) | Resource allocation method of virtualized data center and virtual machine monitor | |
| Tsai et al. | Two-tier multi-tenancy scaling and load balancing | |
| US20060156055A1 (en) | Storage network that includes an arbiter for managing access to storage resources | |
| Yi et al. | Cloud computing architecture design of database resource pool based on cloud computing | |
| US10802988B2 (en) | Dynamic memory-based communication in disaggregated datacenters | |
| Hbaieb et al. | A survey and taxonomy on virtual data center embedding: A. Hbaieb et al. | |
| US11012423B2 (en) | Maximizing resource utilization through efficient component communication in disaggregated datacenters | |
| CN116133057A (en) | 5G cloud base station construction method and system based on StarlingX | |
| CN109558214A (en) | Host method for managing resource, device and storage medium under isomerous environment | |
| CN114860442A (en) | Scheduling device and method for heterogeneous CPU cluster distributed real-time processing system | |
| US10915493B2 (en) | Component building blocks and optimized compositions thereof in disaggregated datacenters | |
| US11650849B2 (en) | Efficient component communication through accelerator switching in disaggregated datacenters | |
| US10831698B2 (en) | Maximizing high link bandwidth utilization through efficient component communication in disaggregated datacenters |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20130619 |