Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for controlling message to be uploaded to CPU (central processing unit)

A control method and message technology, applied in the field of data communication, to achieve flexible processing and improve utilization

Pending Publication Date: 2022-04-01
RUIJIE NETWORKS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a control method and device for sending messages to the CPU to solve the problem of how to effectively use trap resources when sending messages to the CPU in the prior art

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 controlling message to be uploaded to CPU (central processing unit)
  • Method and device for controlling message to be uploaded to CPU (central processing unit)
  • Method and device for controlling message to be uploaded to CPU (central processing unit)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043]In view of the shortage of trap resources in the prior art when sending packets to the CPU, how to effectively use them to meet business needs, the embodiment of the present invention provides a control method for sending packets to the CPU. First, the packets are sent to The CPU needs to use the hardware resource trap resource, which is a hardware ID resource TRAP CODE that is sent to the CPU by the message; the TRAP CODE has a one-to-one correspondence with the VOQ group. A VOQ group includes 8 VOQ units, and each VOQ unit can correspond to different Or the same message policy; the VOQ group is divided according to the service category COS to which the message belongs. In the embodiment of the present invention, the service category COS corresponds to the VOQ unit one by one. The method of the present invention is applied to switching equipment, and the switching equipment includes a hardware policy module and a software policy module, and the specific implementation pr...

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 control method for uploading a message to a CPU (Central Processing Unit), the method is applied to switching equipment comprising a hardware strategy module and a software strategy module, and the method comprises the following steps: the software strategy module carries out initialization configuration on the hardware strategy module; the hardware strategy module performs feature matching on a first message to be sent, and determines a first TRAP CODE and a first VOQ group of trap resources corresponding to the first message; determining a first VOQ unit in a VOQ group corresponding to the to-be-sent message according to a first service classification COS mark of the first message and a corresponding relationship between a preset service classification COS mark and each VOQ unit in the VOQ group; and uploading a first message carrying the first COS mark and the message type to a CPU (Central Processing Unit) through the first TRAP CODE and the first VOQ unit according to an initially configured message strategy corresponding to the first VOQ unit. According to the embodiment of the invention, the problem of how to effectively utilize trap resources when the message is uploaded to the CPU in the prior art can be solved.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a control method and device for sending a message to a central processing unit (Central Processing Unit, CPU). Background technique [0002] When an existing switching device sends a packet to the CPU, it usually needs to use hardware trap resources to send the packet, and a packet type first needs to be associated with a trap resource, that is, a trap CODE. A trap CODE refers to A kind of hardware resource ID used by the CPU when the message is sent. You can set the corresponding resource ID on the CPU port according to the requirement. When the message is sent to the CPU, it will carry the resource ID used by the CPU according to the setting; The virtual output queue (VirtualOutput Queue, VOQ) group is bound, the priority scheduling and speed limit are performed through VOQ scheduling management, and then it is associated with the hardware port resource GPORT connect...

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): H04L49/25H04L49/253H04L49/111
Inventor 于孙汛
Owner RUIJIE NETWORKS CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More