WO2012167591A1 - Processing method and system for distributed operating command - Google Patents

Processing method and system for distributed operating command Download PDF

Info

Publication number
WO2012167591A1
WO2012167591A1 PCT/CN2011/084914 CN2011084914W WO2012167591A1 WO 2012167591 A1 WO2012167591 A1 WO 2012167591A1 CN 2011084914 W CN2011084914 W CN 2011084914W WO 2012167591 A1 WO2012167591 A1 WO 2012167591A1
Authority
WO
WIPO (PCT)
Prior art keywords
main control
control board
operation command
distributed
board
Prior art date
Application number
PCT/CN2011/084914
Other languages
French (fr)
Chinese (zh)
Inventor
谢成
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012167591A1 publication Critical patent/WO2012167591A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load

Definitions

  • An embodiment of the present invention further provides another method for processing a distributed operation command, where the method includes the following steps:
  • the embodiment of the present invention further provides another processing system for distributed operation commands, where the system includes: a main control board and at least one function board;
  • the standby main control board in order to enable the device to continue to work, there are generally an active main control board and an alternate main control board.
  • the standby main control board is connected to the management layer to implement the function of the main control board.
  • the standby main control board of the embodiment of the present invention may also allocate distributed sub-operation commands to each function board according to the first task specific gravity coefficient.
  • Step 503 After all the member boards obtain the distributed distributed sub-operation commands, the distributed distributed sub-operation commands are processed, and the corresponding processing results are reported to the main control board.
  • embodiments of the present invention can be provided as a method, system, or computer program product.
  • the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)
  • Hardware Redundancy (AREA)

Abstract

The embodiments of the present invention relate to the technical field of communications, and in particular to a processing method and system for a distributed operating command, used for solving the problem of reducing the workload of a main control panel in a communication device under the premise of not increasing the performance difference between the main control panel and various function boards. The processing method for a distributed operating command in the embodiments of the present invention includes: after receiving a distributed operating command that can be allocated to a function board sent from a management layer, a main control panel decomposing the same into a plurality of distributed sub-operating commands; and the main control panel allocating a distributed sub-operating command to the function board according to a first task proportion coefficient representing the workload level of the function board, and indicating the function board to process the allocated distributed sub-operating command. The embodiments of the present invention reduce the workload of a main control panel in a communication device under the premise of not increasing the performance difference between the main control panel and various function boards.

Description

