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

Method and device for CPU protection in multi-core 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: 2020-06-26
ZTE CORP
View PDF6 Cites 0 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
  • Method and device for CPU protection in multi-core network equipment
  • Method and device for CPU protection in multi-core network equipment
  • Method and device for CPU protection in multi-core network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

[0036] Step S101: Configure the protection type of each network protocol, where the protection type includes a common protocol and a special protocol;

[0037] The type of protection configured for the network protocol is determined according to the user's emphasis on the protocol message. If the message of a protocol is an important message, configure the protocol as a special protocol, otherwise, configure it as a common protocol.

[0038] Step S102: Calculate the CPU resource occupancy rate of the data core at regular intervals, and when it reaches the preset execution threshold of the data core cpu protection, 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 com...

Embodiment 2

[0052] The 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 configured to configure the protection type of each network protocol, and the protection type includes a common protocol and a special protocol;

[0054] The calculation module 220 is used to periodically 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 strategy 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 guaranteed execution threshold of the common protocol. If so, the preset common protocol protection strategy is adopted for the message of the common protocol Processing; otherwise, the preset special protocol protection str...

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 device in a multi-core network device. The method includes: configuring the protection type of each network protocol, the protection type including common protocols and special protocols; and regularly calculating the CPU resource occupancy rate of data cores , when it reaches the preset data core cpu protection execution threshold, detect whether the cpu resource occupancy rate of the common protocol in the data core is greater than the preset common protocol minimum guaranteed execution threshold, if so, adopt the preset common protocol protection strategy, Process the packets of common protocols; otherwise, adopt the preset special protocol protection strategy to process the packets of special protocols. When the utilization rate of the CPU is too high, the present invention preferentially processes the messages of the common protocol, which ensures that the important messages are not lost to the greatest extent, and improves the protection effect of the CPU when the CPU is well protected. use experience.

Description

Technical field [0001] The present invention relates to the field of communication technology, and in particular to a method and device for CPU protection in multi-core network equipment. Background technique [0002] The purpose of cpu protection is to ensure that when network communication equipment is attacked by a large number of network packets, effective strategies can be adopted to protect the cpu to work normally, and to prevent network equipment from paralyzing the entire network communication equipment due to insufficient cpu resources. [0003] At present, the cpu protection strategy is basically implemented as follows: calculate the cpu utilization rate of each network protocol message regularly, and if the cpu utilization rate exceeds a preset threshold, a certain strategy is adopted to reduce the cpu utilization rate. The current protection strategy is basically to discard the packets that occupy too much CPU resources, so that the CPU can still work normally when att...

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 Patents(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