CN102231684A - Interface board state detection method, multi-core central processing unit, interface board and router - Google Patents
Interface board state detection method, multi-core central processing unit, interface board and router Download PDFInfo
- Publication number
- CN102231684A CN102231684A CN201110162617XA CN201110162617A CN102231684A CN 102231684 A CN102231684 A CN 102231684A CN 201110162617X A CN201110162617X A CN 201110162617XA CN 201110162617 A CN201110162617 A CN 201110162617A CN 102231684 A CN102231684 A CN 102231684A
- Authority
- CN
- China
- Prior art keywords
- nuclear
- interface board
- physics
- available physical
- mapping table
- 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
- Debugging And Monitoring (AREA)
Abstract
The invention discloses an interface board state detection method, which comprises the following steps of: monitoring the state of each physical core in the same multi-core central processing unit (CPU), and updating a configuration relationship mapping table, wherein logic cores in the updated configuration relationship mapping table sequentially correspond to available physical cores; and when the number of the available physical cores is at least one or the share of the logic cores corresponding to the available physical cores in all the logic cores is greater than a preset effective rate, determining an interface board state is a normal state. By the technical scheme, correspondence between the logic cores and the available physical cores in the configuration relationship mapping table is updated in real time, the interface board state is determined to be the normal state when the number of the available physical cores is at least one or the share of the logic cores corresponding to the available physical cores in all the logic cores is greater than the preset effective rate, and an interface board can fun a service. The failure rate of the interface board is reduced, the communication loads of the other interface boards are further reduced, a communication rate and a resource utilization rate are increased, and communication failures are further mitigated.
Description
Technical field
The present invention relates to communication technical field, more particularly, relate to a kind of Interface status detection method, multinuclear central processing unit, interface board and router.
Background technology
Router comprises a master control borad and polylith interface board, and each piece interface board is provided with a multi-core CPU (Central Processing Unit, central processing unit), and described multi-core CPU comprises a main nuclear and a plurality of physics nuclear.When interface board started, described main nuclear was provided with a heartbeat inspecting timer for each physics nuclear of described multi-core CPU, and each physics is examined every pre-set time interval, authorizes to the master and send logon message.Do not authorize the logon message that send when the master receives same physics continuous 3 time intervals of nuclear, determine that then the physics nuclear state is a down state.Main authorizing send physics dyskaryosis information to give master control borad, and master control borad is judged physics nuclear place interface board abnormal state, and this moment, interface board was no longer managed business.
In sum, when certain interface board was not managed business, the traffic load of other interface boards then can increase, and the traffic load of the normal interface board of state can increase along with the increase of interface board failure rate, reduce traffic rate and resource utilization, even can cause communication failure.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the invention provides interface board condition detection method, multi-core CPU, interface board and router, by reducing the interface board failure rate, improves traffic rate and resource utilization, further alleviates communication failure.Technical scheme is as follows:
Based on an aspect of of the present present invention, the embodiment of the invention provides a kind of interface board condition detection method, comprising:
Monitoring is arranged in the state of same each physics nuclear of the multinuclear processing CPU of central authorities, determine that state is that the physics nuclear of upstate is examined for available physical, upgrade the configuration relation mapping table, described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal;
When the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, determine that the interface board state is a normal condition.
Preferably, also comprise:
When the number of available physical nuclear is zero or checks the occupation rate of logic nuclear in all logics nuclears of answering with available physical and be not more than when being preset with efficient, determine that the interface board state is an abnormality.
Preferably, upgrade the configuration relation mapping table and be specially: when the Status Change that monitors any one physics nuclear is down state or upstate, upgrade the configuration relation mapping table.
Preferably, upgrading the configuration relation mapping table also comprises afterwards: the configuration relation mapping table after will upgrading is sent to each physics nuclear.
Preferably, upgrade after the configuration relation mapping table, determine that the interface board state is that normal condition also comprises before:
Receive the configuration file that the user sends, according to the configuration relation mapping table after upgrading, described configuration file is sent to the available physical nuclear of answering with logical verify, described configuration file comprises the configuration operation information of each physics nuclear.
Preferably, upgrade the configuration relation mapping table and also comprise afterwards: obtain the hardware configuration information of physics nuclear self, and storage.
Preferably, the state that described monitoring is arranged in each physics of same interface board nuclear is by periodically receiving physics authorizes the logon message that send, and judges whether receive the logon message monitoring in default read-around ratio.
Based on another aspect of the present invention, the embodiment of the invention also provides a kind of multinuclear central processing unit, and described multinuclear central processing unit comprises a main nuclear and a plurality of physics nuclear, and described main nuclear comprises:
Monitoring modular is used for monitoring the state that is positioned at each physics of same multi-core CPU nuclear, determines that state is that the physics nuclear of upstate is examined for available physical;
Update module is used to upgrade the configuration relation mapping table, and described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal;
The normal determination module of interface board, be used for number when available physical nuclear be at least one or the logic nuclear checking to answer with available physical in the occupation rate of all logics nuclears when being preset with efficient, determine that the interface board state is a normal condition.
Preferably, described main nuclear also comprises:
The unusual determination module of interface board is used for number when available physical nuclear and is zero or check the logic nuclear of answering with available physical and be not more than when being preset with efficient in the occupation rate of all logics nuclears, determines that the interface board state is an abnormality.
Preferably, described main nuclear also comprises:
The mapping table sending module is used for the configuration relation mapping table after upgrading is sent to each physics nuclear.
Preferably, described main nuclear also comprises:
Information collocation module is used to receive the configuration file that the user sends, and according to the configuration relation mapping table after upgrading, configuration file is sent to the available physical nuclear of answering with logical verify.
Preferably, described main nuclear also comprises:
The information acquisition module is used to obtain physics and examines the hardware configuration information of self.
Preferably, described monitoring modular comprises:
The message receiving element is used for periodically receiving physics and authorizes the logon message that send;
Judging unit is used for judging in default read-around ratio whether receive logon message;
The upstate determining unit is used for determining then that when receive logon message in default read-around ratio the physics nuclear state is a upstate;
The down state determining unit is used for determining then that when do not receive logon message in default read-around ratio the physics nuclear state is a down state.
Based on one side more of the present invention, the embodiment of the invention also provides a kind of interface board that is applied on the router, and described interface board is provided with above-mentioned multinuclear central processing unit.
Based on one side more of the present invention, the embodiment of the invention also provides a kind of router, comprises master control borad and at least one interface board, and described interface board is provided with above-mentioned multinuclear central processing unit.
Use the technical scheme that the embodiment of the invention provided, the corresponding relation of logic nuclear and available physical nuclear in the real-time update configuration relation mapping table, when the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, determine that then the interface board state is a normal condition, and then interface board can move business.Compared with prior art, reduce the interface board failure rate, and then reduced the traffic load of other interface boards, improved traffic rate and resource utilization, further alleviated communication failure.
Description of drawings
The flow chart of the Interface status detection method that Fig. 1 provides for the embodiment of the invention;
A kind of structural representation of the multi-core CPU that Fig. 2 provides for the embodiment of the invention;
The another kind of structural representation of the multi-core CPU that Fig. 3 provides for the embodiment of the invention;
The structural representation of monitoring modular in the multi-core CPU that Fig. 4 provides for example of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The inventor finds after deliberation, interface board is provided with a multi-core CPU in the existing route device, multi-core CPU comprises a main nuclear and a plurality of physics nuclear, if main nuclear monitors any one physics nuclear state in the same multi-core CPU when being down state, master control borad determining interface board status in the router is unusual, and interface board is no longer managed business.Yet this moment, other states were that the physics of upstate is endorsed to satisfy the service operation requirement.If interface board is not managed business, then can increase the traffic load of the normal interface board of state, reduce traffic rate and resource utilization, even can cause communication failure.
In order to address the above problem, the embodiment of the invention provides a kind of interface board condition detection method, the method flow diagram of the embodiment of the invention as shown in Figure 1, described interface board condition detection method comprises:
S101: monitoring is positioned at the state of each physics nuclear of same multi-core CPU in the router, determines that state is that the physics nuclear of upstate is examined for available physical.Wherein:
The state that monitoring is positioned at each physics nuclear of same multi-core CPU in the router is by periodically receiving physics authorizes the logon message that send, and whether receives in judging default read-around ratio that logon message realizes.If in default read-around ratio, receive logon message, determine that then the state of physics nuclear is a upstate, physics nuclear is defined as available physical nuclear.If in default read-around ratio, do not receive logon message, determine that then the state of physics nuclear is a down state, physics nuclear is defined as unavailable physics nuclear.Default read-around ratio can be 3 times or other values, can determine according to the different application scene, and this is not limited.
Physics authorize send logon message mode can for: each physics nuclear is provided with the heartbeat inspecting timer that an inside is provided with the time interval, and each physics nuclear sends logon message every the time interval.The time interval can be set at different values according to the different application scene, and this is not limited.
S102: upgrade the configuration relation mapping table, described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal.
The configuration relation mapping table is set up when interface board starts at every turn, is used to write down the corresponding relation of logic nuclear and available physical nuclear, and wherein, the number of logic nuclear is identical with physics nuclear number in the multi-core CPU.When starting, giving tacit consent to all physics nuclears is available physical nuclear, therefore, initial configuration relationship map table record be the corresponding relation of logic nuclear and all physics nuclear, and be one to one.
The renewal of configuration relation mapping table can any one physics nuclear state changes to down state or real-time update when the upstate monitoring, promptly change to down state or when down state changes to upstate from upstate, real-time update configuration relation mapping table monitoring any one physics nuclear state.
Logic nuclear is checked with available physical successively and is answered in the configuration relation mapping table after the renewal.As: a multi-core CPU has physics nuclear 1, physics nuclear 2, physics nuclear 3 and physics nuclear 4.When initial in the configuration relation mapping table logic examine 1 corresponding physics nuclear 1, logic and examine that 2 corresponding physics nuclears 2, logic are examined 3 corresponding physics nuclears 3, logic is examined 4 corresponding physics nuclears 4.To examine 1 Status Change be down state when monitoring physics, then upgrades the configuration relation mapping table, logic examined 1 corresponding physics nuclear 2, logic are examined 2 corresponding physics nuclears 3, logic is examined 3 corresponding physics nuclears 4.If the Status Change that monitors physics nuclear 2 once more is a down state, then upgrades the configuration relation mapping table once more, with logic examine 1 corresponding physics nuclear 3, logic is examined 2 corresponding physics nuclears 4.If the Status Change that monitors physics nuclear 1 again is a upstate, upgrade the configuration relation mapping table, logic is examined 1 corresponding physics nuclear 1, logic are examined 2 corresponding physics nuclears 3, logic is examined 3 corresponding physics nuclears 4.
After having upgraded the configuration relation mapping table, the configuration relation mapping table after the renewal further sends to each physics nuclear.Physics nuclear then can be known the logic nuclear corresponding with it by the configuration relation mapping table.When main stone grafting is received the configuration file that the user sends,, configuration file is sent to the available physical nuclear of answering with logical verify according to the configuration relation mapping table after upgrading.Certainly, main nuclear can also notify available physical nuclear to be configured executing state, and available physical nuclear then can initiatively obtain the configuration file in the logic nuclear corresponding with it according to the configuration relation mapping table.
Available physical nuclear is configured according to the configuration operation information in the configuration file after getting access to configuration file.Configuration operation information can comprise operating software, specifies the required operating software of available physical nuclear automatically by configuration file, can improve application flexibility greatly.
Above-mentioned configuration relation mapping table can make main nuclear know that the physics nuclear state is upstate or is down state, but the hardware configuration information of physics nuclear self is transparent for main nuclear, therefore need further to read the hardware configuration information of the physics nuclear self of answering with logical verify according to the configuration relation mapping table, hardware configuration information is stored in the hardware register of logic nuclear, make main nuclear energy enough in logic nuclear, know the hardware configuration information that physics is examined.
It should be noted that: above-mentioned configuration operation information is that the user sends and distribute to physics nuclear, and this configuration operation information comprises software configuration informations such as operating software.Hardware configuration information is a physics nuclear self, as hardware configuration informations such as hard disk and memory size, display models.
In addition, in the prior art, it is transparent that physics is checked in main nuclear, so interface board is when each the startup, and main nuclear all needs to know that by the mode of monitoring message physics nuclear is upstate or down state, and then influenced service operation efficient.And above-mentioned interface board condition detection method, when interface board starts for the first time, mode by the monitoring message is checked logic nuclear and available physical and should be updated in the configuration relation mapping table, when the follow-up startup of interface board, main endorsing can know the physics nuclear state by the configuration relation mapping table, saved by the mode of monitoring message and known the process of physics nuclear state, and then improved service operation efficient.
S103: judge whether whether available physical nuclear number be at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical greater than being preset with efficient, when the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, execution in step S104, when the number of available physical nuclear is zero or checks the occupation rate of logic nuclear in all logics nuclears of answering with available physical and be not more than when being preset with efficient execution in step S105.
The above-mentioned efficient that is preset with is to judge when the interface board state is normal condition, available physical is checked the logic of answering and is examined the minimum ratio of examining with all logics, as being preset with efficient in the home network is 10%, check the logic nuclear minimum occupation rate in all logics nuclears of answering when available physical for being preset with efficient, show that promptly the interface board state is a normal condition, can continue to manage business.Default efficient value is not limited it according to different application scene difference.
S104: determine that the interface board state is a normal condition.When the interface board state was normal condition, this interface board then can continue to manage business.
S105: determine that the interface board state is an abnormality.When the interface board state is abnormality, needs that the business that this interface board is handled is given to other interface boards and handle.
Use technique scheme, the corresponding relation of logic nuclear and available physical nuclear in the real-time update configuration mapping table, when the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, determine that then the interface board state is a normal condition, and then interface board can move business.Compared with prior art, reduce the interface board failure rate, and then reduced the traffic load of other interface boards, improved traffic rate and resource utilization, further alleviated communication failure.
Embodiment is corresponding with said method, and the embodiment of the invention also provides a kind of multi-core CPU, and structural representation comprises as shown in Figure 2: 1 and main nuclear 2 of at least one physics nuclear.Examining 1 with a physics among Fig. 2 is that example describes.Main nuclear 2 comprises: monitoring modular 21, update module 22, the normal determination module 23 of interface board and the unusual determination module 24 of interface board.Wherein:
Monitoring modular 21 is used for monitoring the state that is positioned at each physics of same multi-core CPU nuclear, determines that state is that the physics nuclear of upstate is examined for available physical.
The renewal of configuration relation mapping table can any one physics nuclear state changes to down state or real-time update when the upstate monitoring, promptly change to down state or when down state changes to upstate from upstate, real-time update configuration relation mapping table monitoring any one physics nuclear state.
Logic nuclear is checked with available physical successively and is answered in the configuration relation mapping table after the renewal.As: a multi-core CPU has physics nuclear 1, physics nuclear 2, physics nuclear 3 and physics nuclear 4.When initial in the configuration relation mapping table logic examine 1 corresponding physics nuclear 1, logic and examine that 2 corresponding physics nuclears 2, logic are examined 3 corresponding physics nuclears 3, logic is examined 4 corresponding physics nuclears 4.To examine 1 Status Change be down state when monitoring physics, then upgrades the configuration relation mapping table, logic examined 1 corresponding physics nuclear 2, logic are examined 2 corresponding physics nuclears 3, logic is examined 3 corresponding physics nuclears 4.If the Status Change that monitors physics nuclear 2 once more is a down state, then upgrades the configuration relation mapping table once more, with logic examine 1 corresponding physics nuclear 3, logic is examined 2 corresponding physics nuclears 4.If the Status Change that monitors physics nuclear 1 again is a upstate, upgrade the configuration relation mapping table, logic is examined 1 corresponding physics nuclear 1, logic are examined 2 corresponding physics nuclears 3, logic is examined 3 corresponding physics nuclears 4.
The normal determination module 23 of interface board, be used for number when available physical nuclear be at least one or the logic nuclear checking to answer with available physical in the occupation rate of all logics nuclears when being preset with efficient, determine that the interface board state is a normal condition.
The above-mentioned efficient that is preset with is to judge when the interface board state is normal condition, available physical is checked the logic of answering and is examined the minimum ratio of examining with all logics, as being preset with efficient in the home network is 10%, check the logic nuclear minimum occupation rate in all logics nuclears of answering when available physical for being preset with efficient, show that promptly the interface board state is a normal condition, can continue to manage business.Default efficient value is not limited it according to different application scene difference.
The unusual determination module 24 of interface board is used for number when available physical nuclear and is zero or check the logic nuclear of answering with available physical and be not more than when being preset with efficient in the occupation rate of all logics nuclears, determines that the interface board state is an abnormality.
Configuration relation mapping table after update module 22 is upgraded can be sent to each physics nuclear, and main nuclear 2 needs to increase the mapping table sending module, and the structural representation of multi-core CPU as shown in Figure 3 increases mapping table sending module 25 on Fig. 2 basis.Mapping table sending module 25 is used for the configuration relation mapping table after upgrading is sent to each physics nuclear.
Multi-core CPU structural representation shown in Figure 3 also comprises information collocation module 26, is used to receive the configuration file that the user sends, and according to the configuration relation mapping table after upgrading, configuration file is sent to the available physical nuclear of answering with logical verify.Certainly, main nuclear can also notify available physical nuclear to be configured executing state, and available physical nuclear then can initiatively obtain the configuration file in the logic nuclear corresponding with it according to the configuration relation mapping table.
Available physical nuclear is configured according to the configuration operation information in the configuration file after getting access to configuration file.Configuration operation information can comprise operating software, specifies the required operating software of available physical nuclear automatically by configuration file, can improve application flexibility greatly.
Above-mentioned multi-core CPU structural representation shown in Figure 3 also comprises information acquisition module 27, is used to obtain the hardware configuration information of physics nuclear self.This checks in main nuclear because of physics is transparent, above-mentioned configuration relation mapping table can make main nuclear know that physics nuclear is upstate or is down state, but the hardware configuration information of physics nuclear self is transparent for main nuclear, therefore need further to read the hardware configuration information of the physics nuclear self of answering with logical verify according to the configuration relation mapping table, hardware configuration information is written in the hardware register of logic nuclear, makes main nuclear energy enough in logic nuclear, know the hardware configuration information that physics is examined.
It should be noted that: above-mentioned configuration operation information is that the user sends and distribute to physics nuclear, and this configuration operation information comprises software configuration informations such as operating software.Hardware configuration information is a physics nuclear self, as hardware configuration informations such as hard disk and memory size, display models.
Above-mentioned monitoring modular 21 can be judged the state that whether receives logon message monitoring physics nuclear in default read-around ratio by periodically receiving physics authorizes the logon message that send.The structural representation of monitoring modular 21 comprises as shown in Figure 4: message receiving element 211, judging unit 212, upstate determining unit 213 and down state determining unit 214.Wherein:
Physics authorize send logon message mode can for: each physics nuclear is provided with the heartbeat inspecting timer that an inside is provided with the time interval, and each physics nuclear sends logon message every the time interval.The time interval can be set at different values according to the different application scene, and this is not limited.Default read-around ratio can be 3 times or other values, can determine according to the different application scene, and this is not limited.
The embodiment of the invention also provides a kind of interface board that is applied on the router, and described interface board is provided with multi-core CPU.Multi-core CPU comprises main nuclear and at least one physics nuclear, wherein main nuclear is used for monitoring the state that is positioned at each physics nuclear of same multi-core CPU, determine that state is that the physics nuclear of upstate is examined for available physical, upgrade the configuration relation mapping table, described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal; When the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, determine that the interface board state is a normal condition.The structural representation of multi-core CPU can no longer be set forth this with reference to Fig. 2 or Fig. 3.
The embodiment of the invention also provides a kind of router, comprises master control borad and at least one interface board, and interface board is provided with multi-core CPU.Multi-core CPU comprises main nuclear and at least one physics nuclear, wherein main nuclear is used for monitoring the state that is positioned at each physics nuclear of same multi-core CPU, determine that state is that the physics nuclear of upstate is examined for available physical, upgrade the configuration relation mapping table, described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal; When the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, determine that the interface board state is a normal condition.The structural representation of multi-core CPU can no longer be set forth this with reference to Fig. 2 or Fig. 3.
Above-mentioned interface board and router can use interface board condition detection method shown in Figure 1 to detect, and this is no longer set forth.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.Description by above method embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as read-only memory (ROM), random-access memory (ram), magnetic disc or CD.
For device embodiment, because it is substantially corresponding to method embodiment, so relevant part gets final product referring to the part explanation of method embodiment.Device embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of module to realize the purpose of embodiment of the invention scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
In several embodiment that the application provided, should be understood that disclosed apparatus and method not surpassing in the application's the spirit and scope, can realize in other way.Current embodiment is a kind of exemplary example, should be as restriction, and given particular content should in no way limit the application's purpose.For example, the division of described unit or subelement only is that a kind of logic function is divided, and during actual the realization other dividing mode can be arranged, and for example a plurality of unit or a plurality of subelement combine.In addition, a plurality of unit can or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (15)
1. an interface board condition detection method is characterized in that, comprising:
Monitoring is arranged in the state of same each physics nuclear of the multinuclear processing CPU of central authorities, determine that state is that the physics nuclear of upstate is examined for available physical, upgrade the configuration relation mapping table, described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal;
When the number of available physical nuclear is at least one or the occupation rate of logic nuclear in all logics nuclears checking to answer with available physical when being preset with efficient, determine that the interface board state is a normal condition.
2. interface board condition detection method according to claim 1 is characterized in that, also comprises:
When the number of available physical nuclear is zero or checks the occupation rate of logic nuclear in all logics nuclears of answering with available physical and be not more than when being preset with efficient, determine that the interface board state is an abnormality.
3. interface board condition detection method according to claim 1 is characterized in that, upgrades the configuration relation mapping table and is specially: when the Status Change that monitors any one physics nuclear is down state or upstate, upgrade the configuration relation mapping table.
4. interface board condition detection method according to claim 1 is characterized in that, upgrades the configuration relation mapping table and also comprises afterwards: the configuration relation mapping table after will upgrading is sent to each physics nuclear.
5. interface board condition detection method according to claim 4 is characterized in that, upgrades after the configuration relation mapping table, determines that the interface board state is that normal condition also comprises before:
Receive the configuration file that the user sends, according to the configuration relation mapping table after upgrading, described configuration file is sent to the available physical nuclear of answering with logical verify, described configuration file comprises the configuration operation information of each physics nuclear.
6. interface board condition detection method according to claim 4 is characterized in that, upgrades the configuration relation mapping table and also comprises afterwards: obtain the hardware configuration information of physics nuclear self, and storage.
7. according to any described interface board condition detection method of claim 1 to 6, it is characterized in that, the state that described monitoring is arranged in each physics of same interface board nuclear is by periodically receiving physics authorizes the logon message that send, and judges whether receive the logon message monitoring in default read-around ratio.
8. multinuclear central processing unit, described multinuclear central processing unit comprise a main nuclear and a plurality of physics nuclear, it is characterized in that, described main examining comprises:
Monitoring modular is used for monitoring the state that is positioned at each physics of same multi-core CPU nuclear, determines that state is that the physics nuclear of upstate is examined for available physical;
Update module is used to upgrade the configuration relation mapping table, and described configuration relation mapping table is used to write down the corresponding relation of logic nuclear and available physical nuclear, and logic nuclear is checked with available physical successively and answered in the configuration relation mapping table after the renewal;
The normal determination module of interface board, be used for number when available physical nuclear be at least one or the logic nuclear checking to answer with available physical in the occupation rate of all logics nuclears when being preset with efficient, determine that the interface board state is a normal condition.
9. multinuclear central processing unit according to claim 8 is characterized in that, described main nuclear also comprises:
The unusual determination module of interface board is used for number when available physical nuclear and is zero or check the logic nuclear of answering with available physical and be not more than when being preset with efficient in the occupation rate of all logics nuclears, determines that the interface board state is an abnormality.
10. multinuclear central processing unit according to claim 8 is characterized in that, described main nuclear also comprises:
The mapping table sending module is used for the configuration relation mapping table after upgrading is sent to each physics nuclear.
11. multinuclear central processing unit according to claim 10 is characterized in that, described main nuclear also comprises:
Information collocation module is used to receive the configuration file that the user sends, and according to the configuration relation mapping table after upgrading, configuration file is sent to the available physical nuclear of answering with logical verify.
12. multinuclear central processing unit according to claim 10 is characterized in that, described main nuclear also comprises:
The information acquisition module is used to obtain physics and examines the hardware configuration information of self.
13. multinuclear central processing unit according to claim 8 is characterized in that, described monitoring modular comprises:
The message receiving element is used for periodically receiving physics and authorizes the logon message that send;
Judging unit is used for judging in default read-around ratio whether receive logon message;
The upstate determining unit is used for determining then that when receive logon message in default read-around ratio the physics nuclear state is a upstate;
The down state determining unit is used for determining then that when do not receive logon message in default read-around ratio the physics nuclear state is a down state.
14. an interface board that is applied on the router is characterized in that, described interface board is provided with as any described multinuclear central processing unit of claim 8 to 13.
15. a router comprises master control borad and at least one interface board, it is characterized in that described interface board is provided with as any described multinuclear central processing unit of claim 8 to 13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110162617 CN102231684B (en) | 2011-06-16 | 2011-06-16 | Interface board state detection method, multi-core central processing unit, interface board and router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110162617 CN102231684B (en) | 2011-06-16 | 2011-06-16 | Interface board state detection method, multi-core central processing unit, interface board and router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102231684A true CN102231684A (en) | 2011-11-02 |
CN102231684B CN102231684B (en) | 2013-11-06 |
Family
ID=44844224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110162617 Expired - Fee Related CN102231684B (en) | 2011-06-16 | 2011-06-16 | Interface board state detection method, multi-core central processing unit, interface board and router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102231684B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457797A (en) * | 2013-08-29 | 2013-12-18 | 杭州华三通信技术有限公司 | Method and device for detecting validity of RCPU port |
WO2016065928A1 (en) * | 2014-10-27 | 2016-05-06 | 中兴通讯股份有限公司 | Router configuration method and router, router control device and communication system |
CN112564931A (en) * | 2019-09-25 | 2021-03-26 | 华为技术有限公司 | Fault processing method, device and storage medium |
WO2023012595A1 (en) * | 2021-08-04 | 2023-02-09 | International Business Machines Corporation | Accessing topological mapping of cores |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080101267A1 (en) * | 2006-10-31 | 2008-05-01 | Semiconductor Energy Laboratory Co., Ltd. | Semiconductor device |
CN101178666A (en) * | 2007-12-13 | 2008-05-14 | 中兴通讯股份有限公司 | Coordinating and scheduling method between heterogeneous multi-core |
CN101419561A (en) * | 2007-10-26 | 2009-04-29 | 中兴通讯股份有限公司 | Resource management method and system in isomerization multicore system |
-
2011
- 2011-06-16 CN CN 201110162617 patent/CN102231684B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080101267A1 (en) * | 2006-10-31 | 2008-05-01 | Semiconductor Energy Laboratory Co., Ltd. | Semiconductor device |
CN101419561A (en) * | 2007-10-26 | 2009-04-29 | 中兴通讯股份有限公司 | Resource management method and system in isomerization multicore system |
CN101178666A (en) * | 2007-12-13 | 2008-05-14 | 中兴通讯股份有限公司 | Coordinating and scheduling method between heterogeneous multi-core |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457797A (en) * | 2013-08-29 | 2013-12-18 | 杭州华三通信技术有限公司 | Method and device for detecting validity of RCPU port |
CN103457797B (en) * | 2013-08-29 | 2016-12-28 | 杭州华三通信技术有限公司 | The detection method of a kind of RCPU port effectiveness and equipment |
WO2016065928A1 (en) * | 2014-10-27 | 2016-05-06 | 中兴通讯股份有限公司 | Router configuration method and router, router control device and communication system |
CN105634762A (en) * | 2014-10-27 | 2016-06-01 | 中兴通讯股份有限公司 | Router configuration method, router, router control device and communication system |
CN105634762B (en) * | 2014-10-27 | 2021-10-15 | 中兴通讯股份有限公司 | Router configuration method, router control device and communication system |
CN112564931A (en) * | 2019-09-25 | 2021-03-26 | 华为技术有限公司 | Fault processing method, device and storage medium |
CN112564931B (en) * | 2019-09-25 | 2022-08-19 | 华为技术有限公司 | Fault processing method, device and storage medium |
WO2023012595A1 (en) * | 2021-08-04 | 2023-02-09 | International Business Machines Corporation | Accessing topological mapping of cores |
US11983576B2 (en) | 2021-08-04 | 2024-05-14 | International Business Machines Corporation | Accessing topological mapping of cores |
GB2624327A (en) * | 2021-08-04 | 2024-05-15 | Ibm | Accessing topological mapping of cores |
GB2624327B (en) * | 2021-08-04 | 2024-10-16 | Int Business Machines Corporation | Accessing topological mapping of cores |
Also Published As
Publication number | Publication date |
---|---|
CN102231684B (en) | 2013-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202798798U (en) | High availability system based on cloud computing technology | |
CN104170323A (en) | Fault handling method, device and system based on network function virtualization | |
CN109886693B (en) | Consensus realization method, device, equipment and medium for block chain system | |
CN109739527B (en) | Method, device, server and storage medium for client gray scale release | |
US11438249B2 (en) | Cluster management method, apparatus and system | |
EP3522449B1 (en) | Service state transition method and device | |
CN108306760A (en) | For making the self-healing method and apparatus of managerial ability in a distributed system | |
WO2017220013A1 (en) | Service processing method and apparatus, and storage medium | |
CN109324918A (en) | Application program exception handling method and device, terminal and storage medium | |
CN102231684B (en) | Interface board state detection method, multi-core central processing unit, interface board and router | |
CN110275992A (en) | Emergency processing method, device, server and computer readable storage medium | |
CN104850394A (en) | Management method of distributed application program and distributed system | |
CN113810216A (en) | Cluster fault switching method and device and electronic equipment | |
CN110291505A (en) | Reduce the recovery time of application | |
CN110096305B (en) | Gray scale distribution method, device, equipment and storage medium | |
CN104272273A (en) | Dynamic memory allocation | |
CN107679423A (en) | Partition integrity inspection method and device | |
CN108268210B (en) | Information processing method, computing node and storage node | |
CN117499490A (en) | Multi-cluster-based network scheduling method and device | |
CN102546652B (en) | System and method for server load balancing | |
CN115470009B (en) | Memory resource management method, system, device and medium | |
CN111130856A (en) | Server configuration method, system, equipment and computer readable storage medium | |
CN116719639A (en) | Link dynamic adjustment and data processing method, device, computer equipment and medium | |
CN114124727B (en) | Network management communication pressure testing method and system | |
CN114610545A (en) | Method, system, device and medium for reducing single point of failure of private cloud computing |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131106 Termination date: 20190616 |
|
CF01 | Termination of patent right due to non-payment of annual fee |