Code stream data playing delay security control method

By encrypting the PES header private data and embedding the timestamp of the public large-screen code stream data to verify its legality and delay, the problem of public large-screen network attacks and data tampering is solved, and the safe and stable broadcasting of the code stream data is realized. Improvement of broadcast quality.

CN118540518AInactive Publication Date: 2024-08-23SHANDONG ARTAPLAY INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410316917.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Public large screens face cyber attacks, data tampering and security threats during the Internet access process, resulting in delays in stream data playback and unstable broadcast content, making it impossible to effectively guarantee security and quality.

Method used

By encrypting the private data of the PES header of the TS code stream data and embedding the timestamp information, parsing and comparing the data to verify the legality and delay of the data ensures the security and quality of the broadcast content.

Benefits of technology

Effectively ensure the safety and quality of broadcast content, improve the overall broadcast experience, monitor and warn abnormal data in real time, reduce costs, and ensure public information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540518A
    Figure CN118540518A
Patent Text Reader

Abstract

The invention discloses a code stream data playing delay security control method, and relates to the technical field of network media. Comprising the steps of 1, encrypting private data of a PES packet header based on a transmission encapsulation protocol for TS code stream data needing to be played, obtaining encrypted information, and embedding timestamp information; 2, TS code stream data are read, PES packet header private data are analyzed, and encryption information and timestamp information in the TS code stream data are extracted; 3, comparing the timestamp information with a playing equipment clock, and calculating to obtain playing delay time; and 4, verifying whether the analyzed private data of the PES packet header is consistent with the private data of the PES packet header in the original TS code stream data or not, if so, performing verification again, and then forming the TS code stream data into playing data for playing, otherwise, reporting abnormal data and performing early warning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a method, which relates to the technical field of network media, and in particular to a method for safely controlling delay in playing of code stream data. Background Art

[0002] In the Internet era, with the continuous update and iteration of software and hardware, public large screens have a wider application space, but there are security threats. Especially in the process of existing large screens gradually connecting to the Internet, Internet security threats have gradually penetrated into the public large screen system. For example, the current network attacks on public screens can be divided into the following categories:

[0003] 1. LAN screen projection. For public large screens with low protection levels such as smart TVs, criminals can project illegal content from their own devices to the screen through wireless LAN projection.

[0004] 2. Remotely control the playback source. Hackers exploit system vulnerabilities to remotely control and manipulate the computer that is the playback signal source to play illegal content.

[0005] 3. Tampering with published content, hackers invade the background information release system, tamper with or replace the playback files on the large screen, publish illegal content, and cause public opinion.

[0006] 4. Illegal intrusion and access: Hackers privately access the network through the USB interface of large-screen peripherals or impersonate terminals to access the network and laterally penetrate into the internal network. Not only will the screen be lost, but there is also a risk of leaking sensitive data.

[0007] 5. Exploiting weak passwords, hackers exploit weak passwords and vulnerabilities to gain access to large-screen device systems and leave hardware backdoors in order to tamper with and publish illegal content at critical moments.

[0008] 6. Virus infection. The security protection level of the network and system of the public large screen is generally low, and there is a greater risk of virus infection, which will cause security incidents such as business interruption, release of illegal content, and theft of sensitive data.

[0009] The above-mentioned behaviors may lead to problems such as tampering of live broadcast data, and cannot guarantee the safe and stable broadcast of bitstream data. Summary of the invention

[0010] In view of the problems of the prior art, the present invention provides a method for safely controlling the playback delay of code stream data, which can effectively ensure the security of the broadcast content and can also verify the broadcast quality in real time, thereby improving the overall broadcast experience.

[0011] The specific scheme proposed by the present invention is:

[0012] The present invention provides a method for safely controlling the delay of streaming data playback, comprising:

[0013] Step 1: For the TS stream data to be played, based on the transport encapsulation protocol, encrypt the private data of the PES header, obtain the encryption information, and embed the timestamp information;

[0014] Step 2: Read the TS stream data, parse the PES header private data, and extract the encryption information and timestamp information in the TS stream data;

