WO2017045446A1 - 电视机及电视机的音视频播放方法 - Google Patents

电视机及电视机的音视频播放方法 Download PDF

Info

Publication number
WO2017045446A1
WO2017045446A1 PCT/CN2016/084815 CN2016084815W WO2017045446A1 WO 2017045446 A1 WO2017045446 A1 WO 2017045446A1 CN 2016084815 W CN2016084815 W CN 2016084815W WO 2017045446 A1 WO2017045446 A1 WO 2017045446A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
playing
audio
television program
television
Prior art date
Application number
PCT/CN2016/084815
Other languages
English (en)
French (fr)
Inventor
谢文学
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017045446A1 publication Critical patent/WO2017045446A1/zh

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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

Definitions

  • the present invention relates to the field of television technologies, and in particular, to a method for playing audio and video on a television set and a television set.
  • the boot screen of a TV is usually presented in the form of a picture or a simple animation.
  • more and more smart TVs adopt the method of booting audio and video. While playing the boot audio and video, the TV programs are also playing, but the sound is not turned on, and the picture is covered by the boot audio and video.
  • the existing TV sets are used to play audio and video and TV programs, they are usually processed from the perspective of software, such as setting flag bits. When setting the flag, only software polling can be used, and the polling method is When the CPU resource usage is high, it will cause delay. Therefore, it is not guaranteed that the audio and video playback of the TV program will be synchronized at the end of the playback of the audio and video. For example, the sound of the TV program may be delayed after 1 ⁇ 2 seconds. come out.
  • the main object of the present invention is to provide an audio and video playing method for a television set and a television set, which aims to solve the problem that the audio and video of the television program is not synchronized when the television is started to play audio and video, so as to improve the user's experience of watching television.
  • the present invention provides an audio and video playback method for a television set, and the audio and video playback method of the television includes the following steps:
  • the potential state of the GPIO interface is set to a second level according to a playing state of the booting audio and video.
  • the method further includes:
  • the potential state of the GPIO interface is set to a second level.
  • the television program audio and video includes television program audio and television program video
  • the step of playing the television program audio and video through the second play channel comprises:
  • the synchronized television program audio and the television program video are played through the second play channel according to the frequency and parameters of the television program.
  • the invention also provides an audio and video playing method for a television set, and the audio and video playing method of the television set comprises the following steps:
  • the potential state of the GPIO interface is set to a second level according to a playing state of the booting audio and video.
  • the step of setting the potential state of the GPIO interface to the first level and playing the booting audio video comprises:
  • the method further includes:
  • the potential state of the GPIO interface is set to a second level.
  • the step of playing the audio and video of the television program comprises:
  • the television program audio and video includes television program audio and television program video
  • the step of playing the television program audio and video through the second play channel comprises:
  • the synchronized television program audio and the television program video are played through the second play channel according to the frequency and parameters of the television program.
  • the present invention also provides a television set, the television set comprising:
  • a first playing module configured to set a potential state of the GPIO interface to a first level, and play a booting audio and video
  • a monitoring module configured to monitor a potential state change of the GPIO interface
  • a second playing module configured to play a television program audio and video when detecting that the potential state of the GPIO interface is switched from the first level to the second level
  • the potential state of the GPIO interface is set to a second level according to a playing state of the booting audio and video.
  • the first play module includes:
  • a first setting unit configured to set a potential state of the GPIO interface to a first level
  • An obtaining unit configured to obtain boot video data
  • the first playing unit is configured to open the first playing channel, and play the boot video data through the first playing channel.
  • the first play module further includes:
  • a closing unit configured to close the first playing channel when the playing state of the booting video is data playing is completed
  • a second setting unit configured to set a potential state of the GPIO interface to a second level.
  • the second play module comprises:
  • the opening unit is configured to open the second play channel when the potential state of the GPIO interface is monitored to be switched from the first level to the second level;
  • a second playing unit configured to play the television program audio and video through the second playing channel.
  • the television program audio and video includes television program audio and television program video
  • the second playing unit includes:
  • a synchronization processing sub-unit for synchronizing the television program audio and the television program video
  • a playing subunit configured to play the synchronized TV program audio and the TV program video through the second playing channel according to the frequency and parameters of the television program.
  • the audio and video playing method and the television set of the television provided by the present invention firstly initialize the power state of the television set, then set the potential state of the GPIO interface to a first level, and play the booting audio and video, and then monitor the GPIO interface.
  • the potential state changes, and when the potential state of the GPIO interface is monitored to be switched from the first level to the second level, the television program audio and video is played; wherein, according to the playing state of the booting audio and video, the GPIO interface is The potential state is set to the second level.
  • FIG. 1 is a schematic flow chart of an embodiment of an audio and video playing method of a television set according to the present invention
  • FIG. 2 is a schematic diagram showing the refinement process of the first embodiment in which the potential state of the GPIO interface is set to the first level in FIG.
  • FIG. 3 is a schematic diagram showing the refinement process of the second embodiment of the step of setting the potential state of the GPIO interface to the first level and playing the boot audio and video;
  • FIG. 4 is a schematic diagram showing the refinement flow of playing a TV program audio and video when the step of FIG. 1 detects that the potential state of the GPIO interface is switched from the first level to the second level;
  • FIG. 5 is a schematic diagram of a refinement process of playing the audio and video of the television program through the second play channel in the step of FIG. 4;
  • FIG. 6 is a schematic diagram of functional modules of an embodiment of a television set according to the present invention.
  • FIG. 7 is a schematic diagram of a refinement function module of the first embodiment of the first play module in FIG. 6;
  • FIG. 8 is a schematic diagram of a refinement function module of the second embodiment of the first play module in FIG. 6;
  • FIG. 9 is a schematic diagram of a refinement function module of the second play module in FIG. 6;
  • FIG. 10 is a schematic diagram of a refinement function module of the second playback unit in FIG. 9.
  • the present invention provides an audio and video playback method for a television set.
  • the audio and video playback method of the television includes the following steps:
  • Step S10 initializing a hardware driver of the television
  • the hardware driver of the TV when the user turns on the TV, the hardware driver of the TV initializes the CPU and loads and executes the bootloader program. After the booltloader loads and executes the kernel, the initialization of each driver is performed.
  • the initialization of each driver includes but is not limited to GPIO. (General Purpose Input Output, general-purpose input/output port initialization, display driver initialization, USB driver initialization, IIC (Inter-Integrated Circuit, integrated circuit bus initialization, sound amplifier initialization, etc.
  • the bootloader program is the first piece of code executed by the embedded system after power-on. After it completes the initialization of the CPU and related hardware, the operating system image or the embedded embedded application is loaded into the memory, and then jumps to the operation. The space where the system is located starts the operating system. Kernel is the operating system kernel, usually runs processes and provides interprocess communication and synchronization.
  • Step S20 setting the potential state of the GPIO interface to a first level, and playing the boot audio and video;
  • the TV sets the potential state of the GPIO interface to a first level.
  • the first level can be set to a high level, and the configuration of the GPIO can be set through a driving interface, such as : set to DRV_GPIO_SetLevel(101, 1), where 101 means: GPIO pin, 1 means high level.
  • the first level can also be set to a low level.
  • the boot audio and video needs to perform the following processes before the official playback, such as creating a player, decoding the boot video stream, allocating a storage address to the boot video resource, and performing audio and video recording. Synchronization processing or the like, of course, other processing may be performed in other embodiments, and is not limited to the embodiment.
  • Step S30 monitoring a potential state change of the GPIO interface
  • the state change of the GPIO can be through a drive interface such as DRV_GPIO_Get Level to get.
  • the interrupt can be triggered at this time, but it is not limited to the interrupt mode.
  • the status change of the GPIO can also be monitored by software query.
  • interrupts can be triggered for processing.
  • the interrupt refers to the CPU in the process of running the program, due to the pre-selection arrangement or various random internal or external events, the CPU interrupts the running program, and goes to the corresponding service program, this preference
  • the service program is a program that controls audio and video output of a television program play channel.
  • the potential state of the GPIO interface may be set to a second level according to a playing state of the booting audio and video.
  • the notification of the status change can be immediately responded by the interruption mode, without the delay problem caused by the software query, solving the problem that the audio and video of the television program is not synchronized, thereby satisfying the user's better use of the smart TV to watch the television program. demand.
  • Step S40 When the potential state of the GPIO interface is monitored to be switched from the first level to the second level, the television program audio and video is played.
  • the signal source is turned on by the boot screen.
  • the playback channel is switched to the playback channel of the television program so that the picture of the television program is displayed on the television screen, and the sound of the television program is output on the television speaker.
  • the audio and video playing method of the television provided by the present invention firstly initializes the hardware driving of the television, then sets the potential state of the GPIO interface to the first level, and plays the booting audio and video, and then monitors the potential state change of the GPIO interface. And playing the television program audio and video when detecting that the potential state of the GPIO interface is switched from the first level to the second level; wherein the potential state of the GPIO interface is according to the playing state of the booting audio and video Set to the second level.
  • the step S20 includes:
  • Step S201 setting a potential state of the GPIO interface to a first level
  • the TV sets the potential state of the GPIO interface to a first level.
  • the first level can be set to a high level, and the configuration of the GPIO can be set through a driving interface, such as : set to DRV_GPIO_SetLevel(101, 1), where 101 means: GPIO pin, 1 means high level.
  • the first level can also be set to a low level.
  • Step S202 acquiring boot video data
  • Step S203 the first play channel is opened, and the boot video data is played through the first play channel.
  • the obtained boot video data includes audio and video data
  • the audio and video data are played by opening the first play channel.
  • the boot video data needs to perform the following processes before playing, such as creating a player, decoding a boot video stream, allocating a storage address to a boot video resource, and synchronizing audio and video.
  • other processing may be performed, and is not limited to the embodiment.
  • the screen of the boot video is displayed on the TV screen, and the sound of the boot video is output on the TV speaker.
  • the method further includes:
  • Step S204 when the playing state of the booting video is data playing, the first playing channel is closed;
  • the first playing channel when the playing state of the booting video is data playing, the first playing channel may be turned off, and the specific performance is no sound, and the television screen is displayed as the last frame data or is a solid color (black or blue). color).
  • the first playback channel when the boot video playback ends, the first playback channel generates an EOS message at the end of the playback (End off) Spring, stream end message) to indicate the end of playback, and when the CPU receives the EOS message, it further sets the potential state of the GPIO interface.
  • Step S205 setting a potential state of the GPIO interface to a second level.
  • the GPIO interface is set again, and the potential state of the GPIO interface is set to a second level such as a low level (as opposed to a state when the boot video starts playing), and a notification of a change in the GPIO potential state is triggered (
  • the GPIO potential state change can be monitored during the interrupt or callback) or TV program playback (this method may have a short black or blue screen or the last frame of the boot video).
  • the step S40 includes:
  • Step S401 when it is detected that the potential state of the GPIO interface is switched from the first level to the second level, the second playback channel is opened;
  • the second play channel of the television is set to the off state by default.
  • the potential state of the GPIO interface is detected to be switched from the first level to the second level, the high level is switched from the high level to the low level. Or when switching from low to high, the second playback channel is turned on.
  • Step S402 playing the television program audio and video through the second play channel.
  • the television program audio and video is played through the second play channel, and specifically, the screen of the television program is displayed on the television screen, and the sound of the television program is output on the television speaker.
  • the television program audio and video includes television program audio and television program video
  • the step S402 includes:
  • Step S4021 setting frequency points and parameters of the television program
  • the frequency point is a number for a fixed frequency, and the frequency interval is 200KHz as an example.
  • the frequency interval is from 890MHz, 890.2MHz, 890.4MHz, 890.6MHz, 890.8MHz, 891MHz.
  • ... 915MHz is divided into 125 radio frequency segments, and each frequency band is numbered from 1, 2, 3, 4... 125; These numbers for fixed frequencies are the frequency points.
  • the frequency of a given carrier is 3, which means that the carrier will receive an upstream signal with a frequency of 890.4 MHz and transmit the signal at a frequency of 935.4 MHz.
  • the sound system includes d/k system: audio carrier frequency 6.5mhz, or i system: audio carrier frequency 6.0mhz, or bg system: audio carrier frequency 5.5mhz, or m system: audio carrier frequency 4.5mhz, or Liyin system: micam -i, is a kind of digital stereo sound broadcasting, with the sound quality reaching the cd record level.
  • Color format includes NTSC (National Television Systems Committee, Orthogonal Balanced AM, SECAM (Sequential Coleur Avec) Memoire, line rotation frequency modulation system) and PAL (Phase-Alternative Line, orthogonal balance amplitude modulation line-by-line phase inversion system).
  • NTSC National Television Systems Committee, Orthogonal Balanced AM, SECAM (Sequential Coleur Avec) Memoire, line rotation frequency modulation system) and PAL (Phase-Alternative Line, orthogonal balance amplitude modulation line-by-line phase inversion system).
  • Step S4022 performing synchronization processing on the television program audio and the television program video
  • step S4021 and step S4022 are performed simultaneously with the boot video playback, and when the boot video playback ends, the process proceeds to step S4023.
  • Step S4023 The synchronized television program audio and the television program video are played through the second play channel according to the frequency and parameters of the television program.
  • the television program audio and the television program video are synchronously processed, so that the sound and the screen can be adaptively matched, and the synchronized television program audio and television are processed according to the frequency and parameters of the television program.
  • the program video is played through the second play channel.
  • the present invention also provides a television set 1.
  • the television set 1 comprises:
  • the initialization module 10 is configured to initialize a hardware driver of the television
  • the first playing module 20 is configured to set a potential state of the GPIO interface to a first level, and play a booting audio and video;
  • a monitoring module 30, configured to monitor a potential state change of the GPIO interface
  • the second playing module 40 is configured to play the television program audio and video when the potential state of the GPIO interface is monitored from the first level to the second level.
  • each functional module in the television corresponds to the operation in each method step in FIG.
  • the specific content of these operation steps has been described in detail in the foregoing, and therefore will not be described here.
  • the television provided by the invention firstly initializes the hardware driving of the television, then sets the potential state of the GPIO interface to the first level, and plays the booting audio and video, and then monitors the potential state change of the GPIO interface, and monitors
  • the potential state of the GPIO interface is switched from the first level to the second level, the television program audio and video is played; wherein, according to the playing state of the booting audio and video, the potential state of the GPIO interface is set to the second power level.
  • the first playing module 20 includes:
  • a first setting unit 201 configured to set a potential state of the GPIO interface to a first level
  • the TV sets the potential state of the GPIO interface to a first level.
  • the first level can be set to a high level, and the configuration of the GPIO can be set through a driving interface, such as : set to DRV_GPIO_SetLevel(101, 1), where 101 means: GPIO pin, 1 means high level.
  • the first level can also be set to a low level.
  • the obtaining unit 202 is configured to obtain boot video data.
  • the first playing unit 203 is configured to open the first playing channel, and play the boot video data through the first playing channel.
  • the obtained boot video data includes audio and video data
  • the audio and video data are played by opening the first play channel.
  • the boot video data needs to perform the following processes before playing, such as creating a player, decoding a boot video stream, allocating a storage address to a boot video resource, and synchronizing audio and video.
  • other processing may be performed, and is not limited to the embodiment.
  • the screen of the boot video is displayed on the TV screen, and the sound of the boot video is output on the TV speaker.
  • the first playing module 20 further includes:
  • the closing unit 204 is configured to: when the playing state of the booting video is data playing, close the first playing channel;
  • the first playing channel when the playing state of the booting video is data playing, the first playing channel may be turned off, and the specific performance is no sound, and the television screen is displayed as the last frame data or is a solid color (black or blue). color).
  • the first playback channel when the boot video playback ends, the first playback channel generates an EOS message at the end of the playback (End off) Spring, stream end message) to indicate the end of playback, and when the CPU receives the EOS message, it further sets the potential state of the GPIO interface.
  • the second setting unit 205 is configured to set a potential state of the GPIO interface to a second level.
  • the GPIO interface is set again, and the potential state of the GPIO interface is set to a second level such as a low level (as opposed to a state when the boot video starts playing), and a notification of a change in the GPIO potential state is triggered (
  • the GPIO potential state change can be monitored during the interrupt or callback) or TV program playback (this method may have a short black or blue screen or the last frame of the boot video).
  • the second playing module 40 includes:
  • the opening unit 401 is configured to open the second play channel when detecting that the potential state of the GPIO interface is switched from the first level to the second level;
  • the second play channel of the television is set to the off state by default.
  • the potential state of the GPIO interface is detected to be switched from the first level to the second level, the high level is switched from the high level to the low level. Or when switching from low to high, the second playback channel is turned on.
  • the second playing unit 402 is configured to play the television program audio and video through the second playing channel.
  • the television program audio and video is played through the second play channel, and specifically, the screen of the television program is displayed on the television screen, and the sound of the television program is output on the television speaker.
  • the television program audio and video includes television program audio and television program video
  • the television program audio and video includes television program audio and television programs.
  • Video the second playing unit 402 includes:
  • the frequency point is a number for a fixed frequency, and the frequency interval is 200KHz as an example.
  • the frequency interval is from 890MHz, 890.2MHz, 890.4MHz, 890.6MHz, 890.8MHz, 891MHz.
  • ... 915MHz is divided into 125 radio frequency segments, and each frequency band is numbered from 1, 2, 3, 4... 125; These numbers for fixed frequencies are the frequency points.
  • the frequency of a given carrier is 3, which means that the carrier will receive an upstream signal with a frequency of 890.4 MHz and transmit the signal at a frequency of 935.4 MHz.
  • the sound system includes d/k system: audio carrier frequency 6.5mhz, or i system: audio carrier frequency 6.0mhz, or bg system: audio carrier frequency 5.5mhz, or m system: audio carrier frequency 4.5mhz, or Liyin system: micam -i, is a kind of digital stereo sound broadcasting, with the sound quality reaching the cd record level.
  • Color format includes NTSC (National Television Systems Committee, Orthogonal Balanced AM, SECAM (Sequential Coleur Avec) Memoire, line rotation frequency modulation system) and PAL (Phase-Alternative Line, orthogonal balance amplitude modulation line-by-line phase inversion system).
  • NTSC National Television Systems Committee, Orthogonal Balanced AM, SECAM (Sequential Coleur Avec) Memoire, line rotation frequency modulation system) and PAL (Phase-Alternative Line, orthogonal balance amplitude modulation line-by-line phase inversion system).
  • a synchronization processing sub-unit 4022 configured to perform synchronization processing on the television program audio and the television program video
  • step S4021 and step S4022 are performed simultaneously with the boot video playback, and when the boot video playback ends, the process proceeds to step S4023.
  • the playing sub-unit 4023 is configured to play the synchronized TV program audio and the TV program video through the second playing channel according to the frequency and parameters of the television program.
  • the television program audio and the television program video are synchronously processed, so that the sound and the screen can be adaptively matched, and the synchronized television program audio and television are processed according to the frequency and parameters of the television program.
  • the program video is played through the second play channel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Receiver Circuits (AREA)

