WO2017096765A1 - 电视终端及其数据播放方法 - Google Patents

电视终端及其数据播放方法 Download PDF

Info

Publication number
WO2017096765A1
WO2017096765A1 PCT/CN2016/084266 CN2016084266W WO2017096765A1 WO 2017096765 A1 WO2017096765 A1 WO 2017096765A1 CN 2016084266 W CN2016084266 W CN 2016084266W WO 2017096765 A1 WO2017096765 A1 WO 2017096765A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
played
audio
display interface
television terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/084266
Other languages
English (en)
French (fr)
Inventor
王云华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Publication of WO2017096765A1 publication Critical patent/WO2017096765A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool

Definitions

  • the present invention relates to the field of television technologies, and in particular, to a television terminal and a data playing method thereof.
  • MIPI Mobile Industry Processor Interface
  • the mobile industry processor interface is an open standard and specification for mobile application processors initiated by the MIPI Alliance to improve the consistency of application processor interfaces to accelerate the provision of mobile devices to users while accelerating the provision of mobile devices. Reusability and compatibility.
  • MIPI Alliance defines a series of internal device interface standards, such as camera interface CSI, display interface DSI, RF interface DigRF, and microphone/horn interface SLIMbus.
  • the display frequency DSI is the most frequently used, but the working mode of the physical layer video processor is relatively simple, which is only one of the following two methods: one is HS (High Speed, high speed mode, in which the data transmission rate is 80M ⁇ 1Gbps, but it will cause the video processor to consume more power; the other is LP (Low) Power, low power mode, in which the video processor's power consumption is small, but the data transmission rate is less than 10Mbps.
  • the video processor of the existing television terminal has a low processing efficiency.
  • a main object of the present invention is to provide a television terminal and a data playing method thereof, which are related to selecting a working mode of a display interface according to a type of data to be played after being decoded, and playing the data to be played according to the selected working mode. In this way, the processing efficiency of the television terminal can be significantly improved.
  • the present invention provides a data playing method for a television terminal, and the data playing method of the television terminal includes the following steps:
  • the step of reading the type of the data to be played includes:
  • the step of selecting an operating mode of the display interface of the television terminal according to the type of the data to be played comprises:
  • the low speed processing mode of the display interface is selected.
  • the step of playing the data to be played in the working mode of the selected display interface comprises:
  • the working mode of the display interface is a high-speed processing working mode, playing the audio, and displaying the picture in RGB form;
  • the working mode of the display interface is the medium speed processing mode, displaying the picture in RGB form;
  • the audio is played when the working mode of the display interface is the low speed processing mode.
  • the step of playing the to-be-played data in the working mode of the selected display interface further includes:
  • the audio and the picture are synchronized.
  • the display interface is a MIPI interface.
  • the present invention also provides a data playing method for a television terminal, and the data playing method of the television terminal comprises the following steps:
  • the step of acquiring data to be played after being decoded by the decoding processor of the television terminal comprises:
  • the decoded data to be played back is stored in a buffer area.
  • the step of reading the type of the data to be played includes:
  • the step of selecting an operating mode of the display interface of the television terminal according to the type of the data to be played comprises:
  • the low speed processing mode of the display interface is selected.
  • the step of playing the data to be played in the working mode of the selected display interface comprises:
  • the working mode of the display interface is a high-speed processing working mode, playing the audio, and displaying the picture in RGB form;
  • the working mode of the display interface is the medium speed processing mode, displaying the picture in RGB form;
  • the audio is played when the working mode of the display interface is the low speed processing mode.
  • the step of playing the to-be-played data in the working mode of the selected display interface further includes:
  • the audio and the picture are synchronized.
  • the display interface is a MIPI interface.
  • the present invention further provides a television terminal, where the television terminal includes:
  • An acquiring module configured to acquire data to be played after being decoded by the decoding processor of the television terminal;
  • a reading module configured to read the type of the data to be played
  • a selection module configured to select, according to the type of the data to be played, a working mode of the display interface of the television terminal;
  • a playing module configured to play the to-be-played data in a working mode of the selected display interface.
  • the obtaining module comprises:
  • a receiving unit configured to receive the to-be-played data
  • a decoding unit configured to perform decoding processing on the to-be-played data by using the decoding processor
  • a storage unit configured to store the decoded data to be played in the buffer area.
  • the reading module comprises:
  • An obtaining unit configured to acquire a number of pictures and an audio value of data to be played in the buffer area
  • a comparing unit configured to compare the number of pictures and a predetermined sheet value, and a size relationship between the audio value and a predetermined audio value
  • a first determining unit configured to determine that the type of the data to be played is a picture and audio when the number of pictures is greater than a first predetermined value, and the audio value is not equal to the predetermined audio value
  • a second determining unit configured to determine that the type of the data to be played is a picture when the number of pictures is equal to the first predetermined value, and the audio value is equal to the predetermined audio value;
  • a third determining unit configured to determine that the type of the data to be played is audio when the number of pictures is equal to a second predetermined value and the audio value is not equal to the predetermined audio value.
  • the selection module comprises:
  • a first selecting unit configured to select a high-speed processing working mode of the display interface when the type of the data to be played is a picture and audio;
  • a second selecting unit configured to select a medium speed processing working mode of the display interface when the type of the to-be-played data is a picture
  • a third selecting unit configured to select a low-speed processing working mode of the display interface when the type of the data to be played is audio.
  • the playing module comprises:
  • a first playing unit configured to play the audio when the working mode of the display interface is a high-speed processing working mode, and display the picture in an RGB format;
  • a second playing unit configured to display the picture in RGB form when the working mode of the display interface is a medium speed processing mode
  • a third playing unit configured to play the audio when the working mode of the display interface is a low speed processing mode.
  • the first playing unit is further configured to perform synchronization processing on the audio and the picture when the working mode of the display interface is a high-speed processing working mode.
  • the display interface is a MIPI interface.
  • the television terminal and the data playing method thereof provided by the present invention acquire the data to be played after being decoded by the decoding processor of the television terminal, and then read the type of the data to be played, and according to the type of the data to be played, Corresponding to selecting an operating mode of the display interface of the television terminal, finally playing the data to be played in the selected working mode of the display interface.
  • the processing speed of the television terminal can be improved, but also the power consumption can be reduced at the same time, so that the processing efficiency of the television terminal can be significantly improved.
  • FIG. 1 is a schematic flowchart of an embodiment of a data playing method of a television terminal according to the present invention
  • FIG. 2 is a schematic diagram showing a refinement process of the data to be played after the decoding process of the decoding processor of the television terminal is acquired in the step of FIG. 1;
  • FIG. 3 is a schematic diagram of a refinement process of reading the type of data to be played in the step of FIG. 1;
  • FIG. 4 is a schematic diagram showing a refinement process of the operation mode of the display interface corresponding to the selected television terminal according to the type of the data to be played in the step of FIG. 1;
  • FIG. 5 is a schematic diagram showing a refinement flow of playing the data to be played after the step of FIG. 1 is selected to select an operation mode of the display interface;
  • FIG. 6 is a schematic diagram of functional modules of an embodiment of a television terminal according to the present invention.
  • FIG. 7 is a schematic diagram of a refinement function module of the acquisition module in FIG. 6;
  • FIG. 8 is a schematic diagram of a refinement function module of the reading module of FIG. 6;
  • FIG. 9 is a schematic diagram of a refinement function module of the selection module in FIG. 6;
  • FIG. 10 is a schematic diagram of a refinement function module of the play module in FIG. 6.
  • the present invention provides a data playing method for a television terminal.
  • the data playing method of the television terminal includes the following steps:
  • Step S10 acquiring data to be played after being decoded by the decoding processor of the television terminal;
  • Step S20 reading the type of the data to be played
  • the television terminal after receiving the audio and video data, the television terminal first performs decoding processing by the decoding processor to obtain data to be played, and the data to be played includes content such as pictures and audio, and therefore, the type of the data to be played may be There are three types of pictures and audio, pictures and audio.
  • the television terminal can be correspondingly stored in the buffer area according to the specific content of the data to be played.
  • the buffer area may specifically include a picture buffer area and an audio buffer area.
  • Step S30 corresponding to selecting a working mode of the display interface of the television terminal according to the type of the data to be played;
  • the television terminal may correspondingly select an operating mode of the display interface of the television terminal according to the type of the data to be played (picture and audio, picture, and audio).
  • the display interface is an MIPI interface. Of other embodiments, other suitable unified interfaces may be selected according to actual needs.
  • the television terminal when the type of the data to be played is picture and audio, since the memory occupied by the picture and the audio is large, the television terminal can select the high-speed processing mode of the display interface, so that the television terminal can be improved not only.
  • the processing speed can also reduce the power consumption at the same time; when the type of the data to be played is a picture, since the memory occupied by the picture is smaller than the memory occupied by the picture and the audio, the television terminal can select the display interface. Medium speed processing mode, so that high power consumption can be avoided while still ensuring the processing speed of the television terminal; when the type of data to be played is audio, the audio occupies the memory relative to the audio, the picture and The audio occupies less memory. Therefore, the TV terminal can select the low-speed processing mode of the display interface, so that the TV terminal can be prevented from being in a high-speed processing state, thereby reducing power consumption.
  • Step S40 Play the data to be played in the selected working mode of the display interface.
  • the working mode of the display interface selected by the television terminal when the working mode of the display interface selected by the television terminal is different, it indicates that the corresponding to-be-played content is also different.
  • the content to be played is a picture and audio
  • the audio and the picture need to be played simultaneously, of course, understandable. It is also necessary to synchronize the audio and the picture.
  • the picture is displayed in RGB form. Of course, in other embodiments, the picture may also be displayed in other forms.
  • the data playing method of the television terminal obtaineds the data to be played after being decoded by the decoding processor of the television terminal, and then reads the type of the data to be played, and according to the type of the data to be played, corresponding The working mode of the display interface of the television terminal is selected, and finally the data to be played is played in the selected working mode of the display interface. In this way, not only the processing speed of the television terminal can be improved, but also the power consumption can be reduced at the same time, so that the processing efficiency of the television terminal can be significantly improved.
  • the step S10 includes:
  • Step S101 receiving the data to be played
  • Step S102 Perform decoding processing on the to-be-played data by using the decoding processor.
  • the terminal device receives the to-be-played data, and performs decoding processing on the data to be played by the decoding processor to obtain a picture and/or audio content.
  • Step S103 The decoded data to be played back is stored in a buffer area.
  • the buffer area may specifically include a picture buffer area and an audio buffer area
  • the television terminal stores the picture content obtained by the decoding process in the picture buffer area, and stores the audio content in the audio buffer area.
  • the step S20 includes:
  • Step S201 acquiring the number of pictures and the audio value of the data to be played in the buffer area
  • Step S202 comparing the number of pictures and a predetermined sheet value, and the magnitude relationship between the audio value and a predetermined audio value
  • the television terminal reads the number of pictures in the picture buffer area, reads the audio value in the audio buffer area, and compares the number of pictures to a predetermined number of sheets, and simultaneously The audio value is compared with a predetermined audio value.
  • the predetermined number of values specifically includes a first predetermined number of sheets such as 1 and a second predetermined number of sheets such as 0, and the predetermined audio value is set to 0, of course, In other embodiments, the predetermined number of sheets and the predetermined audio value may be appropriately set according to actual needs, and are not limited to the embodiment.
  • Step S203 determining that the type of the data to be played is a picture and audio when the number of pictures is greater than a first predetermined value and the audio value is not equal to the predetermined audio value;
  • Frame_Pg(x1) 60, indicating that the TV terminal detects that the picture frame rate is greater than 1, and counts the number of occurrences of R, G, and B and the multiple of the horizontal screen direction of the television terminal.
  • DIG_Audio(x1) 70, indicating that the TV terminal is detecting that the audio value is not equal to 0 and setting the flag:
  • Step S204 determining that the type of the data to be played is a picture when the number of pictures is equal to the first predetermined piece of value, and the audio value is equal to the predetermined audio value;
  • the type of the data to be played is determined to be a picture, and the flag is set to 2.
  • Frame_Pg(x1) 1, indicating that the picture frame rate detected by the television terminal is equal to 1;
  • DIG_Audio(x1) 0, indicating that the audio value detected by the TV terminal is equal to 0, that is, the digital audio content is not found by the television terminal, and the flag is set:
  • Step S205 When the number of pictures is equal to the second predetermined sheet value, and the audio value is not equal to the predetermined audio value, it is determined that the type of the data to be played is audio.
  • the television terminal determines the data to be played.
  • the type is audio and the flag is set to 3.
  • Frame_Pg(x1) 0, indicating that the picture frame detected by the TV terminal is equal to 0, and the content to be played has no picture content;
  • DIG_Audio(x1) 70, indicating that the audio value detected by the television terminal is greater than 0, and the content to be played is the audio content, and the flag is set:
  • the television terminal determines that the type of the data to be played is audio.
  • the step S30 includes:
  • Step S301 when the type of the data to be played is a picture and audio, selecting a high-speed processing mode of the display interface;
  • the television terminal when the television terminal reads the identifier bit as 1, it indicates that the type of data to be played is picture and audio.
  • the corresponding command 0x22 is sent to set the working mode of the physical layer video processor to the high-speed processing mode, that is, Select the high-speed processing mode of the display interface, as follows:
  • MIPI_DSIMode_Set_HS(x1) 1, High Speed
  • Step S302 When the type of the data to be played is a picture, select a medium speed processing working mode of the display interface;
  • the television terminal when the television terminal reads the identifier bit as 2, it indicates that the type of data to be played is a picture, and the corresponding command 0x66 is sent to set the working mode of the physical layer video processor to the medium speed processing mode, that is, selecting Display the medium-speed processing mode of the interface, as follows:
  • MIPI_DSIMode_Set_HS(x1) 2, Middle Speed;
  • Step S303 when the type of the data to be played is audio, select a low speed processing mode of the display interface.
  • the television terminal when the television terminal reads that the identifier bit is 3, it indicates that the type of the data to be played is audio.
  • the corresponding command 0x99 is sent to set the working mode of the physical layer video processor to the low-speed processing mode, that is, the display is selected.
  • the low-speed processing mode of the interface is as follows:
  • MIPI_DSIMode_Set_HS(x1) 3, Low Speed;
  • the step S40 includes:
  • Step S401 when the working mode of the display interface is a high-speed processing mode, playing the audio, and displaying the picture in RGB form;
  • Step S402 displaying the picture in RGB form when the working mode of the display interface is the medium speed processing mode
  • the television terminal when detecting that the working mode of the selected display interface is the high speed processing or the medium speed mode, stores the audio in the audio buffer area 100, and displays the picture in RGB format. as follows:
  • the TV system sets the working mode of the display interface to the flag of the high-speed processing mode or the medium-speed processing mode. After the terminal device synchronizes the audio and the picture, the device performs playback.
  • the display interface is closed, so that the content to be displayed is not displayed.
  • Step S403 playing the audio when the working mode of the display interface is the low speed processing mode.
  • the television terminal when detecting that the selected display interface operates in the low speed processing mode, stores the audio in the audio buffer area 98 to play audio data:
  • the terminal device selects not the low speed processing mode at this time, the audio playback channel is closed, and only the picture content is displayed.
  • the present invention also provides a television terminal 1.
  • the television terminal 1 includes:
  • the obtaining module 10 is configured to acquire data to be played after being decoded by the decoding processor of the television terminal;
  • the reading module 20 is configured to read the type of the data to be played
  • the television terminal after receiving the audio and video data, the television terminal first performs decoding processing by the decoding processor to obtain data to be played, and the data to be played includes content such as pictures and audio, and therefore, the type of the data to be played may be There are three types of pictures and audio, pictures and audio.
  • the television terminal can be correspondingly stored in the buffer area according to the specific content of the data to be played.
  • the buffer area may specifically include a picture buffer area and an audio buffer area.
  • the selecting module 30 is configured to correspondingly select an operating mode of the display interface of the television terminal according to the type of the data to be played.
  • the television terminal may correspondingly select an operating mode of the display interface of the television terminal according to the type of the data to be played (picture and audio, picture, and audio).
  • the display interface is an MIPI interface. Of other embodiments, other suitable unified interfaces may be selected according to actual needs.
  • the television terminal when the type of the data to be played is picture and audio, since the memory occupied by the picture and the audio is large, the television terminal can select the high-speed processing mode of the display interface, so that the television terminal can be improved not only.
  • the processing speed can also reduce the power consumption at the same time; when the type of the data to be played is a picture, since the memory occupied by the picture is smaller than the memory occupied by the picture and the audio, the television terminal can select the display interface. Medium speed processing mode, so that high power consumption can be avoided while still ensuring the processing speed of the television terminal; when the type of data to be played is audio, the audio occupies the memory relative to the audio, the picture and The audio occupies less memory. Therefore, the TV terminal can select the low-speed processing mode of the display interface, so that the TV terminal can be prevented from being in a high-speed processing state, thereby reducing power consumption.
  • the playing module 40 is configured to play the to-be-played data in the selected working mode of the display interface.
  • the working mode of the display interface selected by the television terminal when the working mode of the display interface selected by the television terminal is different, it indicates that the corresponding to-be-played content is also different.
  • the content to be played is a picture and audio
  • the audio and the picture need to be played simultaneously, of course, understandable. It is also necessary to synchronize the audio and the picture.
  • the picture is displayed in RGB form. Of course, in other embodiments, the picture may also be displayed in other forms.
  • the television terminal provided by the present invention obtains the data to be played after being decoded by the decoding processor of the television terminal, and then reads the type of the data to be played, and correspondingly selects the television terminal according to the type of the data to be played. Displaying the working mode of the interface, and finally playing the data to be played in the selected working mode of the display interface. In this way, not only the processing speed of the television terminal can be improved, but also the power consumption can be reduced at the same time, so that the processing efficiency of the television terminal can be significantly improved.
  • the obtaining module 10 includes:
  • the receiving unit 101 is configured to receive the data to be played
  • a decoding unit 102 configured to perform decoding processing on the to-be-played data by using the decoding processor
  • the terminal device receives the to-be-played data, and performs decoding processing on the data to be played by the decoding processor to obtain a picture and/or audio content.
  • the storage unit 103 is configured to store the decoded data to be played in the buffer area.
  • the buffer area may specifically include a picture buffer area and an audio buffer area
  • the television terminal stores the picture content obtained by the decoding process in the picture buffer area, and stores the audio content in the audio buffer area.
  • the reading module 20 includes:
  • the obtaining unit 201 is configured to acquire the number of pictures and the audio value of the data to be played in the buffer area;
  • the comparing unit 202 is configured to compare the number of pictures and a predetermined number of pictures, and a size relationship between the audio value and a predetermined audio value;
  • the television terminal reads the number of pictures in the picture buffer area, reads the audio value in the audio buffer area, and compares the number of pictures to a predetermined number of sheets, and simultaneously The audio value is compared with a predetermined audio value.
  • the predetermined number of values specifically includes a first predetermined number of sheets such as 1 and a second predetermined number of sheets such as 0, and the predetermined audio value is set to 0, of course, In other embodiments, the predetermined number of sheets and the predetermined audio value may be appropriately set according to actual needs, and are not limited to the embodiment.
  • a first determining unit 203 configured to determine that the type of the data to be played is a picture and audio when the number of pictures is greater than a first predetermined value, and the audio value is not equal to the predetermined audio value;
  • Frame_Pg(x1) 60, indicating that the TV terminal detects that the picture frame rate is greater than 1, and counts the number of occurrences of R, G, and B and the multiple of the horizontal screen direction of the television terminal.
  • DIG_Audio(x1) 70, indicating that the TV terminal is detecting that the audio value is not equal to 0 and setting the flag:
  • a second determining unit 204 configured to determine that the type of the data to be played is a picture when the number of pictures is equal to the first predetermined picture value, and the audio value is equal to the predetermined audio value;
  • the type of the data to be played is determined to be a picture, and the flag is set to 2.
  • Frame_Pg(x1) 1, indicating that the picture frame rate detected by the television terminal is equal to 1;
  • DIG_Audio(x1) 0, indicating that the audio value detected by the TV terminal is equal to 0, that is, the digital audio content is not found by the television terminal, and the flag is set:
  • the third determining unit 205 is configured to determine that the type of the data to be played is audio when the number of pictures is equal to a second predetermined value and the audio value is not equal to the predetermined audio value.
  • the television terminal determines the data to be played.
  • the type is audio and the flag is set to 3.
  • Frame_Pg(x1) 0, indicating that the picture frame detected by the TV terminal is equal to 0, and the content to be played has no picture content;
  • DIG_Audio(x1) 70, indicating that the audio value detected by the television terminal is greater than 0, and the content to be played is the audio content, and the flag is set:
  • the television terminal determines that the type of the data to be played is audio.
  • the selection module 30 includes:
  • the first selecting unit 301 is configured to select a high-speed processing working mode of the display interface when the type of the data to be played is a picture and audio;
  • the television terminal when the television terminal reads the identifier bit as 1, it indicates that the type of data to be played is picture and audio.
  • the corresponding command 0x22 is sent to set the working mode of the physical layer video processor to the high-speed processing mode, that is, Select the high-speed processing mode of the display interface, as follows:
  • MIPI_DSIMode_Set_HS(x1) 1, High Speed
  • the second selecting unit 302 is configured to select a medium speed processing working mode of the display interface when the type of the data to be played is a picture;
  • the television terminal when the television terminal reads the identifier bit as 2, it indicates that the type of data to be played is a picture, and the corresponding command 0x66 is sent to set the working mode of the physical layer video processor to the medium speed processing mode, that is, selecting Display the medium-speed processing mode of the interface, as follows:
  • MIPI_DSIMode_Set_HS(x1) 2, Middle Speed;
  • the third selecting unit 303 is configured to select a low speed processing working mode of the display interface when the type of the data to be played is audio.
  • the television terminal when the television terminal reads that the identifier bit is 3, it indicates that the type of the data to be played is audio.
  • the corresponding command 0x99 is sent to set the working mode of the physical layer video processor to the low-speed processing mode, that is, the display is selected.
  • the low-speed processing mode of the interface is as follows:
  • MIPI_DSIMode_Set_HS(x1) 3, Low Speed;
  • the playing module 40 includes:
  • the first playing unit 401 is configured to play the audio when the working mode of the display interface is a high-speed processing working mode, and display the image in an RGB format;
  • the second playing unit 402 is configured to display the picture in RGB form when the working mode of the display interface is a medium speed processing mode;
  • the television terminal when detecting that the working mode of the selected display interface is the high speed processing or the medium speed mode, stores the audio in the audio buffer area 100, and displays the picture in RGB format. as follows:
  • the TV system sets the working mode of the display interface to the flag of the high-speed processing mode or the medium-speed processing mode. After the terminal device synchronizes the audio and the picture, the device performs playback.
  • the display interface is closed, so that the content to be displayed is not displayed.
  • the third playing unit 403 is configured to play the audio when the working mode of the display interface is a low speed processing mode.
  • the television terminal when detecting that the selected display interface operates in the low speed processing mode, stores the audio in the audio buffer area 98 to play audio data:
  • the terminal device selects not the low speed processing mode at this time, the audio playback channel is closed, and only the picture content is displayed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)
  • General Engineering & Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明公开了一种电视终端的数据播放方法,包括以下步骤:获取经电视终端的解码处理器解码处理后的待播放数据;读取所述待播放数据的类型;根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;以选择的所述显示接口的工作模式,对所述待播放数据进行播放。本发明还公开了一种电视终端。本发明可以根据经解码处理后的待播放数据的类型,自动选择显示接口的工作模式,并根据选择的工作模式播放待播放数据,这样,可以显著提高电视终端的处理效率。

