Digital signal audio and video playing method, playing system and set top box

By processing the RF signal into a clean TS code stream and using the TV's decoder, the problem of high set-top box decoding costs is solved, the production cost and replacement frequency are reduced, and the production efficiency is improved.

CN119893213APending Publication Date: 2025-04-25SICHUAN JIUZHOU ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510049907.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the set-top box needs to decode the digital signal into a video signal and an audio signal, resulting in high chip costs, decoding or interfaces that require authorized use.

Method used

By processing the RF signal into a clean TS code stream and decoding with the powerful decoder of the TV, the CPU of the set-top box does not need to set up a decoder, reducing the CPU production cost.

Benefits of technology

Reduces the production cost of set-top boxes, avoids copyright authorization fees during decoding, improves production efficiency, and reduces the frequency of replacing high-configuration decoders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893213A_ABST
    Figure CN119893213A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of television playing, and particularly discloses a digital signal audio and video playing method, a digital signal audio and video playing system and a set top box, the set top box only needs to analyze a signal into a clear TS code stream, a powerful decoder of a television is used for decoding, a CPU of the set top box does not need the decoder, and the cost of the CPU of the set top box can be greatly reduced; if the front-end signal is upgraded to an ultra-high-definition code stream such as 4K / 8K, the set top box does not need to be replaced; as the set top box has no decoding operation, the audio and video copyright problem is not involved, and high authorization cost, such as Dolby fee, does not need to be paid; moreover, the set top box is not provided with an HDMI (High Definition Multimedia Interface), so that the HDMI authorization expense does not need to be paid, the production cost of the set top box or the digital signal audio and video playing system is saved, and the production benefit is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of television playing, and in particular to a playing method, a playing system and a set-top box for digital signal audio and video. Background Art

[0002] A set-top box is a device that connects a TV set to an external signal source. Its main function is to convert compressed digital signals into TV content and display it on the TV set. The working principle of a set-top box mainly includes the steps of signal reception → signal decoding → video processing → audio processing → signal output. Signal reception is the set-top box receiving digital signals through cable, satellite, terrestrial broadcasting or the Internet; signal decoding is decoding compressed digital signals into video and audio signals; video processing is further scaling, format conversion and other processing of the decoded video signal to adapt to TV sets with different resolutions and display ratios; audio processing is processing the decoded audio signal into stereo or surround sound effects; output signal is to output the processed video signal and audio signal to the TV set through interfaces such as HDMI, AV or component video. It can be seen that in the existing set-top box or TV playback system, the set-top box needs to decode digital signals into video and audio signals, which has the problem of high chip cost and the need for authorization for decoding or interface use.

[0003] With the continuous upgrading of video bit streams, such as standard definition, high definition, 4K, 8K and other video playback requirements, the decoding capabilities of set-top boxes are becoming increasingly demanding, requiring set-top boxes to be continuously updated. Current televisions also have encoding and decoding functions and are constantly being updated. Set-top boxes can decode videos and play them through televisions, and televisions are only used as display screens, which results in the inability to use the powerful decoding functions of televisions, resulting in serious cost waste; although existing television soft terminal technology does not require set-top boxes, software applications can be directly installed on televisions, and television programs can be played by accessing network signals, but there are the following disadvantages: First, because televisions do not have CA descrambling functions, they cannot play traditional cable TV signals; second, such network televisions do not allow large-screen live broadcasts. Summary of the invention

[0004] The purpose of the present invention is to provide a method, system and set-top box for playing digital signal audio and video, so as to solve the problem that the digital signal audio and video playing system or playing method in the prior art needs to decode the digital signal into video signal and audio signal through the set-top box, and there are problems such as high cost of the set-top box chip and the need for authorization for decoding or interface use.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] A method for playing digital signal audio and video, comprising the following steps:

[0007] S1, the set-top box processes the radio frequency signal into a clear stream TS code stream, and stores the clear stream TS code stream in the shared memory of the set-top box;