Abstract

一种电视机的音视频播放方法,包括以下步骤:初始化电视机的硬件驱动;设置GPIO接口的电位状态为第一电平,并播放开机音视频;监测所述GPIO接口的电位状态变化;在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。还公开了一种电视机。可以解决电视机开机音视频播放结束时,电视节目播放的音视频不同步问题,以提高用户观看电视的体验。

Description

电视机及电视机的音视频播放方法
技术领域
本发明涉及电视技术领域,尤其涉及一种电视机及电视机的音视频播放方法。
背景技术
电视机的开机画面,通常是以图片或简单的动画方式呈现。目前,越来越多的智能电视采取的是开机音视频的方式,在播放开机音视频的同时,电视节目也在进行播放,只是声音没有打开,画面被开机音视频掩盖了。现有电视机在进行开机音视频与电视节目播放时,通常从软件的角度进行处理,比如设置标志位等,而在设置标志位时只能使用软件轮询的方式,而轮询的方式在CPU资源占用较高时会导致延时问题,这样,并不能保证在开机音视频播放结束时,电视节目音视频播放的同步性,如电视节目播放的声音可能在延后1~2秒后才出来。
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。
发明内容
本发明的主要目的在于提供一种电视机及电视机的音视频播放方法,旨在解决电视机开机音视频播放结束时,电视节目播放的音视频不同步问题,以提高用户观看电视的体验。
为实现上述目的,本发明提供一种电视机的音视频播放方法,所述电视机的音视频播放方法包括以下步骤:
初始化电视机的硬件驱动;
设置所述GPIO接口的电位状态为第一电平;
获取开机视频数据;
打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据;
监测所述GPIO接口的电位状态变化;
在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
通过所述第二播放通道播放所述电视节目音视频;
其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。
优选地,所述打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据的步骤之后还包括:
在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
设置所述GPIO接口的电位状态为第二电平。
优选地,所述电视节目音视频包括电视节目音频和电视节目视频,所述通过所述第二播放通道播放所述电视节目音视频的步骤包括:
设置电视节目的频点和参数;
对所述电视节目音频和电视节目视频进行同步处理;
根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
本发明还提供一种电视机的音视频播放方法,所述电视机的音视频播放方法包括以下步骤:
初始化电视机的硬件驱动;
设置GPIO接口的电位状态为第一电平,并播放开机音视频;
监测所述GPIO接口的电位状态变化;
在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;
其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。
优选地,所述设置GPIO接口的电位状态为第一电平,并播放开机音视频的步骤包括:
设置所述GPIO接口的电位状态为第一电平;
获取开机视频数据;
打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据。
优选地,所述打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据的步骤之后还包括:
在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
设置所述GPIO接口的电位状态为第二电平。
优选地,所述在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频的步骤包括:
在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
通过所述第二播放通道播放所述电视节目音视频。
优选地,所述电视节目音视频包括电视节目音频和电视节目视频,所述通过所述第二播放通道播放所述电视节目音视频的步骤包括:
设置电视节目的频点和参数;
对所述电视节目音频和电视节目视频进行同步处理;
根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
此外,为实现上述目的,本发明还提供一种电视机,所述电视机包括:
初始化模块,用于初始化电视机的硬件驱动;
第一播放模块,用于设置GPIO接口的电位状态为第一电平,并播放开机音视频;
监测模块,用于监测所述GPIO接口的电位状态变化;
第二播放模块,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;
其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。
优选地,所述第一播放模块包括:
第一设置单元,用于设置所述GPIO接口的电位状态为第一电平;
获取单元,用于获取开机视频数据;
第一播放单元,用于打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据。
优选地,所述第一播放模块还包括:
关闭单元,用于在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
第二设置单元,用于设置所述GPIO接口的电位状态为第二电平。
优选地,所述第二播放模块包括:
打开单元,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
第二播放单元,用于通过所述第二播放通道播放所述电视节目音视频。
优选地,所述电视节目音视频包括电视节目音频和电视节目视频,所述第二播放单元包括:
设置子单元,用于设置电视节目的频点和参数;
同步处理子单元,用于对所述电视节目音频和电视节目视频进行同步处理;
播放子单元,用于根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
本发明提供的电视机的音视频播放方法及电视机,首先通过初始化电视机的硬件驱动,然后设置GPIO接口的电位状态为第一电平,并播放开机音视频,再监测所述GPIO接口的电位状态变化,并在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。这样,可以解决电视机开机音视频播放结束时,电视节目播放的音视频不同步问题,以提高用户观看电视的体验。
附图说明
图1为本发明电视机的音视频播放方法一实施例的流程示意图;
图2为图1中步骤设置GPIO接口的电位状态为第一电平,并播放开机音视频第一实施例的细化流程示意图;
图3为图1中步骤设置GPIO接口的电位状态为第一电平,并播放开机音视频第二实施例的细化流程示意图;
图4为图1中步骤在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频的细化流程示意图;
图5为图4中步骤通过所述第二播放通道播放所述电视节目音视频的细化流程示意图;
图6为本发明电视机一实施例的功能模块示意图;
图7为图6中第一播放模块第一实施例的细化功能模块示意图;
图8为图6中第一播放模块第二实施例的细化功能模块示意图;
图9为图6中第二播放模块的细化功能模块示意图;
图10为图9中第二播放单元的细化功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种电视机的音视频播放方法,参照图1,在一实施例中,所述电视机的音视频播放方法包括以下步骤:
步骤S10,初始化电视机的硬件驱动;
本实施例中,当用户打开电视机时,电视机的硬件驱动即初始化运行CPU并加载执行bootloader程序,booltloader加载执行kernel后进行各驱动的初始化,各驱动的初始化包括但不限于GPIO (General Purpose Input Output,通用输入/输出口)的初始化,显示屏驱动的初始化,USB驱动的初始化,IIC(Inter-Integrated Circuit,集成电路总线)的初始化,声音功放的初始化等。其中,bootloader程序是嵌入式系统在加电后执行的第一段代码,在它完成CPU和相关硬件初始化后,再将操作系统映像或固化的嵌入应用程序装到内存中,再跳转到操作系统所在的空间,启动操作系统运行。Kernel为操作系统内核,通常运行进程,并提供进程间通信和同步等。
步骤S20,设置GPIO接口的电位状态为第一电平,并播放开机音视频;
本实施例中,电视机设置GPIO接口的电位状态为第一电平,本优选实施例中,所述第一电平可以设置为高电平,GPIO的配置可以通过驱动的接口进行设置,比如:设置为DRV_GPIO_SetLevel(101, 1),其中,101表示:GPIO pin脚,1表示高电平。当然,在其他实施例中,所述第一电平也可以设置为低电平。
本实施例中,可以理解的是,开机音视频在正式播放前需要进行以下处理,如创建播放器、对开机视频流进行解码处理、对开机视频资源进行储存地址的分配、对音频和视频进行同步处理等,当然,在其他实施例中,还可以进行其他处理,并不限于本实施例。
步骤S30,监测所述GPIO接口的电位状态变化;
本实施例中,GPIO的状态变化可以通过驱动接口如DRV_GPIO_Get Level来获取。当电视机监测到GPIO接口的电位状态发生变化时,此时可以触发中断,但是并不限于中断方式,如GPIO的状态变化也可以使用软件查询的方式进行监控。通过使用GPIO进行软硬件结合的方式,可以触发中断来进行处理。其中,中断是指CPU在正常运行程序的过程中,由于预选安排或发生了各种随机的内部或外部事件,使CPU中断正在运行的程序,而转到为相应的服务程序中去,本优选实施例中,该服务程序即为控制电视节目播放通道的音视频输出的程序。
其中,可以根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。当开机音视频的播放状态为播放完毕时,再次设置GPIO接口,将GPIO接口的电位状态设置成第二电平(与开机音视频开始播放时的状态相反即可),此时会触发GPIO电位状态改变的通知,可以通过中断方式进行即刻响应,而不存在软件查询导致的延迟问题,解决了电视节目播放的音视频不同步的问题,从而可以满足用户更好的使用智能电视收看电视节目的需求。
步骤S40,在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频。
本实施例中,在电视机监测到GPIO接口的电位状态由第一电平切换为第二电平时,也即GPIO接口的电位状态由高电平切换为低电平时,将信号源由开机视屏的播放通道切换到电视节目的播放通道上,以便让电视节目的画面在电视机屏幕上进行显示,电视节目的声音在电视机喇叭上进行输出。具体对视频video的控制可以通过接口video_mute来进行设置:设置打开video显示参数为mute=0,设置关闭video显示参数为mute = 1,对音频audio的控制可以通过接口audio_mute来进行设置:设置打开audio参数为 mute = 0,设置关闭audio参数为mute = 1。
本发明提供的电视机的音视频播放方法,首先通过初始化电视机的硬件驱动,然后设置GPIO接口的电位状态为第一电平,并播放开机音视频,再监测所述GPIO接口的电位状态变化,并在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。这样,不存在软件查询由于等待CPU而导致的延迟问题,可以解决电视机开机音视频播放结束时,电视节目播放的音视频不同步问题,以提高用户观看电视的体验。
在一实施例中,如图2所示,在上述图1所示的基础上,所述步骤S20包括:
步骤S201,设置所述GPIO接口的电位状态为第一电平;
本实施例中,电视机设置GPIO接口的电位状态为第一电平,本优选实施例中,所述第一电平可以设置为高电平,GPIO的配置可以通过驱动的接口进行设置,比如:设置为DRV_GPIO_SetLevel(101, 1),其中,101表示:GPIO pin脚,1表示高电平。当然,在其他实施例中,所述第一电平也可以设置为低电平。
步骤S202,获取开机视频数据;
步骤S203,打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据。
本实施例中,获取的开机视频数据包括音频和视频数据,通过打开第一播放通道来播放所述音频和视频数据。可以理解的是,所述开机视频数据在播放前还需进行以下处理,如创建播放器、对开机视频流进行解码处理、对开机视频资源进行储存地址的分配、对音频和视频进行同步处理等,当然,在其他实施例中,还可以进行其他处理,并不限于本实施例。
本实施例中,开机视频的画面在电视机屏幕上进行显示,开机视频的声音在电视机喇叭上进行输出。
在一实施例中,如图3所示,在上述图2所示的基础上,所述步骤S203之后还包括:
步骤S204,在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
本实施例中,当所述开机视频的播放状态为数据播放完毕时,可以关闭所述第一播放通道,具体表现为无声音,电视机屏幕显示为最后一帧数据或为纯色(黑色或蓝色)。
本实施例中,开机视频播放结束时,所述第一播放通道在播放结束时产生EOS消息(End off spring,流结束消息),以表示播放结束,而CPU在接收到所述EOS消息时,进而再次设置GPIO接口的电位状态。
步骤S205,设置所述GPIO接口的电位状态为第二电平。
本实施例中,再次设置所述GPIO接口,将GPIO接口的电位状态设置成第二电平如低电平(与开机视频开始播放时的状态相反即可),触发GPIO电位状态改变的通知(可以为中断,也可以为回调)或电视节目播放的流程中监测GPIO电位状态变化(此方法可能有短暂的黑屏或蓝屏或为开机视频的最后一帧画面)。
在一实施例中,如图4所示,在上述图1所示的基础上,所述步骤S40包括:
步骤S401,在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
本实施例中,电视机的第二播放通道默认设置为关闭状态,当监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,如由高电平切换为低电平或由低电平切换为高电平时,则会打开第二播放通道。
步骤S402,通过所述第二播放通道播放所述电视节目音视频。
本实施例中,通过所述第二播放通道播放所述电视节目音视频,具体为电视节目的画面在电视机屏幕上进行显示,电视节目的声音在电视机喇叭上进行输出。
在一实施例中,如图5所示,在上述图4所示的基础上,所述电视节目音视频包括电视节目音频和电视节目视频,所述步骤S402包括:
步骤S4021,设置电视节目的频点和参数;
本实施例中,所述频点是给固定频率的编号,频率间隔以200KHz为例,频率间隔从890MHz、890.2MHz、890.4MHz、890.6MHz、890.8MHz、891MHz …… 915MHz分为125个无线频率段,并对每个频段进行编号,从1、2、3、4 …… 125;这些对固定频率的编号就是所述频点。比如,指定一个载波的频点为3,就是说该载波将接受频率为890.4MHz的上行信号并以935.4MHz的频率发射信号。
本实施例中,如果为模拟节目则需要设置彩色制式和伴音制式,如果为数字节目则需要设置参数AUDIO PID 和 VIDEO PID (PID,Packet Identifier,包识别码)。伴音制式包括d/k制式:伴音载频6.5mhz,或i制式:伴音载频6.0mhz,或bg制式:伴音载频5.5mhz,或m制式:伴音载频4.5mhz,或丽音制式:micam-i,是种数字立体声伴音广播,伴音质量达到cd唱片水平。彩色制式包括NTSC(National Television Systems Committee,正交平衡调幅制)、SECAM (Sequential Coleur Avec Memoire,行轮换调频制)和PAL (Phase-Alternative Line,正交平衡调幅逐行倒相制)。
步骤S4022,对所述电视节目音频和电视节目视频进行同步处理;
本优选实施例中,步骤S4021和步骤S4022是与开机视频播放同时进行的,而在所述开机视频播放结束时,转入步骤S4023。
步骤S4023,根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
本实施例中,将所述电视节目音频和电视节目视频进行同步处理,使声音与画面能适应性匹配,并根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
本发明还提供一种电视机1,参照图6,在一实施例中,所述电视机1包括:
初始化模块10,用于初始化电视机的硬件驱动;
第一播放模块20,用于设置GPIO接口的电位状态为第一电平,并播放开机音视频;
监测模块30,用于监测所述GPIO接口的电位状态变化;
第二播放模块40,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频。
在具体实现过程中,电视机中的各个功能模块与图1中各个方法步骤中的操作相对应。有关这些操作步骤的具体内容已经在前文做了详细的描述,因此此处不再赘述。
本发明提供的电视机,首先通过初始化电视机的硬件驱动,然后设置GPIO接口的电位状态为第一电平,并播放开机音视频,再监测所述GPIO接口的电位状态变化,并在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。这样,可以解决电视机开机音视频播放结束时,电视节目播放的音视频不同步问题,以提高用户观看电视的体验。
在一实施例中,如图7所示,在上述图6所示的基础上,所述第一播放模块20包括:
第一设置单元201,用于设置所述GPIO接口的电位状态为第一电平;
本实施例中,电视机设置GPIO接口的电位状态为第一电平,本优选实施例中,所述第一电平可以设置为高电平,GPIO的配置可以通过驱动的接口进行设置,比如:设置为DRV_GPIO_SetLevel(101, 1),其中,101表示:GPIO pin脚,1表示高电平。当然,在其他实施例中,所述第一电平也可以设置为低电平。
获取单元202,用于获取开机视频数据;
第一播放单元203,用于打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据。
本实施例中,获取的开机视频数据包括音频和视频数据,通过打开第一播放通道来播放所述音频和视频数据。可以理解的是,所述开机视频数据在播放前还需进行以下处理,如创建播放器、对开机视频流进行解码处理、对开机视频资源进行储存地址的分配、对音频和视频进行同步处理等,当然,在其他实施例中,还可以进行其他处理,并不限于本实施例。
本实施例中,开机视频的画面在电视机屏幕上进行显示,开机视频的声音在电视机喇叭上进行输出。
在一实施例中,如图8所示,在上述图7所示的基础上,所述第一播放模块20还包括:
关闭单元204,用于在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
本实施例中,当所述开机视频的播放状态为数据播放完毕时,可以关闭所述第一播放通道,具体表现为无声音,电视机屏幕显示为最后一帧数据或为纯色(黑色或蓝色)。
本实施例中,开机视频播放结束时,所述第一播放通道在播放结束时产生EOS消息(End off spring,流结束消息),以表示播放结束,而CPU在接收到所述EOS消息时,进而再次设置GPIO接口的电位状态。
第二设置单元205,用于设置所述GPIO接口的电位状态为第二电平。
本实施例中,再次设置所述GPIO接口,将GPIO接口的电位状态设置成第二电平如低电平(与开机视频开始播放时的状态相反即可),触发GPIO电位状态改变的通知(可以为中断,也可以为回调)或电视节目播放的流程中监测GPIO电位状态变化(此方法可能有短暂的黑屏或蓝屏或为开机视频的最后一帧画面)。
在一实施例中,如图9所示,在上述图6所示的基础上,所述第二播放模块40包括:
打开单元401,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
本实施例中,电视机的第二播放通道默认设置为关闭状态,当监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,如由高电平切换为低电平或由低电平切换为高电平时,则会打开第二播放通道。
第二播放单元402,用于通过所述第二播放通道播放所述电视节目音视频。
本实施例中,通过所述第二播放通道播放所述电视节目音视频,具体为电视节目的画面在电视机屏幕上进行显示,电视节目的声音在电视机喇叭上进行输出。
在一实施例中,如图10所示,在上述图9所示的基础上,所述电视节目音视频包括电视节目音频和电视节目视频,所述电视节目音视频包括电视节目音频和电视节目视频,所述第二播放单元402包括:
设置子单元4021,用于设置电视节目的频点和参数;
本实施例中,所述频点是给固定频率的编号,频率间隔以200KHz为例,频率间隔从890MHz、890.2MHz、890.4MHz、890.6MHz、890.8MHz、891MHz …… 915MHz分为125个无线频率段,并对每个频段进行编号,从1、2、3、4 …… 125;这些对固定频率的编号就是所述频点。比如,指定一个载波的频点为3,就是说该载波将接受频率为890.4MHz的上行信号并以935.4MHz的频率发射信号。
本实施例中,如果为模拟节目则需要设置彩色制式和伴音制式,如果为数字节目则需要设置参数AUDIO PID 和 VIDEO PID (PID,Packet Identifier,包识别码)。伴音制式包括d/k制式:伴音载频6.5mhz,或i制式:伴音载频6.0mhz,或bg制式:伴音载频5.5mhz,或m制式:伴音载频4.5mhz,或丽音制式:micam-i,是种数字立体声伴音广播,伴音质量达到cd唱片水平。彩色制式包括NTSC(National Television Systems Committee,正交平衡调幅制)、SECAM (Sequential Coleur Avec Memoire,行轮换调频制)和PAL (Phase-Alternative Line,正交平衡调幅逐行倒相制)。
同步处理子单元4022,用于对所述电视节目音频和电视节目视频进行同步处理;
本优选实施例中,步骤S4021和步骤S4022是与开机视频播放同时进行的,而在所述开机视频播放结束时,转入步骤S4023。
播放子单元4023,用于根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
本实施例中,将所述电视节目音频和电视节目视频进行同步处理,使声音与画面能适应性匹配,并根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (17)

  1. 一种电视机的音视频播放方法,其特征在于,所述电视机的音视频播放方法包括以下步骤:
    初始化电视机的硬件驱动;
    设置所述GPIO接口的电位状态为第一电平;
    获取开机视频数据;
    打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据;
    监测所述GPIO接口的电位状态变化;
    在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
    通过所述第二播放通道播放所述电视节目音视频;
    其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。
  2. 如权利要求1所述的电视机的音视频播放方法,其特征在于,所述打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据的步骤之后还包括:
    在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
    设置所述GPIO接口的电位状态为第二电平。
  3. 如权利要求1所述的电视机的音视频播放方法,其特征在于,所述电视节目音视频包括电视节目音频和电视节目视频,所述通过所述第二播放通道播放所述电视节目音视频的步骤包括:
    设置电视节目的频点和参数;
    对所述电视节目音频和电视节目视频进行同步处理;
    根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
  4. 一种电视机的音视频播放方法,其特征在于,所述电视机的音视频播放方法包括以下步骤:
    初始化电视机的硬件驱动;
    设置GPIO接口的电位状态为第一电平,并播放开机音视频;
    监测所述GPIO接口的电位状态变化;
    在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;
    其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。
  5. 如权利要求4所述的电视机的音视频播放方法,其特征在于,所述设置GPIO接口的电位状态为第一电平,并播放开机音视频的步骤包括:
    设置所述GPIO接口的电位状态为第一电平;
    获取开机视频数据;
    打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据。
  6. 如权利要求5所述的电视机的音视频播放方法,其特征在于,所述打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据的步骤之后还包括:
    在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
    设置所述GPIO接口的电位状态为第二电平。
  7. 如权利要求4所述的电视机的音视频播放方法,其特征在于,所述在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频的步骤包括:
    在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
    通过所述第二播放通道播放所述电视节目音视频。
  8. 如权利要求7所述的电视机的音视频播放方法,其特征在于,所述电视节目音视频包括电视节目音频和电视节目视频,所述通过所述第二播放通道播放所述电视节目音视频的步骤包括:
    设置电视节目的频点和参数;
    对所述电视节目音频和电视节目视频进行同步处理;
    根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
  9. 一种电视机,其特征在于,所述电视机包括:
    初始化模块,用于初始化电视机的硬件驱动;
    第一播放模块,用于设置GPIO接口的电位状态为第一电平,并播放开机音视频;
    监测模块,用于监测所述GPIO接口的电位状态变化;
    第二播放模块,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,播放电视节目音视频;
    其中,根据所述开机音视频的播放状态,将所述GPIO接口的电位状态设置为第二电平。
  10. 如权利要求9所述的电视机,其特征在于,所述第一播放模块包括:
    第一设置单元,用于设置所述GPIO接口的电位状态为第一电平;
    获取单元,用于获取开机视频数据;
    第一播放单元,用于打开第一播放通道,并通过所述第一播放通道播放所述开机视频数据。
  11. 如权利要求10所述的电视机,其特征在于,所述第一播放模块还包括:
    关闭单元,用于在所述开机视频的播放状态为数据播放完毕时,关闭所述第一播放通道;
    第二设置单元,用于设置所述GPIO接口的电位状态为第二电平。
  12. 如权利要求9所述的电视机,其特征在于,所述第二播放模块包括:
    打开单元,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
    第二播放单元,用于通过所述第二播放通道播放所述电视节目音视频。
  13. 如权利要求10所述的电视机,其特征在于,所述第二播放模块包括:
    打开单元,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
    第二播放单元,用于通过所述第二播放通道播放所述电视节目音视频。
  14. 如权利要求11所述的电视机,其特征在于,所述第二播放模块包括:
    打开单元,用于在监测到所述GPIO接口的电位状态由第一电平切换为第二电平时,打开第二播放通道;
    第二播放单元,用于通过所述第二播放通道播放所述电视节目音视频。
  15. 如权利要求12所述的电视机,其特征在于,所述电视节目音视频包括电视节目音频和电视节目视频,所述第二播放单元包括:
    设置子单元,用于设置电视节目的频点和参数;
    同步处理子单元,用于对所述电视节目音频和电视节目视频进行同步处理;
    播放子单元,用于根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
  16. 如权利要求13所述的电视机,其特征在于,所述电视节目音视频包括电视节目音频和电视节目视频,所述第二播放单元包括:
    设置子单元,用于设置电视节目的频点和参数;
    同步处理子单元,用于对所述电视节目音频和电视节目视频进行同步处理;
    播放子单元,用于根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
  17. 如权利要求14所述的电视机,其特征在于,所述电视节目音视频包括电视节目音频和电视节目视频,所述第二播放单元包括:
    设置子单元,用于设置电视节目的频点和参数;
    同步处理子单元,用于对所述电视节目音频和电视节目视频进行同步处理;
    播放子单元,用于根据所述电视节目的频点和参数,将经同步处理的电视节目音频和电视节目视频,通过所述第二播放通道进行播放。