Description

电视终端及其数据播放方法
技术领域
本发明涉及电视技术领域,尤其涉及一种电视终端及其数据播放方法。
背景技术
MIPI (Mobile Industry Processor Interface,移动产业处理器接口)是MIPI联盟发起的为移动应用处理器制定的开放标准和规范,目的是提升应用处理器接口的一致性,以在加速向用户提供移动设备的同时促进移动设备的重复使用性和兼容性。MIPI联盟下设有不同的工作组,分别定义了一系列的设备内部接口标准,比如摄像头接口CSI、显示接口DSI、射频接口DigRF、麦克风/喇叭接口SLIMbus等。以电视终端为例,使用频率最高的为显示接口DSI,但其显示物理层视频处理器的工作模式比较单一,仅为以下两种方式中的一种:一种为HS(High Speed,高速)模式,在该模式下其数据传输速率为80M~1Gbps,但会导致视频处理器的功耗较大;另一种为LP(Low Power,低功率)模式,在该模式下其视频处理器的功耗虽然较小,但数据传输速率小于10Mbps。综上,现有电视终端的视频处理器的处理效率较低。
发明内容
本发明的主要目的在于提供一种电视终端及其数据播放方法,旨在根据经解码处理后的待播放数据的类型,对应选择显示接口的工作模式,并根据选择的工作模式播放待播放数据,这样,可以显著提高电视终端的处理效率。
为实现上述目的,本发明提供一种电视终端的数据播放方法,所述电视终端的数据播放方法包括以下步骤:
获取经电视终端的解码处理器解码处理后的待播放数据;
读取所述待播放数据的类型;
根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
以选择的所述显示接口的工作模式,对所述待播放数据进行播放;
其中,所述读取所述待播放数据的类型的步骤包括:
获取所述缓存区内待播放数据的图片张数以及音频值;
比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
优选地,所述根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式的步骤包括:
在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
优选地,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤包括:
在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
在所述显示接口的工作模式为低速处理模式时,播放所述音频。
优选地,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤还包括:
在所述显示接口的工作模式为高速处理工作模式时,将所述音频和图片进行同步处理。
优选地,所述显示接口为MIPI接口。
本发明还提供一种电视终端的数据播放方法,所述电视终端的数据播放方法包括以下步骤:
获取经电视终端的解码处理器解码处理后的待播放数据;
读取所述待播放数据的类型;
根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
以选择的所述显示接口的工作模式,对所述待播放数据进行播放。
优选地,所述获取经电视终端的解码处理器解码处理后的待播放数据的步骤包括:
接收所述待播放数据;
通过所述解码处理器对所述待播放数据进行解码处理;
将经解码处理后的所述待播放数据存储于缓存区。
优选地,所述读取所述待播放数据的类型的步骤包括:
获取所述缓存区内待播放数据的图片张数以及音频值;
比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
优选地,所述根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式的步骤包括:
在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
优选地,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤包括:
在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
在所述显示接口的工作模式为低速处理模式时,播放所述音频。
优选地,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤还包括:
在所述显示接口的工作模式为高速处理工作模式时,将所述音频和图片进行同步处理。
优选地,所述显示接口为MIPI接口。
此外,为实现上述目的,本发明还提供一种电视终端,所述电视终端包括:
获取模块,用于获取经电视终端的解码处理器解码处理后的待播放数据;
读取模块,用于读取所述待播放数据的类型;
选择模块,用于根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
播放模块,用于以选择的所述显示接口的工作模式,对所述待播放数据进行播放。
优选地,所述获取模块包括:
接收单元,用于接收所述待播放数据;
解码单元,用于通过所述解码处理器对所述待播放数据进行解码处理;
存储单元,用于将经解码处理后的所述待播放数据存储于缓存区。
优选地,所述读取模块包括:
获取单元,用于获取所述缓存区内待播放数据的图片张数以及音频值;
比较单元,用于比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
第一判定单元,用于在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
第二判定单元,用于在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
第三判定单元,用于在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
优选地,所述选择模块包括:
第一选择单元,用于在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
第二选择单元,用于在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
第三选择单元,用于在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
优选地,所述播放模块包括:
第一播放单元,用于在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
第二播放单元,用于在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
第三播放单元,用于在所述显示接口的工作模式为低速处理模式时,播放所述音频。
优选地,所述第一播放单元,还用于在所述显示接口的工作模式为高速处理工作模式时,将所述音频和图片进行同步处理。
优选地,所述显示接口为MIPI接口。
本发明提供的电视终端及其数据播放方法,通过获取经电视终端的解码处理器解码处理后的待播放数据,然后读取所述待播放数据的类型,并根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式,最终以选择的所述显示接口的工作模式,对所述待播放数据进行播放。这样,不仅可以提高电视终端的处理速度,还可以同时降低功耗,从而可以显著提高电视终端的处理效率。
附图说明
图1为本发明电视终端的数据播放方法一实施例的流程示意图;
图2为图1中步骤获取经电视终端的解码处理器解码处理后的待播放数据的细化流程示意图;
图3为图1中步骤读取所述待播放数据的类型的细化流程示意图;
图4为图1中步骤根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式的细化流程示意图;
图5为图1中步骤以选择的所述显示接口的工作模式,对所述待播放数据进行播放的细化流程示意图;
图6为本发明电视终端一实施例的功能模块示意图;
图7为图6中获取模块的细化功能模块示意图;
图8为图6中读取模块的细化功能模块示意图;
图9为图6中选择模块的细化功能模块示意图;
图10为图6中播放模块的细化功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种电视终端的数据播放方法,参照图1,在一实施例中,所述电视终端的数据播放方法包括以下步骤:
步骤S10,获取经电视终端的解码处理器解码处理后的待播放数据;
步骤S20,读取所述待播放数据的类型;
本实施例中,电视终端在接收到音视频数据后,首先通过解码处理器进行解码处理得到待播放数据,所述待播放数据包括图片和音频等内容,因此,所述待播放数据的类型可以为图片和音频、图片以及音频三种类型。电视终端可以依据所述待播放数据的具体内容,对应存入缓存区。所述缓存区具体可以包括图片缓存区和音频缓存区,在所述电视终端监测到所述待播放数据的具体内容时,即将图片存储于所述图片缓存区内,将所述音频存储于所述音频缓存区内。
步骤S30,根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
本实施例中,电视终端可以根据所述待播放数据的类型(图片和音频、图片以及音频),对应选择电视终端的显示接口的工作模式。其中,所述显示接口为MIPI接口,当然在其他实施例中,也可以根据实际需要选择其他合适的统一接口。
本实施例中,当所述待播放数据的类型为图片和音频时,由于图片和音频所占的内存较大,因此,电视终端可以选择显示接口的高速处理模式,这样,不仅可以提高电视终端的处理速度,还可以同时降低功耗;当所述待播放数据的类型为图片时,由于图片所占的内存相对所述图片和音频所占的内存较小,因此,电视终端可以选择显示接口的中速处理模式,这样,可以避免高功耗的同时仍保证电视终端的处理速度;当所述待播放数据的类型为音频时,由于音频所占的内存相对所述音频、所述图片和音频所占的内存均较小,因此,电视终端可以选择显示接口的低速处理模式,这样,可以避免电视终端一直处于高速处理状态,从而降低功耗。
步骤S40,以选择的所述显示接口的工作模式,对所述待播放数据进行播放。
本实施例中,当电视终端选择的显示接口的工作模式不同时,表明对应的待播放内容也不同,当待播放内容为图片和音频时,则需要同时播放音频以及图片,当然,可以理解的是,还需要将所述音频和图片进行同步处理,本优选实施例中,所述图片以RGB形式进行显示。当然,在其他实施例中,所述图片也可以其他形式进行显示。
本发明提供的电视终端的数据播放方法,通过获取经电视终端的解码处理器解码处理后的待播放数据,然后读取所述待播放数据的类型,并根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式,最终以选择的所述显示接口的工作模式,对所述待播放数据进行播放。这样,不仅可以提高电视终端的处理速度,还可以同时降低功耗,从而可以显著提高电视终端的处理效率。
在一实施例中,如图2所示,在上述图1所示的基础上,所述步骤S10包括:
步骤S101,接收所述待播放数据;
步骤S102,通过所述解码处理器对所述待播放数据进行解码处理;
本实施例中,终端设备接收所述待播放数据,并通过所述解码处理器对所述待播放数据进行解码处理,得到图片和/或音频内容。
步骤S103,将经解码处理后的所述待播放数据存储于缓存区。
本实施例中,所述缓存区具体可以包括图片缓存区和音频缓存区,电视终端将经解码处理得到的图片内容存储于图片缓存区内,将音频内容存储于音频缓存区内。
在一实施例中,如图3所示,在上述图1所示的基础上,所述步骤S20包括:
步骤S201,获取所述缓存区内待播放数据的图片张数以及音频值;
步骤S202,比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
本实施例中,电视终端读取所述图片缓存区内的图片张数,读取所述音频缓存区内的音频值,并将所述图片张数与预定张数值进行比较,同时将所述音频值与预定音频值进行比较,本优选实施例中,所述预定张数值具体包括第一预定张数如1以及第二预定张数如0,而所述预定音频值设为0,当然,在其他实施例中,所述预定张数以及预定音频值可以根据实际需要合理设置,并不限于本实施例。
步骤S203,在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
本实施例中,电视终端在读取所述图片缓存区内的图片张数大于1张,且所述音频缓存区内的音频值不为0时,判定所述待播放数据的类型为图片和音频,并设置标志位为1。
Frame_Pg(x1)=60,表明电视终端在侦测到图片帧率大于1,统计R、G、B出现的个数与电视终端的水平荧幕方向的倍数,
H-SIZE=1920,RGB=60*H-SIZE=60*1920=115200;
DIG_Audio(x1)= 70,表明电视终端在侦测到音频值不等于0,并设置标志位:
Get_Cont_Type(x1)=1,电视终端判定所述待播放数据的类型为图片和音频。
步骤S204,在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
本实施例中,电视终端读取到所述图片缓存区的图片张数等于1张,且所述音频值等于0时,判定所述待播放数据的类型为图片,并设置标志位为2。
Frame_Pg(x1)=1,表明电视终端侦测到的图片帧率等于1;
DIG_Audio(x1)= 0,表明电视终端侦测到的音频值等于0,即电视终端未发现数字音频内容,并设置标志位:
Get_Cont_Type(x1)=2,电视终端判定所述待播放数据的类型为图片。
步骤S205,在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
本实施例中,电视终端读取到所述图片缓存区的图片张数小于1张(即为0),且读取音频缓存区内的音频值不为0时,判定所述待播放数据的类型为音频,并设置标志位为3。
Frame_Pg(x1)=0,表明电视终端侦测到的图片帧等于0,此时待播放内容无图片内容;
DIG_Audio(x1)= 70,表明电视终端侦测到的音频值大于0,此时待播放内容为音频内容,并设置标志位:
Get_Cont_Type(x1)=3,电视终端判定所述待播放数据的类型为音频。
在一实施例中,如图4所示,在上述图1所示的基础上,所述步骤S30包括:
步骤S301,在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
本实施例中,电视终端读取到标识位为1时,表明待播放数据的类型为图片和音频,此时发送对应的命令0x22设定物理层视频处理器的工作模式为高速处理模式,即选择显示接口的高速处理工作模式,具体如下:
MIPI_DSIMode_Set_HS(x1)=1,High Speed;
D_PHY_Cmd(x1)=0x22。
步骤S302,在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
本实施例中,电视终端读取到标识位为2时,表明待播放数据的类型为图片,此时发送对应的命令0x66设定物理层视频处理器的工作模式为中速处理模式,即选择显示接口的中速处理工作模式,具体如下:
MIPI_DSIMode_Set_HS(x1)=2,Middle Speed;
D_PHY_Cmd(x1)=0x66。
步骤S303,在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
本实施例中,电视终端读取到标识位为3时,表明待播放数据的类型为音频,此时发送对应的命令0x99设定物理层视频处理器的工作模式为低速处理模式,即选择显示接口的低速处理工作模式,具体如下:
MIPI_DSIMode_Set_HS(x1)=3,Low Speed;
D_PHY_Cmd(x1)=0x99。
在一实施例中,如图5所示,在上述图1所示的基础上,所述步骤S40包括:
步骤S401,在所述显示接口的工作模式为高速处理模式时,播放所述音频,并将所述图片以RGB形式进行显示;
步骤S402,在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
本实施例中,电视终端在侦测到选择的显示接口的工作模式为高速处理或者中速模式时,将所述音频存储于音频缓存区100,并将所述图片以RGB形式进行显示,具体如下:
MIPI_DSIMode_Show(x)=1,TV系统将显示接口的工作模式设为高速处理模式或中速处理模式的标志。待终端设备将所述音频和图片进行同步处理后,即进行播放。
可以理解的是,若此时终端设备选择的是低速处理模式,则关闭显示接口,从而不显示待显示内容。
步骤S403,在所述显示接口的工作模式为低速处理模式时,播放所述音频。
本实施例中,电视终端在侦测到选择的显示接口的工作模式为低速处理模式时,将所述音频存储于音频缓存区98,以播放音频数据:
Audio_Amp_Output(x)=1,电视终端判断音频内容解码正常,输出音频状态设定1。
可以理解的是,若此时终端设备选择的不是低速处理模式,则关闭音频播放通道,仅显示图片内容。
本发明还提供一种电视终端1,参照图6,在一实施例中,所述电视终端1包括:
获取模块10,用于获取经电视终端的解码处理器解码处理后的待播放数据;
读取模块20,用于读取所述待播放数据的类型;
本实施例中,电视终端在接收到音视频数据后,首先通过解码处理器进行解码处理得到待播放数据,所述待播放数据包括图片和音频等内容,因此,所述待播放数据的类型可以为图片和音频、图片以及音频三种类型。电视终端可以依据所述待播放数据的具体内容,对应存入缓存区。所述缓存区具体可以包括图片缓存区和音频缓存区,在所述电视终端监测到所述待播放数据的具体内容时,即将图片存储于所述图片缓存区内,将所述音频存储于所述音频缓存区内。
选择模块30,用于根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
本实施例中,电视终端可以根据所述待播放数据的类型(图片和音频、图片以及音频),对应选择电视终端的显示接口的工作模式。其中,所述显示接口为MIPI接口,当然在其他实施例中,也可以根据实际需要选择其他合适的统一接口。
本实施例中,当所述待播放数据的类型为图片和音频时,由于图片和音频所占的内存较大,因此,电视终端可以选择显示接口的高速处理模式,这样,不仅可以提高电视终端的处理速度,还可以同时降低功耗;当所述待播放数据的类型为图片时,由于图片所占的内存相对所述图片和音频所占的内存较小,因此,电视终端可以选择显示接口的中速处理模式,这样,可以避免高功耗的同时仍保证电视终端的处理速度;当所述待播放数据的类型为音频时,由于音频所占的内存相对所述音频、所述图片和音频所占的内存均较小,因此,电视终端可以选择显示接口的低速处理模式,这样,可以避免电视终端一直处于高速处理状态,从而降低功耗。
播放模块40,用于以选择的所述显示接口的工作模式,对所述待播放数据进行播放。
本实施例中,当电视终端选择的显示接口的工作模式不同时,表明对应的待播放内容也不同,当待播放内容为图片和音频时,则需要同时播放音频以及图片,当然,可以理解的是,还需要将所述音频和图片进行同步处理,本优选实施例中,所述图片以RGB形式进行显示。当然,在其他实施例中,所述图片也可以其他形式进行显示。
本发明提供的电视终端,通过获取经电视终端的解码处理器解码处理后的待播放数据,然后读取所述待播放数据的类型,并根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式,最终以选择的所述显示接口的工作模式,对所述待播放数据进行播放。这样,不仅可以提高电视终端的处理速度,还可以同时降低功耗,从而可以显著提高电视终端的处理效率。
在一实施例中,如图7所示,在上述图6所示的基础上,所述获取模块10包括:
接收单元101,用于接收所述待播放数据;
解码单元102,用于通过所述解码处理器对所述待播放数据进行解码处理;
本实施例中,终端设备接收所述待播放数据,并通过所述解码处理器对所述待播放数据进行解码处理,得到图片和/或音频内容。
存储单元103,用于将经解码处理后的所述待播放数据存储于缓存区。
本实施例中,所述缓存区具体可以包括图片缓存区和音频缓存区,电视终端将经解码处理得到的图片内容存储于图片缓存区内,将音频内容存储于音频缓存区内。
在一实施例中,如图8所示,在上述图6所示的基础上,所述读取模块20包括:
获取单元201,用于获取所述缓存区内待播放数据的图片张数以及音频值;
比较单元202,用于比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
本实施例中,电视终端读取所述图片缓存区内的图片张数,读取所述音频缓存区内的音频值,并将所述图片张数与预定张数值进行比较,同时将所述音频值与预定音频值进行比较,本优选实施例中,所述预定张数值具体包括第一预定张数如1以及第二预定张数如0,而所述预定音频值设为0,当然,在其他实施例中,所述预定张数以及预定音频值可以根据实际需要合理设置,并不限于本实施例。
第一判定单元203,用于在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
本实施例中,电视终端在读取所述图片缓存区内的图片张数大于1张,且所述音频缓存区内的音频值不为0时,判定所述待播放数据的类型为图片和音频,并设置标志位为1。
Frame_Pg(x1)=60,表明电视终端在侦测到图片帧率大于1,统计R、G、B出现的个数与电视终端的水平荧幕方向的倍数,
H-SIZE=1920,RGB=60*H-SIZE=60*1920=115200;
DIG_Audio(x1)= 70,表明电视终端在侦测到音频值不等于0,并设置标志位:
Get_Cont_Type(x1)=1,电视终端判定所述待播放数据的类型为图片和音频。
第二判定单元204,用于在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
本实施例中,电视终端读取到所述图片缓存区的图片张数等于1张,且所述音频值等于0时,判定所述待播放数据的类型为图片,并设置标志位为2。
Frame_Pg(x1)=1,表明电视终端侦测到的图片帧率等于1;
DIG_Audio(x1)= 0,表明电视终端侦测到的音频值等于0,即电视终端未发现数字音频内容,并设置标志位:
Get_Cont_Type(x1)=2,电视终端判定所述待播放数据的类型为图片。
第三判定单元205,用于在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
本实施例中,电视终端读取到所述图片缓存区的图片张数小于1张(即为0),且读取音频缓存区内的音频值不为0时,判定所述待播放数据的类型为音频,并设置标志位为3。
Frame_Pg(x1)=0,表明电视终端侦测到的图片帧等于0,此时待播放内容无图片内容;
DIG_Audio(x1)= 70,表明电视终端侦测到的音频值大于0,此时待播放内容为音频内容,并设置标志位:
Get_Cont_Type(x1)=3,电视终端判定所述待播放数据的类型为音频。
在一实施例中,如图9所示,在上述图6所示的基础上,所述选择模块30包括:
第一选择单元301,用于在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
本实施例中,电视终端读取到标识位为1时,表明待播放数据的类型为图片和音频,此时发送对应的命令0x22设定物理层视频处理器的工作模式为高速处理模式,即选择显示接口的高速处理工作模式,具体如下:
MIPI_DSIMode_Set_HS(x1)=1,High Speed;
D_PHY_Cmd(x1)=0x22。
第二选择单元302,用于在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
本实施例中,电视终端读取到标识位为2时,表明待播放数据的类型为图片,此时发送对应的命令0x66设定物理层视频处理器的工作模式为中速处理模式,即选择显示接口的中速处理工作模式,具体如下:
MIPI_DSIMode_Set_HS(x1)=2,Middle Speed;
D_PHY_Cmd(x1)=0x66。
第三选择单元303,用于在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
本实施例中,电视终端读取到标识位为3时,表明待播放数据的类型为音频,此时发送对应的命令0x99设定物理层视频处理器的工作模式为低速处理模式,即选择显示接口的低速处理工作模式,具体如下:
MIPI_DSIMode_Set_HS(x1)=3,Low Speed;
D_PHY_Cmd(x1)=0x99。
在一实施例中,如图10所示,在上述图6所示的基础上,所述播放模块40包括:
第一播放单元401,用于在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
第二播放单元402,用于在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
本实施例中,电视终端在侦测到选择的显示接口的工作模式为高速处理或者中速模式时,将所述音频存储于音频缓存区100,并将所述图片以RGB形式进行显示,具体如下:
MIPI_DSIMode_Show(x)=1,TV系统将显示接口的工作模式设为高速处理模式或中速处理模式的标志。待终端设备将所述音频和图片进行同步处理后,即进行播放。
可以理解的是,若此时终端设备选择的是低速处理模式,则关闭显示接口,从而不显示待显示内容。
第三播放单元403,用于在所述显示接口的工作模式为低速处理模式时,播放所述音频。
本实施例中,电视终端在侦测到选择的显示接口的工作模式为低速处理模式时,将所述音频存储于音频缓存区98,以播放音频数据:
Audio_Amp_Output(x)=1,电视终端判断音频内容解码正常,输出音频状态设定1。
可以理解的是,若此时终端设备选择的不是低速处理模式,则关闭音频播放通道,仅显示图片内容。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (19)

  1. 一种电视终端的数据播放方法,其特征在于,所述电视终端的数据播放方法包括以下步骤:
    获取经电视终端的解码处理器解码处理后的待播放数据;
    读取所述待播放数据的类型;
    根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
    以选择的所述显示接口的工作模式,对所述待播放数据进行播放;
    其中,所述读取所述待播放数据的类型的步骤包括:
    获取所述缓存区内待播放数据的图片张数以及音频值;
    比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
    在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
    在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
    在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
  2. 如权利要求1所述的电视终端的数据播放方法,其特征在于,所述根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式的步骤包括:
    在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
    在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
    在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
  3. 如权利要求2所述的电视终端的数据播放方法,其特征在于,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤包括:
    在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
    在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
    在所述显示接口的工作模式为低速处理模式时,播放所述音频。
  4. 如权利要求3所述的电视终端的数据播放方法,其特征在于,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤还包括:
    在所述显示接口的工作模式为高速处理工作模式时,将所述音频和图片进行同步处理。
  5. 如权利要求4所述的电视终端的数据播放方法,其特征在于,所述显示接口为MIPI接口。
  6. 一种电视终端的数据播放方法,其特征在于,所述电视终端的数据播放方法包括以下步骤:
    获取经电视终端的解码处理器解码处理后的待播放数据;
    读取所述待播放数据的类型;
    根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
    以选择的所述显示接口的工作模式,对所述待播放数据进行播放。
  7. 如权利要求6所述的电视终端的数据播放方法,其特征在于,所述获取经电视终端的解码处理器解码处理后的待播放数据的步骤包括:
    接收所述待播放数据;
    通过所述解码处理器对所述待播放数据进行解码处理;
    将经解码处理后的所述待播放数据存储于缓存区。
  8. 如权利要求7所述的电视终端的数据播放方法,其特征在于,所述读取所述待播放数据的类型的步骤包括:
    获取所述缓存区内待播放数据的图片张数以及音频值;
    比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
    在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
    在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
    在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
  9. 如权利要求 8所述的电视终端的数据播放方法,其特征在于,所述根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式的步骤包括:
    在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
    在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
    在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
  10. 如权利要求9所述的电视终端的数据播放方法,其特征在于,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤包括:
    在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
    在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
    在所述显示接口的工作模式为低速处理模式时,播放所述音频。
  11. 如权利要求10所述的电视终端的数据播放方法,其特征在于,所述以选择的所述显示接口的工作模式,对所述待播放数据进行播放的步骤还包括:
    在所述显示接口的工作模式为高速处理工作模式时,将所述音频和图片进行同步处理。
  12. 如权利要求11所述的电视终端的数据播放方法,其特征在于,所述显示接口为MIPI接口。
  13. 一种电视终端,其特征在于,所述电视终端包括:
    获取模块,用于获取经电视终端的解码处理器解码处理后的待播放数据;
    读取模块,用于读取所述待播放数据的类型;
    选择模块,用于根据所述待播放数据的类型,对应选择电视终端的显示接口的工作模式;
    播放模块,用于以选择的所述显示接口的工作模式,对所述待播放数据进行播放。
  14. 如权利要求13所述的电视终端,其特征在于,所述获取模块包括:
    接收单元,用于接收所述待播放数据;
    解码单元,用于通过所述解码处理器对所述待播放数据进行解码处理;
    存储单元,用于将经解码处理后的所述待播放数据存储于缓存区。
  15. 如权利要求14所述的电视终端,其特征在于,所述读取模块包括:
    获取单元,用于获取所述缓存区内待播放数据的图片张数以及音频值;
    比较单元,用于比较所述图片张数与预定张数值,以及所述音频值与预定音频值的大小关系;
    第一判定单元,用于在所述图片张数大于第一预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为图片和音频;
    第二判定单元,用于在所述图片张数等于所述第一预定张数值,且所述音频值等于所述预定音频值时,判定所述待播放数据的类型为图片;
    第三判定单元,用于在所述图片张数等于第二预定张数值,且所述音频值不等于所述预定音频值时,判定所述待播放数据的类型为音频。
  16. 如权利要求15所述的电视终端,其特征在于,所述选择模块包括:
    第一选择单元,用于在所述待播放数据的类型为图片和音频时,选择所述显示接口的高速处理工作模式;
    第二选择单元,用于在所述待播放数据的类型为图片时,选择所述显示接口的中速处理工作模式;
    第三选择单元,用于在所述待播放数据的类型为音频时,选择所述显示接口的低速处理工作模式。
  17. 如权利要求16所述的电视终端,其特征在于,所述播放模块包括:
    第一播放单元,用于在所述显示接口的工作模式为高速处理工作模式时,播放所述音频,并将所述图片以RGB形式进行显示;
    第二播放单元,用于在所述显示接口的工作模式为中速处理模式时,以RGB形式显示所述图片;
    第三播放单元,用于在所述显示接口的工作模式为低速处理模式时,播放所述音频。
  18. 如权利要求17所述的电视终端,其特征在于,
    所述第一播放单元,还用于在所述显示接口的工作模式为高速处理工作模式时,将所述音频和图片进行同步处理。
  19. 如权利要求18所述的电视终端,其特征在于,所述显示接口为MIPI接口。
