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

Method and apparatus for obtaining packet slice numbers

A slicing and counting technology, applied in the field of obtaining the number of message slices

Inactive Publication Date: 2008-04-09
NEW H3C TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, the technical solution of using the above table lookup method to obtain the number of slices after message slicing requires a large amount of memory RAM resources, for example, 9k×8=72k RAM resources are required in Figure 2
RAM resources in logic devices are very precious

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 apparatus for obtaining packet slice numbers
  • Method and apparatus for obtaining packet slice numbers
  • Method and apparatus for obtaining packet slice numbers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Fig. 3 is a flowchart of a method for obtaining the number of message slices in the present invention. As shown in Figure 3, the following steps are included:

[0027] Step 301, record the length value of the received message.

[0028] Step 302, when the recorded value is greater than the preset value, subtracting the preset value from the recorded value until the recorded value after the subtraction operation is less than or equal to the preset value.

[0029] In step 303, add 1 to the number of subtraction operations performed, and use it as the number of slices when cutting the received message into slices of the preset length.

[0030] After step 303, the network device that executes steps 301 to 302 can perform billing according to the number of slices obtained, that is, the number of converted cells, or when it is necessary to send converted cells to the next-level network device, notify its number.

[0031] The technical solution shown in FIG. 3 can calculate ...

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 method for obtaining a message fragment number, which comprises recording the length of a received message; when the record value is higher than a preset value, decreasing the preset value to the recoded value until the record value is lower than the preset value; and adding the number of decrement operation by 1 to obtain the fragment number when cutting the received message to fragments with preset length. The invention also discloses a device for obtaining message fragment number. The invention can obtain message fragment number without consuming a large amount of random access memory (RAM) resource.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a method and a device for obtaining the number of message slices. Background technique [0002] In an asynchronous transfer mode (ATM, Asynchronous Transfer Mode), the basic carrier of information is an ATM cell. An ATM cell includes two parts, a header and a payload. The header is 5 bytes, and the payload is 48 bytes. Therefore, the total length of an ATM cell is 53 bytes. [0003] The adaptation layer (AAL: ATM Adaptation Layer) of ATM is the interface between the ATM core and the upper layer, and is set up to make the ATM layer adapt to different business types. ATM adaptation layer is subdivided into convergence (CS) sublayer, segment reassembly (SAR) sublayer and so on. There are six types of ATM adaptation layers: AAL0, AAL1, AAL2, AAL3, AAL4, and AAL5. [0004] Fig. 1 is a functional schematic diagram of the CS sublayer and the SAR sublayer in the existing AL...

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/56H04L29/06H04L12/70
Inventor 王彬
Owner NEW H3C TECH CO LTD
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