[0008] S2. The TV reads the clear stream TS code stream via a USB data cable or an RJ45 network cable;

[0009] S3. The TV decodes the clear stream TS code stream into TV audio and video, and plays the TV audio and video.

[0010] Through steps S1 to S3, the set-top box only needs to parse the radio frequency signal into a clear stream TS code stream, and use the powerful decoder of the television to decode it. The CPU of the set-top box does not need to be provided with a decoder, which can reduce the production cost of the set-top box CPU; if the television audio and video attributes corresponding to the front-end radio frequency signal are upgraded to ultra-high-definition code streams such as 4K / 8K, it is not necessary to replace the set-top box with a high-configuration decoder, which reduces the replacement frequency of the set-top box and reduces the production cost of the set-top box; because the set-top box does not have a decoding operation, it does not involve the issue of authorization of the television audio and video copyright in the decoding process at the set-top box end, and does not need to pay high authorization fees, such as Dolby fees, which saves the production cost of the set-top box; through the USB data cable or RJ45 network cable in step S2 to read the clear stream TS code stream, the set-top box does not need to be provided with an HDMI interface, and does not need to pay the HDMI authorization fee, which saves the production cost of the set-top box and improves the production efficiency.

[0011] Preferably, in the method for playing digital signal audio and video of the present invention, the set-top box processes the radio frequency signal into a clear stream TS code stream, specifically comprising the following steps:

[0012] S11, tuning the radio frequency signal to an IF intermediate frequency signal;

[0013] S12, demodulating the IF intermediate frequency signal into an encrypted TS code stream, wherein the encrypted TS code stream has an encrypted signal;

[0014] S13, descrambling the encrypted TS code stream into a clear TS code stream.

[0015] As a preferred solution of the present invention, through the above steps S11 to S12, the existing tuning and demodulation functions of the set-top box can be used to descramble the radio frequency signal into a clear TS code stream. Since video decoding is not performed, a decoder is not required, and a clear TS code stream can be obtained. The built-in CPU of the set-top box can be used less frequently, thereby speeding up the processing rate of the digital signal or radio frequency signal and improving the processing efficiency of the set-top box.

[0016] Preferably, the method for playing digital signal audio and video of the present invention, wherein the television reads the clear stream TS code stream through the USB data cable, specifically comprises the following steps:

[0017] After receiving the user's request, the first application of the TV transmits the flag file flag1 to the set-top box via the USB data cable;

[0018] After receiving the flag file flag1, the set-top box writes the play flag file flag1 into the shared memory;

[0019] After the second application of the set-top box detects the flag file flag1, it initializes the ring storage system, clears the stored data in the ring storage system, and sets the head flag file and the tail flag file to zero, thereby generating a head0 file and a tail0 file respectively;

[0020] The TV sends a descrambling command to the set-top box, which processes the RF signal into a clear TS code stream and stores it in the ring storage system, and then writes the header file head1 into the shared memory;

[0021] After the first application detects the header file head1, it reads the clear stream TS code stream data of data block zero in the circular storage system, decodes the clear stream TS code stream, and plays it as TV audio and video.

[0022] As a preferred solution of the present invention, as a preferred solution of the present invention, by transmitting a flag file flag1 to a set-top box and writing the flag file flag1 in the shared memory of the set-top box, the set-top box starts to process the radio frequency signal as a clear TS code stream, and cooperates with a circular storage system using a shared memory to cyclically write a head flag file head1 in the shared memory of the set-top box to store the clear TS code stream, so that the TV can cyclically read the clear TS code stream data of data block zero, and then decode the clear TS code stream and play it as TV audio and video, thereby reducing the error rate of the TV reading the clear TS code stream, and reducing the probability of playback errors or garbled codes; and, through USB data communication transmission, it can improve decoding and transmission efficiency, reduce video playback freezes, and improve user experience.