PCT/CN2016/084266 2015-12-08 2016-06-01 电视终端及其数据播放方法 Ceased WO2017096765A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510897652.4A CN105472464B (zh) 2015-12-08 2015-12-08 电视终端及其数据播放方法
CN201510897652.4 2015-12-08

Publications (1)

Publication Number Publication Date
WO2017096765A1 true WO2017096765A1 (zh) 2017-06-15

Family

ID=55609675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084266 Ceased WO2017096765A1 (zh) 2015-12-08 2016-06-01 电视终端及其数据播放方法

Country Status (2)

Country Link
CN (1) CN105472464B (zh)
WO (1) WO2017096765A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472464B (zh) * 2015-12-08 2019-01-01 深圳Tcl数字技术有限公司 电视终端及其数据播放方法
CN107728892B (zh) * 2017-09-20 2020-09-25 平安科技(深圳)有限公司 图片展示方法、装置、终端和存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2729866Y (zh) * 2004-08-06 2005-09-28 英业达股份有限公司 多功能多媒体播放装置
CN101547231A (zh) * 2008-03-27 2009-09-30 Tcl集团股份有限公司 一种信息共享系统
CN102547435A (zh) * 2011-12-16 2012-07-04 Tcl集团股份有限公司 一种多媒体文件播放处理系统及方法
CN103702209A (zh) * 2013-11-28 2014-04-02 小米科技有限责任公司 内容播放方法、装置及显示设备
CN104020838A (zh) * 2014-06-20 2014-09-03 中科创达软件股份有限公司 一种cpu工作频率的控制方法和装置
WO2014141425A1 (ja) * 2013-03-14 2014-09-18 株式会社 東芝 映像表示システム、ソース機器、シンク機器及び映像表示方法
CN104916250A (zh) * 2015-06-26 2015-09-16 合肥鑫晟光电科技有限公司 一种数据传输方法及装置、显示装置
CN105472464A (zh) * 2015-12-08 2016-04-06 深圳Tcl数字技术有限公司 电视终端及其数据播放方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI0414229A (pt) * 2003-09-10 2006-10-31 Qualcomm Inc interface de elevada taxa de dados
JP4412713B2 (ja) * 2004-01-29 2010-02-10 キヤノン株式会社 記録装置、記録システム及び記録装置の制御方法
US8234488B1 (en) * 2007-11-12 2012-07-31 Nvidia Corporation System and method for controlling mode switches in hardware
CN102033713A (zh) * 2009-09-24 2011-04-27 凹凸电子(武汉)有限公司 电子系统、控制器及数据传输方法
CN107809635A (zh) * 2011-11-14 2018-03-16 深圳迈辽技术转移中心有限公司 信息传输装置
US9563260B2 (en) * 2013-03-15 2017-02-07 Intel Corporation Systems, apparatuses, and methods for synchronizing port entry into a low power state
CN104820659B (zh) * 2015-05-28 2018-01-02 东南大学 一种面向粗粒度可重构系统的多模式动态可配高速访存接口
CN104933983A (zh) * 2015-07-17 2015-09-23 京东方科技集团股份有限公司 一种降低移动终端功耗的方法和系统

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2729866Y (zh) * 2004-08-06 2005-09-28 英业达股份有限公司 多功能多媒体播放装置
CN101547231A (zh) * 2008-03-27 2009-09-30 Tcl集团股份有限公司 一种信息共享系统
CN102547435A (zh) * 2011-12-16 2012-07-04 Tcl集团股份有限公司 一种多媒体文件播放处理系统及方法
WO2014141425A1 (ja) * 2013-03-14 2014-09-18 株式会社 東芝 映像表示システム、ソース機器、シンク機器及び映像表示方法
CN103702209A (zh) * 2013-11-28 2014-04-02 小米科技有限责任公司 内容播放方法、装置及显示设备
CN104020838A (zh) * 2014-06-20 2014-09-03 中科创达软件股份有限公司 一种cpu工作频率的控制方法和装置
CN104916250A (zh) * 2015-06-26 2015-09-16 合肥鑫晟光电科技有限公司 一种数据传输方法及装置、显示装置
CN105472464A (zh) * 2015-12-08 2016-04-06 深圳Tcl数字技术有限公司 电视终端及其数据播放方法

