Cache region snapshot implementation method and device
An implementation method and cache area technology, applied in the network field, can solve the problem that data record reading cannot achieve timely recording, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Such as figure 1 As shown, a method for implementing a buffer snapshot in this embodiment includes:
[0026] Step S101, according to the path flow of the network data packet, record the real-time data;
[0027] In a specific implementation, the real-time data includes data such as queue statistics and port statistics, which are used to reflect the statistics of the packets received by the Ethernet switch. When a network data packet enters the buffer buffer of the Ethernet switch, according to the path process of the data packet in the switch, these data packets will be recorded in the switch, and these records can reflect the real-time data statistics of the Ethernet switch , working status and network throughput information.
[0028] Step S102, synchronizing the real-time data to an independent internal memory in real time;
[0029] The internal memory will not affect the statistics of the buffer area Buffer of the switch itself, so it will not affect the statistics...
Embodiment 2
[0037] This embodiment also discloses a device for realizing snapshots of cache areas, which includes: a recording unit for recording real-time data according to the path flow of network data packets; a synchronization unit for synchronizing the real-time data to a An independent internal memory; and, according to a control instruction, interrupting real-time synchronization; a reading unit, configured to realize a cache snapshot by reading the instant data stored in the internal memory.
[0038] In a specific implementation, the synchronization unit interrupts the data synchronization of the internal memory when the instruction is successfully issued according to the snapshot instruction issued by the Ethernet switch software.
[0039] In a specific implementation, when the synchronization unit reaches a preset threshold inside the Ethernet switch, the processing unit triggers an interruption of the internal memory data synchronization.
[0040] In a specific implementation, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