[0023] Preferably, the method for playing digital signal audio and video of the present invention, wherein the television reads the clear stream TS code stream through RJ45 network cable communication, specifically comprises the following steps:

[0024] After receiving the user's request, the socket client of the TV realizes socket communication with the set-top box through the RJ45 network cable; the socket communication supports TCP / UDP / Multicast / TLS protocol; the TV transmits the flag file flag1 to the set-top box through the socket communication;

[0025] After receiving the flag file flag1, the set-top box writes the play flag file flag1 into the shared memory;

[0026] After the second application of the set-top box detects the flag file flag1, it initializes the ring storage system, clears the stored data in the ring storage system, and sets the head flag file and the tail flag file to zero, thereby generating a head0 file and a tail0 file respectively;

[0027] The TV sends a descrambling command to the set-top box, which processes the RF signal into a clear TS code stream and stores it in the ring storage system, and writes the header file head1 into the shared memory;

[0028] After the first application detects the header file head1, it reads the clear stream TS code stream data of data block zero in the circular storage system, decodes the clear stream TS code stream, and plays it as TV audio and video.

[0029] As a preferred solution of the present invention, by transmitting a flag file flag1 to a set-top box and writing the flag file flag1 into the shared memory of the set-top box, the set-top box starts to process the radio frequency signal as a clear TS code stream, and in conjunction with a circular storage system using a shared memory, a head flag file head1 is cyclically written into the shared memory of the set-top box to store the clear TS code stream, so that the TV can cyclically read the clear TS code stream data of data block zero, and then decode the clear TS code stream and play it as TV audio and video, thereby reducing the error rate of the TV reading the clear TS code stream and reducing the probability of playback errors or garbled characters; and by using RJ45 network cable communication, the decoding and transmission efficiency can be improved, the video playback freeze can be reduced, and the user experience can be improved.

[0030] Preferably, the method for playing digital signal audio and video of the present invention, wherein the television reads the clear stream TS code stream via a USB data cable or an RJ45 network cable, further comprises the following steps:

[0031] When the clear stream TS code stream is played, a clear command is sent to the set-top box through the USB data cable or RJ45 network cable, so that the set-top box clears the clear stream TS code stream of data block zero and writes the tail flag file tail1 into the shared memory;

[0032] Check whether the header mark file head2 exists. If the header mark file head2 exists, read the clear stream TS code stream data of the data block 1 of the circular storage system, decode the clear stream TS code stream and play it as TV audio and video.

[0033] As a preferred solution of the present invention, by clearing the data after the clear stream TS code stream of data block zero stored in the circular storage system is played, and the tail mark file tail1 is written into the shared memory, the data playback of a storage block can be ended in time, and the memory corresponding to the played data can be cleared, and the memory can be freed up in time to improve the running speed; in coordination, it is detected whether the header mark file head2 exists. If the header mark file head2 exists, the clear stream TS code stream data of data block one of the circular storage system is read, and the clear stream TS code stream is decoded and played as TV audio and video. The played memory can be cleared cyclically, and the clear stream TS code stream data processed later can be read and played cyclically, thereby reducing the freeze rate of TV audio and video playback and improving user experience.

[0034] To achieve the purpose of the present invention, another scheme of the present invention is:

[0035] A set-top box, which cooperates with a television with a decoding function to realize the above-mentioned digital signal audio and video playback method, comprises: a signal input module, a processing module, a ring storage system and a communication module; the input module is used to obtain the digital signal corresponding to the audio and video; the processing module is used to process the digital signal into a clear stream TS code stream; the ring storage system is used to store and cooperate with the television to read the clear stream TS code stream; the communication module is used to communicate with the television.