一种分布式操作命令的处理方法及系统 技术领域  Method and system for processing distributed operation commands
本发明涉及通信技术领域, 特别涉及一种分布式操作命令的处理方法 及系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method and system for processing distributed operation commands. Background technique
随着网络技术的高速发展, 用户和运营商对网络需求越来越高, 相应 的, 对通信设备的承载能力要求也在逐步地提高。  With the rapid development of network technologies, users and operators are increasingly demanding networks. Accordingly, the requirements for the carrying capacity of communication devices are gradually increasing.
目前大型通信设备中管理层发送的操作命令均是通过通信设备中的主 控板进行处理的。 为了能使通信设备满足各种不同的业务需求, 功能板的 数量不断增加, 使得管理及控制的规模也不断扩大。 在这种情况下, 为了 提升通信设备的承载能力, 一般是单方面从硬件上提高主控板的性能, 如 提高主控板的硬件配置。  At present, the operation commands sent by the management layer in the large-scale communication device are processed through the main control board in the communication device. In order to enable communication devices to meet a variety of different business needs, the number of function boards is increasing, and the scale of management and control is also expanding. In this case, in order to improve the carrying capacity of the communication device, the performance of the main control board is generally improved from the hardware, such as improving the hardware configuration of the main control board.
由于现有的通信设备中利用主控板接收处理来自管理层的操作命令, 再将处理结果反馈至管理层, 使得通信设备中主控板的工作负荷较大。 由 于主控板自身功能的复杂多样性, 仅单方面从硬件上提高管理和控制的功 效, 不仅会增加硬件成本, 也会加剧使主控板与各功能板在性能上的差异。 比如主控板的硬件配置高, 而其他功能板的配置低, 使得在 CPU的处理速 度和传输速率匹配上均会出现较大的差异。  Since the main communication board receives and processes the operation command from the management layer in the existing communication device, and returns the processing result to the management layer, the workload of the main control board in the communication device is large. Due to the complex and diverse functions of the main control board, the management and control functions are only unilaterally upgraded from the hardware, which not only increases the hardware cost, but also exacerbates the performance difference between the main control board and each function board. For example, the hardware configuration of the main control board is high, and the configuration of other function boards is low, so that there is a big difference in the processing speed of the CPU and the matching of the transmission rate.
综上所述, 目前还没有一种在不增加主控板与各功能板性能差异的前 提下, 降低通信设备中主控板的工作负荷的方案。 发明内容  In summary, there is currently no solution for reducing the workload of the main control board in the communication device without increasing the performance difference between the main control board and each functional board. Summary of the invention
本发明实施例提供了一种分布式操作命令的处理方法及系统, 用于解 决在不增加主控板与各功能板性能差异的前提下, 降低通信设备中主控板 的工作负荷的问题。 Embodiments of the present invention provide a method and system for processing distributed operation commands, which are used to solve The problem of reducing the workload of the main control board in the communication device is not reduced without increasing the performance difference between the main control board and each functional board.
本发明实施例提供了一种分布式操作命令的处理方法, 该方法包括以 下步驟:  An embodiment of the present invention provides a method for processing a distributed operation command, where the method includes the following steps:
主控板在收到管理层发送的能够分配给功能板的分布式操作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令;  After receiving the distributed operation command that can be allocated to the function board sent by the management layer, the main control board decomposes the distributed operation command into at least one distributed sub-operation command;
所述主控板根据用于表示所述功能板工作负荷程度的第一任务比重系 数, 为所述功能板分配所述分布式子操作命令, 并指示所述功能板处理分 配的所述分布式子操作命令。  The main control board allocates the distributed sub-operation command to the function board according to a first task specific gravity coefficient for indicating a degree of work load of the function board, and instructs the function board to process the distributed distributed Sub-operation command.
相应地, 本发明实施例提供了一种分布式操作命令的处理系统, 该系 统包括:  Correspondingly, an embodiment of the present invention provides a processing system for distributed operation commands, where the system includes:
主控板及至少一个功能板; 其中,  a main control board and at least one function board; wherein
所述主控板, 用于在收到管理层发送的能够分配给所述功能板的分布 式操作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令; 并根据用于表示所述功能板工作负荷程度的第一任务比重系数, 为所述功 能板分配所述分布式子操作命令, 并指示所述功能板处理分配的所述分布 式子操作命令;  The main control board is configured to, after receiving a distributed operation command that is sent by the management layer and can be allocated to the function board, decompose the distributed operation command into at least one distributed sub-operation command; a first task specific gravity coefficient indicating a degree of workload of the function board, assigning the distributed sub-operation command to the function board, and instructing the function board to process the distributed distributed sub-operation command;
所述功能板, 用于接收并处理主控板分配的分布式子操作命令; 及将 所述分布式子操作命令的处理结果返回给所述主控板。  The function board is configured to receive and process a distributed sub-operation command allocated by the main control board; and return the processing result of the distributed sub-operation command to the main control board.
本发明实施例还提供另一种分布式操作命令的处理方法, 该方法包括 以下步驟:  An embodiment of the present invention further provides another method for processing a distributed operation command, where the method includes the following steps:
主控板在收到管理层发送的能够分配给功能板的分布式操作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令;  After receiving the distributed operation command that can be allocated to the function board sent by the management layer, the main control board decomposes the distributed operation command into at least one distributed sub-operation command;
所述主控板根据用于表示所述功能板工作负荷程度的第一任务比重系 数和用于表示主控板工作负荷程度的第二任务比重系数, 分别为所述功能 板和所述主控板分配所述分布式子操作命令, 并指示所述功能板处理分配 的所述分布式子操作命令。 The main control board respectively according to a first task specific gravity coefficient for indicating the degree of work load of the function board and a second task specific gravity coefficient for indicating the degree of work load of the main control board, respectively The board and the main control board allocate the distributed sub-operation command and instruct the function board to process the distributed distributed sub-operation command.
相应地, 本发明实施例还提供了另一种分布式操作命令的处理系统, 该系统包括: 主控板及至少一个功能板; 其中,  Correspondingly, the embodiment of the present invention further provides another processing system for distributed operation commands, where the system includes: a main control board and at least one function board;
所述主控板, 用于在收到管理层发送的能够分配给功能板的分布式操 作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令, 根 据用于表示所述功能板工作负荷程度的第一任务比重系数和用于表示主控 板工作负荷程度的第二任务比重系数, 分别为所述功能板和所述主控板分 配所述分布式子操作命令;  The main control board is configured to, after receiving a distributed operation command that is sent by the management layer and can be allocated to the function board, decompose the distributed operation command into at least one distributed sub-operation command, according to the a first task specific gravity coefficient of the functional load level of the function board and a second task specific gravity coefficient for indicating the working load level of the main control board, respectively, the distributed function operation command is allocated to the function board and the main control board;
所述功能板, 用于接收并处理主控板分配的分布式子操作命令; 及将 所述分布式子操作命令的处理结果返回给所述主控板。  The function board is configured to receive and process a distributed sub-operation command allocated by the main control board; and return the processing result of the distributed sub-operation command to the main control board.
本发明实施例由于主控板将收到的管理层发送的分布式操作命令, 根 据各功能板的任务比重系数分配给各功能板进行处理, 从而在不增加主控 板与各功能板性能差异的前提下 , 降低通信设备中主控板的工作负荷。 附图说明  In the embodiment of the present invention, the distributed control command sent by the management layer by the main control board is allocated to each function board according to the task specific gravity coefficient of each function board, so that the performance difference between the main control board and each function board is not increased. Under the premise, reduce the workload of the main control board in the communication device. DRAWINGS
图 1 为本发明实施例中主控板通过第一任务比重系数对分布式操作命 令的处理方法的流程图;  1 is a flowchart of a method for processing a distributed operation command by a main control board by a first task specific gravity coefficient according to an embodiment of the present invention;
图 2 为本发明实施例中功能板对接收到的分布式操作命令的处理方法 的流程图;  2 is a flowchart of a method for processing a distributed operation command received by a function board according to an embodiment of the present invention;
图 3 为本发明实施例中通过第一任务比重系数对分布式操作命令的处 理系统的结构示意图;  FIG. 3 is a schematic structural diagram of a processing system for a distributed operation command by a first task specific gravity coefficient according to an embodiment of the present invention; FIG.
图 4为本发明实施例中主控板通过第一任务比重系数和第二任务比重 系数对分布式操作命令的处理方法流程图;  4 is a flowchart of a method for processing a distributed operation command by a main control board by using a first task specific gravity coefficient and a second task specific gravity coefficient according to an embodiment of the present invention;
图 5为本发明实施例中分布式操作命令的处理方法流程图;  FIG. 5 is a flowchart of a method for processing a distributed operation command according to an embodiment of the present invention;
图 6为本发明实施例中通过第一任务比重系数和第二任务比重系数对 分布式操作命令的处理系统的结构示意图; FIG. 6 is a schematic diagram of a first task specific gravity coefficient and a second task specific gravity coefficient according to an embodiment of the present invention; Schematic diagram of a processing system for distributed operation commands;
图 7A 为本发明实施例中主控板为主用主控板时的分布式操作命令的 处理系统的结构示意图;  7A is a schematic structural diagram of a processing system for distributed operation commands when a main control board is a main control board according to an embodiment of the present invention;
图 7B 为本发明实施例中主控板为备用主控板时的分布式操作命令的 处理系统的结构示意图。 具体实施方式 本发明实施例的主控板将收到的管理层发送的分布式操作命令根据各 功能板的任务比重系数分配给各功能板进行处理, 从而在不增加主控板与 各功能板性能差异的前提下, 降低通信设备中主控板的工作负荷。  FIG. 7B is a schematic structural diagram of a processing system for distributed operation commands when the main control board is the standby main control board according to the embodiment of the present invention. The main control board of the embodiment of the present invention allocates the distributed operation command sent by the management layer to each function board according to the task specific gravity coefficient of each function board, so that the main control board and each function board are not added. Under the premise of performance difference, reduce the workload of the main control board in the communication device.
下面结合说明书附图对本发明实施例作进一步详细描述。  The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
如图 1 所示, 为本发明实施例中主控板通过第一任务比重系数对分布 式操作命令的处理方法的流程图, 该方法包括以下步驟:  As shown in FIG. 1 , it is a flowchart of a method for processing a distributed operation command by a main control board by a first task specific gravity coefficient according to an embodiment of the present invention, where the method includes the following steps:
步驟 101、主控板在收到管理层发送的能够分配给功能板的分布式操作 命令后, 将该分布式操作命令分解为多个分布式子操作命令;  Step 101: After receiving the distributed operation command that the management board sends to the function board, the main control board decomposes the distributed operation command into multiple distributed sub-operation commands.
步驟 102、主控板根据用于表示功能板工作负荷程度的第一任务比重系 数, 为功能板分配分布式子操作命令, 并指示功能板处理分配的分布式子 操作命令。  Step 102: The main control board allocates a distributed sub-operation command to the function board according to the first task weighting factor for indicating the degree of the workload of the function board, and instructs the function board to process the distributed distributed sub-operation command.
其中, 在通信设备中主控板主要负责通信设备的管理和控制。 在实施 中,主控板可以通过若干个至少 100M的交换口与各功能板连接;功能板主 要用以完成不同业务, 并承载不同功能, 各功能板被主控板管理及控制。  Among them, the main control board in the communication device is mainly responsible for the management and control of the communication device. In the implementation, the main control board can be connected to each function board through a plurality of at least 100M switch ports; the function board is mainly used to complete different services and carry different functions, and each function board is managed and controlled by the main control board.
需要说明的是, 本发明实施例中的分布式操作命令主要是指执行耗时 长的、 可分配给功能板进行处理的操作命令, 尤其是指大量循环迭代的业 务配置等操作命令, 但不以此为限, 具体的分布式操作命令需要根据通信 设备的需求进行选择。  It should be noted that the distributed operation command in the embodiment of the present invention mainly refers to an operation command that is time-consuming and can be allocated to the function board for processing, and particularly refers to an operation command such as a service configuration of a large number of loop iterations, but not To this end, specific distributed operation commands need to be selected according to the needs of the communication device.
较佳地, 表示功能板工作负荷程度的第一任务比重系数可以是功能板 的 CPU空闲率和 CPU主频能力两个参数的乘积。 Preferably, the first task specific gravity coefficient indicating the degree of functional load of the function board may be a function board The product of the CPU idle rate and the CPU main frequency capability.
需要说明的是, 计算第一任务比重系数的参数并不限于功能板的 CPU 空闲率和 CPU主频能力, 其他能够表示功能板工作负荷程度的运算方式也 适用于本发明实施例。  It should be noted that the parameter for calculating the first task specific gravity coefficient is not limited to the CPU idle rate and the CPU main frequency capability of the function board, and other calculation manners capable of indicating the degree of the function board workload are also applicable to the embodiment of the present invention.
具体的, 主控板在接收到来自管理层发送的操作命令后, 先判断该操 作命令是否为能够分配给功能板的分布式操作命令;  Specifically, after receiving the operation command sent by the management layer, the main control board determines whether the operation command is a distributed operation command that can be allocated to the function board;
在接收到的操作命令是能够分配给功能板的分布式操作命令时, 对该 分布式操作命令进行分解, 得到为多个分布式子操作命令, 并将该多个分 布式子操作命令分配给各功能板进行处理;  When the received operation command is a distributed operation command that can be allocated to the function board, the distributed operation command is decomposed to obtain a plurality of distributed sub-operation commands, and the plurality of distributed sub-operation commands are allocated to Each function board is processed;
较佳地, 在接收到的操作命令不是能够分配给功能板的分布式操作命 令时, 主控板对该操作命令进行处理, 并将处理结果返回管理层。  Preferably, when the received operation command is not a distributed operation command that can be allocated to the function board, the main control board processes the operation command and returns the processing result to the management layer.
较佳地, 主控板在为各功能板分配分布式子操作命令时, 一般是根据 每个功能板的第一任务比重系数的大小, 确定第一任务比重系数的比例关 系; 再根据该第一任务比重系数的比例关系, 分别为每个功能板分配分布 式子操作命令。  Preferably, when the main control board allocates distributed sub-operation commands for each function board, the proportional relationship of the first task specific gravity coefficient is generally determined according to the size of the first task specific gravity coefficient of each function board; A proportional relationship of the task weighting factors, respectively, assigns distributed sub-operation commands to each function board.
下面举例说明如何根据每个功能板的第一任务比重系数的大小, 确定 第一任务比重系数的比例关系。 需说明的是, 该举例仅为说明性的, 而非 限制性的。  The following example shows how to determine the proportional relationship of the first task specific gravity coefficient according to the size of the first task specific gravity coefficient of each function board. It should be noted that the examples are illustrative only and not limiting.
以三个功能板为例, 第一个功能板的 CPU空闲率为 25%, CPU主频为 600MHz, 则第一个功能板的第一任务比重系数为 25% X 600=150;  Taking three function boards as an example, the CPU idle rate of the first function board is 25%, and the CPU frequency is 600MHz, then the first task specific gravity coefficient of the first function board is 25% X 600=150;
第二个功能板的 CPU空闲率为 90%, CPU主频为 600MHz, 则第二个 功能板的第一任务比重系数为 90% X 600=540;  The CPU of the second function board has a CPU idle rate of 90%, and the CPU clock speed is 600MHz. The first function weight coefficient of the second function board is 90% X 600=540;
第三个功能板的 CPU空闲率为 70%, CPU主频为 300MHz, 则第三个 功能板的第一任务比重系数为 70% X 300=210;  The CPU of the third function board has a CPU idle rate of 70%, and the CPU clock speed is 300MHz. The first task specific gravity coefficient of the third function board is 70% X 300=210.
则三个功能板的第一任务比重系数的比例关系为 150:540:210; 主控板接收到的来自管理侧的分布式子操作命令, 比如全量配置时隙Then the ratio of the first task specific gravity coefficient of the three function boards is 150:540:210; Distributed sub-operation commands received from the management side received by the main control board, such as full-configuration time slots
60万条, 则主控板可按照 150:540:210的比例关系,将分布式子操作命令分 为 10万条、 36万条及 14万条, 并按该比例关系为三个功能板分配分布式 子操作命令, 即为第一个功能板分配 10万条分布式子操作命令, 为第二个 功能板分配 36万条分布式子操作命令, 为第三个功能板分配 14万条分布 式子操作命令。 600,000, the main control board can divide the distributed sub-operation commands into 100,000, 360,000 and 140,000 according to the ratio of 150:540:210, and assign the three function boards according to the proportional relationship. The distributed sub-operation command allocates 100,000 distributed sub-operation commands for the first function board, and allocates 360,000 distributed sub-operation commands for the second function board, and allocates 140,000 distributions for the third function board. Formula operation command.
较佳地, 还可设定一阈值, 在主控板接收到各功能板上报的第一任务 比重系数后, 主控板判断每个第一任务比重系数与该阈值的关系, 若第一 任务比重系数大于该阈值, 则说明该功能板工作负荷程度低, 可为该功能 板分配分布式子操作命令; 若第一任务比重系数小于该阈值, 则说明该功 能板工作负荷程度高, 则不能为该功能板分配分布式子操作命令; 主控板 可以采用上面提到的比例关系的方式, 为第一任务比重系数大于该阈值的 各功能板平均分配分布式子操作命令进行处理。  Preferably, a threshold value may also be set. After the main control board receives the first task specific gravity coefficient reported on each function board, the main control board determines the relationship between each first task specific gravity coefficient and the threshold value, if the first task If the specific gravity coefficient is greater than the threshold, the functional load of the function board is low, and the distributed sub-operation command can be assigned to the function board. If the first task specific gravity coefficient is less than the threshold, the functional load of the function board is high, and the function cannot be A distributed sub-operation command is allocated to the function board. The main control board can use the proportional relationship mentioned above to allocate distributed sub-operation commands to each function board whose first task weight coefficient is greater than the threshold.
在实施中, 为了使设备能够持续工作, 一般会有主用主控板和备用主 控板。 备用主控板在主用主控板由于某种原因 (如故障等, 但不以此为限) 停止工作时, 备用主控板与管理层连接, 用以实现主用主控板的功能。 本 实施例中的主控板可以为主用主控板, 也可以为备用主控板; 备用主控板 通过第一任务比重系数对分布式操作命令的处理方法与上述处理方法相 似, 此处不再赘述。  In the implementation, in order to enable the device to continue to work, there are generally an active main control board and an alternate main control board. When the active main control board stops working for some reason (such as a fault, but not limited to this), the standby main control board is connected to the management layer to implement the function of the main control board. The main control board in this embodiment may be the main control board or the standby main control board; the processing method of the distributed operation command by the standby main control board through the first task specific gravity coefficient is similar to the above processing method, where No longer.
本实施例中, 在步驟 102之后, 功能板对接收到主控板分配的分布式 子操作命令进行相应处理, 具体处理方法如图 2所示, 该方法包括以下步 驟:  In this embodiment, after the step 102, the function board performs corresponding processing on the distributed sub-operation command that is received by the main control board. The specific processing method is as shown in FIG. 2, and the method includes the following steps:
步驟 201、 功能板接收并处理主控板分配的分布式子操作命令; 步驟 202、 功能板将分布式子操作命令的处理结果返回给主控板。  Step 201: The function board receives and processes the distributed sub-operation command assigned by the main control board. Step 202: The function board returns the processing result of the distributed sub-operation command to the main control board.
较佳地, 步驟 201中的功能板接收分布式子操作命令之前, 还包括: 功能板根据自身当前的工作负荷程度确定第一任务比重系数, 并向主 控板上报第一任务比重系数。 Preferably, before the function board in step 201 receives the distributed sub-operation command, the method further includes: The function board determines the first task specific gravity coefficient according to its current workload level, and reports the first task specific gravity coefficient to the main control board.
较佳地, 各功能板可定时向主控板上报各功能板对应的第一任务比重 系数。  Preferably, each function board can periodically report the first task specific gravity coefficient corresponding to each function board to the main control board.
较佳地, 在步驟 202 中的功能板将分布式子操作命令的处理结果返回 给主控板之后, 主控板将接收到来自各功能板的分布式子操作命令的处理 结果返回给管理层。  Preferably, after the function board in step 202 returns the processing result of the distributed sub-operation command to the main control board, the main control board returns the processing result of the distributed sub-operation command from each function board to the management layer. .
较佳地, 本发明实施例中主控板还可根据用于表示主控板的工作负荷 程度的第二任务比重系数及各功能板对应的第一任务比重系数, 为主控板 及各功能板分配分布式子操作命令, 从而提高了处理分布式子操作命令的 效率。  Preferably, in the embodiment of the present invention, the main control board can also be based on the second task specific gravity coefficient for indicating the working load degree of the main control board and the first task specific gravity coefficient corresponding to each function board, as the main control board and each function. The board allocates distributed sub-operation commands, thereby increasing the efficiency of processing distributed sub-operation commands.
基于同一发明构思, 本发明实施例中还提供了一种分布式操作命令的 处理系统, 由于系统解决问题的原理与上述分布式操作命令的处理方法相 似, 因此系统的实施可以参见方法的实施, 重复之处不再赘述。  Based on the same inventive concept, a processing system for distributed operation commands is also provided in the embodiment of the present invention. Since the principle of solving the problem is similar to the processing method of the distributed operation command, the implementation of the system may refer to the implementation of the method. The repetitions are not repeated here.
如图 3 所示, 为本发明实施例中通过第一任务比重系数对分布式操作 命令的处理系统的结构示意图, 该系统包括: 主控板 30及至少一个功能板 31 ; 其中,  As shown in FIG. 3, it is a schematic structural diagram of a processing system for a distributed operation command by using a first task specific gravity coefficient according to an embodiment of the present invention. The system includes: a main control board 30 and at least one function board 31;
主控板 30,用于在收到管理层发送的能够分配给功能板 31的分布式操 作命令后, 将分布式操作命令分解为多个分布式子操作命令; 并根据用于 表示功能板 31工作负荷程度的第一任务比重系数, 为功能板 31分配分布 式子操作命令, 并指示功能板 31处理分配的分布式子操作命令;  The main control board 30 is configured to, after receiving the distributed operation command that can be allocated to the function board 31 sent by the management layer, decompose the distributed operation command into a plurality of distributed sub-operation commands; a first task weighting factor of the workload level, assigning distributed sub-operation commands to the function board 31, and instructing the function board 31 to process the distributed distributed sub-operation commands;
功能板 31 , 用于接收并处理主控板 30分配的分布式子操作命令; 及将 分布式子操作命令的处理结果返回给主控板 30。  The function board 31 is configured to receive and process distributed sub-operation commands allocated by the main control board 30; and return the processing result of the distributed sub-operation commands to the main control board 30.
在实施中, 为了使设备能够持续工作, 一般会有主用主控板和备用主 控板。 备用主控板在主用主控板由于某种原因 (如故障等, 但不以此为限) 停止工作时, 备用主控板与管理层连接, 用以实现主用主控板的功能。 本 实施例中的主控板 30可以为主用主控板, 也可以为备用主控板。 In the implementation, in order to enable the device to continue to work, there is generally an active main control board and a standby main control board. The standby main control board is on the main control board for some reason (such as faults, but not limited to this) When the work stops, the standby main control board is connected to the management layer to implement the function of the main control board. The main control board 30 in this embodiment may be the main control board or the standby main control board.
如图 4所示, 为了提高分布式子操作命令的处理效率, 本发明实施例 提供了一种通过第一任务比重系数及第二任务比重系数对分布式操作命令 的处理方法, 如图 4所示, 为本发明实施例中主控板通过第一任务比重系 数及第二任务比重系数对分布式操作命令的处理方法, 该方法包括以下步 驟:  As shown in FIG. 4, in order to improve the processing efficiency of the distributed sub-operation command, the embodiment of the present invention provides a method for processing a distributed operation command by using a first task specific gravity coefficient and a second task specific gravity coefficient, as shown in FIG. 4 . The method for processing a distributed operation command by the main control board through the first task specific gravity coefficient and the second task specific gravity coefficient according to the embodiment of the present invention includes the following steps:
步驟 401、主控板在收到管理层发送的能够分配给功能板的分布式操作 命令后, 将该分布式操作命令分解为多个分布式子操作命令;  Step 401: After receiving the distributed operation command that can be allocated to the function board sent by the management layer, the main control board decomposes the distributed operation command into multiple distributed sub-operation commands.
步驟 402、主控板根据第一任务比重系数和用于表示主控板的工作负荷 程度的第二任务比重系数, 分别为功能板和主控板分配分布式子操作命令。  Step 402: The main control board allocates distributed sub-operation commands to the function board and the main control board according to the first task specific gravity coefficient and the second task specific gravity coefficient for indicating the working load degree of the main control board.
在实施中, 为了使设备能够持续工作, 一般会有主用主控板和备用主 控板。 备用主控板在主用主控板由于某种原因停止工作时, 备用主控板与 管理层连接, 用以实现主用主控板的功能。 本发明实施例的备用主控板除 了负责通信设备的管理和控制, 还可以根据第一任务比重系数为各功能板 分配分布式子操作命令等。  In the implementation, in order to enable the device to continue to work, there are generally an active main control board and an alternate main control board. When the active main control board stops working for some reason, the standby main control board is connected to the management layer to implement the function of the main control board. In addition to being responsible for the management and control of the communication device, the standby main control board of the embodiment of the present invention may also allocate distributed sub-operation commands to each function board according to the first task specific gravity coefficient.
较佳地, 本发明实施例中的主控板可以是主用主控板或备用主控板。 如果本发明实施例中的主控板是主用主控板, 则步驟 402 中, 主控板 分配分布式子操作命令包括以下三种情况:  Preferably, the main control board in the embodiment of the present invention may be an active main control board or a standby main control board. If the main control board in the embodiment of the present invention is the main control board, in step 402, the main control board allocates distributed sub-operation commands including the following three cases:
若第二任务比重系数包括主用主控板对应的第二任务比重系数, 则主 用主控板分别为功能板和主用主控板分配分布式子操作命令;  If the second task weighting coefficient includes the second task weighting coefficient corresponding to the main control board, the main control board allocates distributed sub-operation commands for the function board and the main main control board respectively;
若第二任务比重系数包括备用主控板对应的第二任务比重系数, 主用 主控板分别为功能板和备用主控板分配分布式子操作命令;  If the second task weighting coefficient includes the second task weighting coefficient corresponding to the standby main control board, the main control board allocates distributed sub-operation commands for the function board and the standby main control board respectively;
若第二任务比重系数包括主用主控板对应的第二任务比重系数和备用 主控板对应的第二任务比重系数, 主用主控板分别为功能板、 主用主控板 和备用主控板分配分布式子操作命令。 If the second task specific gravity coefficient includes the second task specific gravity coefficient corresponding to the main main control board and the second task specific gravity coefficient corresponding to the standby main control board, the main main control board is a function board and a main main control board respectively. And the distributed main control board allocates distributed sub-operation commands.
具体的, 当主用主控板工作时, 备用主控板处于空闲状态;  Specifically, when the main control board is working, the standby main control board is in an idle state;
主用主控板可根据各功能板对应的第一任务比重系数, 为功能板分配 分布式子操作命令;  The main control board can allocate distributed sub-operation commands to the function board according to the first task specific gravity coefficient corresponding to each function board;
或主用主控板可根据各功能板对应的第一任务比重系数及主用主控板 对应的第二任务比重系数, 为功能板及主用主控板分配分布式子操作命令; 或主用主控板可根据各功能板对应的第一任务比重系数及备用主控板 对应的第二任务比重系数, 为功能板及备用主控板分配分布式子操作命令; 或主用主控板可根据功能板对应的第一任务比重系数、 主用主控板对 应的第二任务比重系数及备用主控板对应的第二任务比重系数, 为功能板、 该主用主控板自身及备用主控板分配分布式子操作命令, 并指示功能板及 备用主控板处理分配的分布式子操作命令。  Or the main control board can allocate distributed sub-operation commands to the function board and the main control board according to the first task specific gravity coefficient corresponding to each function board and the second task specific gravity coefficient corresponding to the main main control board; or the main The main control board can allocate distributed sub-operation commands to the function board and the standby main control board according to the first task specific gravity coefficient corresponding to each function board and the second task specific gravity coefficient corresponding to the standby main control board; or the main control board According to the first task specific gravity coefficient corresponding to the function board, the second task specific gravity coefficient corresponding to the main control board, and the second task specific gravity coefficient corresponding to the standby main control board, the function board, the main control board itself and the standby The main control board allocates distributed sub-operation commands and instructs the function board and the standby main control board to process the distributed distributed sub-operation commands.
如果本发明实施例中的主控板是备用主控板, 则步驟 402 中, 备用主 控板分配分布式子操作命令包括以下两种情况:  If the main control board in the embodiment of the present invention is the standby main control board, in step 402, the standby main control board allocates distributed sub-operation commands including the following two situations:
备用主控板可根据各功能板对应的第一任务比重系数, 为功能板分配 分布式子操作命令;  The standby main control board can allocate distributed sub-operation commands to the function board according to the first task specific gravity coefficient corresponding to each function board;
或备用主控板可根据各功能板对应的第一任务比重系数及备用主控板 对应的第二任务比重系数, 为功能板及备用主控板分配分布式子操作命令。  Or the standby main control board can allocate distributed sub-operation commands to the function board and the standby main control board according to the first task specific gravity coefficient corresponding to each function board and the second task specific gravity coefficient corresponding to the standby main control board.
在实施中, 当主用主控板由于某种原因 (如故障等)停止工作时, 备 用主控板与各功能板连接, 以实现对各功能板的管理和控制。  In the implementation, when the main control board stops working for some reason (such as a fault), the standby main control board is connected with each function board to realize management and control of each function board.
具体的, 备用主控板可根据各功能板对应的第一任务比重系数, 为功 能板分配分布式子操作命令, 并指示功能板处理分配的分布式子操作命令; 或备用主控板可根据各功能板对应的第一任务比重系数及备用主控板 对应的第二任务比重系数, 为功能板及备用主控板自身分配分布式子操作 命令, 并指示功能板处理分配的分布式子操作命令。 较佳地, 主控板根据每个第一任务比重系数的大小以及第二任务比重 系数的大小, 确定包含第一任务比重系数和第二任务比重系数的比例关系; 主控板根据该任务比重系数的比例关系, 分别为主控板和每个功能板分配 分布式子操作命令。 Specifically, the standby main control board may allocate a distributed sub-operation command to the function board according to the first task specific gravity coefficient corresponding to each function board, and instruct the function board to process the distributed distributed sub-operation command; or the standby main control board may be configured according to The first task specific gravity coefficient corresponding to each function board and the second task specific gravity coefficient corresponding to the standby main control board, assigning distributed sub-operation commands to the function board and the standby main control board itself, and instructing the function board to process the distributed distributed sub-operations command. Preferably, the main control board determines, according to the size of each first task specific gravity coefficient and the size of the second task specific gravity coefficient, a proportional relationship including the first task specific gravity coefficient and the second task specific gravity coefficient; The proportional relationship of the coefficients, respectively, distributes distributed sub-operation commands to the main control board and each function board.
其中,第一任务比重系数为对应功能板的 CPU空闲率与 CPU主频的乘 积; 第二任务比重系数为主控板的 CPU空闲率与 CPU主频的乘积。  The first task specific gravity coefficient is the product of the CPU idle rate of the corresponding function board and the CPU main frequency; the second task specific gravity is the product of the CPU idle rate of the main control board and the CPU main frequency.
比如三个功能板的第一任务比重系数分别为 150、 540、 210; 主用主控 板和备用主控板的第二任务比重系数分别是 500和 300,则包含第一任务比 重系数和第二任务比重系数的比例关系就是 150:540:210: 500: 300。  For example, the first task specific gravity coefficients of the three function boards are 150, 540, and 210 respectively; the second task specific gravity coefficients of the main main control board and the standby main control board are 500 and 300, respectively, and the first task specific gravity coefficient and the first The proportional relationship between the two task weighting factors is 150:540:210: 500:300.
需要说明的是, 本实施例中主控板是根据各功能板上报的第一任务比 重系数及主控板的第二任务比重系数所确定的比例关系对分布式子操作命 令进行分配的, 该比例关系的确定及对分布式子操作命令进行分配的方法 与仅分配给各功能板进行处理的方法相似, 此处不再赘述。  It should be noted that, in this embodiment, the main control board allocates distributed sub-operation commands according to a proportional relationship determined by a first task specific gravity coefficient reported on each function board and a second task specific gravity coefficient of the main control board. The method for determining the proportional relationship and the method for allocating the distributed sub-operation commands are similar to the methods for processing only the function boards, and are not described here.
本实施例中, 在步驟 402之后, 功能板对接收到主控板分配的分布式 子操作命令进行相应处理, 具体方法如图 2所示, 此处不再赘述。  In this embodiment, after the step 402, the function board performs corresponding processing on the distributed sub-operation command that is received by the main control board. The specific method is shown in FIG. 2, and details are not described herein again.
较佳地, 步驟 402之后还可以进一步包括:  Preferably, after step 402, the method further includes:
各功能板将分配的分布式子操作命令处理完后, 发送分配的分布式子 操作命令的处理结果至主控板, 主控板在接收到各功能板发送的分配的分 布式子操作命令的处理结果后, 将各功能板发送的分配的分布式子操作命 令的处理结果及主控板(包括主用主控板和 /或备用主控板)分配的分布 式子操作命令处理结果一起返回至管理侧。  After each function board processes the distributed distributed sub-operation command, the processing result of the distributed distributed sub-operation command is sent to the main control board, and the main control board receives the distributed distributed sub-operation command sent by each function board. After processing the result, the processing result of the distributed distributed sub-operation command sent by each function board is returned together with the distributed sub-operation command processing result allocated by the main control board (including the main main control board and/or the standby main control board). To the management side.
下面以主用主控板、 备用主控板和功能板三块板为例, 说明本发明实 施例中分布式操作命令的处理方法。 如图 5 所示, 为本发明实施例中分布 式操作命令的处理方法流程图, 在该方法中, 功能板在启动时通过板间通 信口分别与两个主控板建立关联(例如采用套接字连接, 但不以此为限)。 主用主控板、 备用主控板根据连接情况创建分布式集合, 该分布式集合的 成员即为主用主控板、 备用主控板和功能板。 The following takes the main control board, the standby main control board, and the function board as examples to illustrate the processing method of the distributed operation command in the embodiment of the present invention. As shown in FIG. 5, it is a flowchart of a method for processing a distributed operation command in an embodiment of the present invention. In the method, a function board is associated with two main control boards through an inter-board communication port at startup (for example, a set is used. Connection connection, but not limited to this). The active main control board and the standby main control board create a distributed set according to the connection situation. The members of the distributed set are the main control board, the standby main control board, and the function board.
该方法包括以下步驟:  The method includes the following steps:
步驟 501 : 分布式集合的成员, 即主用主控板、备用主控板和功能板定 时确定自身的任务比重系数上报给主用主控板。 假设此时, 主用主控板的 CPU空闲 25%,主频 600MHz;备用主控板的 CPU空闲 90%,主频 600MHz; 功能板的 CPU空闲 70%, 主频 300MHz; 此处任务比重系数设为 CPU空闲 与 CPU主频的乘积,则主用主控板收到的任务系数分别为 150、 540和 210。  Step 501: The members of the distributed set, that is, the active main control board, the standby main control board, and the function board determine the weighting coefficient of the task to report to the active main control board. Assume that at this time, the CPU of the main control board is idle 25%, the main frequency is 600MHz; the CPU of the standby main control board is idle 90%, the main frequency is 600MHz; the CPU of the function board is idle 70%, the main frequency is 300MHz; Set to the product of CPU idle and CPU main frequency, the main control board receives the task coefficients of 150, 540 and 210 respectively.
步驟 502: 主用主控板接受来自管理层能够分配给功能板的分布式操 作, 并将该分布式操作命令分解为多个分布式子操作命令, 比如全量配置 时隙 60万条, 则主用主控板根据 150、 540和 210的任务比重系数的归一 化比例关系, 即 150: 540: 210,将 60万条分布式子操作命令分为 10万条、 36万条和 14万条,接着分配相应的操作命令数目给主用主控板、备用主控 板和功能板。  Step 502: The active main control board accepts distributed operations that can be allocated to the function board from the management layer, and decomposes the distributed operation command into multiple distributed sub-operation commands, for example, 600,000 full-time configuration slots. Use the main control board to divide the 600,000 distributed sub-operation commands into 100,000, 360,000 and 140,000 according to the normalized proportional relationship of the task weight coefficients of 150, 540, and 210, that is, 150: 540: 210. Then, assign the corresponding number of operation commands to the main control board, the standby main control board, and the function board.
步驟 503 : 所有成员板获得分配的分布式子操作命令后,对分配的分布 式子操作命令进行处理, 并将相应的处理结果汇报给主用主控板。  Step 503: After all the member boards obtain the distributed distributed sub-operation commands, the distributed distributed sub-operation commands are processed, and the corresponding processing results are reported to the main control board.
步驟 504:主用主控板等待分布式集合中备用主控板和功能板的分布式 子操作命令的处理情况, 在主用主控板收集了所有分布式子操作命令的处 理结果后, 主用主控板将所有处理结果反馈给管理层。  Step 504: The main control board waits for the processing of the distributed sub-operation commands of the standby main control board and the function board in the distributed set. After the main control board collects the processing results of all the distributed sub-operation commands, the main control board Use the main control board to feed back all processing results to the management.
基于同一发明构思, 本发明实施例中还提供了一种分布式操作命令的 处理系统, 由于系统解决问题的原理与上述分布式操作命令的处理方法相 似, 因此系统的实施可以参见方法的实施, 重复之处不再赘述。  Based on the same inventive concept, a processing system for distributed operation commands is also provided in the embodiment of the present invention. Since the principle of solving the problem is similar to the processing method of the distributed operation command, the implementation of the system may refer to the implementation of the method. The repetitions are not repeated here.
如图 6所示, 为本发明实施例中分布式操作命令的处理系统, 包括: 主控板 60及至少一个功能板 61 ; 其中,  As shown in FIG. 6, the processing system for distributed operation commands in the embodiment of the present invention includes: a main control board 60 and at least one function board 61;
主控板 60,用于在收到管理层发送的能够分配给功能板 61的分布式操 作命令后, 将分布式操作命令分解为多个分布式子操作命令, 根据用于表 示功能板 61工作负荷程度的第一任务比重系数和用于表示主控板 60工作 负荷程度的第二任务比重系数, 分别为功能板 61和主控板 60分配分布式 子操作命令; The main control board 60 is configured to receive distributed operations that can be allocated to the function board 61 sent by the management layer. After the command is executed, the distributed operation command is decomposed into a plurality of distributed sub-operation commands, according to a first task specific gravity coefficient for indicating the workload level of the function board 61 and a second task for indicating the workload level of the main control board 60. a specific gravity coefficient, which is a distributed sub-operation command for the function board 61 and the main control board 60;
功能板 61 , 用于接收并处理主控板 61分配的分布式子操作命令; 及将 分布式子操作命令的处理结果返回给主控板 60。  The function board 61 is configured to receive and process the distributed sub-operation command assigned by the main control board 61; and return the processing result of the distributed sub-operation command to the main control board 60.
在实施中, 为了使设备能够持续工作, 一般会有主用主控板和备用主 控板。 备用主控板在主用主控板由于某种原因停止工作时, 备用主控板与 管理层连接, 用以实现主用主控板的功能。 本实施例中的主控板可以为主 用主控板, 也可以为备用主控板。  In the implementation, in order to enable the device to continue to work, there are generally an active main control board and an alternate main control board. When the active main control board stops working for some reason, the standby main control board is connected to the management layer to implement the function of the main control board. The main control board in this embodiment may be the main control board or the standby main control board.
较佳地, 主控板 60可以是主用主控板或备用主控板。  Preferably, the main control board 60 can be an active main control board or a standby main control board.
如果本发明实施例主控板 60是主用主控板 62 ,则本发明实施例中分布 式操作命令的处理系统如图 7A, 包括: 主用主控板 62、 备用主控板 63及 至少一个功能板 61。  If the main control board 60 is the main control board 62 in the embodiment of the present invention, the processing system of the distributed operation command in the embodiment of the present invention, as shown in FIG. 7A, includes: an active main control board 62, a standby main control board 63, and at least A function board 61.
在主用主控板 62需要根据备用主控板 63的第二任务比重系数分配分 布式子操作命令时, 备用主控板 63 可以将备用主控板 63的第二任务比重 系数分配分布式子操作命令发送给主用主控板 62, 并对收到的分布式子操 作命令进行处理, 将处理后的处理结果返回给主用主控板 62, 如图 7A所 示。  When the active main control board 62 needs to allocate a distributed sub-operation command according to the second task specific gravity coefficient of the standby main control board 63, the standby main control board 63 can allocate the second task specific gravity coefficient of the standby main control board 63 to the distributed sub-function. The operation command is sent to the main control board 62, and the received distributed sub-operation command is processed, and the processed processing result is returned to the main control board 62, as shown in FIG. 7A.
如果本发明实施例主控板 60是备用主控板 65 ,则本发明实施例中分布 式操作命令的处理系统如图 7B, 包括: 主用主控板 64、 备用主控板 65及 至少一个功能板 61。  If the main control board 60 is the standby main control board 65, the processing system of the distributed operation command in the embodiment of the present invention, as shown in FIG. 7B, includes: an active main control board 64, a standby main control board 65, and at least one Function board 61.
主用主控板 64由于某种原因停止工作, 备用主控板 65与管理层连接, 用以实现主用主控板的功能, 不管主用主控板 64是否具有本发明实施例中 主控板 60中分配分布式子操作命令的功能, 备用主控板 65都具有分配分 布式子操作命令的功能。 The active main control board 64 stops working for some reason, and the standby main control board 65 is connected to the management layer to implement the function of the main main control board, regardless of whether the main main control board 64 has the main control in the embodiment of the present invention. The function of the distributed sub-operation command is assigned in the board 60, and the standby main control board 65 has the distribution points. The function of the cloth sub-operation command.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的 形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Thus, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流 程图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中 的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专 用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产 生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方 框中指定的功能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of flows and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步驟以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的步驟。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
本发明实施例由于主控板将收到的管理层发送的分布式操作命令, 根 据各功能板的任务比重系数分配给各功能板进行处理, 从而在不增加主控 板与各功能板性能差异的前提下 , 降低通信设备中主控板的工作负荷。 In the embodiment of the present invention, the distributed control command sent by the management layer received by the main control board, the root According to the task weight coefficient of each function board, it is allocated to each function board for processing, thereby reducing the workload of the main control board in the communication device without increasing the performance difference between the main control board and each function board.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知 了基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所 附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和 修改。  While the preferred embodiment of the invention has been described, the subject matter Therefore, it is intended that the appended claims be interpreted as including
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种分布式操作命令的处理方法, 其特征在于, 该方法包括: 主控板在收到管理层发送的能够分配给功能板的分布式操作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令;  A method for processing a distributed operation command, the method comprising: decomposing the distributed operation command after receiving a distributed operation command that can be allocated to a function board sent by a management layer For at least one distributed sub-operation command;
所述主控板根据用于表示所述功能板工作负荷程度的第一任务比重系 数, 为所述功能板分配所述分布式子操作命令, 并指示所述功能板处理分 配的所述分布式子操作命令。  The main control board allocates the distributed sub-operation command to the function board according to a first task specific gravity coefficient for indicating a degree of work load of the function board, and instructs the function board to process the distributed distributed Sub-operation command.
2、 如权利要求 1所述的方法, 其特征在于, 所述主控板为所述功能板 分配所述分布式子操作命令包括:  2. The method according to claim 1, wherein the distributing, by the main control board, the distributed sub-operation command for the function board comprises:
所述主控板根据每个第一任务比重系数的大小, 确定第一任务比重系 数的比例关系;  The main control board determines a proportional relationship of the first task specific gravity coefficient according to the size of each first task specific gravity coefficient;
所述主控板根据所述第一任务比重系数的比例关系, 分别为每个所述 功能板分配所述分布式子操作命令。  The main control board allocates the distributed sub-operation command to each of the function boards according to a proportional relationship of the first task specific gravity coefficients.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述第一任务比重系 数为对应功能板的 CPU空闲率与 CPU主频的乘积。  The method according to claim 1 or 2, wherein the first task weighting factor is a product of a CPU idle rate of the corresponding function board and a CPU frequency.
4、 如权利要求 1或 2所述的方法, 其特征在于, 所述主控板分配所述 分布式子操作命令之后, 还包括:  The method according to claim 1 or 2, wherein after the main control board allocates the distributed sub-operation command, the method further includes:
所述功能板接收并处理主控板分配的分布式子操作命令;  The function board receives and processes distributed sub-operation commands allocated by the main control board;
所述功能板将所述分布式子操作命令的处理结果返回给所述主控板。 The function board returns the processing result of the distributed sub-operation command to the main control board.
5、 如权利要求 4所述的方法, 其特征在于, 所述功能板接收分布式子 操作命令之前, 还包括: The method of claim 4, wherein before the function board receives the distributed sub-operation command, the method further includes:
所述功能板根据自身当前的工作负荷程度确定第一任务比重系数, 并 向所述主控板上报所述第一任务比重系数。  The function board determines a first task specific gravity coefficient according to the current workload level of the self, and reports the first task specific gravity coefficient to the main control board.
6、 如权利要求 4所述的方法, 其特征在于, 所述功能板将所述分布式 子操作命令的处理结果返回给所述主控板之后, 还包括: 所述主控板将接收到的来自所述功能板的所述分布式子操作命令的处 理结果返回给所述管理层。 The method of claim 4, after the function board returns the processing result of the distributed sub-operation command to the main control board, the method further includes: The main control board returns the received processing result of the distributed sub-operation command from the function board to the management layer.
7、 一种分布式操作命令的处理方法, 其特征在于, 该方法包括: 主控板在收到管理层发送的能够分配给功能板的分布式操作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令;  A method for processing a distributed operation command, the method comprising: decomposing the distributed operation command after receiving a distributed operation command that can be allocated to a function board sent by a management layer For at least one distributed sub-operation command;
所述主控板根据用于表示所述功能板工作负荷程度的第一任务比重系 数和用于表示主控板工作负荷程度的第二任务比重系数, 分别为所述功能 板和所述主控板分配所述分布式子操作命令, 并指示所述功能板处理分配 的所述分布式子操作命令。  The main control board is respectively configured according to a first task specific gravity coefficient for indicating a degree of work load of the function board and a second task specific gravity coefficient for indicating a working degree of the main control board, respectively, the function board and the main control The board allocates the distributed sub-operation commands and instructs the function board to process the distributed distributed sub-operation commands.
8、 如权利要求 7所述的方法, 其特征在于, 所述主控板分配所述分布 式子操作命令包括:  8. The method according to claim 7, wherein the assigning the distributed sub-operation command by the main control board comprises:
所述主控板根据每个第一任务比重系数的大小以及所述第二任务比重 系数的大小, 确定包含第一任务比重系数和第二任务比重系数的比例关系; 所述主控板根据所述任务比重系数的比例关系, 分别为所述主控板和 每个所述功能板分配所述分布式子操作命令。  The main control board determines, according to the size of each first task specific gravity coefficient and the size of the second task specific gravity coefficient, a proportional relationship including a first task specific gravity coefficient and a second task specific gravity coefficient; The proportional relationship of the task specific gravity coefficients is assigned to the main control board and each of the function boards by the distributed sub-operation commands.
9、 如权利要求 7或 8所述的方法, 其特征在于, 所述主控板是主用主 控板;  The method according to claim 7 or 8, wherein the main control board is an active main control board;
所述主控板分配所述分布式子操作命令包括:  The distribution of the distributed sub-operation commands by the main control board includes:
当所述第二任务比重系数包括主用主控板对应的第二任务比重系数 时, 所述主用主控板分别为所述功能板和主用主控板分配所述分布式子操 作命令;  When the second task specific gravity coefficient includes a second task specific gravity coefficient corresponding to the main control board, the main main control board allocates the distributed sub operation command to the function board and the main main control board respectively. ;
当所述第二任务比重系数包括备用主控板对应的第二任务比重系数 时, 所述主用主控板分别为所述功能板和备用主控板分配所述分布式子操 作命令;  When the second task specific gravity coefficient includes a second task specific gravity coefficient corresponding to the standby main control board, the main control board allocates the distributed sub-operation command to the function board and the standby main control board respectively;
当所述第二任务比重系数包括主用主控板对应的第二任务比重系数和 备用主控板对应的第二任务比重系数时, 所述主用主控板分别为所述功能 板、 主用主控板和备用主控板分配所述分布式子操作命令。 When the second task specific gravity coefficient includes a second task specific gravity coefficient corresponding to the main main control board and The active main control board allocates the distributed sub-operation command to the function board, the main main control board, and the standby main control board, respectively, when the second main task has a weight ratio corresponding to the standby main control board.
10、 如权利要求 7或 8所述的方法, 其特征在于, 所述第一任务比重 系数为对应功能板的 CPU空闲率与 CPU主频的乘积;  The method according to claim 7 or 8, wherein the first task specific gravity coefficient is a product of a CPU idle rate of the corresponding function board and a CPU main frequency;
所述第二任务比重系数为所述主控板的 CPU空闲率与 CPU主频的乘 积。  The second task specific gravity coefficient is a product of a CPU idle rate of the main control board and a CPU main frequency.
11、 如权利要求 7或 8所述的方法, 其特征在于, 所述主控板分配所 述分布式子操作命令之后, 还包括:  The method according to claim 7 or 8, wherein, after the main control board allocates the distributed sub-operation command, the method further includes:
所述功能板接收并处理主控板分配的分布式子操作命令;  The function board receives and processes distributed sub-operation commands allocated by the main control board;
所述功能板将所述分布式子操作命令的处理结果返回给所述主控板。 The function board returns the processing result of the distributed sub-operation command to the main control board.
12、 如权利要求 11所述的方法, 其特征在于, 所述功能板接收分布式 子操作命令之前, 还包括: The method of claim 11, wherein before the function board receives the distributed sub-operation command, the method further includes:
所述功能板根据自身当前的工作负荷程度确定第一任务比重系数, 并 向所述主控板上报所述第一任务比重系数。  The function board determines a first task specific gravity coefficient according to the current workload level of the self, and reports the first task specific gravity coefficient to the main control board.
13、 如权利要求 12所述的方法, 其特征在于, 所述功能板将所述分布 式子操作命令的处理结果返回给所述主控板之后, 还包括:  The method of claim 12, wherein the function board returns the processing result of the distributed sub-operation command to the main control board, and further includes:
所述主控板将接收到来自所述功能板的所述分布式子操作命令的处理 结果以及主控板处理所述分布式子操作命令的处理结果返回给所述管理 层。  The main control board returns a processing result of the distributed sub-operation command from the function board and a processing result of the main control board processing the distributed sub-operation command to the management layer.
14、 一种分布式操作命令的处理系统, 其特征在于, 包括: 主控板及 至少一个功能板; 其中,  A processing system for a distributed operation command, comprising: a main control board and at least one function board; wherein
所述主控板, 用于在收到管理层发送的能够分配给所述功能板的分布 式操作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令; 并根据用于表示所述功能板工作负荷程度的第一任务比重系数, 为所述功 能板分配所述分布式子操作命令, 并指示所述功能板处理分配的所述分布 式子操作命令; The main control board is configured to, after receiving a distributed operation command that is sent by the management layer and can be allocated to the function board, decompose the distributed operation command into at least one distributed sub-operation command; a first task specific gravity coefficient indicating a degree of workload of the function board, assigning the distributed sub-operation command to the function board, and instructing the function board to process the distributed distribution Formula operation command;
所述功能板, 用于接收并处理主控板分配的分布式子操作命令; 及将 所述分布式子操作命令的处理结果返回给所述主控板。  The function board is configured to receive and process a distributed sub-operation command allocated by the main control board; and return the processing result of the distributed sub-operation command to the main control board.
15、 一种分布式操作命令的处理系统, 其特征在于, 包括: 主控板及 至少一个功能板; 其中,  A processing system for a distributed operation command, comprising: a main control board and at least one function board; wherein
所述主控板, 用于在收到管理层发送的能够分配给功能板的分布式操 作命令后, 将所述分布式操作命令分解为至少一个分布式子操作命令, 根 据用于表示所述功能板工作负荷程度的第一任务比重系数和用于表示主控 板工作负荷程度的第二任务比重系数, 分别为所述功能板和所述主控板分 配所述分布式子操作命令;  The main control board is configured to, after receiving a distributed operation command that is sent by the management layer and can be allocated to the function board, decompose the distributed operation command into at least one distributed sub-operation command, according to the a first task specific gravity coefficient of the functional load level of the function board and a second task specific gravity coefficient for indicating the working load level of the main control board, respectively, the distributed function operation command is allocated to the function board and the main control board;
所述功能板, 用于接收并处理主控板分配的分布式子操作命令; 及将 所述分布式子操作命令的处理结果返回给所述主控板。  The function board is configured to receive and process a distributed sub-operation command allocated by the main control board; and return the processing result of the distributed sub-operation command to the main control board.
PCT/CN2011/084914 2011-06-07 2011-12-29 Processing method and system for distributed operating command WO2012167591A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110150615.9A CN102819458B (en) 2011-06-07 2011-06-07 A kind of processing method and system of distributed operation order
CN201110150615.9 2011-06-07

