Video signal processing device, video signal processing method, program, and signal processing circuit
The video signal processing device addresses channel change data loss by multiplexing and demultiplexing signals and adding dummy data to ensure complete packet sizes, maintaining signal integrity across multiple channels.
Patent Information
- Application Number
- JP2022503080
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-02-26
- Filing Date
- 2020-10-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2040-10-13
AI Technical Summary
Video signal processing devices with limited resources, such as a System on a Chip (SoC), can only output video signals through one system, leading to insufficient data when changing channels, which affects other video signals not being changed due to missing data less than one packet size.
A video signal processing device with a first signal processing unit that multiplexes multiple video signals and a second unit that demultiplexes them, discards or adds dummy data to missing data to ensure it reaches an integral multiple of one packet size, preventing channel changes from affecting other signals.
Prevents loss of data for video signals not being changed, ensuring smooth operation and reducing interference in display devices.
Smart Images

Figure 0007573217000001 
Figure 0007573217000002 
Figure 0007573217000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a video signal processing device that processes a video signal. [Background technology]
[0002] In European video signal processing devices that receive digital broadcasts, the DVB-CI (Digital Video Broadcasting - Common Interface) system is used for viewing pay broadcasts that use video signals encrypted by scrambling or other processes. In the DVB-CI system, the video signal processing device is equipped with a CI (Common Interface) slot, and the encrypted video signal is decrypted by a card-shaped CAM (Conditional Access Module) that is connected by inserting (attaching) it into the CI slot. The transport stream (TS) output by the tuner that has tuned to a pay broadcast and received the video signal is decrypted by the CAM connected to the CI slot.
[0003] Patent Document 1 discloses a video signal processing device having a plurality of CI slots, which allows a plurality of types of pay broadcasts to be simultaneously viewed, simultaneously recorded, or recorded while being viewed. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] European Patent Application Publication No. 2757796 Summary of the Invention [Problem to be solved by the invention]
[0005] Due to limitations such as cost or size, the video signal processing device may include a signal processing circuit such as a SoC (System on a Chip) that has few resources such as an output terminal and can only output a video signal in one system. In this case, the signal processing circuit may multiplex a plurality of video signals and output the multiplexed video signal from one output terminal. Another signal processing circuit such as a FPGA (Field Programmable Gate Array) demultiplexes the input multiplexed video signal and outputs the plurality of video signals to the corresponding CI slots. In each CI slot, the encrypted video signal is decrypted by the inserted CAM. In such a signal processing circuit that can only output a video signal in one system, when changing the channel of one of the plurality of video signals, insufficient data less than the size of one packet may occur. As will be described in detail later, this insufficient data may affect other video signals that do not change channels.
[0006] The present disclosure provides a video signal processing device, etc., which can suppress the influence on other video signals whose channels are not changed when the channel of one of a plurality of video signals is changed in a signal processing circuit that outputs video signals in only one system. [Means for solving the problem]
[0007] A video signal processing device in the present disclosure includes a first signal processing unit that receives as input a plurality of video signals, each of which includes a plurality of packets, and multiplexes the plurality of video signals to output a multiplexed video signal, and a second signal processing unit that receives as input the multiplexed video signal, and demultiplexes the multiplexed video signal to output the plurality of video signals, wherein when the second signal processing unit detects missing data less than the size of one packet for any of the plurality of video signals, the second signal processing unit performs (i) a process of discarding the detected missing data, or (ii) a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet.
[0008] The video signal processing method of the present disclosure is a video signal processing method in a video signal processing device that includes a first signal processing unit that receives as input a plurality of video signals each including a plurality of packets, multiplexes the plurality of video signals, and outputs a multiplexed video signal, and a second signal processing unit that receives as input the multiplexed video signal, demultiplexes the multiplexed video signal, and outputs the plurality of video signals, and when missing data less than the size of one packet is detected for any of the plurality of video signals, (i) a process of discarding the detected missing data, or (ii) a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet.
[0009] A program in the present disclosure is a program for causing a computer to execute the above-described video signal processing method.
[0010] The signal processing circuit of the present disclosure receives as input a plurality of video signals, each of which includes a plurality of packets, multiplexes the plurality of video signals to output a multiplexed video signal, and transmits a notification to start a detection process to detect missing data that is less than the size of one packet.
[0011] The signal processing circuit of the present disclosure receives as input a multiplexed video signal in which multiple video signals, each of which includes multiple packets, demultiplexes the multiplexed video signal to output the multiple video signals, initiates a detection process to detect missing data less than the size of one packet upon receiving a notification to do so, and, upon detecting missing data for any of the multiple video signals, performs (i) a process of discarding the detected missing data or (ii) a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet. Effect of the Invention
[0012] According to the video signal processing device etc. of the present disclosure, when changing the channel of one of multiple video signals in a signal processing circuit that outputs video signals in only one system, it is possible to prevent other video signals that do not have their channel changed from being affected. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a video signal processing device according to an embodiment. [Figure 2A] FIG. 2A is a diagram for explaining the principle by which insufficient data occurs and problems that arise when insufficient data occurs. [Figure 2B] FIG. 2B is a diagram for explaining the principle by which insufficient data occurs and problems that arise when insufficient data occurs. [Figure 2C] FIG. 2C is a diagram for explaining the principle by which insufficient data occurs and problems that arise when insufficient data occurs. [Figure 2D] FIG. 2D is a diagram for explaining the principle by which insufficient data occurs and problems that arise when insufficient data occurs. [Diagram 3] FIG. 3 is a flowchart illustrating an example of the operation of the SoC according to the embodiment. [Figure 4] FIG. 4 is a flowchart illustrating an example of the operation of the FPGA according to the embodiment. [Diagram 5] FIG. 5 is a diagram for explaining how the problem when missing data occurs is solved. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, the embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.
[0015] The inventors provide the accompanying drawings and the following description to enable those skilled in the art to fully understand the disclosure, and are not intended to limit the subject matter recited in the claims.
[0016] (Embodiment) Hereinafter, an embodiment will be described with reference to FIG. 1 to FIG.
[0017] Fig. 1 is a diagram showing an example of the configuration of a video signal processing device 10 according to an embodiment. Fig. 1 also shows an external storage device 20 in addition to the video signal processing device 10. The external storage device 20 has a recording medium such as a memory or a hard disk, records data (content data) related to the video signal transmitted from the video signal processing device 10 on the recording medium, and transmits a signal for playing back the content based on the recorded data in response to a user operation or the like to a display device having a liquid crystal display, a plasma display, an organic EL (electroluminescence) display, or the like.
[0018] The video signal processing device 10 has, for example, an SoC including a processor, an FPGA, a memory, a broadcast receiving circuit (tuner), a communication interface, and a user interface. The communication interface is a communication circuit for transmitting and receiving information to and from other devices. The memory is, for example, a ROM or a RAM. The memory stores in advance programs for implementing the processing of each component described later or setting values for use in the programs. The memory is also used to temporarily store each value used when executing the program. The video signal processing device 10 complies with the DVB-CI and DVB-CI Plus standards, has a CI slot, and decrypts encrypted pay broadcast-related video signals received by a receiving unit (tuner and communication interface, etc.) from an antenna, cable, etc. (not shown) using a CAM inserted (attached) and connected to the CI slot. The video signal received by the video signal processing device 10 is a digital broadcast signal formed by modulating a TS, and may be a signal broadcast (transmitted) by any of various broadcasting methods such as terrestrial broadcasting, BS (Broadcast Satellite) broadcasting, CS (Communication Satellite) broadcasting, Internet broadcasting, cable television, etc. In digital broadcasting, broadcast contents (contents) are multiplexed and transmitted by a TS conforming to the MPEG2 system standard. In response to a channel selection operation by a user, the video signal processing device 10 receives a broadcast signal and outputs a signal related to the content. The signal related to the content output by the video signal processing device 10 is transmitted to a display device (not shown) and an external storage device 20 such as a recording and playback device via a cable or the like (not shown). This allows a user to view the content displayed on the display device, for example, and record the content in the external storage device 20.
[0019] The video signal processing device 10 includes a tuner 11 , a first CI slot 12 , a second CI slot 13 , an image display unit 14 , an input receiving unit 15 , an SoC 100 , and an FPGA 200 .
[0020] The tuner 11 receives broadcast waves via an antenna and a cable, and outputs a TS extracted from the broadcast waves of a channel selected according to a user operation, etc. The TS is an example of a video signal including a plurality of packets. For example, the tuner 11 obtains a TS by tuning and demodulating a broadcast signal related to a digital broadcast wave received by an antenna according to a predetermined broadcasting method, and outputs the TS to the SoC 100. Here, the predetermined broadcasting method is, for example, a DVB-T (Digital Video Broadcasting-Terrestrial) method, a DVB-T2 (Digital Video Broadcasting-Second Generation Terrestrial) method, a DVB-C (Digital Video Broadcasting-Cable) method, a DVB-S (Digital Video Broadcasting-Satellite) method, or a DVB-S2 (Digital Video Broadcasting Satellite-Second Generation) method. For example, the tuner 11 may obtain a TS by receiving a broadcast signal transmitted through a network such as the Internet according to a predetermined communication protocol, and output the TS to the SoC 100. Tuner 11 can simultaneously receive separate broadcast waves from two different broadcast stations, etc., and can process two TSs in parallel. For example, tuner 11 receives a first broadcast wave and outputs a first TS, and receives a second broadcast wave and outputs a second TS.
[0021] The first CI slot 12 inputs the first TS output from the FPGA 200 to a CAM inserted (connected) therein. The second CI slot 13 inputs the second TS output from the FPGA 200 to a CAM inserted (connected) therein. The CAM includes a decryption circuit, and decrypts and outputs the input TS. For example, the first CI slot 12 receives an encrypted first TS, and outputs the first TS decrypted by the CAM to the FPGA 200, while the second CI slot 13 receives an encrypted second TS, and outputs the second TS decrypted by the CAM to the FPGA 200. The TS of pay broadcasting that can be decrypted in each CAM inserted in each CI slot is not necessarily the same. For example, one CAM can decrypt a broadcast signal from a certain broadcast station A, and the other CAM cannot decrypt the broadcast signal from the broadcast station A, but can decrypt a broadcast signal from a certain broadcast station B. Here, the broadcast station has been described as an example, but whether or not a signal can be decrypted does not necessarily have to be determined on a broadcast station basis. When the video signal processing device 10 complies with DVB-CI Plus Ver2, the first CI slot 12 and the second CI slot 13 may be an interface compatible with USB (Universal Serial Bus).
[0022] The image display unit 14 outputs the content output from the SoC 100 to a display device external to the video signal processing device 10.
[0023] The input reception unit 15 includes, for example, a receiving device for an infrared remote control signal or the like, and receives a signal related to a user operation such as selection (channel selection) of a broadcast to be received from the remote control by pressing a button on the remote control or the like, and outputs the signal to the SoC 100. The input reception unit 15 may have a function of receiving a user operation such as selection (channel selection) of a broadcast to be received, through a user interface such as a button or switch provided on the housing of the video signal processing device 10, and outputting the received signal to the SoC 100. The user interface may be a graphical user interface (GUI) using a display.
[0024] The SoC100 is an example of a first signal processing unit (also called a signal processing circuit) that receives a plurality of TSs (here, a first TS and a second TS) each including a plurality of packets, multiplexes the first TS and the second TS, and outputs a multiplexed TS. The SoC100 is a signal processing circuit that outputs a TS only in one system (in other words, can only output a TS in one system) due to limitations such as cost or size. For example, the SoC100 may have only one output terminal capable of outputting a TS. For example, the SoC100 may have a plurality of output terminals capable of outputting a TS, or may have only one output terminal that can be used to output a TS to a CI slot when many output terminals need to be used for various purposes. The SoC100 includes a first TS receiving unit 101, a second TS receiving unit 102, a switch / selector 103, a multiplexer (called Mux) 104, a second demultiplexer (called Demux) 105, a decoder 106, an image processing unit 107, and a control unit 110.
[0025] The first TS receiving unit 101 receives the first TS output from the tuner 11, and outputs it to the switch / selector 103. The second TS receiving unit 102 receives the second TS output from the tuner 11, and outputs it to the switch / selector 103.
[0026] The switch / selector 103 selectively outputs the TS output from each of the first TS receiving unit 101 and the second TS receiving unit 102 to each of the Mux 104 and the second Demux 105. The switch / selector 103 outputs the TS output from the FPGA 200 to the second Demux 105. If the broadcast wave received by the tuner 11 is a pay broadcast, the TS is encrypted and the encrypted TS is output to the Mux 104. The unencrypted TS is output to the second Demux 105. For example, if the unencrypted TS is a TS for viewing, it is output to the image display unit 14 via the second Demux 105, and if the unencrypted TS is a TS for recording, it is output to the external storage device 20 via the second Demux 105.
[0027] The Mux 104 multiplexes the first TS and the second TS output from the switch / selector 103 and outputs the multiplexed signal to the FPGA 200. As described above, the SoC 100 is a signal processing circuit that has few resources such as an output terminal and can output a video signal only in one system, so the first TS and the second TS are multiplexed once in the SoC 100, and the multiplexed TS is demultiplexed in an external chip such as the FPGA 200 and separated into the first TS and the second TS. When the Mux 104 multiplexes the first TS and the second TS, for example, the value of the sync byte arranged at the beginning of each of the multiple packets included in the first TS is set to 0x47, and the value of the sync byte arranged at the beginning of each of the multiple packets included in the second TS is set to 0x48. This is a multiplexing method defined by the CI Plus standard.
[0028] If the TS output from the switch / selector 103 is a TS for viewing, the second Demux 105 demultiplexes and separates the video, audio, subtitles, program guide, and other data multiplexed in the TS, and outputs the demultiplexed data to the decoder 106. If the TS output from the switch / selector 103 is a TS for recording, the second Demux 105 deletes unnecessary data included in the TS, encrypts the TS, and outputs the TS to the external storage device 20.
[0029] The TS for viewing output from the second Demux 105 is decoded by the decoder 106, image-processed by the image processor 107, and output to the image display unit 14 as content.
[0030] The control unit 110 is realized, for example, by a processor included in the SoC 100 executing a program stored in a memory. The control unit 110 controls each component included in the SoC 100 in response to a user operation via the input receiving unit 15, and also controls the FPGA 200. The operation of the control unit 110 will be described in detail later.
[0031] The FPGA200 is an example of a second signal processing unit (also referred to as a signal processing circuit) that receives a multiplexed TS as input, demultiplexes the multiplexed TS, and outputs a plurality of TSs (here, a first TS and a second TS). The FPGA200 is a signal processing circuit provided separately from the SoC100 in the video signal processing device 10. The FPGA200 includes a first Demux201, a first synchronization determination unit 202, a second synchronization determination unit 203, a first TS output unit 204, a second TS output unit 205, a first TS input unit 206, a second TS input unit 207, a first TS transmission unit 208, a second TS transmission unit 209, and a management unit 210.
[0032] The first Demux 201 demultiplexes the multiplexed TS output from the SoC 100, separates the first TS and the second TS according to the sync byte, converts each sync byte to 0x47, and then outputs the first TS to the first synchronization judgment unit 202 and the second TS to the second synchronization judgment unit 203.
[0033] The first synchronization determination unit 202 detects whether the input first TS is in 188-byte packet units defined by the MPEG2 system standard, and outputs the first TS to a first TS output unit 204 if it is.
[0034] The second synchronization determination unit 203 detects whether the input second TS is in 188-byte packet units defined by the MPEG2 system standard, and outputs the second TS to the second TS output unit 205 if it is.
[0035] The first TS output unit 204 outputs the first TS output from the first synchronization determination unit 202 to the first CI slot 12, thereby causing the CAM inserted in the first CI slot 12 to decrypt the encrypted first TS.
[0036] The second TS output unit 205 outputs the second TS output from the second synchronization determination unit 203 to the second CI slot 13, thereby causing the CAM inserted in the second CI slot 13 to decrypt the encrypted second TS.
[0037] If the video signal processing device 10 complies with DVB-CI Plus, the TS is encrypted again by the CAM inserted in each CI slot. The TS encrypted by the CAM is decrypted in the second Demux 105.
[0038] The first TS input unit 206 receives the first TS decoded by the CAM inserted in the first CI slot 12 , and outputs the first TS to the first TS transmission unit 208 .
[0039] The second TS input unit 207 receives the second TS decoded by the CAM inserted in the second CI slot 13 , and outputs the second TS to the second TS transmission unit 209 .
[0040] The first TS transmission unit 208 outputs the first TS output from the first TS input unit 206 to the SoC 100.
[0041] The second TS transmission unit 209 outputs the second TS output from the second TS input unit 207 to the SoC 100.
[0042] The management unit 210 controls each component of the FPGA 200 in response to an instruction from the control unit 110 of the SoC 100. For example, which CI slot is to be output for a TS for each sync byte, that is, whether the TS for each sync byte is to pass through a path from the first Demux 201 to the first TS output unit 204 or a path from the first Demux 201 to the second TS output unit 205, is managed by the management unit 210 in response to an instruction from the control unit 110 of the SoC 100. Details of the operation of the management unit 210 will be described later.
[0043] When changing the channel of either the first TS or the second TS, there may be cases where insufficient data less than the size of one packet occurs for the TS whose channel is to be changed. Here, the principle of insufficient data occurrence and problems that may occur when insufficient data occurs will be described with reference to Figures 2A to 2D.
[0044] 2A to 2D are diagrams for explaining the principle of the occurrence of insufficient data and problems that arise when insufficient data occurs. In Fig. 2A to Fig. 2D, only Mux 104 is shown among the components of SoC 100, and only the first Demux 201 is shown among the components of FPGA 200.
[0045] As shown in FIG. 2A, for example, the SoC 100 receives a TS of channel 1 (denoted as ch1) as a first TS and a TS of channel 2 (denoted as ch2) as a second TS, and multiplexes them in the Mux 104. For example, the sync byte of the first TS of ch1 after multiplexing in the Mux 104 is 0x47, and the sync byte of the second TS of ch2 is 0x48. After multiplexing in the Mux 104, a plurality of packets included in the first TS are represented as "47-A", and a plurality of packets included in the second TS are represented as "48-A". The "47" and "48" are schematic representations of the sync byte values of 0x47 and 0x48. Although packets such as "47-B" and "48-B" are shown in FIG. 2B to FIG. 2D, the order in which packets flow in the TS is shown in alphabetical order such as "A", "B", "C", etc.
[0046] As shown in Fig. 2B, first, a packet of "47-A" of the first TS and a packet of "48-A" of the second TS are multiplexed. At this time, the channel of the first TS is changed, and as shown in Fig. 2B, a packet following "47-A" of the first TS (e.g., a packet of "47-B") may be cut off midway due to the channel change in SoC 100, resulting in a fractional packet less than the size of one packet (e.g., 188 bytes).
[0047] In this case, as shown in Fig. 2C, the "47-B" fractional packet of the first TS and the "48-B" packet of the second TS are multiplexed. The "47-A" packet of the first TS and the "48-A" packet of the second TS are demultiplexed in the first Demux 201 and separated according to the sync byte of each packet, with the "47-A" packet being output to the first CI slot 12 and the "48-A" packet being output to the second CI slot 13. The sync byte of each packet is converted to 0x47 in the first Demux 201, but the second TS packets demultiplexed and separated in the first Demux 201 are shown as "48-*" to distinguish them from the first TS packets.
[0048] Then, as shown in FIG. 2D, in the first Demux 201, one packet (for example, 188 bytes) from the beginning of the packet "47-B" (i.e., the sync byte arranged in the packet) is interpreted as one packet, and the fractional packet of "47-B" and a part of the leading side of the following packet "48-B" are output to the first CI slot 12 as one packet. Since the remaining "48-B" packet from which the leading side part has been cut off does not have a sync byte because the sync byte arranged at the beginning has been cut off, the FPGA 200 cannot determine whether the packet is to be output to the first CI slot 12 or the second CI slot 13, and the packet is discarded. In this way, the insufficient data occurs for the first TS, so that some packets of the second TS are lost, and the second TS, which does not change the channel, is affected, and there is a risk of noise being displayed on the screen of a display device, for example.
[0049] Therefore, in the SoC 100 and the FPGA 200, the processing described in Figures 3 and 4 is performed, thereby making it possible to prevent the other TSs, which do not change channels, from being affected when the channel of either the first TS or the second TS is changed.
[0050] FIG. 3 is a flowchart showing an example of the operation of the SoC 100 (specifically, the control unit 110) according to the embodiment.
[0051] The SoC 100 determines whether the channel of either the first TS or the second TS has been changed (step S11). For example, the SoC 100 performs the above determination by receiving, via the input receiving unit 15, a signal related to a user operation such as selection (channel selection) of a broadcast to be received by pressing a button on a remote control or the like.
[0052] If the SoC 100 determines that the channel has not been changed for either the first TS or the second TS (No in step S11), it repeats the process in step S11 until the channel is changed.
[0053] When the SoC 100 determines that the channel of either the first TS or the second TS has been changed (Yes in step S11), it transmits a notification to the FPGA 200 to start a detection process for detecting missing data less than the size of one packet (step S12). Specifically, when the SoC 100 changes the channel of either the video signal of the first TS or the second TS, it transmits a notification to the FPGA 200 to start the detection process. For example, when it is determined that the channel of the first TS has been changed, it transmits a notification to start the detection process for the first TS, and when it is determined that the channel of the second TS has been changed, it transmits a notification to start the detection process for the second TS.
[0054] Next, the SoC 100 transmits a notification to the FPGA 200 to output a TS of the changed channel (step S13). By receiving the notification, for example, when the channel of the first TS is changed, the FPGA 200 outputs the TS of the changed channel to the first CI slot 12, which is the output destination of the first TS, and when the channel of the second TS is changed, for example, the FPGA 200 outputs the TS of the changed channel to the second CI slot 13, which is the output destination of the second TS.
[0055] Next, SoC 100 prevents the TS for which the channel is changed from being multiplexed (step S14). In other words, SoC 100 prevents the TS for which the channel is changed from being output to FPGA 200. For example, when the channel of the first TS is changed, SoC 100 controls switch / selector 103 so as not to output the first TS for the channel before the change to Mux 104, and when the channel of the second TS is changed, SoC 100 controls switch / selector 103 so as not to output the second TS for the channel before the change to Mux 104.
[0056] Next, SoC 100 changes the selected channel of tuner 11 (step S15). For example, when the channel of the first TS is changed, SoC 100 controls tuner 11 to select the changed channel instead of the current channel of the first TS and output the TS of the changed channel, and for example, when the channel of the second TS is changed, SoC 100 controls tuner 11 to select the changed channel instead of the current channel of the second TS and output the TS of the changed channel.
[0057] Next, SoC100 transmits to FPGA200 a notification to change parameters such as the clock frequency of the output to the CI slot of the output destination of the TS of the channel to be changed to parameters corresponding to the changed channel (step S16). For example, when the channel of the first TS is changed, SoC100 transmits a notification to change the parameters of the output to first CI slot 12, which is the output destination of the first TS, to parameters corresponding to the changed channel, and when the channel of the second TS is changed, SoC100 transmits a notification to change the parameters of the output to second CI slot 13, which is the output destination of the second TS, to parameters corresponding to the changed channel.
[0058] Next, the SoC 100 multiplexes the TS of the changed channel (step S17). In other words, the SoC 100 outputs the TS of the changed channel to the FPGA 200. The SoC 100 controls the switch / selector 103 to output the TS of the changed channel to the Mux 104, for example.
[0059] Then, SoC 100 transmits a notification to FPGA 200 not to output the TS of the channel before the change (step S18). By receiving the notification, FPGA 200 will not output the first TS to first CI slot 12 when the channel of the first TS is changed, and will not output the second TS to second CI slot 13 when the channel of the second TS is changed. This allows FPGA 200 to output the TS of the changed channel without worrying about the TS of the channel before the change.
[0060] The order of the processes executed by SoC100 is not limited to that shown in Fig. 3. For example, the order of execution of the process in step S18 is not particularly limited as long as it is executed after step S14. For example, the order of execution of the process in step S15 and the process in step S16 may be interchanged.
[0061] Next, the operation of the FPGA 200 will be described with reference to FIG.
[0062] FIG. 4 is a flowchart showing an example of the operation of the FPGA 200 (specifically, the management unit 210) according to the embodiment.
[0063] First, the FPGA 200 receives a notification (specifically, the notification transmitted in step S12 shown in FIG. 3) from the SoC 100 to start a detection process for detecting missing data less than the size of one packet (step S21).
[0064] Next, the FPGA 200 starts the detection process by receiving the notification (step S22). For example, when the SoC 100 determines that the channel of the first TS has been changed, the FPGA 200 starts the detection process for the first TS, and when the SoC 100 determines that the channel of the second TS has been changed, the FPGA 200 starts the detection process for the second TS.
[0065] Next, the FPGA 200 judges whether or not missing data is detected for either the first TS or the second TS (step S23). For example, when the FPGA 200 detects a sync byte arranged at the beginning of a packet, the FPGA 200 refers to the number of bytes between the sync byte and the previous sync byte, and judges whether or not the number of bytes matches 188 bytes, thereby detecting the missing data. For example, if the number of bytes matches 188 bytes, the FPGA 200 judges that missing data has not been detected, and if the number of bytes does not match 188 bytes, the FPGA 200 judges that missing data has been detected.
[0066] If the FPGA 200 does not detect missing data for either the first TS or the second TS (No in step S23), it repeats the process in step S23 until it detects missing data. However, since there may be cases where missing data does not occur by chance when changing channels, the FPGA 200 may end the process in FIG. 4, for example, when it receives a TS for a new channel without detecting missing data, or when a predetermined time has elapsed since starting the process in step S23.
[0067] When the FPGA 200 detects missing data for either the first TS or the second TS (Yes in step S23), it performs a process of discarding the detected missing data, or a process of making the size of the missing data an integer multiple of the size of one packet by adding dummy data to the detected missing data (step S24). The process of making the size of the missing data an integer multiple of the size of one packet means a process of adding dummy data after the missing data to make the size of the packet in which the missing data and the dummy data are combined, for example, an integer multiple of 188 bytes (188 bytes, 376 bytes, 564 bytes, etc.). By discarding the detected missing data or adding dummy data to the detected missing data, the missing data of the TS whose channel is changed and a part of the leading side of the packet of the other TS whose subsequent channel is not changed are not treated as one packet, so that it is possible to prevent the leading side of the packet of the other subsequent TS from being lost.
[0068] Fig. 5 is a diagram for explaining that the problem when insufficient data occurs is solved. Fig. 5 is a diagram showing a state after the FPGA 200 performs a detection process to detect insufficient data in Fig. 2C. That is, by the FPGA 200 performing a detection process to detect insufficient data, the state of Fig. 5 is obtained after Fig. 2C instead of Fig. 2D. Fig. 5 shows an example in which insufficient data is discarded when insufficient data occurs.
[0069] 5, by discarding the missing data packet "47-B", a portion of the leading end of the following packet "48-B" is not cut off, and the packet "48-B" can be correctly output to the second CI slot 13. When dummy data is added to the missing data, the packet "47-B" with the dummy data added is output to the first CI slot 12, and the packet "48-B" can be correctly output to the second CI slot 13.
[0070] Although an example has been described in which the detection process is started by the FPGA 200 receiving a notification to start the detection process, the present invention is not limited to this. For example, the FPGA 200 may perform the detection process at all times. In this case, the SoC 100 does not need to send a notification to start the detection process, but the load on the FPGA 200 increases. On the other hand, when the SoC 100 notifies the FPGA 200 of the detection process, the FPGA 200 can perform the detection process only when necessary, and the load on the FPGA 200 can be reduced.
[0071] Although an example has been described in which the video signal processing device 10 handles two TSs (here, a first TS and a second TS) as a plurality of video signals, the present invention is not limited to this. For example, the video signal processing device 10 may handle three or more TSs as a plurality of video signals, and may be provided with three or more CI slots.
[0072] [Effects, etc.] As described above, the video signal processing device 10 includes a first signal processing unit (e.g., SoC 100) that receives a plurality of video signals each including a plurality of packets, multiplexes the plurality of video signals, and outputs a multiplexed video signal, and a second signal processing unit (e.g., FPGA 200) that receives a multiplexed video signal, demultiplexes the multiplexed video signal, and outputs a plurality of video signals. When the second signal processing unit detects missing data less than the size of one packet for any of the plurality of video signals, the second signal processing unit (i) performs a process of discarding the detected missing data, or (ii) performs a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet.
[0073] According to this, when missing data occurs in a video signal whose channel has been changed, the second signal processing unit discards the missing data or makes the size of the missing data an integer multiple of the size of one packet, thereby preventing a portion of the leading end of packets of other video signals whose channels are not changed from being cut off together with the missing data to be combined into one packet. Therefore, when changing the channel of one of a plurality of video signals in a signal processing circuit (e.g., the first signal processing unit) that outputs video signals in only one system, it is possible to prevent the other video signals whose channels are not changed from being affected.
[0074] For example, the first signal processor may transmit a notification to the second signal processor to start a detection process for detecting the missing data, and the second signal processor may start the detection process upon receiving the notification.
[0075] This allows the second signal processing unit to start the detection process using the notification transmitted from the first signal processing unit as a trigger.
[0076] For example, when changing the channel of any one of the plurality of video signals, the first signal processing unit may transmit a notification to the second signal processing unit to start the detection process.
[0077] With this, the second signal processing unit can start the detection process when changing the channel of any one of the plurality of video signals.
[0078] For example, when changing the channel of any one of the plurality of video signals, the first signal processing unit may perform control so as not to multiplex the video signal for which the channel is to be changed.
[0079] This makes it possible to prevent the video signal for changing the channel from being multiplexed and output to the second signal processing unit.
[0080] A signal processing circuit (e.g., SoC100) receives as input a plurality of video signals, each of which contains a plurality of packets, multiplexes the video signals, outputs a multiplexed video signal, and transmits a notification to start a detection process to detect missing data less than the size of one packet.
[0081] This allows a signal processing circuit (e.g., SoC100) to cause another signal processing circuit (e.g., FPGA200) to initiate a detection process to detect missing data, thereby preventing other video signals that do not change channel from being affected when changing the channel for one of multiple video signals in a signal processing circuit that outputs video signals in only one system.
[0082] A signal processing circuit (e.g., FPGA 200) receives as input a multiplexed video signal in which multiple video signals, each of which contains multiple packets, demultiplexes the multiplexed video signal to output multiple video signals, initiates the detection process upon receiving a notification to start the detection process for detecting missing data less than the size of one packet, and, when missing data is detected for any of the multiple video signals, performs (i) a process of discarding the detected missing data or (ii) a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet.
[0083] According to this, a signal processing circuit (e.g., FPGA 200) can start the detection process by receiving a notification from another signal processing circuit (e.g., SoC 100) to start the detection process for detecting missing data, thereby preventing other video signals that do not change channel from being affected when the channel is changed for one of multiple video signals in another signal processing circuit that outputs video signals in only one system.
[0084] (Other embodiments) As described above, the embodiments have been described as examples of the technology disclosed in this application. However, the technology in this disclosure is not limited to these, and can be applied to embodiments in which modifications, substitutions, additions, omissions, etc. are appropriately made. It is also possible to combine the components described in the above embodiments to create new embodiments.
[0085] For example, in the above embodiment, the size of each of the multiple packets included in the video signal is described as a fixed length of 188 bytes, but the size of each packet may be variable. In this case, for example, the number of bytes until the next sync byte is described in the header of the packet, and it may be determined whether or not missing data has occurred by determining whether or not the number of bytes existing between the sync bytes matches the number of bytes described in the packet header.
[0086] For example, in the above embodiment, a description has been given of changing the channel of a broadcast wave, but the present disclosure can also be applied when changing the channel of a broadcast on the Internet or the like.
[0087] The present disclosure can be realized not only as a video signal processing device 10, but also as a video signal processing method including steps (processing) performed by components that make up the video signal processing device 10.
[0088] Specifically, the video signal processing method is a video signal processing method in a video signal processing device 10 that includes a first signal processing unit that receives as input a plurality of video signals each including a plurality of packets, multiplexes the plurality of video signals to output a multiplexed video signal, and a second signal processing unit that receives as input a multiplexed video signal, demultiplexes the multiplexed video signal to output a plurality of video signals, and when missing data less than the size of one packet is detected for any of the plurality of video signals, (i) a process of discarding the detected missing data or (ii) a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet.
[0089] For example, the video signal processing method may be executed by a computer (computer system). The present disclosure may be realized as a program for causing a computer to execute steps included in the video signal processing method. Furthermore, the present disclosure may be realized as a non-transitory computer-readable recording medium, such as a CD-ROM, on which the program is recorded.
[0090] For example, when the present disclosure is realized by a program (software), each step is executed by executing the program using hardware resources such as a computer's CPU, memory, input / output circuitry, etc. In other words, each step is executed by the CPU acquiring data from memory or input / output circuitry, etc., performing calculations, and outputting the calculation results to memory or input / output circuitry, etc.
[0091] The components included in the video signal processing device 10 according to the above embodiment may be realized as an LSI (Large Scale Integration) integrated circuit (IC: Integrated Circuit).
[0092] The integrated circuit is not limited to an LSI, and may be realized by a dedicated circuit or a general-purpose processor. A programmable FPGA or a reconfigurable processor in which the connections and settings of circuit cells within an LSI can be reconfigured may also be used.
[0093] Furthermore, if an integrated circuit technology that can replace LSI emerges due to advances in semiconductor technology or a different derivative technology, the components included in the video signal processing device 10 may naturally be integrated into an integrated circuit using that technology.
[0094] As described above, the embodiments have been described as examples of the technology in the present disclosure, and the accompanying drawings and detailed description have been provided for this purpose.
[0095] Therefore, the components shown in the attached drawings and detailed description may include not only essential components for solving the problem, but also non-essential components for solving the problem. Therefore, the fact that the non-essential components are shown in the attached drawings and detailed description should not be interpreted as indicating that the non-essential components are essential.
[0096] The above-described embodiments are intended to illustrate the technology of the present disclosure, and various modifications, substitutions, additions, omissions, and the like can be made within the scope of the claims or their equivalents. [Industrial Applicability]
[0097] The present disclosure is applicable to video devices such as televisions. [Explanation of symbols]
[0098] 10 Video signal processing device 11 Tuner 12 1st CI slot 13 2nd CI slot 14 Image display section 15 Input reception section 20 External storage device 100 SoC 101 1st TS receiver 102 Second TS receiver 103 Switch / Selector 104 Mux 105 Second Demux 106 Decoder 107 Image Processing Unit 110 Control section 200 FPGA 201 1st Demux 202 First synchronization determination unit 203 Second synchronization judgment unit 204 1st TS output section 205 2nd TS output section 206 1st TS input section 207 Second TS input section 208 1st TS Transmitter 209 2nd TS Transmitter 210 Management Department
Claims
1. a first signal processing unit that receives a plurality of video signals each including a plurality of packets, multiplexes the plurality of video signals, and outputs a multiplexed video signal in only one system; a second signal processing unit that receives the multiplexed video signal, demultiplexes the multiplexed video signal, and outputs the plurality of video signals; When changing a channel for any one of the plurality of video signals, the first signal processing unit transmits a notification to the second signal processing unit to start a detection process for detecting missing data less than a size of one packet for the video signal whose channel has been changed; The second signal processing unit starts the detection process by receiving the notification, and when the second signal processing unit detects the missing data for the video signal whose channel has been changed, performs (i) a process of discarding the detected missing data, or (ii) a process of adding dummy data to the detected missing data to make the size of the missing data an integer multiple of the size of one packet. Video signal processing device.
2. The first signal processing unit performs control so as not to multiplex the video signal for which the channel is to be changed when the channel of any one of the plurality of video signals is changed.
2. The video signal processing device according to claim 1.
3. A video signal processing method in a video signal processing device including: a first signal processing unit that receives an input of a plurality of video signals, each of which includes a plurality of packets, multiplexes the plurality of video signals, and outputs a multiplexed video signal in only one system; and a second signal processing unit that receives an input of the multiplexed video signal, demultiplexes the multiplexed video signal, and outputs the plurality of video signals, comprising: When changing a channel for any one of the plurality of video signals, a notification is transmitted to start a detection process for detecting missing data less than a size of one packet for the video signal whose channel has been changed; The detection process is started upon receiving the notification, and when the missing data is detected for the video signal whose channel has been changed, (i) a process of discarding the detected missing data or (ii) a process of adding dummy data to the detected missing data so that the size of the missing data is an integer multiple of the size of one packet. Video signal processing method.
4. 4. A program for causing a computer to execute the video signal processing method according to claim 3.
5. A plurality of video signals each including a plurality of packets is input, the plurality of video signals are multiplexed, and the multiplexed video signal is output in only one system; when changing a channel for any one of the plurality of video signals, transmitting a notification to start a detection process for detecting missing data less than a size of one packet for the video signal whose channel has been changed; Signal processing circuit.
6. a multiplexed video signal in which a plurality of video signals each including a plurality of packets are multiplexed and output in only one system is received as an input, the multiplexed video signal is demultiplexed, and the plurality of video signals are output; When a channel is changed for any one of the plurality of video signals, a notification is received to start a detection process for detecting missing data less than a size of one packet for the video signal whose channel has been changed, thereby starting the detection process; When the missing data is detected for the video signal whose channel has been changed, (i) a process of discarding the detected missing data, or (ii) a process of adding dummy data to the detected missing data so that the size of the missing data is an integer multiple of the size of one packet. Signal processing circuit.
Citation Information
Patent Citations
Broadcast receiver, and method of controlling the same
EP2757796A1
Communication controller and its control method
JP2007096737A
Broadcast receiver, input method and control program
JP2017163427A
In a subscriber network receiving digital packets and transmitting digital packets below a predetermined maximum bit rate
US20030002577A1