[0036] The set-top box described in the present invention does not perform decoding operations, and will not involve the issue of authorization of television audio and video copyrights in the decoding process on the set-top box side. There is no need to pay high authorization fees, such as Dolby fees, which saves the production cost of the set-top box; the set-top box also does not need to be provided with an HDMI interface, and does not need to pay HDMI authorization fees, which saves the production cost of the set-top box, improves production efficiency, and improves the production efficiency of the set-top box as a whole.

[0037] To achieve the purpose of the present invention, another scheme of the present invention is:

[0038] A digital signal audio and video playback system comprises a television and a set-top box; the television and the set-top box are connected via a USB data cable or an RJ45 network cable; the television is used to read a clear stream TS code stream from the ring storage system, and decode the clear stream TS code stream, and then play the audio and video corresponding to the digital signal.

[0039] The digital signal audio and video playback system of the present invention cooperates with the set-top box, and the set-top box only needs to process the digital signal audio and video without decoding operation, and does not involve the issue of authorization of the television audio and video copyright in the decoding process on the set-top box side, and does not need to pay high authorization fees. In addition, the set-top box does not need to be provided with an HDMI interface, and does not need to pay HDMI authorization fees, thereby saving the set-top box production cost. The television side uses the existing decoder function and cooperates with the powerful decoding function of the television, which does not involve cost increase, and the overall cost will be greatly reduced, thereby improving production efficiency and improving production efficiency as a whole.

[0040] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0041] The set-top box only needs to parse the RF signal into a clear TS code stream and use the powerful decoder of the TV to decode it. The CPU of the set-top box does not need to be set up with a decoder, which can reduce the production cost of the set-top box CPU; if the TV audio and video attributes corresponding to the front-end RF signal are upgraded to ultra-high-definition code streams such as 4K / 8K, there is no need to replace the set-top box with a high-configuration decoder, which reduces the replacement frequency of the set-top box and reduces the production cost of the set-top box; because the set-top box does not have a decoding operation, it will not involve the issue of authorization of the TV audio and video copyright in the decoding process on the set-top box side, and there is no need to pay high licensing fees, such as Dolby fees, which saves the production cost of the set-top box; the TV reads the clear TS code stream through a USB data cable or an RJ45 network cable, and the set-top box does not need to set up an HDMI interface and does not need to pay HDMI licensing fees, which saves the production cost of the set-top box, improves production efficiency, and improves the overall production efficiency of the set-top box. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of a method for playing digital signal audio and video of the present invention;

[0043] Figure 2 It is a schematic diagram of the module structure of the set-top box of the present invention;

[0044] Figure 3 It is a structural connection diagram of the digital signal audio and video playback system of the present invention;

[0045] Figure 4 is a schematic diagram of the initialization state of the ring storage system of the present invention;

[0046] Figure 5 is a schematic diagram of a data writing state of a ring storage system of the present invention;

[0047] Figure 6 It is a schematic diagram of the data reading state of the ring storage system of the present invention. DETAILED DESCRIPTION

[0048] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0049] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0050] Embodiment 1:

[0051] refer to Figure 1 and Figure 3 As shown, this embodiment discloses a method for playing digital signal audio and video, including the following steps: S1, the set-top box processes the radio frequency signal into a clear stream TS code stream, and stores the clear stream TS code stream in the shared memory of the set-top box; S2, the TV reads the clear stream TS code stream through a USB data cable or an RJ45 network cable; S3, the TV decodes the clear stream TS code stream into TV audio and video, and plays the TV audio and video.

[0052] It should be noted that the shared memory is understood as a storage area where the TV can read data from the set-top box and can start storing data in the set-top box's memory through instructions. For example, the built-in CPU of the set-top box uses a ring buffer mechanism to form a ring storage system for the clear stream TS code stream and stores it in the memory of the set-top box. When the TV and the set-top box are connected via a USB data cable or an RJ45 network cable, the TV can access the storage memory of the set-top box by using a method of accessing USB external storage or a method of transmitting data through a network Socket connection, thereby achieving memory sharing.