[0015] Step 3: Compare the timestamp information with the playback device clock to calculate the playback delay time;

[0016] Step 4: Verify whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, verify again and convert the TS code stream data into playback data for playback. Otherwise, report abnormal data and issue an early warning.

[0017] Furthermore, in the step 1 of the method for safely controlling the playback delay of bitstream data, the private data of the PES packet header is encrypted based on the Transport Stream transmission encapsulation protocol for the TS bitstream data to be played.

[0018] Furthermore, in the method for safely controlling playback delay of bitstream data, step 4 verifies whether the private data of the parsed PES packet header is consistent with the private data of the PES packet header in the original TS bitstream data, including: calculating a hash value a of the private data of the parsed PES packet header, calculating a hash value b of the private data of the PES packet header in the original TS bitstream data, comparing whether the hash value a and the hash value b are consistent, and if they are consistent, after re-verification, the TS bitstream data is converted into playback data for playback, otherwise abnormal data is reported and an early warning is issued.

[0019] Furthermore, the step 4 in the method for safely controlling playback delay of bitstream data is verified again, including: using a decryption algorithm to calculate hash value 1 of the private data of the PES packet header in the original TS bitstream data and hash value 2 of the private data of the PES packet header after parsing, and comparing whether hash value 1 and hash value 2 are consistent. If they are consistent, the TS bitstream data is converted into playback data for playback; otherwise, abnormal data is reported and an early warning is issued.

[0020] The present invention also provides a device for safely controlling the delay of playing code stream data, including an encryption module, a parsing module, a time comparison module and a verification module.

[0021] The encryption module encrypts the private data of the PES header based on the transport encapsulation protocol for the TS stream data to be played, obtains the encryption information, and embeds the timestamp information;

[0022] The parsing module reads the TS code stream data, parses the private data of the PES packet header, and extracts the encryption information and timestamp information in the TS code stream data;

[0023] The time comparison module compares the timestamp information with the playback device clock to calculate the playback delay time;

[0024] The verification module verifies whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, the TS code stream data is converted into playback data for playback after re-verification. Otherwise, abnormal data is reported and an early warning is issued.

[0025] Furthermore, the encryption module in the device for safely controlling the playback delay of bitstream data encrypts the private data of the PES packet header based on the Transport Stream transmission encapsulation protocol for the TS bitstream data to be played.

[0026] Furthermore, a verification module in the described bitstream data playback delay security control device verifies whether the private data of the parsed PES packet header is consistent with the private data of the PES packet header in the original TS bitstream data, including: calculating the hash value a of the private data of the parsed PES packet header, calculating the hash value b of the private data of the PES packet header in the original TS bitstream data, comparing whether the hash value a and the hash value b are consistent, and if they are consistent, after re-verification, the TS bitstream data is converted into playback data for playback, otherwise abnormal data is reported and an early warning is issued.

[0027] Furthermore, the verification module in the described bitstream data playback delay security management device verifies again, including: using a decryption algorithm to calculate a hash value 1 of the private data of the PES packet header in the original TS bitstream data and a hash value 2 of the private data of the PES packet header after parsing, and comparing whether the hash value 1 and the hash value 2 are consistent. If they are consistent, the TS bitstream data is converted into playback data for playback; otherwise, abnormal data is reported and an early warning is issued.

[0028] The benefits of the present invention are:

[0029] The present invention provides a method for safely controlling the playback delay of bitstream data, encrypting the PES private data descriptor in the original bitstream and embedding timestamp information therein, decrypting the data according to the information in the PES private data descriptor in the bitstream, judging the legitimacy of the bitstream, and parsing the timestamp information therein for comparison to judge the delay of the broadcast. The method can not only effectively ensure the security of the broadcast content, but also verify the broadcast quality in real time, thereby improving the overall broadcast experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic flow chart of the method of the present invention. DETAILED DESCRIPTION

[0031] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0032] The present invention provides a method for safely controlling the delay of streaming data playback, comprising:

