Embodiment
The distributed operation order that the master control borad of the embodiment of the present invention sends the management level received is according to each feature board
Task specific gravity factor is distributed to each feature board and handled, so as to not increase the premise of master control borad and each feature board performance difference
Under, the live load of master control borad in reduction communication equipment.
The embodiment of the present invention is described in further detail with reference to Figure of description.
As shown in figure 1, for master control borad in the embodiment of the present invention by first task specific gravity factor to distributed operation order
Processing method flow chart, this method comprises the following steps:
Step 101, master control borad receive management level transmission can distribute to the distributed operation order of feature board after, will
The distributed operation order is decomposed into multiple distributed child-operation orders;
Step 102, master control borad, according to the first task specific gravity factor for representing feature board live load degree, are function
The distributed child-operation order of plate distribution, and indicate the distributed child-operation order of feature board processing distribution.
Wherein, master control borad is mainly responsible for the management and control of communication equipment in a communications device.In force, master control borad can
To be connected by several at least 100M exchange mouthful with each feature board;Feature board is mainly to complete different business, and carry
Difference in functionality, each feature board is by master control board management and control.
It should be noted that the distributed operation order in the embodiment of the present invention be primarily referred to as perform time-consuming, can divide
The operational order that dispensing feature board is handled, refers in particular to the operational orders such as the business configuration of a large amount of loop iterations, but not with
This is limited, and specific distributed operation order needs to be selected according to the demand of communication equipment.
It is preferred that the first task specific gravity factor for representing feature board live load degree can be the CPU free time of feature board
The product of two parameters of rate and CPU frequency ability.
It should be noted that the parameter for calculating first task specific gravity factor is not limited to the CPU idleness and CPU of feature board
Dominant frequency ability, other can represent that the computing mode of feature board live load degree is also applied for the embodiment of the present invention.
Specifically, whether master control borad first judges the operational order after the operational order sent from management level is received
For the distributed operation order of feature board can be distributed to;
When the operational order received is the distributed operation order that can distribute to feature board, to the distributed operation
Order is decomposed, and is obtained as multiple distributed child-operation orders, and the plurality of distributed child-operation order is distributed into each work(
Energy plate is handled;
It is preferred that when the operational order received is not the distributed operation order that can distribute to feature board, master control
Plate is handled the operational order, and result is returned into management level.
It is preferred that master control borad for each feature board when distributing distributed child-operation order, it is usually according to each feature board
First task specific gravity factor size, determine the proportionate relationship of first task specific gravity factor;Further according to the first task proportion
The proportionate relationship of coefficient, respectively each distributed child-operation order of feature board distribution.
How it is exemplified below according to the size of the first task specific gravity factor of each feature board, determines first task ratio
The proportionate relationship of weight coefficient.It should be noted that, the citing is only illustrative and not restrictive.
By taking three feature boards as an example, the CPU idleness of first feature board is 25%, and CPU frequency is 600MHz, then first
The first task specific gravity factor of individual feature board is 25% × 600=150;
The CPU idleness of second feature board is 90%, and CPU frequency is 600MHz, then second feature board is first
Business specific gravity factor is 90% × 600=540;
The CPU idleness of 3rd feature board is 70%, and CPU frequency is 300MHz, then the 3rd feature board is first
Business specific gravity factor is 70% × 300=210;
Then the proportionate relationship of the first task specific gravity factor of three feature boards is 150: 540: 210;
The distributed child-operation order from management-side that master control borad is received, such as full dose configure time slot 600,000, then
Master control borad can according to 150: 540: 210 proportionate relationship, distributed child-operation order is divided into 100,000,360,000 and 140,000
Bar, and be three distributed child-operation orders of feature board distribution by the proportionate relationship, as first feature board distributes 100,000
Distributed child-operation order, is that second feature board distributes 360,000 distributed child-operation orders, is the 3rd feature board distribution
140000 distributed child-operation orders.
It is preferred that a threshold value can be also set, after master control borad receives the first task specific gravity factor that each feature board is reported,
Master control borad judges the relation of each first task specific gravity factor and the threshold value, if first task specific gravity factor is more than the threshold value,
Illustrate that the feature board live load degree is low, distributed child-operation order can be distributed for the feature board;If first task proportion system
Number is less than the threshold value, then illustrates that the feature board live load degree is high, then distributed child-operation life can not be distributed for the feature board
Order;Master control borad can be each work(that first task specific gravity factor is more than the threshold value by the way of proportionate relationship above-mentioned
The distributed child-operation order of energy plate mean allocation is handled.
In force, in order to enable a device to continuous firing, main control board and slave control board are typically had.Standby master
Plate is controlled when (such as failure, but be not limited) is stopped main control board for some reason, slave control board and pipe
Manage layer connection, the function to realize main control board.Master control borad in the present embodiment can be main control board, or
Slave control board;Processing method and above-mentioned processing of the slave control board by first task specific gravity factor to distributed operation order
Method is similar, and here is omitted.
In the present embodiment, after step 102, feature board enters to the distributed child-operation order for receiving master control borad distribution
Row respective handling, specific processing method is as shown in Fig. 2 this method comprises the following steps:
Step 201, feature board receive and handle the distributed child-operation order of master control borad distribution;
The result of distributed child-operation order is returned to master control borad by step 202, feature board.
It is preferred that before feature board in step 201 receives distributed child-operation order, in addition to:
Feature board determines first task specific gravity factor according to itself current live load degree, and reports to master control borad
One task specific gravity factor.
It is preferred that each feature board regularly can report the corresponding first task specific gravity factor of each feature board to master control borad.
It is preferred that feature board in step 202. by the result of distributed child-operation order return to master control borad it
Afterwards, the result for receiving the distributed child-operation order from each feature board is returned to management level by master control borad.
It is preferred that master control borad can also be according to second of the live load degree for representing master control borad in the embodiment of the present invention
Task specific gravity factor and the corresponding first task specific gravity factor of each feature board, are master control borad and each feature board distribution distribution formula behaviour
Order, so as to improve the efficiency of the distributed child-operation order of processing.
Based on same inventive concept, a kind of processing system of distributed operation order is additionally provided in the embodiment of the present invention,
Because the principle that system solves problem is similar to the processing method of above-mentioned distributed operation order, therefore the implementation of system can be joined
The implementation of square method, repeats part and repeats no more.
As shown in figure 3, being the processing in the embodiment of the present invention by first task specific gravity factor to distributed operation order
The structural representation of system, the system includes:Master control borad 30 and at least one feature board 31;Wherein,
Master control borad 30, for receive management level transmission can distribute to the distributed operation order of feature board 31 after,
Distributed operation order is decomposed into multiple distributed child-operation orders;And according to for representing the live load degree of feature board 31
First task specific gravity factor, be that feature board 31 distributes distributed child-operation order, and indicate point of the processing distribution of feature board 31
Cloth child-operation order;
Feature board 31, the distributed child-operation order for receiving and handling the distribution of master control borad 30;And will distribution formula behaviour
The result for making to order returns to master control borad 30.
In force, in order to enable a device to continuous firing, main control board and slave control board are typically had.Standby master
Plate is controlled when (such as failure, but be not limited) is stopped main control board for some reason, slave control board and pipe
Manage layer connection, the function to realize main control board.Master control borad 30 in the present embodiment can be main control board, can also
For slave control board.
As shown in figure 4, the treatment effeciency in order to improve distributed child-operation order, logical the embodiments of the invention provide one kind
The processing method of first task specific gravity factor and the second task specific gravity factor to distributed operation order is crossed, as shown in figure 4, being this
Master control borad passes through the place of first task specific gravity factor and the second task specific gravity factor to distributed operation order in inventive embodiments
Reason method, this method comprises the following steps:
Step 401, master control borad receive management level transmission can distribute to the distributed operation order of feature board after, will
The distributed operation order is decomposed into multiple distributed child-operation orders;
Step 402, master control borad according to first task specific gravity factor and for the live load degree that represents master control borad
The distributed child-operation order of two task specific gravity factors, respectively feature board and master control borad distribution.
In force, in order to enable a device to continuous firing, main control board and slave control board are typically had.Standby master
Plate is controlled when main control board is stopped for some reason, slave control board is connected with management level, to realize primary master
Control the function of plate.Management and control of the slave control board of the embodiment of the present invention except being responsible for communication equipment, can also be according to the
One task specific gravity factor is that each feature board distributes distributed child-operation order etc..
It is preferred that the master control borad in the embodiment of the present invention can be main control board or slave control board.
During if the master control borad in the embodiment of the present invention were main control board, step 402, master control borad distribution distribution formula
Operational order includes following three kinds of situations:
If the second task specific gravity factor includes the corresponding second task specific gravity factor of main control board, main control board point
Wei not feature board and the distributed child-operation order of main control board distribution;
If the second task specific gravity factor includes the corresponding second task specific gravity factor of slave control board, main control board difference
For feature board and the distributed child-operation order of slave control board distribution;
If the second task specific gravity factor includes the corresponding second task specific gravity factor of main control board and slave control board pair
The the second task specific gravity factor answered, main control board is respectively that feature board, main control board and slave control board distribution are distributed
Child-operation order.
Specifically, when main control board works, slave control board is in idle condition;
Main control board can be feature board distribution distribution formula behaviour according to the corresponding first task specific gravity factor of each feature board
Order;
Or main control board can be according to the corresponding first task specific gravity factor of each feature board and main control board corresponding
Two task specific gravity factors, are feature board and the distributed child-operation order of main control board distribution;
Or main control board can be according to the corresponding first task specific gravity factor of each feature board and slave control board corresponding
Two task specific gravity factors, are feature board and the distributed child-operation order of slave control board distribution;
Or main control board can be corresponding second according to the corresponding first task specific gravity factor of feature board, main control board
It is engaged in specific gravity factor and the corresponding second task specific gravity factor of slave control board, is feature board, main control board itself and standby
The distributed child-operation order of master control borad distribution, and indicate the distributed child-operation life of feature board and slave control board processing distribution
Order.
During if the master control borad in the embodiment of the present invention were slave control board, step 402, slave control board distribution distribution
Formula operational order includes following two situations:
Slave control board can be feature board distribution distribution formula behaviour according to the corresponding first task specific gravity factor of each feature board
Order;
Or slave control board can be according to the corresponding first task specific gravity factor of each feature board and slave control board corresponding
Two task specific gravity factors, are feature board and the distributed child-operation order of slave control board distribution.
In force, when (such as failure) is stopped main control board for some reason, slave control board with it is each
Feature board is connected, to realize the management to each feature board and control.
Specifically, slave control board can be feature board distribution point according to the corresponding first task specific gravity factor of each feature board
Cloth child-operation order, and indicate the distributed child-operation order of feature board processing distribution;
Or slave control board can be according to the corresponding first task specific gravity factor of each feature board and slave control board corresponding
Two task specific gravity factors, are feature board and the distributed child-operation order of slave control board itself distribution, and indicate that feature board is handled
The distributed child-operation order of distribution.
It is preferred that master control borad is according to the big of the size of each first task specific gravity factor and the second task specific gravity factor
It is small, it is determined that the proportionate relationship comprising first task specific gravity factor and the second task specific gravity factor;Master control borad is according to the task proportion
The distributed child-operation order of the proportionate relationship of coefficient, respectively master control borad and each feature board distribution.
Wherein, first task specific gravity factor is the CPU idleness of corresponding function plate and the product of CPU frequency;Second task
Specific gravity factor is the CPU idleness of master control borad and the product of CPU frequency.
The first task specific gravity factor of such as three feature boards is respectively 150,540,210;Main control board and standby master
The the second task specific gravity factor for controlling plate is 500 and 300 respectively, then comprising first task specific gravity factor and the second task specific gravity factor
Proportionate relationship be exactly 150: 540: 210: 500: 300.
It should be noted that master control borad is the first task specific gravity factor and master reported according to each feature board in the present embodiment
What proportionate relationship determined by controlling the second task specific gravity factor of plate was allocated to distributed child-operation order, the proportionate relationship
Determination and the method that is allocated to distributed child-operation order it is similar to being only assigned to the method that each feature board is handled,
Here is omitted.
In the present embodiment, after step 402, feature board enters to the distributed child-operation order for receiving master control borad distribution
Row respective handling, specific method are as shown in Fig. 2 here is omitted.
It is preferred that can further include after step 402:
Each feature board by the distributed child-operation command process of distribution it is complete after, send the distributed child-operation order of distribution
Result is to master control borad, result of the master control borad in the distributed child-operation order for receiving the distribution that each feature board is sent
Afterwards, the distributed child-operation order of the distribution each feature board sent result and master control borad (including main control board and/
Or slave control board) distribution distributed child-operation command processing result be back to management-side together.
Below by taking main control board, three blocks of plates of slave control board and feature board as an example, illustrate to be distributed in the embodiment of the present invention
The processing method of formula operational order.As shown in figure 5, being the process flow of distributed operation order in the embodiment of the present invention
Figure, in the method, feature board are set up with two master control borads associate (for example with set on startup respectively by communication between plates mouth
Word connection is connect, but is not limited).Main control board, slave control board create distributed collection, the distribution according to connection
The member of formula set is main control board, slave control board and feature board.
This method comprises the following steps:
Step 501:The member of distributed collection, i.e. main control board, slave control board and feature board timing determination itself
Task specific gravity factor report main control board.Assuming that now, the CPU free time 25% of main control board, dominant frequency 600MHz;It is standby
With the CPU free time 90% of master control borad, dominant frequency 600MHz;The CPU free time 70% of feature board, dominant frequency 300MHz;Task proportion herein
Coefficient is set to the idle products with CPU frequency of CPU, then the task coefficient that main control board is received is respectively 150,540 and 210.
Step 502:Main control board receives to distribute to the distributed operation of feature board from management level, and by this point
Cloth operational order is decomposed into multiple distributed child-operation orders, such as full dose configures time slot 600,000, then main control board root
According to the normalization proportionate relationship of 150,540 and 210 task specific gravity factor, i.e., 150: 540: 210, by 600,000 distribution formulas behaviour
It is divided into 100,000,360,000 and 140,000 as order, then distributes corresponding operational order number to main control board, standby master
Control plate and feature board.
Step 503:All member's plates are obtained after the distributed child-operation order of distribution, and the distributed child-operation of distribution is ordered
Make and being handled, and corresponding result is reported to main control board.
Step 504:Main control board waits the distributed child-operation life of slave control board and feature board in distributed collection
The disposition of order, after the result that main control board have collected all distributed child-operation orders, main control board will
All results feed back to management level.
Based on same inventive concept, a kind of processing system of distributed operation order is additionally provided in the embodiment of the present invention,
Because the principle that system solves problem is similar to the processing method of above-mentioned distributed operation order, therefore the implementation of system can be joined
The implementation of square method, repeats part and repeats no more.
As shown in fig. 6, be the processing system of distributed operation order in the embodiment of the present invention, including:Master control borad 60 and extremely
Few One function plate 61;Wherein,
Master control borad 60, for receive management level transmission can distribute to the distributed operation order of feature board 61 after,
Distributed operation order is decomposed into multiple distributed child-operation orders, according to for representing the live load degree of feature board 61
First task specific gravity factor and the second task specific gravity factor for representing the live load degree of master control borad 60, respectively feature board
61 and master control borad 60 distribute distributed child-operation order;
Feature board 61, the distributed child-operation order for receiving and handling the distribution of master control borad 61;And will distribution formula behaviour
The result for making to order returns to master control borad 60.
In force, in order to enable a device to continuous firing, main control board and slave control board are typically had.Standby master
Plate is controlled when main control board is stopped for some reason, slave control board is connected with management level, to realize primary master
Control the function of plate.Master control borad in the present embodiment can be main control board, or slave control board.
It is preferred that master control borad 60 can be main control board or slave control board.
If master control borad of the embodiment of the present invention 60 is main control board 62, distributed operation order in the embodiment of the present invention
Processing system such as Fig. 7 A, including:Main control board 62, slave control board 63 and at least one feature board 61.
Need to distribute distributed child-operation according to the second task specific gravity factor of slave control board 63 in main control board 62
During order, the second task specific gravity factor of slave control board 63 can be distributed distributed child-operation order and sent out by slave control board 63
Main control board 62 is given, and the distributed child-operation order received is handled, the result after processing is returned to
Main control board 62, as shown in Figure 7 A.
If master control borad of the embodiment of the present invention 60 is slave control board 65, distributed operation order in the embodiment of the present invention
Processing system such as Fig. 7 B, including:Main control board 64, slave control board 65 and at least one feature board 61.
Main control board 64 is stopped for some reason, and slave control board 65 is connected with management level, to realize master
With the function of master control borad, no matter whether main control board 64 has in the embodiment of the present invention, distribution distribution formula is grasped in master control borad 60
Make the function of ordering, slave control board 65 all has the function of the distributed child-operation order of distribution.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The distributed operation order that the embodiment of the present invention is sent the management level received due to master control borad, according to each feature board
Task specific gravity factor distribute to each feature board and handled so that before master control borad and each feature board performance difference is not increased
Put, the live load of master control borad in reduction communication equipment.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.