PCT/CN2016/084815 2015-09-18 2016-06-03 电视机及电视机的音视频播放方法 WO2017045446A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510601104.2 2015-09-18
CN201510601104.2A CN105187884B (zh) 2015-09-18 2015-09-18 电视机及电视机的音视频播放方法

Publications (1)

Publication Number Publication Date
WO2017045446A1 true WO2017045446A1 (zh) 2017-03-23

Family

ID=54909683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084815 WO2017045446A1 (zh) 2015-09-18 2016-06-03 电视机及电视机的音视频播放方法

Country Status (2)

Country Link
CN (1) CN105187884B (zh)
WO (1) WO2017045446A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290406A (zh) * 2019-07-02 2019-09-27 四川长虹电器股份有限公司 液晶电视开机过程中快速连接arc功放的方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187884B (zh) * 2015-09-18 2018-11-16 深圳Tcl数字技术有限公司 电视机及电视机的音视频播放方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070028282A1 (en) * 2003-09-12 2007-02-01 Koninklijke Philips Electronics N.V. Start up method for a television apparatus
CN102111663A (zh) * 2009-12-25 2011-06-29 康佳集团股份有限公司 一种播放开机画面的方法、装置及电子设备
CN102281363A (zh) * 2010-06-13 2011-12-14 中兴通讯股份有限公司 一种开机过程中实现增值业务的终端及方法
CN102447964A (zh) * 2010-10-08 2012-05-09 Lg电子株式会社 显示装置和控制该显示装置的方法
CN102572337A (zh) * 2010-12-27 2012-07-11 索尼公司 信息处理设备和显示切换方法
CN104202645A (zh) * 2014-08-27 2014-12-10 海信集团有限公司 一种控制开机画面播放的方法及用户设备
CN105187884A (zh) * 2015-09-18 2015-12-23 深圳Tcl数字技术有限公司 电视机及电视机的音视频播放方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070028282A1 (en) * 2003-09-12 2007-02-01 Koninklijke Philips Electronics N.V. Start up method for a television apparatus
CN102111663A (zh) * 2009-12-25 2011-06-29 康佳集团股份有限公司 一种播放开机画面的方法、装置及电子设备
CN102281363A (zh) * 2010-06-13 2011-12-14 中兴通讯股份有限公司 一种开机过程中实现增值业务的终端及方法
CN102447964A (zh) * 2010-10-08 2012-05-09 Lg电子株式会社 显示装置和控制该显示装置的方法
CN102572337A (zh) * 2010-12-27 2012-07-11 索尼公司 信息处理设备和显示切换方法
CN104202645A (zh) * 2014-08-27 2014-12-10 海信集团有限公司 一种控制开机画面播放的方法及用户设备
CN105187884A (zh) * 2015-09-18 2015-12-23 深圳Tcl数字技术有限公司 电视机及电视机的音视频播放方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290406A (zh) * 2019-07-02 2019-09-27 四川长虹电器股份有限公司 液晶电视开机过程中快速连接arc功放的方法

