Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cpu protection method and apparatus in multinucleated network equipment

A network equipment, multi-core technology, applied in the field of communication, can solve the problem of unreasonable protection strategy and affect user experience, and achieve the effect of improving user experience and good protection effect.

Active Publication Date: 2016-07-06
ZTE CORP
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a CPU protection method and device in a multi-core network device, which is used to solve the problem in the prior art that when the CPU utilization rate is too high, the protection strategy is not reasonable enough and affects the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cpu protection method and apparatus in multinucleated network equipment
  • Cpu protection method and apparatus in multinucleated network equipment
  • Cpu protection method and apparatus in multinucleated network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] An embodiment of the present invention provides a CPU protection method in a multi-core network device, such as figure 1 shown, including the following steps:

[0036] Step S101, configure the protection type of each network protocol, the protection type includes common protocol and special protocol;

[0037] The protection type configured for the network protocol is determined according to the importance the user attaches to the protocol packets. If the packets of a certain protocol are important packets, configure the protocol as a special protocol; otherwise, configure it as a common protocol.

[0038] Step S102, regularly calculate the cpu resource occupancy rate of the data core, and when it reaches the preset data core cpu protection execution threshold, execute step S103;

[0039] Step S103, detecting whether the cpu resource occupancy rate of the common protocol in the data core is greater than the preset minimum guaranteed execution threshold of the common pr...

Embodiment 2

[0052] An embodiment of the present invention provides a CPU protection device in a multi-core network device, such as figure 2 shown, including:

[0053] The configuration module 210 is used to configure the protection type of each network protocol, and the protection type includes common protocols and special protocols;

[0054] The calculation module 220 is used to regularly calculate the cpu resource occupancy rate of the data core, and when it reaches the preset data core cpu protection execution threshold, trigger the strategy selection and execution module;

[0055] The policy selection and execution module 230 is used to detect whether the cpu resource occupancy rate of the common protocol in the data core is greater than the preset minimum guarantee execution threshold of the common protocol, and if so, adopt the preset common protocol protection strategy to treat the message of the common protocol otherwise, use the preset special protocol protection policy to proc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cpu protection method and apparatus in multinucleated network equipment. The method comprises the following steps: configuring a protection type for each network protocol, wherein the protection type comprises a common protocol and a special protocol; calculating a cpu resource occupancy factor of a data nucleus in a timing mode, when the cpu resource occupancy factor reaches a preset data nucleus cpu protection execution threshold, detecting whether the cpu resource occupancy factor of the common protocol in the data nucleus is greater than a preset common protocol minimum guarantee execution threshold, if so, processing messages of the common protocol by use of a preset common protocol protection strategy; and otherwise, processing messages of the special protocol by use of a preset special protocol protection strategy. According to the invention, under the condition that the cpu utilization rate is too high, the messages of the common protocol are preferentially processed, such that it is ensured that important messages are not dropped to the maximum degree, and under the condition that a good protection effect is applied to a cpu, application experience of users is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a CPU protection method and device in multi-core network equipment. Background technique [0002] The purpose of CPU protection is to ensure that network communication devices can adopt effective strategies when they are attacked by a large number of network packets to protect the CPU from working normally and prevent network devices from being paralyzed due to insufficient CPU resources. [0003] At present, the CPU protection strategy is basically implemented as follows: periodically calculate the CPU utilization rate of each network protocol message, and if the CPU utilization rate exceeds a preset threshold, reduce the CPU utilization rate through a certain strategy. The current protection strategy is basically to discard packets that occupy too many CPU resources, so that the CPU can still work normally when it is attacked by network packets. [0004] Although these ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/06
CPCH04L69/18G06F9/505
Inventor 孙军欢
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products