[0053] Specifically, the set-top box processes the radio frequency signal into a clear stream TS code stream, which specifically includes the following steps: S11, tuning the radio frequency signal to an IF intermediate frequency signal; S12, demodulating the IF intermediate frequency signal to an encrypted TS code stream, wherein the encrypted TS code stream has an encrypted signal; S13, descrambling the encrypted TS code stream to a clear stream TS code stream; Figure 2 and Figure 3 As shown, the signal tuning module, the signal demodulation module, and the descrambling module cooperate with each other to realize the processing of the above-mentioned radio frequency signal.

[0054] The television set of the present invention can read the clear stream TS code stream through a USB data cable or an RJ45 network cable, wherein the television set reads the clear stream TS code stream through the USB data cable, specifically comprising the following steps:

[0055] After receiving a user request, the first application of the TV transmits a flag file flag1 to the set-top box via a USB data cable; after receiving the flag file flag1, the set-top box writes the play flag file flag1 into the shared memory; after detecting the flag file flag1, the second application of the set-top box initializes the ring storage system, clears the stored data in the ring storage system, and sets the head flag file and the tail flag file to zero, thereby generating a head0 file and a tail0 file respectively; the TV sends a descrambling instruction to the set-top box, so that the set-top box processes the radio frequency signal into a clear stream TS code stream, stores it in the ring storage system, and then writes the head flag file head1 into the shared memory; after detecting the head flag file head1, the first application reads the clear stream TS code stream data of data block zero in the circular storage system, decodes the clear stream TS code stream, and plays it as TV audio and video.

[0056] Specifically, the TV reads the clear stream TS code stream through the RJ45 network cable communication, which specifically includes the following steps: after the first application of the TV receives the user request, the socket client of the TV realizes socket communication with the set-top box through the RJ45 network cable; the socket communication supports TCP / UDP / Multicast / TLS protocol; the TV transmits the flag file flag1 to the set-top box through the socket communication; after the set-top box receives the flag file flag1, it writes the play flag file flag1 in the shared memory; after the second application of the set-top box detects the flag file flag1, it initializes the ring storage system, clears the storage data in the ring storage system, and sets the head flag file and the tail flag file to zero, thereby generating the head0 file and the tail0 file respectively; the TV sends a descrambling instruction to the set-top box, so that the set-top box processes the radio frequency signal into the clear stream TS code stream, stores it in the ring storage system, and writes the head flag file head1 to the shared memory; after the first application detects the head flag file head1, it reads the clear stream TS code stream data of data block zero in the circular storage system, decodes the clear stream TS code stream and plays it as TV audio and video.

[0057] refer to Figure 4 , Figure 5 and Figure 6As shown, the storage state of the ring storage system of the present invention is schematically illustrated, and the TV set can read the clear TS code stream stored in the set-top box to realize shared memory and read the clear TS code stream; the head position 3 in the figure indicates the position where the data is about to be stored, and the head position mark file name is updated every time a data is written; for example, after a data is written to data block 0, the head position mark file name head0 is updated to head1; if the head position mark file name is head7, when data is written again, it is reset to head0. The tail position 1 indicates the position where the data is about to be read, and the tail position mark file name is updated every time a data is read; for example, when data block 0 is read, the tail position mark file name tail0 is updated to tail1, and if the tail position mark file name is tail7, when data is read again, it is reset to tail0; data blocks 0 to data blocks 7 represent a fixed-size buffer area for storing data, Figure 4 The initialization state shown indicates that there is no data in the current ring storage system. At this time, the head and tail position mark files are set to zero; Figure 5 The data writing status shown indicates that data is being written into the ring storage system. Figure 5 Neutralization Figure 6 The area filled with slashes in the figure is the area where the clear stream TS code stream data is stored; the data blocks 0-7 in the figure indicate that there are eight data blocks in the current ring storage system. Every time a data block is written, the head position flag is moved back by one position, such as Figure 5 As shown, there are three data blocks in the current ring storage system that store data; Figure 6 The read data state shown indicates that data is being read at this time, the data in data block 0 is being read, and the tail position flag points to data block 1 having data.