Also Published As

Publication number Publication date
CN105187884B (zh) 2018-11-16
CN105187884A (zh) 2015-12-23

Similar Documents

Publication Publication Date Title
WO2017107388A1 (zh) Hdmi版本切换方法及显示设备
WO2017084302A1 (zh) 显示终端开机播放视频的方法及显示终端
WO2019114269A1 (zh) 一种节目续播方法、电视设备及计算机可读存储介质
WO2018028124A1 (zh) 电视机及其信号源的切换方法
WO2017113614A1 (zh) 视频播放过程中插播广告的方法及装置
WO2018166224A1 (zh) 全景视频的目标追踪显示方法、装置及存储介质
WO2018032680A1 (zh) 音视频播放方法及系统
WO2018233221A1 (zh) 多窗口声音输出方法、电视机以及计算机可读存储介质
WO2017206377A1 (zh) 同步播放节目的方法和装置
WO2020010671A1 (zh) 显示方法、装置以及电视机、存储介质
WO2016175467A1 (en) Source device and control method thereof, and sink device and image quality improvement processing method thereof
WO2018032679A1 (zh) 电视定时开关机的设置方法和装置
WO2017088427A1 (zh) 音频输出控制方法及装置
WO2019051905A1 (zh) 空调器控制方法、空调器及计算机可读存储介质
WO2018036057A1 (zh) 软件后台自适应升级方法及装置
WO2017020649A1 (zh) 音视频播放控制方法及装置
WO2017121066A1 (zh) 应用程序显示方法和系统
WO2017032122A1 (zh) 数字电视机检测方法及装置
WO2017045441A1 (zh) 基于智能电视的音频播放方法及装置
WO2017054488A1 (zh) 电视播放控制方法、服务器及电视播放控制系统
WO2016101240A1 (zh) 媒体数据播放的方法及终端
WO2017024876A1 (zh) 电视节目播放方法及装置
WO2016107249A1 (zh) 卫星电视搜台的方法和装置
WO2017045446A1 (zh) 电视机及电视机的音视频播放方法
WO2016101305A1 (zh) 视频文件处理方法及显示装置

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: 16845560

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 1205 DATED 03/08/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16845560

Country of ref document: EP

Kind code of ref document: A1