A traffic simulation method and device, electronic equipment and storage medium

By listening to network traffic and dividing the packet length range, multiple packets of different lengths that match the real network environment are generated, which solves the error problem when network devices process complex traffic on the live network and improves the simulation efficiency and accuracy.

CN116346681BActive Publication Date: 2026-07-21NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEW H3C TECH CO LTD
Filing Date
2023-03-28
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In existing technologies, network devices generate and send only a small number of single-length packets during functional testing, which leads to errors when processing complex traffic concurrently on the live network and fails to simulate the complex packet distribution in a real network environment.

Method used

By listening to current network traffic, dividing the message length range, and sending messages according to the range weight, multiple messages of different lengths that match the real network environment are generated, thus realizing traffic simulation.

Benefits of technology

It improves the similarity between the distribution of packets of different lengths in simulated traffic and the real network environment, solves the error problem when network devices process complex traffic on the live network, saves labor costs and improves simulation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116346681B_ABST
    Figure CN116346681B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a traffic simulation method and device, electronic equipment and storage medium, and relate to the technical field of communication. The method comprises: listening to traffic in a current network, obtaining a correspondence between a plurality of message lengths and a plurality of message quantities matched with the traffic; dividing length intervals to which the plurality of message lengths belong into a plurality of target length intervals, the weight of each target length interval being the total sum of message quantities corresponding to all message lengths included in each target length interval, and each target length interval corresponding to an instruction; and sending messages with lengths located in each target length interval according to the weight and the instruction of each target length interval. The technical scheme provided by the embodiments of the present application can improve the similarity between the distribution of messages with different lengths in the simulated traffic and the distribution of messages with different lengths in a real network environment, and solve the problem that network devices applied to a real network and concurrently processing complex traffic are prone to errors due to the simulated traffic containing a small amount of messages with a single length.
Need to check novelty before this filing date? Find Prior Art