Publications (1)

Publication Number Publication Date
WO2012167591A1 true WO2012167591A1 (en) 2012-12-13

Family

ID=47295417

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084914 WO2012167591A1 (en) 2011-06-07 2011-12-29 Processing method and system for distributed operating command

Country Status (2)

Country Link
CN (1) CN102819458B (en)
WO (1) WO2012167591A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064741B (en) * 2012-12-24 2015-08-05 浙江工业大学 A kind of method of the divided load scheduling based on energy model
CN104598318B (en) * 2014-12-30 2018-12-04 北京奇艺世纪科技有限公司 The method for reporting and calculate node of node computing capability
CN105653371A (en) * 2015-12-29 2016-06-08 曙光云计算技术有限公司 Resource pool management method and device under PaaS environment
CN107797866B (en) 2016-05-31 2020-11-24 Oppo广东移动通信有限公司 Processor resource allocation method, mobile terminal and medium product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145961A (en) * 2007-07-19 2008-03-19 中兴通讯股份有限公司 Proxy layer response method for communication devices
CN101217450A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 A calling distribution method
CN102025534A (en) * 2010-11-16 2011-04-20 中兴通讯股份有限公司 Single-plate resource allocation method and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145961A (en) * 2007-07-19 2008-03-19 中兴通讯股份有限公司 Proxy layer response method for communication devices
CN101217450A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 A calling distribution method
CN102025534A (en) * 2010-11-16 2011-04-20 中兴通讯股份有限公司 Single-plate resource allocation method and device thereof