[0058] Specifically, the television reads the clear stream TS code stream through a USB data cable or an RJ45 network cable, and also includes the following steps: when the clear stream TS code stream is played, a clear instruction is sent to a set-top box through the USB data cable or the RJ45 network cable, so that the set-top box clears the clear stream TS code stream of data block zero, and writes the tail mark file tail1 into the shared memory; detects whether the head mark file head2 exists, if the head mark file head2 exists, reads the clear stream TS code stream data of data block 1 of the circular storage system, and decodes the clear stream TS code stream and plays it as television audio and video.

[0059] Embodiment 2:

[0060] The present embodiment discloses a set-top box, which, in conjunction with a television with a decoding function, can implement the method for playing digital signal audio and video as described in Example 1, and includes: a signal input module, a processing module, a ring storage system and a communication module; the input module is used to obtain the digital signal corresponding to the audio and video; the processing module is used to process the digital signal into a clear stream TS code stream; the ring storage system is used to store and cooperate with the television to read the clear stream TS code stream; the communication module is used to communicate with the television.

[0061] refer to Figure 3 As shown, the communication module is understood to be a module that can realize data interaction and command transmission between the set-top box and the TV. Specifically, the set-top box and the TV are connected via a USB or RJ45 network cable. The TV can use different communication mechanisms to read data in the ring storage system and process communication messages through the second application of the set-top box and the first application of the TV. The first application and the second application are understood to be two communication program execution modules installed on the TV and the set-top box respectively. By executing programs and instructions, the TV and the set-top box can communicate with each other.

[0062] Specifically, Figure 2 The processing module of the present invention includes a signal tuning module, a signal demodulation module, and a descrambling module. The signal tuning module is used to tune the radio frequency signal to an IF intermediate frequency signal; the signal demodulation module is used to demodulate the IF intermediate frequency signal to an encrypted TS code stream; the descrambling module is used to descramble the encrypted TS code stream to a clear TS code stream; Figure 3 As shown, for example, the signal tuning module is a TUNER, which can convert the radio frequency signal into an IF intermediate frequency signal; the demodulation module is a DEMOD demodulator, which can demodulate the IF intermediate frequency signal into a scrambled TS code stream, and transmit it to the CA descrambling module; the CA descrambling module descrambles the scrambled TS code stream into a clear stream TS code stream, and transmits it to the set-top box CPU, and the set-top box CPU stores the clear stream TS code stream in the set-top box memory in the form of a ring memory.

[0063] Embodiment 3:

[0064] This embodiment discloses a digital signal audio and video playback system, which is provided with a set-top box as described in Embodiment 2 and also includes a television set; Figure 3 As shown, the TV and the set-top box are connected to each other via a USB data cable or an RJ45 network cable; the TV is used to read the clear stream TS code stream from the ring storage system, and decode the clear stream TS code stream, for example, decode it into an HDMI digital signal or an AV analog signal, and then play the audio and video corresponding to the digital signal.

[0065] Compared with the traditional digital signal audio and video playback system: the set-top box CPU transmits the clear stream TS code stream to the decoder of the set-top box for audio and video decoding, and the decoder transmits the decoded audio and video frames to the TV through the HDMI / AV line to complete the playback; the present invention refers to Figure 3 As shown, based on Example 2, the TV achieves memory sharing between the set-top box and the TV through a USB data cable, and then the TV can access the set-top box memory, and read the stored code stream and play it through the TV's playback application. The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for playing digital signal audio and video, characterized in that: The following steps are involved: S1, the set-top box processes the radio frequency signal into a clear stream TS code stream, and stores the clear stream TS code stream in the shared memory of the set-top box; S2. The TV reads the clear stream TS code stream via a USB data cable or an RJ45 network cable; S3. The TV decodes the clear stream TS code stream into TV audio and video, and plays the TV audio and video.