[0033] Step 1: For the TS stream data to be played, based on the transport encapsulation protocol, encrypt the private data of the PES header, obtain the encryption information, and embed the timestamp information;

[0034] Step 2: Read the TS stream data, parse the PES header private data, and extract the encryption information and timestamp information in the TS stream data;

[0035] Step 3: Compare the timestamp information with the playback device clock to calculate the playback delay time;

[0036] Step 4: Verify whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, verify again and convert the TS code stream data into playback data for playback. Otherwise, report abnormal data and issue an early warning.

[0037] The present invention can effectively avoid the problem of live broadcast data being tampered with. In addition, software encryption does not require separate hardware investment, which can greatly reduce costs. It can also monitor the effectiveness of the code stream in real time, issue security warnings in a timely manner, ensure the safe and stable operation of the broadcast system, and provide protection for public information security.

[0038] In some embodiments of the method of the present invention, the process may be as follows:

[0039] Step 1: For the TS stream data to be played, based on the transport encapsulation protocol, encrypt the private data of the PES header, obtain the encryption information, and embed the timestamp information.

[0040] PES is Packetized Elementary Stream, PES_private_data is PES private data.

[0041] For the TS code stream data that needs to be played, based on the existing TS (Transport Stream) encapsulation protocol, the private data of the PES packet header is encrypted.

[0042] Step 2: Read the TS stream data, parse the PES packet header private data, and extract the encryption information and timestamp information in the TS stream data.

[0043] Step 3: Compare the timestamp information utc_time with the playback device clock to calculate and obtain the playback delay time delay_time.

[0044] Step 4: Verify whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, verify again and convert the TS code stream data into playback data for playback. Otherwise, report abnormal data and issue an early warning.

[0045] Wherein step 4 verifies whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data, including: calculating the hash value a of the private data of the PES packet header after parsing, calculating the hash value b of the private data of the PES packet header in the original TS code stream data, comparing whether the hash value a and the hash value b are consistent, if they are consistent, then verify again and convert the TS code stream data into playback data for playback, otherwise report the abnormal data to the central control service and issue an early warning.

[0046] And the re-verification in step 4 includes: using the decryption algorithm to calculate the hash value 1 of the private data of the PES header in the original TS code stream data and the hash value 2 of the private data of the PES header after parsing, and comparing whether the hash value 1 and the hash value 2 are consistent. If they are consistent, the TS code stream data is converted into playback data for playback, otherwise abnormal data is reported and an early warning is issued. After the first verification that the hash values ​​are the same, two hash values ​​are obtained again for re-verification, one is the hash value 1 obtained from the decryption algorithm through the parameters, and the other is the hash value 2 obtained from the PES_packet_data_byte through the decryption algorithm. If the hash values ​​are the same, the data is legal and injected into the player to play the code stream data normally. If the two hash values ​​are abnormal, the process is the same as reporting abnormal data to the central control service and issuing an early warning.

[0047] The present invention also provides a device for safely controlling the delay of playing code stream data, including an encryption module, a parsing module, a time comparison module and a verification module.

[0048] The encryption module encrypts the private data of the PES header based on the transport encapsulation protocol for the TS stream data to be played, obtains the encryption information, and embeds the timestamp information;

[0049] The parsing module reads the TS code stream data, parses the private data of the PES packet header, and extracts the encryption information and timestamp information in the TS code stream data;

[0050] The time comparison module compares the timestamp information with the playback device clock to calculate the playback delay time;

[0051] The verification module verifies whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, the TS code stream data is converted into playback data for playback after re-verification. Otherwise, abnormal data is reported and an early warning is issued.

[0052] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0053] Similarly, the device of the present invention can encrypt the PES private data descriptor in the original code stream, embed timestamp information in it, decrypt it according to the information in the PES private data descriptor in the code stream, judge the legitimacy of the code stream, and parse the timestamp information therein for comparison to judge the delay of broadcasting. It can not only effectively ensure the security of broadcasting content, but also verify the broadcasting quality in real time, thereby improving the overall broadcasting experience.

