Data playback simulating method and system

A technology of data playback and simulation methods, applied in transmission systems, time-division multiplexing systems, time-division multiplexing selection devices, etc., can solve problems such as inability to record data speed and time characteristics

Active Publication Date: 2014-08-20
广州中广国科测控技术有限公司
5 Cites 2 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a data playback simulation method and system, aiming to solve the problem that the existing ...
View more

Abstract

The invention belongs to the technical field of electronic application apparatuses, and provides a data playback simulating method and system. The method comprises the steps that a recording end converts a data package into LAPS frames according to an LAPS protocol, wherein the data package is in a form of Ethernet frames; identification characters are inserted into the LAPS frames every set time, and the LAPS frames and the identification characters serve as effective data to be stored; a downloading end downloads the effective data stored through the recording end, and the effective data are analyzed to acquire a restoring data flow comprising the LAPS frames and the identification characters; the LAPS frames in the restoring data flow are converted into the data package according to the LAPS protocol; the adjacent identification characters in the restoring data flow are delayed by the set time. By means of the data playback simulating method and system, the recorded scene is played back in a simulation mode after the event according to the speed and the time characteristics of recording when the data are stored.

Application Domain

Time-division multiplexTransmission +1

Technology Topic

Setting timeData recording +6

Image

  • Data playback simulating method and system
  • Data playback simulating method and system
  • Data playback simulating method and system

Examples

  • Experimental program(2)

Example Embodiment

[0025] Example one
[0026] figure 2 The implementation process of the data playback simulation method provided in the first embodiment of the present invention is shown, with the recording end as the execution subject, and the details are as follows:
[0027] In step S201, the data packet is converted into an LAPS frame according to the Link Access Procedure (SDH, LAPS) protocol on SDH, and the data packet is an Ethernet frame.
[0028] In this embodiment, the recording terminal is an intelligent terminal that saves data, such as a monitoring device. The data packet is an Ethernet frame. The LAPS frame is a variant of the HDLC protocol frame, which can provide data link services and protocol specifications, and can specifically encapsulate the IP data packets that the SDH network needs to transmit in order to define the encapsulated Ethernet frame World. The recording end converts the data packet into an LAPS frame according to the LAPS protocol, and the data packet is an Ethernet frame.
[0029] In step S202, an identification character is inserted into the LAPS frame every set time, and the LAPS frame and the identification character are stored as valid data.
[0030] In this embodiment, the set time is a fixed time set by the user. The shorter the set time, the higher the accuracy of the playback simulation; the longer the set time, the more accurate the playback simulation. low. The identification character is specifically 0x7E. Specifically, the effective data obtained through the above-mentioned steps is as follows: image 3 Shown. The recording end inserts identification characters in the LAPS frame at every set time, and saves the LAPS frame and the identification characters as valid data locally.
[0031] In this embodiment, according to the time when the data packet is actually received, the recording time interval between the data packets is recorded in the recording data in the form of identification characters.

Example Embodiment

[0032] Example two
[0033] Figure 4 The implementation process of the data playback simulation method provided in the second embodiment of the present invention is shown, with the download end as the execution subject, and the details are as follows:
[0034] In step S401, the valid data saved by the recording terminal is downloaded, and the valid data is analyzed to obtain a restored data stream including the LAPS frame and the identification characters.
[0035] In this embodiment, the recording terminal is an intelligent terminal that saves data, such as a monitoring device. The data packet is an Ethernet frame. The LAPS frame is a variant of the HDLC protocol frame, which can provide data link services and protocol specifications, and can specifically encapsulate the IP data packets that the SDH network needs to transmit in order to define the encapsulated Ethernet frame World. The downloading terminal downloads the valid data saved by the recording terminal, and parses the valid data to obtain a restored data stream including the LAPS frame and the identification characters. The restored data stream is as follows Figure 5 Shown.
[0036] In step S402, the LAPS frame in the restored data stream is converted into the data packet according to the Link Access Procedure (SDH, LAPS) protocol on SDH.
[0037] In this embodiment, the data packet is an Ethernet frame. The downloader converts the LAPS frame in the restored data stream into the data packet according to the Link Access Procedure (SDH, LAPS) protocol on the SDH.
[0038] In step S403, the set time delay is made between adjacent identification characters in the restored data stream to ensure that the restored data stream is consistent with the time recorded by the recording terminal.
[0039] In this embodiment, the download side delays the set time between adjacent identification characters in the restored data stream to ensure that the restored data stream is consistent with the time recorded by the recording end. be consistent.
[0040] In this embodiment, it is possible to simulate the playback of the recorded scene after the fact according to the speed and time characteristics of the saved data during recording.
[0041] Example two
[0042] Image 6 It shows a specific structural block diagram of the data playback simulation system provided in the second embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown. In this embodiment, the data playback simulation system includes: a recording terminal 1 and a download terminal 2, wherein the recording terminal 1 includes:
[0043] The first conversion unit 11 is configured to convert a data packet into an LAPS frame according to the LAPS protocol, and the data packet is an Ethernet frame;
[0044] The identification insertion unit 12 is configured to insert identification characters into the LAPS frame every set time, and save the LAPS frame and the identification characters as valid data;
[0045] The download terminal 2 includes:
[0046] The data analysis unit 21 is configured to download the valid data saved by the recording terminal, analyze the valid data to obtain a restored data stream including the LAPS frame and the identification characters;
[0047] The second conversion unit 22 is configured to convert the LAPS frame in the restored data stream into the data packet according to the LAPS protocol;
[0048] The data restoration unit 23 is configured to delay the set time between adjacent identification characters in the restored data stream to ensure that the restored data stream and the time recorded by the recording terminal are maintained Consistent.
[0049] In this embodiment, it is possible to achieve the playback simulation of the recording scene after the downloading end according to the speed and time characteristics of the data saved by the recording end during recording.
[0050] Further, the set time is a fixed time set by the user. The shorter the set time, the higher the accuracy of the playback simulation; the longer the set time, the lower the accuracy of the playback simulation.
[0051] Further, the identification character is specifically 0x7E.
[0052] The data playback simulation system provided by the embodiment of the present invention can be applied in the aforementioned corresponding method embodiment 1. For details, please refer to the description of the foregoing embodiment 1, which will not be repeated here.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products