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

A method and device for determining duration

A technology of time and time, applied in the Internet field, can solve problems such as affecting network performance

Active Publication Date: 2020-09-04
XINHUASAN INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the above networking architecture, loops may form between different ports of PEs, affecting the performance of the entire network

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
  • A method and device for determining duration
  • A method and device for determining duration
  • A method and device for determining duration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure.

[0077] To ensure the normal operation of the network, it is necessary to perform loop detection on the network. For example, see figure 1 The shown network includes: PE1, PE2, CE1, and CE2. PE1 is connected to CE1 through port 1, PE 2 is connected to CE2 through port 2, PE1 and PE2 are connected through VPLS Network / VLL Network, and CE1 and CE2 are connected through L2Network. PE1 and PE2 can periodically send loop detection packets throu...

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 embodiment of the present invention provides a method and device for determining a time duration, and the method and device are applied to a first device. The method comprises the steps: extracting a carried target time duration from a first loop detection packet when receiving the first loop detection packet, transmitted by a second device through a second port, through a first port; and thendetermining the reception timeout duration of the first port in receiving the loop detection packet from the second port according to the target time duration. The target time duration is determinedaccording to the duration of the sending interval of the second port, and the reception timeout duration is determined according to the target time duration. Therefore, the first device performs loopdetection according to the reception timeout duration, which accords with a rule that a second device transmits a loop detection packet through the second port, and prevents a condition that the condition of a loop between the first port and the second port cannot be detected, thereby reducing the impact on the network performance from the loop.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, in particular to a method and device for determining duration. Background technique [0002] In the network, incorrect device connections and incorrect network configurations may cause loops in the Layer 2 network. If there is a loop in the network, the devices in the network may send data packets repeatedly, resulting in a waste of network resources and even paralysis of the network. [0003] Usually, a virtual private local area network service network (Virtual Private Lan Service Network, VP LSNetwork) or a virtual leased line network (Virtual Leased Line Network, VLL Network) may include one or more provider edge routers (Provider Edge, PE). The PE can be connected to one or more customer edge routers (Customer Edge, CE) through ports, and the CEs can communicate through a Layer 2 network (Layer 2Network, L2Network). In the above networking architecture, loops may form between...

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/26H04L12/46
CPCH04L12/4641H04L43/0864H04L43/10
Inventor 刘永奎王伟
Owner XINHUASAN INFORMATION TECH CO LTD