Network transmission time recording method and device without communication common view, and medium
Through high-precision time synchronization and dedicated ASIC chip processing technology, the problems of insufficient time synchronization accuracy and limited data processing capabilities in the existing technology are solved, nanosecond time recording and data link layer processing are realized, and data security and network resource utilization are enhanced.
Patent Information
- Application Number
- CN202411882288.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-03-25
AI Technical Summary
The existing network communication systems have problems such as insufficient synchronous acquisition accuracy, limited processing capability of timestamp data, and difficult to correlate with time in terms of high-precision time synchronization and real-time acquisition.
The system is synchronized through a high-precision time source, and a dedicated ASIC chip is used to mirror and match specific traffic messages. Time stamp fields and geographic location information are added to the network transmission messages, realizing high-precision time recording and data processing at the data link layer.
It realizes nanosecond-level time synchronization accuracy and high-precision time recording, enhances data security and reliability, saves network resources, optimizes data processing capabilities, and supports a variety of communication protocols and interfaces.
Smart Images

Figure CN119696724A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technology, and in particular to a method, device and medium for recording network transmission time without communication co-viewing. Background Art
[0002] With the rapid development of network communication technology, various industries have increasingly stringent requirements for the real-time and accuracy of data transmission. Especially in some occasions where time accuracy is extremely high, such as satellite navigation, military communications, scientific research, etc., traditional time synchronization methods (PTP / NTP and other protocols) can no longer meet the high-concurrency data collection needs of high-precision time in network transmission. Therefore, it is particularly important to develop a method that can achieve high-precision time synchronization and recording.
[0003] Time synchronization is the process of synchronizing the clocks of various distributed systems and terminal devices with the standard clock of the central control system to ensure time consistency. With the advent of 5G and Industry 5.0, the rapid growth of network terminal devices and network services, time synchronization has become one of the important foundations of modern communications, power, military, finance and many other fields. In computer network applications, time is the basis for the normal interaction of network services. A complete service has strict time logic, and time confusion and deviation cannot occur, otherwise it will bring serious consequences. In networks such as power systems, the monitoring, control and management of various devices, and the fault alarms and log information of each subsystem also require high-precision time information for fault location and performance analysis. In short, time synchronization is required in any time-sensitive network to ensure the normal operation of the system. In the usual methods of achieving time synchronization, it is verified that the network equipment itself needs to support the network time synchronization protocol (NTP / SNTP / PTP). Only the PTP protocol can achieve ns-level time synchronization, and it is impossible to collect the timestamps of all messages. It only supports the 1588v2 protocol. At the same time, such devices cannot be moved and are expensive.
[0004] To synchronize time, you first need to obtain a standard clock signal. A time server is a practical clock device that obtains standard clock signal information from GNSS (Global Navigation Satellite System, such as GPS, Beidou) geosynchronous satellites, transmits this information through a TCP / IP network, and provides accurate, standard, secure, reliable and multifunctional time services for network devices (users).
[0005] NTP is the Network Time Protocol, which is used to synchronize clocks between computer systems over a variable-delay data network that exchanges data packets. NTP has been in operation since 1985 and is one of the oldest and most stable Internet protocols currently in use. Its purpose is to transmit a unified and standard time on the Internet. The specific implementation plan is to specify several clock source websites on the network to provide time synchronization services to users, and these websites should be able to compare with each other to improve accuracy.
[0006] SNTP (Simple Network Time Protocol) is a subset of NTP that simplifies many algorithms and steps of NTP, achieving efficiency, but the time accuracy is not as good as NTP. The format of the network data packets described by SNTP and NTP is exactly the same, the difference lies in how the system processes the contents of these data packets to synchronize its time. They are basically two different ways of handling time synchronization. Although full-featured NTP clients achieve high accuracy, SNTP clients are only recommended for simple applications where accuracy and reliability are not very demanding.
[0007] The Precision Time Protocol (PTP) is a protocol for synchronizing clocks throughout a computer network. On a local area network, it achieves sub-microsecond clock accuracy, making it suitable for measurement and control systems. IEEE 1588 is designed for local systems that require accuracy beyond that obtainable using NTP. The IEEE1588 standard describes a hierarchical master-slave architecture for clock distribution. Under this architecture, the time distribution system consists of one or more communication media (network segments) and one or more clocks. The Precision Time Protocol (PTP) IEEE 1588 is designed to synchronize real-time clocks in LANs used in telecommunications, power grids, financial markets, and industrial automation, and is currently being adopted in particular to synchronize financial HFT trading, mobile phone tower transmissions LTE / 5G BTS, submarine acoustic arrays, and any network that requires precise timing but does not have access to a GNSS time reference.
[0008] In summary, in the existing network communication system, time synchronization and real-time acquisition is a key technology. Especially in some occasions where time acquisition accuracy is extremely high, such as satellite navigation, military communications, financial transactions, etc., the traditional network transmission time synchronization acquisition method has the following disadvantages: (1) Insufficient synchronization acquisition accuracy: The time synchronization acquisition accuracy of existing technologies can usually only reach milliseconds and microseconds, which cannot meet the verification requirements of high-precision time synchronization, and time servers do not support recording of all message timestamps.
[0009] (2) Limited timestamp data processing capabilities: Traditional protocol verification relies on device support and cannot collect records in real time. Existing devices are prone to delays and data loss when processing large amounts of data, affecting synchronization effects.
[0010] (3) It is difficult to associate longitude, latitude and altitude information with time: Many satellite receiving devices cannot simultaneously record high-precision time information when acquiring geographic location information such as longitude, latitude and altitude, making it difficult for users to associate and use it. Summary of the invention
[0011] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a method, device and medium for recording network transmission time without communication co-viewing.
[0012] The objective of the present invention is achieved through the following technical solutions: The first aspect of the present invention provides: a method for recording network transmission time without communication co-viewing, characterized in that: it comprises the following steps: S1: High-precision time synchronization stage, in which the high-precision time source is used to synchronize the time of each component in the system, calibrate the system clock, and obtain the time reference information at the ns level; S2: In the network transmission filtering stage, a dedicated ASIC chip is used to mirror specific traffic packets and match ACLs. Messages are filtered according to ACL rules to control forwarding traffic and mirror specified messages. S3: Timestamp recording and parsing stage, adding information fields to all messages at the data link layer, including timestamp field, send and receive flag, fragmentation flag, fragmentation length, and packet number, adding geographic location information to network transmission messages, and associating location and time; then parsing the recorded timestamp data to obtain high-precision time of the message flow.
[0013] Preferably, the S1: high-precision time synchronization stage further includes the following steps: S11: Capture the target signal through the receiver, track the target signal using a preset algorithm, and filter the target signal; S12: extracting observations from the tracked target signal, including pseudorange and carrier phase; parsing the observations and converting them into a format for positioning calculation; S13: Calculate the position of the receiver through the positioning algorithm and the observation quantity, and make position correction according to the multipath effect and atmospheric delay during the calculation process; S14: Identify and quantify various error sources, including satellite orbit and clock errors, ionospheric delay correction residuals, tropospheric delay correction residuals and pseudorange measurement errors, and use error models and correction algorithms to correct the positioning solution results according to the quantified error sources; S15: When the positioning solution reaches the preset accuracy standard, it is locked and the positioning accuracy is continuously monitored.
[0014] Preferably, the positioning algorithm is the least squares method.
[0015] Preferably, the S2: network transmission filtering stage further includes the following steps: S21: Define network access rules that are allowed or denied based on preset policies, and a dedicated ASIC chip controls the inflow and outflow of data based on ACL rules; S22: ACL filtering is performed on outbound data, and only data packets that meet the preset policy are sent; outbound processing is performed on data packets of different priorities; S23: Transmitting the processed data packet to a designated receiving end through the network; S24: Use the port mirroring method to copy the network traffic packets to the forwarding port; use the ACL rules to filter out the data streams that need to be timestamped; S25: forward the mirrored network traffic message to the business system.
[0016] Preferably, the S3: timestamp recording and parsing phase further includes the following steps: S31: The timestamp field records time information accurate to the nanosecond level, including year, month, day, hour, minute, second, and intra-second clock counter, associating time information with network message content; adding longitude, latitude, and altitude to network transmission messages to associate location with time; recording time at each processing step of the data packet to track the path and processing time of the data flow; S32: Process the information fields in the data packet to extract the source address, destination address, and protocol type; and fragment the data packet according to the network protocol requirements; S33: During the message forwarding process, the timestamp is recorded and updated, and the message with the timestamp is forwarded to the next processing node; S34: Collect timestamps and message data in the network, and verify data integrity and whether it has been tampered with; S35: Parse the verified timestamp and message data to identify abnormal behaviors or performance issues in the network.
[0017] Preferably, the high-precision time source is a satellite signal.
[0018] The second aspect of the present invention provides: a network transmission time recording device without communication co-viewing, used to implement any of the above-mentioned network transmission time recording methods without communication co-viewing, comprising: A processor is provided, wherein the processor is connected to a GNSS receiver and a phase-locked loop, the phase-locked loop is connected to the GNSS receiver, a timing module and a clock buffer, and the timing module is connected to the phase-locked loop and the clock buffer; the processor is encapsulated with a clock protocol and a synchronization algorithm, and is used to collect network messages for processing and output the processed network messages.
[0019] The third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned network transmission time recording methods without communication co-viewing is implemented.
[0020] The beneficial effects of the present invention are: 1) Improve synchronization accuracy: The high-precision time keeping and recording method adopted by the present invention can achieve nanosecond-level time synchronization accuracy recording, which is much higher than the millisecond-level acquisition accuracy of the existing technology. This high-precision synchronization keeping and recording capability provides strong technical support for time-sensitive fields such as high-frequency trading, satellite navigation, scientific research experiments, etc.
[0021] 2) Enhanced data security: The present invention adds a timestamp field, a send and receive flag, etc. to the data link layer. The addition of these fields helps to provide complete tracking and auditing capabilities during data transmission, thereby enhancing data security and reliability.
[0022] 3) Save network resources: Through the filtering mechanism, it is possible to decide whether to forward data based on the data type and business needs. For example, non-essential ARP and other types of packets are not forwarded and analyzed, thereby reducing unnecessary network traffic, saving valuable network bandwidth resources, and supporting the recording of specified network message content.
[0023] 4) Optimized data processing capabilities: Able to efficiently process and record large amounts of data, split and reassemble data packets, ensuring data integrity and accuracy while avoiding transmission problems caused by excessively long data packets.
[0024] 5) Compatibility and scalability: It supports multiple communication protocols and interfaces, is easy to integrate with existing systems, and has good scalability, and can be upgraded and expanded in function according to future technological developments. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A flow chart of a method for recording network transmission time without communication co-viewing; Figure 2 It is a principle block diagram of a network transmission time recording device without communication common vision; Figure 3 It is a schematic diagram of the data packet structure after the position and time are associated; Figure 4 Example diagram for data packet splitting; Figure 5 A block diagram showing the principle of using a network transmission time recording device without communication co-viewing to perform business processing; Figure 6 This is a flowchart for filtering using ACL rules; Figure 7 Schematic diagram of networking transmission for multiple groups of devices. DETAILED DESCRIPTION
[0026] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0027] See also Figure 1-Figure 7 The first aspect of the present invention provides: a method for recording network transmission time without communication co-viewing, characterized in that: it includes the following steps: S1: High-precision time synchronization stage, in which the high-precision time source is used to synchronize the time of each component in the system, calibrate the system clock, and obtain the time reference information at the ns level; S2: In the network transmission filtering stage, a dedicated ASIC chip is used to mirror specific traffic packets and match ACLs. Messages are filtered according to ACL rules to control forwarding traffic and mirror specified messages. S3: Timestamp recording and parsing stage, adding information fields to all messages at the data link layer, including timestamp field, send and receive flag, fragmentation flag, fragmentation length, and packet number, adding geographic location information to network transmission messages, and associating location and time; then parsing the recorded timestamp data to obtain high-precision time of the message flow.
[0028] In this embodiment, in S1, satellite signals or other high-precision time sources are used to achieve time synchronization of various components in the system; the system clock is calibrated to ensure that all processing steps are performed under a unified time reference; and high-precision ns-level time reference information can be obtained. In S2, a dedicated ASIC chip is used to mirror specific traffic messages and match ACLs; messages are filtered according to ACL rules to achieve forwarding flow control and mirroring of specified messages; multiple protocol configurations are supported to meet various network transmission time recording needs. In S3, information fields are added to all messages at the data link layer, including timestamp fields, send and receive flags, fragmentation flags, fragmentation lengths, and packet numbers; the timestamp field records time information accurate to nanoseconds, including year, month, day, hour, minute, second, and intra-second clock counter; geographic location information such as longitude, latitude, and altitude are added to network transmission messages to achieve the association between location and time; the recorded timestamp data is parsed to obtain the desired high-precision time of the message flow.
[0029] The high-precision synchronous time networking equipment is used to maintain time and record message timestamps during network transmission to solve the problems of high complexity, difficulty, and low accuracy in network collection and analysis. The location information is then parsed and transmitted based on satellite positioning data to solve the problem of being unable to record real-time network data location information during movement. The dedicated ASCI chip is used to mirror and match specific message traffic to achieve efficient data processing. By acquiring high-precision time, it can provide time code information and second pulse signals to the device under test, and can also add high-precision timestamp information fields to network service data. High-precision time keeping and recording equipment adds information fields to all messages at the data link layer. Mainly timestamp fields, send and receive flags, fragmentation flags, fragmentation lengths, and packet numbers. High-precision time keeping and recording equipment can also timestamp and mark actual location information. For specified business data types, such as ordinary ptp / ntp and other network time synchronization protocols, it also supports forwarding of udp / tcp messages that can identify message features. At the same time, it unpacks data packets with a length greater than 1500, and transmits data to specified messages. Such as Figure 3 As shown, the high-precision device adds an information field (22 bytes) to the original transmission frame to add high-precision timestamps, geographic locations and other information to network service data.
[0030] a) Timestamp field: (7bit) Bit63-57: Year, for example, 24 means 2024; (4bit) Bit56-53: Month, for example, 12 means December; (5bit) Bit52-48: Day, for example, 31 means the 31st; (5bit) Bit47-43: Hour, for example, 23 means 23 hours; (6bit) Bit42-37: Minute, for example, 59 means 59 minutes; (6bit) Bit36-31: Second, for example, 59 means 59 seconds; (31bit) Bit30-0: Intra-second clock counter, the clock accuracy is 1ns. For example, if the counter value is 1000, it means the intra-second time is 1us.
[0031] b) Longitude: It is represented by 4-byte binary complement code, the 31st bit is the sign bit, the 30th bit is the MSB, representing 90 degrees, the 0th bit is the LSB, representing 90 / 2^30, the full scale is (180-90 / 2^30), the maximum value is 180-90 / 2^30, and the minimum value is -180.
[0032] c) Latitude: It is represented by 4-byte binary complement code, the 31st bit is the sign bit, the 30th bit is the MSB, indicating 90 degrees, the 0th bit is the LSB, indicating 90 / 2^30, the full scale is (180-90 / 2^30), the maximum value is 90, and the minimum value is -90.
[0033] d) Height: 0-65535, unit: m.
[0034] e) Send and receive flag: 1'b0: send; 1'b1: receive f) Fragmentation mark: 2'b00: data is not split; 2'b01: first fragmentation mark, the fragmentation length is the total length of the transmission frame before the split; 2'b10: last fragmentation mark, the fragmentation length is the length of the current transmission frame; g) Fragment length: the total length of the transmission frame or the current fragment length.
[0035] h) Packet number: Packet sequence number, 0~65535 cyclic count; add information field (22 bytes) based on the original transmission frame. If the total length of the original data packet is greater than 1492 bytes (excluding FCS), the total length of the data sent to the acquisition end will exceed 1518. Therefore, it is necessary to split the data packets of special length.
[0036] Splitting principles: 1) The transmission frame is larger than 1492 bytes (excluding FCS); 2) The lengths of the two packets after splitting should be as consistent as possible; 3) Except for the fragmentation flag and fragmentation length, the remaining information fields after splitting should be consistent with the first packet; Figure 4The figure shows a splitting example. The length of the example transmission frame is 1493 bytes. After adding the information field, the length exceeds 1514 and is split into two fragments as shown in the example. The fragment flag and fragment length information in the information field are maintained as shown in the example.
[0037] In some embodiments, the S1: high-precision time synchronization stage further includes the following steps: S11: Capture the target signal through the receiver, track the target signal using a preset algorithm, and filter the target signal; S12: extracting observations from the tracked target signal, including pseudorange and carrier phase; parsing the observations and converting them into a format for positioning calculation; S13: Calculate the position of the receiver through the positioning algorithm and the observation quantity, and make position correction according to the multipath effect and atmospheric delay during the calculation process; S14: Identify and quantify various error sources, including satellite orbit and clock errors, ionospheric delay correction residuals, tropospheric delay correction residuals and pseudorange measurement errors, and use error models and correction algorithms to correct the positioning solution results according to the quantified error sources; S15: When the positioning solution reaches the preset accuracy standard, it is locked and the positioning accuracy is continuously monitored.
[0038] In this embodiment, the signal is captured by the receiver and tracked using an algorithm to improve the stability and accuracy of the signal. Filtering technology is applied to reduce noise interference and ensure signal quality. Key observations, such as pseudorange, carrier phase, etc., are extracted from the tracked signal. The extracted data is parsed and converted into a format that can be used for positioning calculations. Using the extracted observations, the precise position of the receiver is calculated using a positioning algorithm (such as the least squares method). Factors such as multipath effects and atmospheric delays are considered to improve positioning accuracy. Various error sources are identified and quantified, such as satellite orbit and clock errors, ionospheric delay correction residuals, tropospheric delay correction residuals, and pseudorange measurement errors. Error models and correction algorithms are applied to reduce the impact of these errors on positioning results. Confirm the stability and accuracy of the positioning solution results to ensure that the preset accuracy standards are met. In the locked state, the positioning accuracy is continuously monitored to ensure stable operation of the system.
[0039] In some embodiments, the positioning algorithm is a least squares method.
[0040] In some embodiments, the S2: network transmission filtering stage further includes the following steps: S21: Define network access rules that are allowed or denied based on preset policies, and a dedicated ASIC chip controls the inflow and outflow of data based on ACL rules; S22: ACL filtering is performed on outbound data, and only data packets that meet the preset policy are sent; outbound processing is performed on data packets of different priorities; S23: Transmitting the processed data packet to a designated receiving end through the network; S24: Use the port mirroring method to copy the network traffic packets to the forwarding port; use the ACL rules to filter out the data streams that need to be timestamped; S25: forward the mirrored network traffic message to the business system.
[0041] In this embodiment, a strategy is designed according to the method to define network access rules that are allowed or denied. The chip implements ACL to control the inflow and outflow of data to ensure system security and stability. ACL filtering is performed on outbound data to ensure that only data packets that comply with the design strategy are sent. Data packets are processed in the outbound direction according to different priorities to ensure that the messages to be timestamped are sent. Multiple protocol configurations are supported to meet various network transmission time recording needs. The processed data is transmitted to the specified receiving end through the network. Ensure the integrity and security of the data during transmission. Use port mirroring technology to copy network traffic messages to the forwarding port for normal business forwarding. Apply ACL rules to filter out data streams that need to be timestamped. Forward the mirrored network traffic to the business system for normal business system forwarding and processing. Ensure the real-time and accuracy of the mirrored data without affecting the normal business system.
[0042] like Figure 5 As shown, the present invention has a powerful data processing capability, can process a large amount of data in real time, and reduce delays and data loss. Regarding efficient data traffic processing, it is divided into the following steps: 1. For specific port traffic, the chip supports port traffic forwarding and mirroring functions to copy messages, 2. For specific message data, the message is filtered according to the ACL rule to achieve the purpose of forwarding traffic control and mirroring specified messages. 3. Add a data link layer timestamp to the mirrored message. Traffic mirroring is based on port mirroring, and the source port is associated with the ACL (Access Control List, access control list), and the message is filtered according to the ACL rules to achieve the purpose of only mirroring the specified message. Only the message of the source port that matches the ACE (Access Control Entry) of the permit type in the ACL can be mirrored to the destination port. ACL rule message input filtering, message output filtering, support for specified ports, support for multiple protocol configurations, and meet the needs of various network transmission time records. The ACL rule configuration parameters are shown in Table 1.
[0043] Table 1 like Figure 6 As shown in the figure, when processing traffic during network transmission, it is necessary to match ACL rules and mirror ACL rules to meet the processing logic for different network messages. 1. In the local area network, we can add ACL rules for ARP message filtering to achieve this. 2. In specific business scenarios, we can implement the specified message traffic based on the UDP network field and add a timestamp information field.
[0044] In some embodiments, the S3: timestamp recording and parsing phase further includes the following steps: S31: The timestamp field records time information accurate to the nanosecond level, including year, month, day, hour, minute, second, and intra-second clock counter, associating time information with network message content; adding longitude, latitude, and altitude to network transmission messages to associate location with time; recording time at each processing step of the data packet to track the path and processing time of the data flow; S32: Process the information fields in the data packet to extract the source address, destination address, and protocol type; and fragment the data packet according to the network protocol requirements; S33: During the message forwarding process, the timestamp is recorded and updated, and the message with the timestamp is forwarded to the next processing node; S34: Collect timestamps and message data in the network, and verify data integrity and whether it has been tampered with; S35: Parse the verified timestamp and message data to identify abnormal behaviors or performance issues in the network.
[0045] In this embodiment, during the message forwarding process, the timestamp is recorded and updated to ensure that the transmission time of the data packet is accurately recorded. The timestamp and message data in the network are collected for subsequent analysis and monitoring. Ensure that the collected data is complete and has not been tampered with.
[0046] In some embodiments, the high-precision time source is a satellite signal.
[0047] The present invention records the timestamps of large traffic during the transmission process, and accurately records the high-precision time of each message during transmission. Through the implementation of the above-mentioned key technical solutions, the present invention not only improves the accuracy and reliability of time synchronization acquisition, but also achieves the saving of network resources and the stable operation of equipment in various environments by optimizing data processing, thereby producing good technical effects. The time synchronization acquisition accuracy of the prior art can usually only reach the millisecond or microsecond level, while the present invention can achieve nanosecond time recording. The prior art does not support the addition and recording of timestamps for large traffic messages, nor can it simultaneously record and process message times at the ns level for a large number of messages.
[0048] The second aspect of the present invention provides: a network transmission time recording device without communication co-viewing, used to implement any of the above-mentioned network transmission time recording methods without communication co-viewing, comprising: A processor is provided, wherein the processor is connected to a GNSS receiver and a phase-locked loop, the phase-locked loop is connected to the GNSS receiver, a timing module and a clock buffer, and the timing module is connected to the phase-locked loop and the clock buffer; the processor is encapsulated with a clock protocol and a synchronization algorithm, and is used to collect network messages for processing and output the processed network messages.
[0049] The third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned network transmission time recording methods without communication co-viewing is implemented.
[0050] like Figure 7 As shown in the figure, according to actual tests, the timestamp processing accuracy can reach the ns level. At the same time, when multiple devices are networked and transmitted, the transmission time of the specified network traffic can be recorded.
[0051] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for recording network transmission time without communication co-viewing, characterized in that: The following steps are involved: S1: High-precision time synchronization stage, in which the high-precision time source is used to synchronize the time of each component in the system, calibrate the system clock, and obtain the time reference information at the ns level; S2: In the network transmission filtering stage, a dedicated ASIC chip is used to mirror specific traffic packets and match ACLs. Messages are filtered according to ACL rules to control forwarding traffic and mirror specified messages. S3: Timestamp recording and parsing stage, adding information fields to all messages at the data link layer, including timestamp field, send and receive flag, fragmentation flag, fragmentation length, and packet number, adding geographic location information to network transmission messages, and associating location and time; then parsing the recorded timestamp data to obtain high-precision time of the message flow.
2. The method for recording network transmission time without communication co-viewing according to claim 1, characterized in that: The S1: high-precision time synchronization stage also includes the following steps: S11: Capture the target signal through the receiver, track the target signal using a preset algorithm, and filter the target signal; S12: extracting observations from the tracked target signal, including pseudorange and carrier phase; parsing the observations and converting them into a format for positioning calculation; S13: Calculate the position of the receiver through the positioning algorithm and the observation quantity, and make position correction according to the multipath effect and atmospheric delay during the calculation process; S14: Identify and quantify various error sources, including satellite orbit and clock errors, ionospheric delay correction residuals, tropospheric delay correction residuals and pseudorange measurement errors, and use error models and correction algorithms to correct the positioning solution results according to the quantified error sources; S15: When the positioning solution reaches the preset accuracy standard, it is locked and the positioning accuracy is continuously monitored.
3. The method for recording network transmission time without communication co-viewing according to claim 2, characterized in that: The positioning algorithm is the least squares method.
4. The method for recording network transmission time without communication co-viewing according to claim 1, characterized in that: The S2: network transmission filtering stage also includes the following steps: S21: Define network access rules that are allowed or denied based on preset policies, and a dedicated ASIC chip controls the inflow and outflow of data based on ACL rules; S22: ACL filtering is performed on outbound data, and only data packets that meet the preset policy are sent; outbound processing is performed on data packets of different priorities; S23: Transmitting the processed data packet to a designated receiving end through the network; S24: Use the port mirroring method to copy the network traffic packets to the forwarding port; use the ACL rules to filter out the data streams that need to be timestamped; S25: forward the mirrored network traffic message to the business system.
5. The method for recording network transmission time without communication co-viewing according to claim 1, characterized in that: The S3: timestamp recording and parsing phase also includes the following steps: S31: The timestamp field records time information accurate to the nanosecond level, including year, month, day, hour, minute, second, and intra-second clock counter, associating time information with network message content; adding longitude, latitude, and altitude to network transmission messages to associate location with time; recording time at each processing step of the data packet to track the path and processing time of the data flow; S32: Process the information fields in the data packet to extract the source address, destination address, and protocol type; and fragment the data packet according to the network protocol requirements; S33: During the message forwarding process, the timestamp is recorded and updated, and the message with the timestamp is forwarded to the next processing node; S34: Collect timestamps and message data in the network, and verify data integrity and whether it has been tampered with; S35: Parse the verified timestamp and message data to identify abnormal behaviors or performance issues in the network.
6. The method for recording network transmission time without communication co-viewing according to any one of claims 1 to 5, characterized in that: The high-precision time source is a satellite signal.
7. A network transmission time recording device without communication co-viewing, characterized in that: The method for recording network transmission time without communication co-viewing according to any one of claims 1 to 6 comprises: A processor is provided, wherein the processor is connected to a GNSS receiver and a phase-locked loop, the phase-locked loop is connected to the GNSS receiver, a timing module and a clock buffer, and the timing module is connected to the phase-locked loop and the clock buffer; the processor is encapsulated with a clock protocol and a synchronization algorithm, and is used to collect network messages for processing and output the processed network messages.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the method for recording network transmission time without communication co-viewing as described in any one of claims 1-6 is implemented.
Citation Information
Cited By
Ad hoc network voice transmission test platform and method
CN119892681A