Also Published As

Publication number Publication date
CN105472464A (zh) 2016-04-06
CN105472464B (zh) 2019-01-01

Similar Documents

Publication Publication Date Title
WO2015030545A1 (en) Method and system for presenting content
WO2020080873A1 (en) Method and apparatus for streaming data
WO2015139639A1 (en) Method and apparatus for displaying application icons on terminal
WO2016171440A1 (en) Server and method of controlling group action of server
WO2019050164A1 (en) APPARATUS AND METHOD FOR PROCESSING IMAGE RECEIVED VIA A PLURALITY OF CAMERAS
WO2016056787A1 (en) Display device and method of controlling the same
WO2017082646A1 (en) Electronic device with metal frame antenna
WO2019050366A1 (en) APPARATUS AND METHOD FOR PROCESSING IMAGE RECEIVED USING A PLURALITY OF CAMERAS
WO2016107224A1 (zh) 界面焦点移动控制方法及装置
WO2013172550A1 (en) A method and apparatus for transmission and reception of data streams in digital video broadcasting systems
WO2016186373A1 (en) Apparatus and method for performing paging process in wireless communication system
WO2019050361A1 (ko) 복수의 카메라를 통해 수신되는 이미지를 처리하기 위한 장치 및 방법
WO2013100350A1 (en) Image processing apparatus, upgrade apparatus, display system including the same, and control method thereof
WO2015046868A1 (en) Apparatus and method for establishing network controlled direct connection in communication system supporting device to device scheme
WO2019056752A1 (zh) 家电设备的配网方法、装置、系统及计算机可读存储介质
WO2015007007A1 (zh) 一种adc自动校正的方法及装置
EP3095204A1 (en) Apparatus and method for operating user plane protocol stack in connectionless communicaton system
WO2012046928A1 (ko) 디스플레이 디바이스를 이용한 광고 컨텐츠 제작 방법 및 그에 따른 디스플레이 디바이스
WO2019050261A1 (ko) 카메라 동작에 기반한 오디오 신호 처리 장치 및 방법
WO2015002449A1 (en) Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
WO2017063369A1 (zh) 无线直连连接方法及装置
WO2021060808A1 (en) Signal processing device and image display apparatus including same
WO2015023149A1 (en) Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
WO2019231235A1 (ko) 신호 처리 장치 및 이를 구비하는 영상표시장치
WO2017111545A1 (ko) 무선 통신 시스템에서 사운드 신호를 기반으로 데이터를 송신 및 수신하는 장치 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16871970

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.10.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16871970

Country of ref document: EP

Kind code of ref document: A1