2. The method for playing digital signal audio and video according to claim 1, characterized in that: The set-top box processes the RF signal into a clear stream TS code stream, which specifically includes the following steps: S11, tuning the radio frequency signal to an IF intermediate frequency signal; S12, demodulating the IF intermediate frequency signal into an encrypted TS code stream, wherein the encrypted TS code stream has an encrypted signal; S13, descrambling the encrypted TS code stream into a clear TS code stream.

3. The method for playing digital signal audio and video according to claim 1, characterized in that: The TV reads the clear stream TS code stream through the USB data cable, which specifically includes the following steps: After receiving the user's request, the first application of the TV transmits the flag file flag1 to the set-top box via the USB data cable; After receiving the flag file flag1, the set-top box writes the play flag file flag1 into the shared memory; After the second application of the set-top box detects the flag file flag1, it initializes the ring storage system, clears the stored data in the ring storage system, and sets the head flag file and the tail flag file to zero, thereby generating a head0 file and a tail0 file respectively; The TV sends a descrambling command to the set-top box, which processes the RF signal into a clear TS code stream and stores it in the ring storage system, and then writes the header file head1 into the shared memory; After the first application detects the header file head1, it reads the clear stream TS code stream data of data block zero in the circular storage system, decodes the clear stream TS code stream, and plays it as TV audio and video.

4. The method for playing digital signal audio and video according to claim 1, characterized in that: The TV reads the clear stream TS code stream through the RJ45 network cable communication, which specifically includes the following steps: After receiving the user's request, the socket client of the TV realizes socket communication with the set-top box through the RJ45 network cable; the socket communication supports TCP / UDP / Multicast / TLS protocol; the TV transmits the flag file flag1 to the set-top box through the socket communication; After receiving the flag file flag1, the set-top box writes the play flag file flag1 into the shared memory; After the second application of the set-top box detects the flag file flag1, it initializes the ring storage system, clears the stored data in the ring storage system, and sets the head flag file and the tail flag file to zero, thereby generating a head0 file and a tail0 file respectively; The TV sends a descrambling command to the set-top box, which processes the RF signal into a clear TS code stream and stores it in the ring storage system, and writes the header file head1 into the shared memory; After the first application detects the header file head1, it reads the clear stream TS code stream data of data block zero in the circular storage system, decodes the clear stream TS code stream, and plays it as TV audio and video.

5. The method for playing digital signal audio and video according to claim 1, characterized in that: The TV reads the clear stream TS code stream via a USB data cable or an RJ45 network cable, and further comprises the following steps: When the clear stream TS code stream is played, a clear command is sent to the set-top box through the USB data cable or RJ45 network cable, so that the set-top box clears the clear stream TS code stream of data block zero and writes the tail flag file tail1 into the shared memory; Check whether the header mark file head2 exists. If the header mark file head2 exists, read the clear stream TS code stream data of the data block 1 of the circular storage system, decode the clear stream TS code stream and play it as TV audio and video.

6. A set-top box, characterized in that: In conjunction with a television with a decoding function, the method for playing digital signal audio and video as described in any one of claims 1 to 5 can be implemented, including: a signal input module, a processing module, a ring storage system and a communication module; the input module is used to obtain the digital signal corresponding to the audio and video; the processing module is used to process the digital signal into a clear stream TS code stream; the ring storage system is used to store and cooperate with the television to read the clear stream TS code stream; the communication module is used to communicate with the television.

7. A digital signal audio and video playback system, characterized in that: A set-top box as claimed in claim 6, further comprising a television; the television and the set-top box are connected to each other via a USB data cable or an RJ45 network cable; The television is used to read the clear stream TS code stream from the ring storage system, decode the clear stream TS code stream, and then play the audio and video corresponding to the digital signal.