Also Published As

Publication number Publication date
CN102819458A (en) 2012-12-12
CN102819458B (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN107087019B (en) Task scheduling method and device based on end cloud cooperative computing architecture
EP3606008B1 (en) Method and device for realizing resource scheduling
KR101781063B1 (en) Two-level resource management method and appratus for dynamic resource management
CN105183554B (en) High-performance calculation and cloud computing hybrid system and its method for managing resource
CN102696000A (en) Methods and apparatus for coordinated energy management in virtualized data centers
CN103064742A (en) Automatic deployment system and method of hadoop cluster
CN104021040A (en) Cloud computing associated task scheduling method and device based on time constraint
CN102855218A (en) Data processing system, method and device
CN104102548A (en) Task resource scheduling processing method and task resource scheduling processing system
Lai et al. Sol: Fast distributed computation over slow networks
WO2013117079A1 (en) Virtual machine load balancing method, management modules and virtual machine cluster system
US20120144389A1 (en) Optimizing virtual image deployment for hardware architecture and resources
WO2012167591A1 (en) Processing method and system for distributed operating command
US20100211680A1 (en) Apparatus and method to allocate limited resources
WO2012100545A1 (en) Method, system and device for service scheduling
CN111666158A (en) Kubernetes-based container scheduling method and device, storage medium and electronic equipment
CN110532060B (en) Hybrid network environment data acquisition method and system
Hsu et al. Job sequence scheduling for cloud computing
Kaur et al. Load balancing techniques of cloud computing
US11531572B2 (en) Cross-cluster host reassignment
JP6700552B2 (en) Process control program, process control device, and process control method
CN108347341A (en) A kind of acceleration capacity method of adjustment and device for adjusting virtual machine acceleration capacity
JP2013196695A (en) Virtual machine allocation system and method of the same
Shelar et al. Autonomic and energy-aware resource allocation for efficient management of cloud data centre
WO2022111466A1 (en) Task scheduling method, control method, electronic device and computer-readable medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11867161

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11867161

Country of ref document: EP

Kind code of ref document: A1