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

Packet loss preventing statistical method and device

A statistical method and anti-packet loss technology, applied in the field of communication, can solve the problems of inaccurate statistics and missing records of Ethernet frames and data packets, and achieve the effect of preventing missing records and accurate statistics.

Active Publication Date: 2014-06-04
FENGHUO COMM SCI & TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional counting adopts the read-clear mechanism. When the microcomputer reads the count value, the counter is cleared. If there is a count pulse at this time, due to the influence of the microcomputer interface operation, the read-clear operation clears the counter. As a result, this counting pulse is missed, resulting in inaccurate statistics of Ethernet frames and data packets

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
  • Packet loss preventing statistical method and device
  • Packet loss preventing statistical method and device
  • Packet loss preventing statistical method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0022] The anti-lost statistical method provided by the embodiment of the present invention includes the following steps:

[0023] A. While reading the count value, monitor the arrival of the count pulse. The read operation is divided into two types: generating a clear pulse and not generating a clear pulse;

[0024] B. For a read operation that does not generate a clear pulse, if a count pulse is detected during the read operation, the detected count pulse will be included in the next statistical cycle while the current count value is latched and sent out; For the read operation that generates a clear pulse, if the arrival of a count pulse is detected, the counter is cleared while the current count value is latched and sent, and the detected count pulse is counted into the next statistical cycle.

[0025] When counting the monitored counting...

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 packet loss preventing statistical method and a device. The method comprises the following steps: monitoring the arrival condition of a count pulse when reading a count value; and locking and sending out the current count value if the arrival of the count pulse is monitored, and reckoning the monitored count pulse into the next statistic cycle. If a reset pulse is generated by reading operation, the current count value is locked when the reset pulse arrives, a counter is reset, and the monitored count pulse is reckoned into the next statistic cycle. According to the invention, the reading operation of a microcomputer port and the counting operation of the counter are isolated and can not interfere with each other, and when the counter is reset, the arrival condition of the count pulse is monitored so as to prevent count miss caused in the period of microcomputer operation. The count value read by a microcomputer is the value locked in a trigger, so the method and the device can ensure no packet loss and realize efficient and accurate statistics, are suitable for the counter of any bit width, and can be used in any fields needing statistic counting.

Description

technical field [0001] The invention relates to a statistical method and device in the communication field, in particular to a statistical method and device for preventing packet loss. Background technique [0002] Ethernet technology has been widely used because of its good economy, interoperability and ease of use. Ethernet OAM (Operation Administration and Maintenance, operation, management, maintenance) needs to provide service management, fault detection and performance monitoring functions, among which the counting of a large number of Ethernet frames and data packets is indispensable. The traditional counting adopts the read-clear mechanism. When the microcomputer reads the count value, the counter is cleared. If there is a count pulse at this time, due to the influence of the microcomputer interface operation, the read-clear operation clears the counter. As a result, this counting pulse is missed, resulting in inaccurate statistics of Ethernet frames and data packet...

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): G06F12/02H03K21/40
Inventor 林雪章灿辉
Owner FENGHUO COMM SCI & TECH CO LTD