Method and device for obtaining flow data
A flow data and data packet technology, applied in the network field, can solve the problems of low efficiency of obtaining flow data and high delay of flow data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Such as figure 1 Shown is a flow chart of a method for obtaining flow data in an embodiment of the present invention, the method comprising:
[0056] S101. Obtain identification information of the transmission device;
[0057] S102. Obtain traffic data on all transmission devices according to all identification information;
[0058]Specifically, in the embodiment of the present invention, the method is executed by the main collection device, and the network structure between the main collection device and the transmission equipment is as follows: figure 2 As shown, in the network, the main acquisition device can directly obtain the data packet broadcast by the transmission device. When the transmission device sends the data packet, the transmission device will add timestamp information to the data packet. The timestamp information here represents the The moment the packet was broadcast.
[0059] Certainly, in the embodiment of the present invention, the data packet ...
Embodiment 2
[0063] In the embodiment of the present invention, in order to further improve the efficiency of acquiring traffic data on the transmission device. After the main collection device of the present invention acquires the data broadcast by the transmission equipment, the main collection device will parse out the timestamp information in the data packet, which represents the time when the transmission equipment broadcasts the data packet, and the main collection device passes the data packet The time stamp information in the system determines the number of sub-acquisition devices needed, and then the main acquisition device will allocate transmission equipment for each sub-acquisition device according to the total number of transmission devices and the number of sub-acquisition devices, and assign each sub-acquisition device The identification information of the received transmission equipment is sent to the corresponding sub-collection device, so that the sub-collection device obt...
Embodiment 3
[0082] Corresponding to a method for obtaining traffic data in the embodiment of the present invention, the embodiment of the present invention also provides a device for obtaining traffic data, such as Figure 4 Shown is a schematic structural diagram of a device for obtaining flow data in an embodiment of the present invention, and the device includes:
[0083] The acquiring module 401 is configured to acquire the respective identification information of all transmitting devices, wherein the information for identifying the transmitting device included in the data packet broadcast by the transmitting device for the identification information;
[0084] The receiving module 402 is configured to receive traffic data on all transmission devices according to the identification information.
[0085] Further, in the embodiment of the present invention, the receiving module 402 includes:
[0086] an acquisition unit, configured to acquire identification information and time stamp in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