[0054] It should be noted that not all steps and modules in the above-mentioned processes and device structures are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or some components in multiple independent devices may be implemented together.

[0055] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A method for safely controlling the delay of bitstream data playback, characterized in that include: Step 1: For the TS stream data to be played, based on the transport encapsulation protocol, encrypt the private data of the PES header, obtain the encryption information, and embed the timestamp information; Step 2: Read the TS stream data, parse the PES header private data, and extract the encryption information and timestamp information in the TS stream data; Step 3: Compare the timestamp information with the playback device clock to calculate the playback delay time; Step 4: Verify whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, verify again and convert the TS code stream data into playback data for playback. Otherwise, report abnormal data and issue an early warning.

2. According to the method for safely controlling the playback delay of bitstream data described in claim 1, it is characterized in that in step 1, for the TS bitstream data to be played, the private data of the PES packet header is encrypted based on the Transport Stream transmission encapsulation protocol.

3. The method for safely controlling the delay of streaming data playback according to claim 1 is characterized in that In step 4, it is verified whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data, including: calculating the hash value a of the private data of the PES packet header after parsing, calculating the hash value b of the private data of the PES packet header in the original TS code stream data, and comparing whether the hash value a and the hash value b are consistent. If they are consistent, the TS code stream data is converted into playback data for playback after re-verification, otherwise abnormal data is reported and an early warning is issued.

4. The method for safely controlling the delay of playing bitstream data according to claim 1, wherein the re-verification in step 4 comprises: Use the decryption algorithm to calculate the hash value 1 of the private data of the PES packet header in the original TS code stream data and the hash value 2 of the private data of the PES packet header after parsing, and compare whether the hash value 1 and the hash value 2 are consistent. If they are consistent, the TS code stream data is converted into playback data for playback, otherwise abnormal data is reported and an early warning is issued.

5. A device for safely controlling the delay of playing bitstream data, characterized in that Including encryption module, parsing module, time comparison module and verification module, The encryption module encrypts the private data of the PES header based on the transport encapsulation protocol for the TS stream data to be played, obtains the encryption information, and embeds the timestamp information; The parsing module reads the TS code stream data, parses the private data of the PES packet header, and extracts the encryption information and timestamp information in the TS code stream data; The time comparison module compares the timestamp information with the playback device clock to calculate the playback delay time; The verification module verifies whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data. If they are consistent, the TS code stream data is converted into playback data for playback after re-verification. Otherwise, abnormal data is reported and an early warning is issued.

6. The device for safely controlling the delay of playing bitstream data according to claim 5, characterized in that The encryption module encrypts the private data of the PES packet header based on the Transport Stream transmission encapsulation protocol for the TS stream data to be played.

7. The device for safely controlling the delay of playing bitstream data according to claim 5, characterized in that Authentication Module Verify whether the private data of the PES packet header after parsing is consistent with the private data of the PES packet header in the original TS code stream data, including: calculating the hash value a of the private data of the PES packet header after parsing, calculating the hash value b of the private data of the PES packet header in the original TS code stream data, and comparing whether the hash value a and the hash value b are consistent. If they are consistent, verify again and convert the TS code stream data into playback data for playback. Otherwise, report abnormal data and issue an early warning.

8. The device for safely controlling the delay of playing bitstream data according to claim 5, characterized in that The verification module verifies again, including: using the decryption algorithm to calculate the hash value 1 of the private data of the PES packet header in the original TS code stream data and the hash value 2 of the private data of the PES packet header after parsing, and comparing whether the hash value 1 and the hash value 2 are consistent. If they are consistent, the TS code stream data is converted into playback data for playback, otherwise abnormal data is reported and an early warning is issued.

Citation Information

Patent Citations

  • Multicast data transmission processing method and device

    CN110912941A

  • Inter-cut prevention method

    CN114173149A

  • Reference clock design method supporting multi-terminal synchronous playing

    CN116074560A

  • Zero-trust network two-way verification encryption noise protocol implementation method and system

    CN117675357A

  • Methods and apparatus for blocking network intrusion

    KR101020470B1