CN101442513A - Method for implementing various service treatment function and multi-nuclear processor equipment - Google Patents
Method for implementing various service treatment function and multi-nuclear processor equipment Download PDFInfo
- Publication number
- CN101442513A CN101442513A CNA2007101777192A CN200710177719A CN101442513A CN 101442513 A CN101442513 A CN 101442513A CN A2007101777192 A CNA2007101777192 A CN A2007101777192A CN 200710177719 A CN200710177719 A CN 200710177719A CN 101442513 A CN101442513 A CN 101442513A
- Authority
- CN
- China
- Prior art keywords
- nuclear
- service processing
- processing function
- message
- polycaryon processor
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Landscapes
- Multi Processors (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for realizing various service processing functions, which comprises: collocating various cores in a multicore processor to execute different service processing functions; and transmitting messages to the various cores for executing the various service processing functions in the multicore processor in turn for processing according to the execution sequence of the various preset service processing functions. The invention also discloses a multicore processor device, which comprises a configuration management unit, a message distribution unit and the multicore processor. The method can save the investment cost of the device when realizing the various service processing functions in the network.
Description
Technical field
The present invention relates to the network communications technology, particularly relate to a kind of method and a kind of multi-nuclear processor equipment of in network, realizing the multiple business processing capacity.
Background technology
Continuous development along with communication service, deployment and design to network are had higher requirement, not only require network correctly to transmit to the message in the communication process, handle but also require network can in the process that E-Packets, carry out multiple business, such as, also require message is carried out anti-virus processing, fire compartment wall processing, carries out various business statistics targetedly and charging and carry out traffic monitoring and adjustment etc., thereby make network reach best performance and enable state.
Fig. 1 is a network organizing schematic diagram of realizing the multiple business processing capacity in the prior art.Referring to Fig. 1, in order to realize the multiple business processing capacity in network, the processing mode of prior art is: the heterogeneous networks equipment of finishing the different business processing capacity is respectively linked together, and heterogeneous networks equipment is finished multiple business jointly and is handled.In Fig. 1, routing device, firewall box and IPS equipment are connected in turn, message routing is transmitted processing, fire compartment wall is handled and IPS handles thereby finish successively.Yet prior art links together heterogeneous networks equipment and finishes the way of multiple business processing capacity, can cause equipment investment cost excessive, in addition, also can cause between the equipment interoperability difference and many shortcomings such as be not easy to administer and maintain.
Summary of the invention
One object of the present invention is to provide a kind of method that realizes the multiple business processing capacity in network, another object of the present invention is to provide a kind of multi-nuclear processor equipment, so that when in network, realizing the multiple business processing capacity, the cost of investment of saving equipment.
In order to achieve the above object, technical scheme of the present invention is achieved in that
Realize the method for multiple business processing capacity, this method adopts the equipment with polycaryon processor to realize that this method comprises:
In the configuration polycaryon processor each checked and answered different service processing function;
After receiving message, according to the execution sequence of each default service processing function, each nuclear that successively message is sent in the polycaryon processor of corresponding each service processing function is handled.
Multi-nuclear processor equipment comprises:
Configuration management element, each that is used for disposing polycaryon processor are checked should different service processing function;
The message Dispatching Unit is used for the message that external physical interfaces is sent is sent to the at first nuclear of the service processing function correspondence of execution;
Finish each nuclear of service processing function in the polycaryon processor, be used for that the message that receives is carried out corresponding service and handle,, send the message after handling according to the execution sequence of default service processing function.
This shows, in the present invention, can utilize the polycaryon processor of device interior to finish the multiple business processing capacity, like this, the different IPs of finishing the different business processing capacity in the polycaryon processor then is equivalent to fictionalize a plurality of equipment of the prior art, thereby in network, finish under the situation of multiple business processing capacity guaranteeing, greatly reduce the cost of investment of equipment.
In addition,, therefore, solved in the prior art shortcoming of interoperability difference between the devices from different manufacturers, be easy to carry out administering and maintaining of equipment owing to be between each nuclear of a device interior, to communicate.
Description of drawings
Fig. 1 is a network organizing schematic diagram of realizing the multiple business processing capacity in the prior art.
Fig. 2 is a multi-nuclear processor equipment structural representation in one embodiment of the invention.
Fig. 3 is a flow chart of realizing the multiple business processing capacity in one embodiment of the invention in network.
Fig. 4 is first kind of preferred construction schematic diagram of multi-nuclear processor equipment in one embodiment of the invention.
Fig. 5 is the third preferred construction schematic diagram of multi-nuclear processor equipment in one embodiment of the invention.
Fig. 6 is the 4th a kind of preferred construction schematic diagram of multi-nuclear processor equipment in one embodiment of the invention.
Embodiment
At present, microprocessor technology has obtained development at full speed, polycaryon processor occurred.In brief, polycaryon processor is exactly integrated a plurality of separate physical cores on same silicon wafer, and in real work, many core collaborative works are to reach the purpose of performance multiplication.Each core all has independently logical construction, comprises logical blocks such as a L2 cache, performance element, instruction-level unit and bus interface.So-called core just is meant the implementation center of the calculating of CPU interior liabilities, acceptance/memory command, deal with data.Multinuclear is under present power consumption constraints, the method for the best lifting chip performance that can find.
At present, can utilize a plurality of nuclears in the polycaryon processor to carry out a kind of different disposal step of service processing function successively, such as, carry out message by the nuclear in the polycaryon processor 1 and transmit the processing of peeling off the message tunnel head in the processing procedure, carry out message by nuclear 2 then and transmit the processing of searching the forwarding route in the processing procedure, carry out message by nuclear 3 at last and transmit the processing of carrying out the outgoing interface forwarding in the processing procedure.In addition, at present, can also utilize the message of the different sessions of a kind of service processing function of a plurality of nuclear parallel processings in the polycaryon processor.Such as, all messages by 1 pair of session 1 of the nuclear in the polycaryon processor carry out all routing forwarding processing, all messages by 2 pairs of sessions 2 of the nuclear in the polycaryon processor carry out all routing forwarding processing simultaneously, and all messages by 3 pairs of sessions 3 of the nuclear in the polycaryon processor carry out all routing forwarding processing simultaneously.
The present invention utilizes polycaryon processor to propose a kind of method that realizes the multiple business processing capacity, and this method comprises: each in the configuration polycaryon processor checked and answered different service processing function; After receiving message, according to the execution sequence of each default service processing function, each nuclear that successively message is sent in the polycaryon processor of carrying out each service processing function is handled.
As seen, in the present invention, polycaryon processor be no longer as can only handling a kind of service processing function in the prior art, but can carry out different service processing function by different nuclear.
Correspondingly, the invention allows for a kind of multi-nuclear processor equipment.Fig. 2 is the structural representation of multi-nuclear processor equipment in one embodiment of the invention.Referring to Fig. 2, this multi-nuclear processor equipment comprises:
Configuration management element, each that is used for disposing polycaryon processor are checked should different service processing function;
Message Dispatching Unit, the message that is used for receiving from the outside are sent to the nuclear of the service processing function correspondence of at first carrying out;
Finish each nuclear of service processing function in the polycaryon processor, be used for that the message that receives is carried out corresponding service and handle,, send the message after handling according to the execution sequence of default service processing function.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Fig. 3 is a flow chart of realizing the multiple business processing capacity in one embodiment of the invention in network.Referring to Fig. 2 and Fig. 3, below in conjunction with present device the present invention is realized that the specific implementation process of multiple business processing capacity is described in detail, this process specifically may further comprise the steps:
Step 301: multi-nuclear processor equipment is set in network.
In this step, comprise configuration management element, message Dispatching Unit and polycaryon processor in the set multi-nuclear processor equipment.
Step 302: permission (License) certificate that obtains multi-nuclear processor equipment.
Here, for the service of different brackets is provided at different user, can uses the user of multi-nuclear processor equipment for each by operator a License certificate is provided.
The License certificate that operator provided can be directly used in the configuration of carrying out follow-up service processing function, therefore, can put down in writing the information of each nuclear difference corresponding service processing capacity in the polycaryon processor.
Step 303: utilize the License certificate, check should different service processing function for each of polycaryon processor in the configuration multi-nuclear processor equipment.
In this step, be directly to utilize the License certificate to be configured, specifically comprise: when polycaryon processor starts, according to the information of each nuclear difference corresponding service processing capacity in the License certificate, load the operating system and the business software of corresponding service processing function respectively for each nuclear in the polycaryon processor.
Need to prove, in above-mentioned steps 302, the License certificate that operator provided also can not be the configuration that is used to carry out follow-up service processing function, promptly do not put down in writing the information of each nuclear difference corresponding service processing capacity in the polycaryon processor, but this License certificate is used for the follow-up service processing function configuration of limited subscriber, promptly only be recited as the information of the service processing function of subscriber authorisation, in such cases, the processing of this step 303 process that replaces with following any one mode realizes:
Mode one, utilize configuration file to realize, comprising:
A, in the configuration file of multi-nuclear processor equipment, configuration parameter is set in advance, utilizes this configuration parameter to characterize each nuclear corresponding service processing capacity respectively in polycaryon processor.
B, when polycaryon processor starts, configuration management element in the present device can start the menu and read this configuration file from importing (BOOT), determines that according to the configuration parameter in the configuration file current needs are the service processing function that each nuclear in the polycaryon processor loads configuration respectively.
C, before loading the operating system and business software of corresponding service processing function for each nuclear, by whether finding the current information that needs to load the service processing function that disposes in the mandate service processing function information of configuration management element judgement in the License certificate, if, execution in step D then, otherwise, execution in step E.
D, be operating system and the business software that this nuclear in the polycaryon processor loads corresponding service processing function according to configuration parameter.
E, to user prompt insufficient permission and failure information.
Mode two, utilize hardware configuration to realize, comprising:
A, in advance the hardware configuration parameter is set on the hardware single board of multi-nuclear processor equipment, each nuclear in this hardware configuration parameter characterization polycaryon processor is corresponding service processing capacity respectively.
B, when multi-nuclear processor equipment starts, the configuration management element of present device reads the hardware configuration parameter on the hardware single board, determines that according to the hardware configuration parameter current needs are the service processing function that each nuclear in the polycaryon processor loads configuration respectively.
C, before loading the operating system and business software of corresponding service processing function for each nuclear, by whether finding the current information that needs to load the service processing function that disposes in the mandate service processing function information of configuration management element judgement in the License certificate, if, execution in step d then, otherwise, execution in step e.
D, be operating system and the business software that this nuclear in the polycaryon processor loads corresponding service processing function according to the hardware configuration parameter.
E, to user prompt insufficient permission and failure information.
In this mode two, the hardware configuration parameter that sets out can be the status word of toggle switch indication, such as, nuclear in the polycaryon processor 0 need be set to router feature, the nuclear 1 of polycaryon processor is set to firewall functionality, and the status word of the toggle switch indication of making an appointment is 6 and distinguished corresponding router function and firewall functionality at 7 o'clock, therefore, the status word that the toggle switch indication of nuclear 0 correspondence then can be set is 6, and the status word of examining the toggle switch indication of 1 correspondence is 7.
In addition, the hardware configuration parameter that sets out can also be the register configuration word of logical device internal unit, promptly represents the difference in functionality of the required execution of different IPs in the polycaryon processor by different configuration words.In addition, the hardware configuration parameter that sets out can also be the hardware resource configuration parameter of hardware interface subcard, that is to say, represents the difference in functionality of the required execution of different IPs in the polycaryon processor by the different parameters value of hardware resource configuration parameter.
The process of this step 303 is the original configuration of carrying out before multi-nuclear processor equipment starts.
Step 304: in the polycaryon processor running, the office terminal that links to each other with polycaryon processor receive user's input, comprise the address of specifying nuclear in the polycaryon processor and the control command of configuration parameter, this control command is sent to multi-nuclear processor equipment.
Step 305: multi-nuclear processor equipment is sent to described appointment nuclear with this control command.
Step 306: described appointment nuclear is carried out corresponding renewal configuration process according to the control command that receives.
Above-mentioned steps 304,305 and 306 processing, be the present invention in the running of multi-nuclear processor equipment, the configuration that needs to upgrade certain nuclear is as upgrading service processing function or upgrade route forwarding table etc., and the processing of carrying out.
Fig. 4 is first kind of preferred construction schematic diagram of multi-nuclear processor equipment in one embodiment of the invention.Referring to Fig. 4, in order to realize the processing of above-mentioned steps 304, comprise virtual management interface module and managing physical interface in the multi-nuclear processor equipment to step 306, wherein, the managing physical interface connects an outside office terminal.
Like this, referring to Fig. 4, when the user need upgrade the configuration of a nuclear, such as, when initial configuration, the service processing function that nuclear 0 is carried out is a firewall functionality, and the user need change to the service processing function that nuclear 0 is carried out the IPS processing, then can comprise control command nuclear 0 address, that be used for the service processing function of nuclear 0 is configured to the IPS processing to the office terminal input that links to each other with multi-nuclear processor equipment, outside office terminal is sent to this control command the managing physical interface of multi-nuclear processor equipment; The managing physical interface of multi-nuclear processor equipment is sent to the virtual management interface module with this control command; The virtual management interface module is sent to nuclear 0 according to the address of the nuclear 0 that carries in the control command with this control command, and nuclear 0 is carried out the corresponding service processing according to receiving control command, promptly loads and realizes IPS function operations system and business software.
In the business realizing of reality, the user is when the external management terminal input of control commands that links to each other with polycaryon processor, can be directly in the control command of office terminal input string row format, like this, the type of the managing physical interface shown in Fig. 4 is a serial line interface, what receive and send then is the control command of serial form, and, what the virtual management interface module shown in Fig. 4 received and sent also is the control command of serial form, under this kind mode, the virtual management interface module can utilize the nuclear of the one or more appointments in the polycaryon processor to realize, perhaps also can utilize existing packet parsing distribution engine to realize.
The user is when the external management terminal input of control commands that links to each other with polycaryon processor, can be by long-range input mode, such as login Web interface, control command to office terminal input ethernet format, like this, the type of the managing physical interface shown in Fig. 4 is an Ethernet interface, what receive and send then is the control command of ethernet format, and, what the virtual management interface module shown in Fig. 4 received and sent also is the control command of ethernet format, under this kind mode, the virtual management interface module can utilize existing packet parsing distribution engine to realize.
Step 307: in the multi-nuclear processor equipment running, multi-nuclear processor equipment receives the message that send the outside.
Step 308: multi-nuclear processor equipment is according to the execution sequence of each service processing function that sets in advance, and each nuclear that successively message is sent in the polycaryon processor of carrying out each service processing function is handled.
Fig. 5 is the third preferred construction schematic diagram of multi-nuclear processor equipment in one embodiment of the invention.Referring to Fig. 5, multi-nuclear processor equipment may further include the Virtual Ethernet module of the nuclear that connects all execution service processing function, like this on the basis of structure shown in Fig. 4, utilize structure shown in Figure 5, the specific implementation of above-mentioned steps 307 and step 308 comprises:
The message Dispatching Unit externally receives the message that send the outside on the physical interface, this message is sent to the nuclear 0 of the service processing function correspondence of at first carrying out;
Preserve in the nuclear 0 and transmit, the nuclear of service processing function correspondence that comprises next needs execution during this is transmitted is as examining 1 address (IP address or MAC Address), like this, when nuclear 0 receives message and message is carried out the corresponding service processing, after handling for fire compartment wall, nuclear 0 is according to the address of transmitting encapsulation nuclear 1 in message, then by for the virtual logical port that self distributes message being sent to the Virtual Ethernet module in advance;
After the Virtual Ethernet module receives nuclear 0 message of sending,, message is sent to nuclear 1 according to the address of the nuclear 1 that encapsulates in the message;
If examining 1 is not last a kind of nuclear of carrying out service processing function, so, nuclear 1 carries out similarly handling with nuclear 0, promptly at first according to the service processing function that loads, the message that receives is carried out corresponding service to be handled as being the anti-virus processing, then, according to transmitting of the address of the nuclear of preserving that comprises the service processing function correspondence that next needs are carried out, the address of this next one nuclear of encapsulation in message is by being sent to the Virtual Ethernet module for the virtual logical port that self distributes with message in advance;
After the Virtual Ethernet module receives nuclear 1 message of sending,, message is sent to this next one nuclear as is nuclear n according to the address of the next one nuclear that encapsulates in the message;
If nuclear n carries out the nuclear of service processing function for last, so, nuclear n is according to the service processing function that loads, and the message that receives is carried out after corresponding service handles, and by the physical interface for self distribution in advance message sent to the multi-nuclear processor equipment outside.
Utilize structure shown in Figure 5, the present invention can realize the load balancing of specified services processing capacity.In such cases, in above-mentioned steps 303, described configuration management element is when the nuclear of the service processing function configuration correspondence of carrying out load balancing for the needs of appointment, need a plurality of in the further configuration polycaryon processor to check the service processing function of should same needs carrying out load balancing, and these a plurality of nuclears have identical address; And, each nuclear of corresponding same service processing function in business procedure, if free time then export the idle condition signal if carrying out service processing function, then export the busy state signal;
Like this, in utilizing the above-mentioned specific implementation process of structure performing step 307 shown in Figure 5 and step 308:
If it is the service processing function that the needs of described appointment carry out load balancing that the message Dispatching Unit is determined at first the service processing function of carrying out, that is to say, can carry out this service processing function by a plurality of nuclears that comprise nuclear 0, so, the message Dispatching Unit can detect the status signal of all nuclear outputs of this service processing function correspondence respectively, when the status signal of nuclear 0 output is the free time, message is sent to nuclear 0;
And described Virtual Ethernet module when being used for the corresponding a plurality of nuclear in the address of the nuclear that encapsulates at message, at first detects the status signal of all nuclear outputs of this address correspondence, and then, being sent to message wherein, status signal is the nuclear of free time.
Fig. 6 is the 4th a kind of preferred construction schematic diagram of multi-nuclear processor equipment in one embodiment of the invention.Referring to Fig. 6, multi-nuclear processor equipment is on the basis of structure shown in Fig. 4, also may further include a plurality of Virtual Ethernet modules between the nuclear that is connected per two mutual messages of needs, such as setting in advance after nuclear 0 finishes the fire compartment wall processing, need carry out anti-virus by nuclear 1 handles, so, then can between nuclear 0 and nuclear 1, Virtual Ethernet module 1 be set, after nuclear n-1 finishes Business Processing, need carry out Business Processing by nuclear n, so, then can between nuclear n-1 and nuclear n, Virtual Ethernet module n etc. be set
Like this, utilize the specific implementation of structure above-mentioned steps 307 shown in Figure 6 and step 308 to comprise:
The message Dispatching Unit externally receives the message that send the outside on the physical interface, this message is sent to the nuclear 0 of the service processing function correspondence of at first carrying out;
Examine 0 pair of message and carry out the corresponding service processing as the fire compartment wall processing, nuclear 0 is sent to nuclear 1 by Virtual Ethernet module 1 with message;
If examining 1 is not last a kind of nuclear of carrying out service processing function, so, nuclear 1 carries out similarly handling with nuclear 0, promptly the message that receives being carried out corresponding service handles as being the anti-virus processing, then, by and next one nuclear between the Virtual Ethernet module directly message is sent to next nuclear, the rest may be inferred, until being sent to last nuclear n;
Nuclear n nuclear n is according to the service processing function that loads, and the message that receives is carried out after corresponding service handles, and by the physical interface for self distribution in advance message sent to the multi-nuclear processor equipment outside.
Need to prove, when disposing corresponding nuclear for each service processing function, preferably, configuration management element in the multi-nuclear processor equipment can be a control nuclear of each service processing function configuration and one or more data processing nuclear, when disposing a plurality of data processing nuclear for each service processing function, can carry out various application such as active and standby or load balancing between these a plurality of data processing nuclears.
Utilize structure shown in Figure 6, the present invention can realize the load balancing of specified services processing capacity.In such cases, in above-mentioned steps 303, described configuration management element needs a plurality of in the further configuration polycaryon processor to check the service processing function of should same needs carrying out load balancing when the corresponding nuclear of the service processing function configuration of carrying out load balancing for the needs of appointment; And, each nuclear of corresponding same service processing function in business procedure, if free time then export the idle condition signal if carrying out service processing function, then export the busy state signal;
Like this, in utilizing the above-mentioned specific implementation process of structure performing step 307 shown in Figure 6 and step 308:
Described message Dispatching Unit is used for when the needs that definite service processing function of at first carrying out is described appointment carry out the service processing function of load balancing, that is to say, can carry out this service processing function by a plurality of nuclears that comprise nuclear 0, so, the message Dispatching Unit can detect the status signal of all nuclear outputs of this service processing function correspondence respectively, when the status signal of nuclear 0 output is the free time, message is sent to nuclear 0;
In the subsequent process, finish each nuclear of service processing function in the polycaryon processor, being used in the service processing function that the next one is carried out is that the needs of described appointment are when carrying out the service processing function of load balancing, detect the status signal of all nuclear outputs of this service processing function correspondence, by and status signal be Virtual Ethernet module between the idle nuclear, directly this message is sent to this status signal and is idle nuclear.
Need to prove that also referring to Fig. 2 to Fig. 6, in the multi-nuclear processor equipment that the present invention proposes, described configuration management element can utilize in the polycaryon processor nuclear of one or more appointments to realize.Such as, specify a nuclear in the polycaryon processor is reserved out, as the administration configuration unit of finishing management controlled function such as device start, termination, resource allocation of special use.For another example, appointment is carried out the nuclear of finishing a kind of service processing function in the polycaryon processor multiplexing, that is, this nuclear is not only finished the service processing function of its configuration, uses but also be further used as the administration configuration unit.
In addition, referring to Fig. 2 to Fig. 6, in the multi-nuclear processor equipment that the present invention proposes, described message Dispatching Unit also can be the nuclear of one or more appointments in the polycaryon processor.Similar with the realization of configuration management element, this message Dispatching Unit can specify the specific core of a reservation in the polycaryon processor to realize, perhaps, can specify a multiplexing nuclear that carries out service processing function, such as, nuclear 0 has been configured to carry out fire compartment wall and has handled, and then can also further dispose nuclear 0 double as message Dispatching Unit.
Need to prove that also when the managing physical interface in the multi-nuclear processor equipment and external physical interfaces were Ethernet interface, this managing physical interface and external physical interfaces can be carried out multiplexing.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (25)
1, realize the method for multiple business processing capacity, this method adopts the equipment with polycaryon processor to realize that it is characterized in that, this method comprises:
In the configuration polycaryon processor each checked and answered different service processing function;
After receiving message, according to the execution sequence of each default service processing function, each nuclear that successively message is sent in the polycaryon processor of corresponding each service processing function is handled.
2, method according to claim 1, it is characterized in that, before putting the corresponding service processing capacity for a caryogamy in the polycaryon processor, further comprise: the information of judging the service processing function that whether can find current needs configuration in the mandate service processing function information in the License certificate that obtains in advance, if then continue to be implemented as the processing that the corresponding service processing capacity is put in this caryogamy in the polycaryon processor.
3, method according to claim 1 and 2 is characterized in that, the step that each in the described configuration polycaryon processor checked service processing function that should be different comprises:
Configuration parameter is set in configuration file in advance, and this configuration parameter characterizes each nuclear difference corresponding service processing capacity in the polycaryon processor; When polycaryon processor starts, be that each nuclear in the polycaryon processor loads the operating system and the business software of required execution service processing function respectively according to the configuration parameter in the configuration file;
Perhaps,
The hardware configuration parameter is set on hardware single board in advance, and each nuclear in this hardware configuration parameter characterization polycaryon processor is the corresponding service processing capacity respectively; When polycaryon processor starts, be that each nuclear in the polycaryon processor loads the operating system and the business software of required execution service processing function respectively according to the hardware configuration parameter on the hardware single board.
4, method according to claim 3 is characterized in that, described hardware configuration parameter is: status word, the register configuration word of logical device internal unit or the hardware resource configuration parameter of hardware interface subcard of toggle switch indication.
5, method according to claim 1 is characterized in that, the step that each in the described configuration polycaryon processor checked service processing function that should be different comprises:
In the License certificate, dispose spendable service processing function in advance; When polycaryon processor starts,, load the operating system and the business software of required execution service processing function respectively for each nuclear in the polycaryon processor according to the License certificate.
6, method according to claim 1, it is characterized in that, after in the configuration polycaryon processor each checked and answered different service processing function, further comprise: receive the control command that the user sends, according to the address of specifying nuclear in the polycaryon processor that comprises in this control command, the appointment that this control command is sent in the polycaryon processor is examined, and this appointment nuclear is carried out corresponding renewal configuration process according to the configuration parameter in the control command that receives.
7, method according to claim 1 is characterized in that, this method further comprises: connect all nuclears of carrying out service processing function by the Virtual Ethernet module that is provided with;
The step that each nuclear in the described polycaryon processor that successively message is sent to corresponding each service processing function is handled comprises: the message that will receive from the outside is distributed to the nuclear of the service processing function correspondence of at first carrying out; This is checked message and carries out after corresponding service handles, according to set in advance transmit in the address of nuclear of the next service processing function correspondence of carrying out, the address of this nuclear of encapsulation is sent to message the Virtual Ethernet module then in message; The Virtual Ethernet module is sent to corresponding nuclear according to receiving the address that encapsulates in the message with message; The rest may be inferred, until the nuclear of the service processing function correspondence that is sent to last execution; The message that this nuclear will carry out after the corresponding Business Processing sends.
8, method according to claim 1 is characterized in that, this method further comprises: between per two nuclears the Virtual Ethernet module is set;
The step that each nuclear in the described polycaryon processor that successively message is sent to corresponding each service processing function is handled comprises: the message that will receive from the outside is sent to the nuclear of the service processing function correspondence of at first carrying out; This is checked message and carries out after corresponding service handles, and the Virtual Ethernet module by between the corresponding nuclear of the service processing function of carrying out with the next one directly is sent to message next nuclear; The rest may be inferred, until the nuclear of the service processing function correspondence that is sent to last execution; The message that this nuclear will carry out after the corresponding Business Processing sends.
9, according to claim 7 or 8 described methods, it is characterized in that this method further comprises: appointment need be carried out the service processing function of load balancing;
For the corresponding nuclear of the service processing function configuration that need carry out load balancing the time, further comprise: a plurality of in the configuration polycaryon processor check the service processing function of should same needs carrying out load balancing;
Message is sent to the process of nuclear that needs carry out the service processing function correspondence of load balancing to be comprised: detect the status signal of all nuclear outputs of the service processing function correspondence that need carry out load balancing respectively, being sent to message wherein, status signal is idle nuclear.
According to claim 7 or 8 described methods, it is characterized in that 10, described Virtual Ethernet module is existing by examining of one or more appointments in the polycaryon processor.
11, multi-nuclear processor equipment is characterized in that, comprising:
Configuration management element, each that is used for disposing polycaryon processor are checked should different service processing function;
The message Dispatching Unit is used for the message that external physical interfaces is sent is sent to the at first nuclear of the service processing function correspondence of execution;
Finish each nuclear of service processing function in the polycaryon processor, be used for that the message that receives is carried out corresponding service and handle,, send the message after handling according to the execution sequence of default service processing function.
12, equipment according to claim 11, it is characterized in that, described configuration management element, be used for when polycaryon processor starts, read configuration file from import BOOT startup menu, the configuration parameter in this configuration file characterizes each nuclear difference corresponding service processing capacity in the polycaryon processor; According to the configuration parameter in the configuration file is that each nuclear in the polycaryon processor loads the operating system and the business software of required execution service processing function respectively.
13, equipment according to claim 11, it is characterized in that described configuration management element is used for when polycaryon processor starts, read the hardware configuration parameter from hardware single board, each nuclear in this hardware configuration parameter characterization polycaryon processor is the corresponding service processing capacity respectively; According to the hardware configuration parameter is that each nuclear in the polycaryon processor loads the operating system and the business software of required execution service processing function respectively.
14, according to claim 12 or 13 described equipment, it is characterized in that, described configuration management element, be further used for before putting the corresponding service processing capacity for a caryogamy in the polycaryon processor, whether can find the current information that needs the service processing function of configuration in the mandate service processing function information of judgement in the License certificate that obtains in advance, if then continue to be implemented as the processing that this caryogamy in the polycaryon processor is put needs the service processing function carried out.
15, equipment according to claim 11, it is characterized in that, described configuration management element, be used to preserve the License certificate, when polycaryon processor starts, according to each nuclear difference corresponding service processing capacity in the License certificate, load the operating system and the business software of corresponding service processing function respectively for each nuclear in the polycaryon processor.
16, equipment according to claim 11 is characterized in that, this equipment further comprises virtual management interface module and managing physical interface, wherein,
Described managing physical interface is used for receiving the control command that comprises polycaryon processor appointment nuclear address from the office terminal of outside, and this control command is sent to described virtual management interface module;
Described virtual management interface module is used for the address of the described appointment nuclear that carries according to control command, and this control command is sent to described appointment nuclear;
Described appointment nuclear in the polycaryon processor is further used for carrying out corresponding renewal configuration process according to the configuration parameter in the control command that receives.
17, equipment according to claim 16 is characterized in that, described managing physical interface is a serial line interface, receives the described control command of serial form; Then, described virtual management interface module is used to receive and send the described control command of serial form;
Perhaps,
Described managing physical interface is an Ethernet interface, receives the described control command of ethernet format; Then, described virtual management interface module is used to receive and send the described control command of ethernet format.
18, equipment according to claim 17, it is characterized in that, when described virtual management interface module was used to receive and send the described control command of serial form, this virtual management interface module was the nuclear of the one or more appointments in the polycaryon processor, perhaps was the packet parsing distribution engine;
When described virtual management interface module was used to receive and send the described control command of ethernet format, this virtual management interface module was the packet parsing distribution engine.
19, equipment according to claim 17 is characterized in that, when described managing physical interface and external physical interfaces were Ethernet interface, this managing physical interface and external physical interfaces were multiplexing.
20, equipment according to claim 11 is characterized in that, this equipment further comprises the Virtual Ethernet module of the nuclear that connects all execution service processing function, wherein,
Finish each nuclear of service processing function in the polycaryon processor, be used for when self not being the nuclear of last execution service processing function, address according to the nuclear of transmitting the middle next service processing function correspondence of carrying out that sets in advance, the address of this nuclear of encapsulation is sent to message the Virtual Ethernet module then in message; Be used for when self being the nuclear of last execution service processing function, the message after handling being sent;
Described Virtual Ethernet module is used for according to the address that receives the nuclear that message encapsulates message being sent to corresponding nuclear.
21, equipment according to claim 20, it is characterized in that, described configuration management element, be used for when the nuclear of the service processing function configuration correspondence of carrying out load balancing for the needs of appointment, further a plurality of in the configuration polycaryon processor check the service processing function of should same needs carrying out load balancing, and these a plurality of nuclears have identical address;
Described message Dispatching Unit, being used in the service processing function of at first carrying out is that the needs of described appointment are when carrying out the service processing function of load balancing, detect the status signal of all nuclear outputs of this service processing function correspondence respectively, being sent to message wherein, status signal is idle nuclear;
Described Virtual Ethernet module when being used for the corresponding a plurality of nuclear in the address of the nuclear that encapsulates at message, at first detects the status signal of all nuclear outputs of this address correspondence, and then, being sent to message wherein, status signal is the nuclear of free time.
22, equipment according to claim 11 is characterized in that, is connected with the Virtual Ethernet module between per two nuclears, wherein,
Finish each nuclear of service processing function in the polycaryon processor, be used for self be not last when carrying out the nuclear of service processing function, the message after handling is sent to Virtual Ethernet module between the nuclear with next execution service processing function; Be used for when self being the nuclear of last execution service processing function, the message after handling being sent;
Each Virtual Ethernet module, of being used for self is connected authorizes the message that comes and is sent to another nuclear that self connects.
23, equipment according to claim 22, it is characterized in that, described configuration management element, be used for when the corresponding nuclear of the service processing function configuration of carrying out load balancing for the needs of appointment, further dispose a plurality of in the polycaryon processor and check the service processing function of should same needs carrying out load balancing;
Described message Dispatching Unit, being used in the service processing function of at first carrying out is that the needs of described appointment are when carrying out the service processing function of load balancing, detect the status signal of all nuclear outputs of this service processing function correspondence respectively, being sent to message wherein, status signal is idle nuclear;
Finish each nuclear of service processing function in the described polycaryon processor, being used in the service processing function that the next one is carried out is that the needs of described appointment are when carrying out the service processing function of load balancing, detect the status signal of all nuclear outputs of this service processing function correspondence, by and status signal be Virtual Ethernet module between the idle nuclear, directly this message is sent to this status signal and is idle nuclear.
According to any described equipment in the claim 20 to 23, it is characterized in that 24, described Virtual Ethernet module is existing by examining of one or more appointments in the polycaryon processor.
25, equipment according to claim 11 is characterized in that, the nuclear that described configuration management element or described message Dispatching Unit are one or more appointments in the polycaryon processor.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101777192A CN101442513B (en) | 2007-11-20 | 2007-11-20 | Method for implementing various service treatment function and multi-nuclear processor equipment |
US12/743,972 US8417848B2 (en) | 2007-11-20 | 2008-07-22 | Method and apparatus for implementing multiple service processing functions |
PCT/CN2008/071721 WO2009065313A1 (en) | 2007-11-20 | 2008-07-22 | Method and multi-core processor equipment for realizing multiple service process functions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101777192A CN101442513B (en) | 2007-11-20 | 2007-11-20 | Method for implementing various service treatment function and multi-nuclear processor equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101442513A true CN101442513A (en) | 2009-05-27 |
CN101442513B CN101442513B (en) | 2012-05-23 |
Family
ID=40726757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101777192A Active CN101442513B (en) | 2007-11-20 | 2007-11-20 | Method for implementing various service treatment function and multi-nuclear processor equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101442513B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012016439A1 (en) * | 2010-08-06 | 2012-02-09 | 中兴通讯股份有限公司 | Method, device and equipment for service management |
CN102480430A (en) * | 2010-11-24 | 2012-05-30 | 迈普通信技术股份有限公司 | Method and device for realizing message order preservation |
CN102685001A (en) * | 2012-04-26 | 2012-09-19 | 汉柏科技有限公司 | Efficient processing method and efficient processing system of tasks of network devices |
CN102724099A (en) * | 2012-06-01 | 2012-10-10 | 中兴通讯股份有限公司 | Device and method for improving internal communication QoS (Quality of Service) of control plane of system with processors |
CN102968399A (en) * | 2012-10-22 | 2013-03-13 | 华为技术有限公司 | Multi-core processor and multiplexing method of network management portinterface thereof |
CN103051677A (en) * | 2012-11-30 | 2013-04-17 | 中国电信股份有限公司云计算分公司 | Network service capability providing method and equipment |
CN103226496A (en) * | 2013-03-15 | 2013-07-31 | 杭州华三通信技术有限公司 | Synchronous service processing method and multi-core equipment |
CN103346980A (en) * | 2013-07-02 | 2013-10-09 | 华为技术有限公司 | Method and device for service dispatching and network equipment |
CN103973553A (en) * | 2013-01-24 | 2014-08-06 | 华为技术有限公司 | Data packet processing method and network device |
CN104038437A (en) * | 2014-06-30 | 2014-09-10 | 蓝盾信息安全技术有限公司 | Method for implementing Cavium multi-core processor platform data packet load balance |
CN105812276A (en) * | 2016-04-27 | 2016-07-27 | 深圳市风云实业有限公司 | Message forwarding adaptive system and method adopting multi-core processor |
CN108984327A (en) * | 2018-07-27 | 2018-12-11 | 新华三技术有限公司 | Message forwarding method, multi-core CPU and the network equipment |
CN110875823A (en) * | 2018-08-29 | 2020-03-10 | 大唐移动通信设备有限公司 | Data processing system and method for service plane |
CN112311731A (en) * | 2019-07-29 | 2021-02-02 | 联合汽车电子有限公司 | Vehicle-mounted processor, vehicle-mounted controller and communication method |
CN112765925A (en) * | 2021-04-09 | 2021-05-07 | 北京燧原智能科技有限公司 | Interconnected circuit system, verification system and method |
CN113495791A (en) * | 2021-09-07 | 2021-10-12 | 上海燧原科技有限公司 | Task processing system, method and chip |
CN115086329A (en) * | 2022-06-06 | 2022-09-20 | 上海弘积信息科技有限公司 | Message forwarding processing method applied to load balancing system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5680018B2 (en) * | 2012-05-24 | 2015-03-04 | 京セラドキュメントソリューションズ株式会社 | Information processing apparatus and image forming apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9818377D0 (en) * | 1998-08-21 | 1998-10-21 | Sgs Thomson Microelectronics | An integrated circuit with multiple processing cores |
CN100466629C (en) * | 2006-09-18 | 2009-03-04 | 杭州华三通信技术有限公司 | Network equipment and message transferring method based on multiple-core processor |
CN100451975C (en) * | 2007-02-13 | 2009-01-14 | 杭州华三通信技术有限公司 | System and method for implementing packet combined treatment by multi-core CPU |
-
2007
- 2007-11-20 CN CN2007101777192A patent/CN101442513B/en active Active
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375761A (en) * | 2010-08-06 | 2012-03-14 | 中兴通讯股份有限公司 | Business management method, device and equipment |
WO2012016439A1 (en) * | 2010-08-06 | 2012-02-09 | 中兴通讯股份有限公司 | Method, device and equipment for service management |
CN102480430A (en) * | 2010-11-24 | 2012-05-30 | 迈普通信技术股份有限公司 | Method and device for realizing message order preservation |
CN102480430B (en) * | 2010-11-24 | 2014-07-09 | 迈普通信技术股份有限公司 | Method and device for realizing message order preservation |
CN102685001B (en) * | 2012-04-26 | 2014-12-10 | 汉柏科技有限公司 | Efficient processing method and efficient processing system of tasks of network devices |
CN102685001A (en) * | 2012-04-26 | 2012-09-19 | 汉柏科技有限公司 | Efficient processing method and efficient processing system of tasks of network devices |
CN102724099A (en) * | 2012-06-01 | 2012-10-10 | 中兴通讯股份有限公司 | Device and method for improving internal communication QoS (Quality of Service) of control plane of system with processors |
CN102724099B (en) * | 2012-06-01 | 2017-11-24 | 中兴通讯股份有限公司 | Lift multiple processor system chain of command intercommunication Qos device and method |
CN102968399A (en) * | 2012-10-22 | 2013-03-13 | 华为技术有限公司 | Multi-core processor and multiplexing method of network management portinterface thereof |
CN103051677A (en) * | 2012-11-30 | 2013-04-17 | 中国电信股份有限公司云计算分公司 | Network service capability providing method and equipment |
CN103973553A (en) * | 2013-01-24 | 2014-08-06 | 华为技术有限公司 | Data packet processing method and network device |
CN103226496B (en) * | 2013-03-15 | 2016-05-25 | 杭州华三通信技术有限公司 | Service synchronization processing method and multinuclear equipment |
CN103226496A (en) * | 2013-03-15 | 2013-07-31 | 杭州华三通信技术有限公司 | Synchronous service processing method and multi-core equipment |
US11016806B2 (en) | 2013-07-02 | 2021-05-25 | Huawei Technologies Co., Ltd. | Dynamic generation and adjustment of scheduling logic for packet processing by sets of processing modules |
WO2015000295A1 (en) * | 2013-07-02 | 2015-01-08 | 华为技术有限公司 | Service scheduling method and apparatus, and network devices |
CN103346980A (en) * | 2013-07-02 | 2013-10-09 | 华为技术有限公司 | Method and device for service dispatching and network equipment |
CN103346980B (en) * | 2013-07-02 | 2016-08-10 | 华为技术有限公司 | A kind of business scheduling method, device and the network equipment |
US10489194B2 (en) | 2013-07-02 | 2019-11-26 | Huawei Technologies Co., Ltd. | Dynamic generation and adjustment of scheduling logic for packet processing |
CN104038437A (en) * | 2014-06-30 | 2014-09-10 | 蓝盾信息安全技术有限公司 | Method for implementing Cavium multi-core processor platform data packet load balance |
CN105812276A (en) * | 2016-04-27 | 2016-07-27 | 深圳市风云实业有限公司 | Message forwarding adaptive system and method adopting multi-core processor |
CN105812276B (en) * | 2016-04-27 | 2023-11-10 | 深圳市风云实业有限公司 | Message forwarding adaptive system and method adopting multi-core processor |
CN108984327A (en) * | 2018-07-27 | 2018-12-11 | 新华三技术有限公司 | Message forwarding method, multi-core CPU and the network equipment |
CN110875823A (en) * | 2018-08-29 | 2020-03-10 | 大唐移动通信设备有限公司 | Data processing system and method for service plane |
CN110875823B (en) * | 2018-08-29 | 2021-07-23 | 大唐移动通信设备有限公司 | Data processing system and method for service plane |
CN112311731A (en) * | 2019-07-29 | 2021-02-02 | 联合汽车电子有限公司 | Vehicle-mounted processor, vehicle-mounted controller and communication method |
CN112765925A (en) * | 2021-04-09 | 2021-05-07 | 北京燧原智能科技有限公司 | Interconnected circuit system, verification system and method |
CN113495791A (en) * | 2021-09-07 | 2021-10-12 | 上海燧原科技有限公司 | Task processing system, method and chip |
CN113495791B (en) * | 2021-09-07 | 2021-12-14 | 上海燧原科技有限公司 | Task processing system, method and chip |
CN115086329A (en) * | 2022-06-06 | 2022-09-20 | 上海弘积信息科技有限公司 | Message forwarding processing method applied to load balancing system |
Also Published As
Publication number | Publication date |
---|---|
CN101442513B (en) | 2012-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101442513B (en) | Method for implementing various service treatment function and multi-nuclear processor equipment | |
CN101789877B (en) | A kind of method and system that builds network | |
US8417848B2 (en) | Method and apparatus for implementing multiple service processing functions | |
CN109088820B (en) | Cross-device link aggregation method and device, computing device and storage medium | |
JP2012527134A (en) | Method, apparatus and system for controlling access point | |
CN103534984A (en) | Port setting method, apparatus and computer program product for routing | |
CN107135279A (en) | It is a kind of to handle the method and apparatus that request is set up in long connection | |
CN108683618B (en) | Communication equipment and intelligent terminal | |
US20230080588A1 (en) | Mqtt protocol simulation method and simulation device | |
US9906412B2 (en) | Collaboration method and system in distributed resilient network interconnect system | |
WO2022037267A1 (en) | Ipmi command processing method and system for bmc, and device and medium | |
CN109067633B (en) | Power management system and method based on Ethernet daisy chain communication network topology | |
CN102307141A (en) | Message forwarding method and device | |
JP2001320415A (en) | Router | |
WO2013189069A1 (en) | Load sharing method and device, and single board | |
TWI498037B (en) | Service information managing method and service information managing system | |
CN109039764A (en) | A kind of network parameter configuration method of distributed memory system | |
CN105763442B (en) | The unbroken PON system of masterslave switchover LACP aggregated links and method | |
CN103795603A (en) | Edge virtual bridging method and device based on multiple network interface cards | |
CN102681969B (en) | Based on the long frame data transmission method of CAN | |
CN114095901A (en) | Communication data processing method and device | |
CN110650546A (en) | File transmission method, device, storage medium and terminal | |
US9619005B2 (en) | Apparatus and method for saving power of USB device | |
CN113407480A (en) | Centralized management's frame switch | |
CN110224950B (en) | Stack system detection system, method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |