WO2021109354A1 - Media stream data playback method and device - Google Patents

Media stream data playback method and device Download PDF

Info

Publication number
WO2021109354A1
WO2021109354A1 PCT/CN2020/079175 CN2020079175W WO2021109354A1 WO 2021109354 A1 WO2021109354 A1 WO 2021109354A1 CN 2020079175 W CN2020079175 W CN 2020079175W WO 2021109354 A1 WO2021109354 A1 WO 2021109354A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
channel
video
media stream
video data
Prior art date
Application number
PCT/CN2020/079175
Other languages
French (fr)
Chinese (zh)
Inventor
王良
武兵
李双增
Original Assignee
青岛海信传媒网络技术有限公司
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 青岛海信传媒网络技术有限公司 filed Critical 青岛海信传媒网络技术有限公司
Publication of WO2021109354A1 publication Critical patent/WO2021109354A1/en

Links

Images

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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • 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/439Processing of audio elementary streams

Definitions

  • This application relates to the field of display technology, and in particular to a two-channel media stream data playback method and display device.
  • display devices can be used not only to play TV signals, but also to play network signals.
  • display devices need to support the playback of dual-channel media stream data. How to achieve this has become a problem that needs to be solved.
  • the present application provides a dual-channel media stream data playback method and display device, which are used to implement dual-channel media stream data playback and improve user experience.
  • this application provides a display device, including:
  • Browser function module controlled by the controller, used to obtain two channels of media stream data
  • a demultiplexing module controlled by the controller, for demultiplexing the media stream data acquired by the browser function module into video data and audio data;
  • the decoding module is used to decode the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel including at least the second channel of video data Media stream data;
  • the playback module controlled by the controller, is used to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to all The audio output interface;
  • the browser function module controlled by the controller, is also used to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the display according to a certain frame rate The second window.
  • the present application also provides a method for playing dual-channel media stream data.
  • the method is applied to a display device, and the method includes:
  • the controller controls the browser function module to obtain two channels of media stream data
  • Controlling the demultiplexing module to demultiplex the two media stream data acquired by the browser function module into video data and audio data;
  • the decoding module decodes the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream including at least the second channel of video data data;
  • the controller controls the playback module to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to the audio output interface;
  • the controller controls the browser function module to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the second window on the display according to a certain frame rate.
  • FIG. 1A exemplarily shows a schematic diagram of an operation scene between a display device and a control device
  • FIG. 1B exemplarily shows a configuration block diagram of the control device 100 in FIG. 1A;
  • FIG. 1C exemplarily shows a configuration block diagram of the display device 200 in FIG. 1A;
  • FIG. 1D exemplarily shows a block diagram of the architecture configuration of the operating system in the memory of the display device 200
  • Fig. 1E exemplarily shows a schematic diagram of dual-channel media stream data playback in the display
  • Figures 2-1 and 2-2 exemplarily show a flow chart of the second video data compression
  • Fig. 3 exemplarily shows a flow chart of rendering
  • Fig. 4 exemplarily shows an interactive flowchart of a two-channel video playback method
  • Fig. 5 exemplarily shows a flowchart of a two-channel video playback method.
  • first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • word “if” as used herein can be interpreted as "when” or “when” or "in response to determination”.
  • FIG. 1A exemplarily shows a schematic diagram of an operation scene between the display device and the control device.
  • the control device 100 and the display device 200 can communicate in a wired or wireless manner.
  • control device 100 is configured to control the display device 200, which can receive operation instructions input by the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and act as an intermediary for the interaction between the user and the display device 200 effect.
  • the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operations.
  • the control device 100 may be a remote controller 100A, including infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, etc., to control the display device 200 in a wireless or other wired manner.
  • the user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, etc.
  • the user can control the display device 200 by inputting corresponding control commands through the volume plus and minus keys, channel control keys, up/down/left/right movement keys, voice input keys, menu keys, and power on/off keys on the remote control. Function.
  • the control device 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a computer, a notebook computer, and the like.
  • a smart device such as a mobile terminal 100B, a tablet computer, a computer, a notebook computer, and the like.
  • an application program running on a smart device is used to control the display device 200.
  • the application can be configured to provide users with various controls through an intuitive user interface (UI) on the screen associated with the smart device.
  • UI intuitive user interface
  • the mobile terminal 100B may install a software application with the display device 200, realize connection communication through a network communication protocol, and realize the purpose of one-to-one control operation and data communication.
  • the mobile terminal 100B can establish a control instruction protocol with the display device 200, and realize the functions of the physical keys arranged in the remote control 100A by operating various function keys or virtual buttons of the user interface provided on the mobile terminal 100B.
  • the audio and video content displayed on the mobile terminal 100B can also be transmitted to the display device 200 to realize the synchronous display function.
  • the display device 200 may provide a broadcast receiving function and a network TV function of a computer support function.
  • the display device can be implemented as digital TV, Internet TV, Internet Protocol TV (IPTV), and so on.
  • the display device 200 may be a liquid crystal display, an organic light emitting display, or a projection device.
  • the specific display device type, size and resolution are not limited.
  • the display device 200 also performs data communication with the server 300 through a variety of communication methods.
  • the display device 200 may be allowed to communicate through a local area network (LAN), a wireless local area network (WLAN), and other networks.
  • the server 300 may provide various contents and interactions to the display device 200.
  • the display device 200 can send and receive information, such as receiving electronic program guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library.
  • EPG electronic program guide
  • the server 300 can be one group or multiple groups, and can be one type or multiple types of servers.
  • the server 300 provides other network service content such as video-on-demand and advertising services.
  • FIG. 1B exemplarily shows a configuration block diagram of the control device 100.
  • the control device 100 includes a controller 110, a memory 120, a communicator 130, a user input interface 140, an output interface 150, and a power supply 160.
  • the controller 110 includes a random access memory (RAM) 111, a read only memory (ROM) 112, a processor 113, a communication interface, and a communication bus.
  • RAM random access memory
  • ROM read only memory
  • the controller 110 is used to control the operation and operation of the control device 100, as well as the communication and cooperation between internal components, and external and internal data processing functions.
  • the controller 110 may control to generate a signal corresponding to the detected interaction, and This signal is sent to the display device 200.
  • the memory 120 is used to store various operating programs, data, and applications for driving and controlling the control device 100 under the control of the controller 110.
  • the memory 120 can store various control signal instructions input by the user.
  • the communicator 130 realizes the communication of control signals and data signals with the display device 200 under the control of the controller 110.
  • the control device 100 sends a control signal (such as a touch signal or a button signal) to the display device 200 via the communicator 130, and the control device 100 can receive the signal sent by the display device 200 via the communicator 130.
  • the communicator 130 may include an infrared signal interface 131 and a radio frequency signal interface 132.
  • the user input instruction needs to be converted into an infrared control signal according to the infrared control protocol, and sent to the display device 200 via the infrared sending module.
  • a radio frequency signal interface a user input instruction needs to be converted into a digital signal, which is then modulated according to the radio frequency control signal modulation protocol, and then sent to the display device 200 by the radio frequency sending terminal.
  • the user input interface 140 may include at least one of a microphone 141, a touch panel 142, a sensor 143, a button 144, etc., so that the user can input user instructions for controlling the display device 200 to the control device through voice, touch, gesture, pressing, etc. 100.
  • the output interface 150 outputs a user instruction received by the user input interface 140 to the display device 200, or outputs an image or voice signal received by the display device 200.
  • the output interface 150 may include an LED interface 151, a vibration interface 152 that generates vibration, a sound output interface 153 that outputs a sound, a display 154 that outputs an image, and the like.
  • the remote controller 100A can receive output signals such as audio, video, or data from the output interface 150, and display the output signals as images on the display 154, as audio on the sound output interface 153, or as vibration on the vibration interface 152. form.
  • the power supply 160 is used to provide operating power support for each element of the control device 100 under the control of the controller 110.
  • the form can be battery and related control circuit.
  • FIG. 1C exemplarily shows a block diagram of the hardware configuration of the display device 200.
  • the display device 200 may include a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, Audio processor 280, audio output interface 285, and power supply 290.
  • the tuner and demodulator 210 which receives broadcast television signals through wired or wireless means, can perform modulation and demodulation processing such as amplification, mixing and resonance, and is used to demodulate the television selected by the user from multiple wireless or cable broadcast television signals
  • modulation and demodulation processing such as amplification, mixing and resonance
  • the audio and video signals carried in the frequency of the channel, as well as additional information (such as EPG data).
  • the tuner and demodulator 210 can be selected by the user and controlled by the controller 250 to respond to the frequency of the television channel selected by the user and the television signal carried by the frequency.
  • the tuner and demodulator 210 can receive signals in many ways according to different broadcasting formats of TV signals, such as terrestrial broadcasting, cable broadcasting, satellite broadcasting or Internet broadcasting; and according to different modulation types, it can be digital modulation or analog Modulation method; and according to different types of received TV signals, analog signals and digital signals can be demodulated.
  • different broadcasting formats of TV signals such as terrestrial broadcasting, cable broadcasting, satellite broadcasting or Internet broadcasting
  • modulation types it can be digital modulation or analog Modulation method
  • received TV signals, analog signals and digital signals can be demodulated.
  • the tuner demodulator 210 may also be in an external device, such as an external set-top box.
  • the set-top box outputs a TV signal after modulation and demodulation, and is input to the display device 200 through the external device interface 240.
  • the communicator 220 is a component used to communicate with external devices or external servers according to various types of communication protocols.
  • the display device 200 may transmit content data to an external device connected via the communicator 220, or browse and download content data from an external device connected via the communicator 220.
  • the communicator 220 may include a network communication protocol module such as a WIFI module 221, a Bluetooth communication protocol module 222, and a wired Ethernet communication protocol module 223 or a near field communication protocol module, so that the communicator 220 can receive the control device 100 according to the control of the controller 250 Control signals, and implement the control signals as WIFI signals, Bluetooth signals, radio frequency signals, etc.
  • the detector 230 is a component of the display device 200 for collecting signals from the external environment or interacting with the outside.
  • the detector 230 may include a sound collector 231, such as a microphone, which may be used to receive a user's voice, such as a voice signal of a control instruction for the user to control the display device 200; or, it may collect environmental sounds used to identify the type of environmental scene to realize display
  • the device 200 can adapt to environmental noise.
  • the detector 230 may also include an image collector 232, such as a camera, a camera, etc., which may be used to collect external environment scenes to adaptively change the display parameters of the display device 200; and to collect The attributes of the user or interactive gestures with the user to achieve the function of interaction between the display device and the user.
  • an image collector 232 such as a camera, a camera, etc., which may be used to collect external environment scenes to adaptively change the display parameters of the display device 200; and to collect The attributes of the user or interactive gestures with the user to achieve the function of interaction between the display device and the user.
  • the detector 230 may further include a light receiver, which is used to collect the ambient light intensity to adapt to changes in display parameters of the display device 200 and so on.
  • the detector 230 may also include a temperature sensor.
  • the display device 200 may adaptively adjust the display color temperature of the image. Exemplarily, when the temperature is relatively high, the display device 200 can be adjusted to display an image with a cooler color temperature; when the temperature is relatively low, the display device 200 can be adjusted to display an image with a warmer color temperature.
  • the external device interface 240 is a component that provides the controller 250 to control data transmission between the display device 200 and external devices.
  • the external device interface 240 can be connected to external devices such as set-top boxes, game devices, notebook computers, etc. in a wired/wireless manner, and can receive external devices such as video signals (such as moving images), audio signals (such as music), and additional information (such as EPG). ) And other data.
  • the external device interface 240 may include: a high-definition multimedia interface (HDMI) terminal 241, a composite video blanking synchronization (CVBS) terminal 242, an analog or digital component terminal 243, a universal serial bus (USB) terminal 244, and a component (Component) Any one or more of terminals (not shown in the figure), red, green and blue (RGB) terminals (not shown in the figure), etc.
  • HDMI high-definition multimedia interface
  • CVBS composite video blanking synchronization
  • USB universal serial bus
  • Component Any one or more of terminals (not shown in the figure), red, green and blue (RGB) terminals (not shown in the figure), etc.
  • the controller 250 controls the work of the display device 200 and responds to user operations by running various software control programs (such as an operating system and various application programs) stored on the memory 260.
  • various software control programs such as an operating system and various application programs
  • the controller 250 includes a random access memory (RAM) 251, a read only memory (ROM) 252, a graphics processor 253, a CPU processor 254, a communication interface 255, and a communication bus 256.
  • RAM random access memory
  • ROM read only memory
  • CPU CPU processor
  • communication interface 255 a communication bus 256.
  • the RAM 251, the ROM 252, the graphics processor 253, and the CPU processor 254 communication interface 255 are connected via a communication bus 256.
  • ROM252 used to store various system startup instructions. For example, when the power-on signal is received, the power of the display device 200 starts to start, and the CPU processor 254 runs the system start-up instruction in the ROM 252, and copies the operating system stored in the memory 260 to the RAM 251 to start running the start-up operating system. After the operating system is started up, the CPU processor 254 copies various application programs in the memory 260 to the RAM 251, and then starts to run and start various application programs.
  • the graphics processor 253 is used to generate various graphics objects, such as icons, operation menus, and user input instructions to display graphics.
  • the graphics processor 253 may include an arithmetic unit, which is used to perform operations by receiving various interactive instructions input by the user, and then display various objects according to the display attributes; and includes a renderer, which is used to generate various objects obtained based on the arithmetic unit, and perform operations.
  • the rendered result is displayed on the display 275.
  • the CPU processor 254 is configured to execute operating system and application program instructions stored in the memory 260. And according to the received user input instructions, to execute various applications, data and content processing, so as to finally display and play various audio and video content.
  • the CPU processor 254 may include multiple processors.
  • the multiple processors may include a main processor and multiple or one sub-processors.
  • the main processor is configured to perform some initialization operations of the display device 200 in the display device preloading mode, and/or, to display screen operations in the normal mode. Multiple or one sub-processor, used to perform an operation in the standby mode of the display device.
  • the communication interface 255 may include the first interface to the nth interface. These interfaces may be network interfaces connected to external devices via a network.
  • the controller 250 may control the overall operation of the display device 200. For example, in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user input command.
  • the object can be any one of the selectable objects, such as a hyperlink or an icon.
  • the operation related to the selected object for example, the operation of displaying the page, document, image, etc. connected to the hyperlink, or the operation of executing the program corresponding to the object.
  • the user input command for selecting the GUI object may be a command input through various input devices (for example, a mouse, a keyboard, a touch pad, etc.) connected to the display device 200 or a voice command corresponding to a voice spoken by the user.
  • the memory 260 is used to store various types of data, software programs or application programs for driving and controlling the operation of the display device 200.
  • the memory 260 may include volatile and/or non-volatile memory.
  • the term “memory” includes the memory 260, the RAM 251 and ROM 252 of the controller 250, or the memory card in the display device 200.
  • the memory 260 is specifically used to store the operating program that drives the controller 250 in the display device 200; to store various application programs built in the display device 200 and downloaded from an external device by the user; and to store the configuration provided by the display 275 Data such as various GUIs, various objects related to the GUI, and visual effect images of the selector used to select GUI objects.
  • the memory 260 is specifically used to store drivers and related data of the tuner and demodulator 210, the communicator 220, the detector 230, the external device interface 240, the video processor 270, the display 275, the audio processor 280, etc.
  • external data such as audio and video data
  • user data such as key information, voice information, touch information, etc.
  • the memory 260 specifically stores software and/or programs for representing an operating system (OS). These software and/or programs may include, for example, a kernel, middleware, application programming interface (API), and/or application.
  • OS operating system
  • these software and/or programs may include, for example, a kernel, middleware, application programming interface (API), and/or application.
  • the kernel can control or manage system resources and functions implemented by other programs (such as the middleware, API, or application program); at the same time, the kernel can provide interfaces to allow middleware, API, or application program access control To control or manage system resources.
  • FIG. 1D exemplarily shows a block diagram of the architecture configuration of the operating system in the memory of the display device 200.
  • the operating system architecture consists of the application layer, the middleware layer, and the kernel layer from top to bottom.
  • Application layer system built-in applications and non-system-level applications belong to the application layer. Responsible for direct interaction with users.
  • the application layer can include multiple applications, such as settings applications, e-post applications, media center applications, and so on. These applications can be implemented as web applications, which are executed based on the WebKit engine, and can be developed and executed based on HTML5, Cascading Style Sheets (CSS) and JavaScript, usually the browser function module in the display device to control the operation or execution .
  • CSS Cascading Style Sheets
  • JavaScript usually the browser function module in the display device to control the operation or execution .
  • HTML HyperText Markup Language
  • HTML tags are used to describe text, graphics, animations, sounds, tables, For links, the browser will read the HTML document, explain the content of the tags in the document, and display it in the form of a web page.
  • CSS the full name of Cascading Style Sheets (Cascading Style Sheets), is a computer language used to express the style of HTML files, and can be used to define style structures, such as fonts, colors, and positions. CSS styles can be directly stored in HTML web pages or in separate style files to achieve control over styles in web pages.
  • JavaScript is a language used in web page programming, which can be inserted into HTML pages and interpreted and executed by the browser.
  • the interaction logic of the web application is implemented through JavaScript.
  • JavaScript can encapsulate the JavaScript extension interface through the browser to realize the communication with the kernel layer,
  • the middleware layer can provide some standardized interfaces to support the operation of various environments and systems.
  • the middleware layer can be implemented as the Multimedia and Hypermedia Information Coding Expert Group (MHEG) of the middleware related to data broadcasting, and can also be implemented as the DLNA middleware of the middleware related to external device communication, and can also be implemented as providing Display the middleware of the browser environment in which each application in the device runs.
  • MHEG Multimedia and Hypermedia Information Coding Expert Group
  • the kernel layer provides core system services, such as file management, memory management, process management, network management, system security authority management and other services.
  • the kernel layer can be implemented as a kernel based on various operating systems, for example, a kernel based on the Linux operating system.
  • the kernel layer also provides communication between system software and hardware, and provides device driver services for various hardware, such as: providing display drivers for displays, camera drivers for cameras, button drivers for remote controls, and WIFI modules Provide WiFi driver, audio driver for audio output interface, power management driver for power management (PM) module, etc.
  • device driver services for various hardware, such as: providing display drivers for displays, camera drivers for cameras, button drivers for remote controls, and WIFI modules Provide WiFi driver, audio driver for audio output interface, power management driver for power management (PM) module, etc.
  • the user interface 265 receives various user interactions. Specifically, it is used to send the input signal of the user to the controller 250, or to transmit the output signal from the controller 250 to the user.
  • the remote control 100A may send input signals input by the user, such as a power switch signal, a channel selection signal, and a volume adjustment signal, to the user interface 265, and then the user interface 265 transfers to the controller 250; or the remote control 100A may Receive output signals such as audio, video, or data output from the user interface 265 after the controller 250 processes, and display the received output signal or output the received output signal as audio or vibration.
  • the user may input a user command on a graphical user interface (GUI) displayed on the display 275, and the user interface 265 receives the user input command through the GUI.
  • GUI graphical user interface
  • the user interface 265 may receive user input commands for controlling the position of the selector in the GUI to select different objects or items.
  • the user may input a user command by inputting a specific sound or gesture, and the user interface 265 recognizes the sound or gesture through the sensor to receive the user input command.
  • the video processor 270 is used to receive external video signals, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal.
  • the video signal displayed or played directly on the display 275.
  • the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.
  • the demultiplexing module is used to demultiplex the input audio and video data stream, such as the input MPEG-2 stream (based on the compression standard of digital storage media moving images and voice), then the demultiplexing module will demultiplex it Multiplexed into video signals and audio signals, etc.
  • the video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
  • An image synthesis module such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator with the zoomed video image according to the user input or itself, so as to generate an image signal for display.
  • the frame rate conversion module is used to convert the frame rate of the input video, such as converting the frame rate of the input 60Hz video to a frame rate of 120Hz or 240Hz, and the usual format is realized by such as frame interpolation.
  • the display formatting module is used to change the signal output by the frame rate conversion module to a signal conforming to the display format such as a display, for example, format the signal output by the frame rate conversion module to output RGB data signals.
  • the display 275 is used to receive the image signal input from the video processor 270 to display video content, images, and a menu control interface.
  • the displayed video content can be from the video content in the broadcast signal received by the tuner and demodulator 210, or from the video content input by the communicator 220 or the external device interface 240.
  • the display 275 simultaneously displays a user manipulation interface UI generated in the display device 200 and used to control the display device 200.
  • the display 275 may include a display screen component for presenting a picture and a driving component for driving image display.
  • the display 275 may also include a projection device and a projection screen.
  • the audio processor 280 is used to receive external audio signals, and perform decompression and decoding according to the standard codec protocol of the input signal, as well as audio data processing such as noise reduction, digital-to-analog conversion, and amplification processing, so that the audio data can be processed in the speaker 286 The audio signal to be played.
  • the audio processor 280 may support various audio formats. Such as MPEG-2, MPEG-4, Advanced Audio Coding (AAC), High Efficiency AAC (HE-AAC) and other formats.
  • AAC Advanced Audio Coding
  • HE-AAC High Efficiency AAC
  • the audio output interface 285 is used to receive the audio signal output by the audio processor 280 under the control of the controller 250.
  • the audio output interface 285 may include a speaker 286, or output to an external audio output terminal 287 of a generator of an external device, such as a headset Output terminal.
  • the video processor 270 may include one or more chips.
  • the audio processor 280 may also include one or more chips.
  • the video processor 270 and the audio processor 280 may be separate chips, or may be integrated with the controller 250 in one or more chips.
  • the power supply 290 is used to provide power supply support for the display device 200 with power input from an external power supply under the control of the controller 250.
  • the power supply 290 may be a built-in power supply circuit installed inside the display device 200, or may be a power supply installed outside the display device 200.
  • the monitor is used to display the playback screen.
  • Audio output interface used to output audio data
  • Browser function module controlled by the controller, used to obtain two channels of media stream data from the server;
  • a demultiplexing module controlled by the controller, for demultiplexing the media stream data acquired by the browser function module into video data and audio data;
  • the decoding module is used to decode the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel including at least the second channel of video data Media stream data;
  • the playback module controlled by the controller, is used to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to all The audio output interface;
  • the browser function module controlled by the controller, is also used to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the display according to a certain frame rate The second window.
  • one channel of media stream data such as a variety show
  • another channel of media stream data such as an advertisement video
  • the controller may specifically be used to control the decoding module to compress the second video data in RGB format into YUV data and then send it to the browser function module.
  • the media stream data is processed by the decoding module to obtain the second video data.
  • the second video data is RGB data.
  • the video image adopts the RGB mode.
  • RGB is actually a combination of the three primary colors of red, green and blue.
  • each pixel can be composed of a 3bit RGB data set. For example, for 4 ⁇ 2 pictures, the RGB data storage method is as follows:
  • the RGB data format can be converted into the YUV data format, where Y is used to represent the brightness, that is, the gray value, while U and V represent the chromaticity, and the role is to describe The color and saturation of the image are used to specify the color of the pixel.
  • YUV420 Take the data format of YUV420 as an example, where 4 Ys share a set of UV components.
  • the storage method of YUV420 data format includes the following two forms:
  • RGB data can be converted into YUV data to achieve the purpose of data compression.
  • RGB data into YUV data
  • the first is that the controller can control the decoding module to convert the second video data in the RGB format into YUV data, and then sort the three groups of Y, U, and V data in the YUV data into a third video in a preset format. Data, sending the third video data to the browser function module.
  • the preset format is NV12 format or YV12 format.
  • the decoding module can decode H264 format media stream data through hardware to obtain RGB data. Assuming that the RGB data is 4 ⁇ 2 pixels, the RGB data can be expressed as:
  • the RGB data is converted into YUV data through a conversion algorithm, specifically:
  • V V1V2;
  • NV12 After encoding (here, NV12 is taken as an example), NV12 data is obtained, namely:
  • the NV12 data is the second video data that is finally input to the browser function module.
  • the second is that the controller can also control the decoding module to convert the second video data in the RGB format into YUV data, and then encapsulate the three groups of Y, U, and V data in the YUV data to obtain virtual YV12 data. , Sending the virtual YV12 data to the browser function module.
  • the decoding module can decode H264 format media stream data through hardware to obtain RGB data. Assuming that the RGB data is 4 ⁇ 2 pixels, the RGB data can be expressed as:
  • the RGB data is converted into YUV data through a conversion algorithm, specifically:
  • V V1V2;
  • the YUV data is directly encapsulated to obtain the virtual YV12 data, namely:
  • V V1V2.
  • the virtual YV12 data is the second video data finally input to the browser function module.
  • the three groups of Y, U, and V data in the YUV data need to be sorted into video data in a preset format (such as NV12); and in the second method above, you can use the U in the YV12 data
  • the U and V data are directly stored separately. Therefore, after the RGB data is decoded to obtain the YUV data, it is not necessary to perform the YUV sort processing according to the format of NV12 or YV12, but according to the Y, V data in the YUV data.
  • the U and V three sets of data are respectively encapsulated to obtain virtual YV12 data, so that the virtual YV12 data is sent to the browser function module. Therefore, the second method reduces the data sorting process compared with the first method, and further optimizes the encoding and decoding process.
  • the browser function module is specifically configured to render the second video data in the YUV format through OPENGL to obtain continuous video frame images.
  • the browser function module can encapsulate the second video data into a designated data packet for each frame of the second video data in the YUV format, and obtain the position coordinates of the second window on the display screen of the display, according to the The position coordinates of the second window determine the position coordinates of each pixel in the second video data, the data in the specified data packet is filled into the second window based on the position coordinates of the pixel, and the display is displayed on the screen through the display.
  • the video frame image corresponding to the second video data is displayed in the second window above.
  • the browser function module will construct a RenderTree by parsing HTML and CSS.
  • the data nodes in the rendering tree determine the video playback window in the display (ie, the second window).
  • Position and size the position and size are expressed by coordinates.
  • the browser function module can encapsulate the second video data into a specified data package, such as DecodeTarget data, confirm the position coordinates of each pixel by packaging Box and layout Layout, and then convert each pixel in the DecodeTarget data
  • the point is filled into the display area where the second window is located according to its position coordinates, so that the video frame image is displayed in the second window.
  • Figure 4 exemplarily shows the interactive process of the dual-channel video playback method, where the controller can control the browser function module to obtain two-channel media stream data from the server, as shown in step 1 in Figure 4, and then control the de-multiplexing A module is used to demultiplex the two-channel media stream data obtained by the browser function module into video data and audio data.
  • the main focus is on the processing of video data, and the processing of audio data can refer to operations of related technologies, such as forwarding audio data to an audio output interface for audio playback.
  • the decoding module decodes the demultiplexed media stream data, as shown in step 2 in Figure 4, to obtain the first channel of video data and the second channel of video data.
  • the controller controls the video playing module to output the first channel of video data in the decoded first channel of media stream data to the first window on the display.
  • the controller controls the decoding module to compress the second video data in the RGB format into the second video data in the YUV format, as shown in step 3 in FIG. 4.
  • the controller controls the browser function module to first encapsulate the YUV data into a specified data packet for each frame of YUV data, as shown by arrow 4 in Figure 4, where the specified data packet can be a DecodeTarget data packet.
  • the browser function module can obtain the position coordinates of the second window on the display screen, determine the position coordinates of each pixel in the video image according to the position coordinates of the second window, and combine the data in the specified data packet The position coordinates based on the pixel are filled into the second window.
  • This process is the rendering process of the video image, as shown by the arrow 5 in FIG. 4.
  • the rendered video frame image can be sent from the memory of the GPU to the memory of the display, so that the video frame image corresponding to the second video data can be displayed through the second window on the display screen of the display. As shown by the arrow 6 in Figure 4. Since the browser performs the above operation for each frame of second video data, the continuous video frame images can be displayed in the second window.
  • the controller (such as a chip) has a powerful dual-channel playback capability, for example, it has a dual-channel decoding module to support dual-channel video decoding, and a dual-channel playback module (such as a player provided by the controller) to support Dual-channel video playback, then the dual-channel video playback function can be realized.
  • the controller (such as a chip) does not have a dual-channel video playback function, for example, it has only one decoding module or only one playback module, on the one hand, video playback can be realized based on the one-channel playback module, and on the other hand, Based on the rendering function of the browser itself, the video frame can be rendered frame by frame, so as to achieve the effect of video playback, so as to realize the function of dual-channel video playback on the display device.
  • the video processor of the present application compresses the second video data in RGB format into YUV data and sends it to the browser, thereby improving data transmission efficiency and data processing, thereby making video playback smoother.
  • Fig. 5 exemplarily shows a flowchart of a two-channel video playback method.
  • the method for dual-channel video playback on the display device includes the following steps 501 to 505:
  • Step 501 The controller controls the browser function module to obtain two channels of media stream data from the server.
  • Step 502 Control the demultiplexing module to demultiplex the two channels of media stream data acquired by the browser function module into video data and audio data.
  • Step 503 The decoding module decodes the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream data including at least the second channel of video data. Road media stream data.
  • Step 504 The controller controls the playback module to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to the audio output interface .
  • Step 505 The controller controls the browser function module to render the second-channel video data in the decoded second-channel media stream data into continuous video frames, and output them to the second window on the display according to a certain frame rate.
  • the decoding module compresses the second video data in RGB format into YUV data and then sends it to the browser function module.
  • the decoding module compresses the second video data in RGB format into YUV data and sends it to the browser function module, which specifically includes: after the decoding module converts the second video data in RGB format into YUV data , And then encapsulate the three groups of Y, U, and V data in the YUV data to obtain virtual YV12 data, and send the virtual YV12 data to the browser.
  • the display device can obtain two channels of media stream data from the server through the browser function module, and the demultiplexing module demultiplexes the two channels of media stream data into video data and audio data; the decoding module demultiplexes the data after demultiplexing.
  • the media stream data is decoded to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream data including at least the second channel of video data;
  • the playback module will decode the The first channel of video data in the first channel of media stream data is output to the first window on the display, and the first channel of audio data is output to the audio output interface;
  • the browser function module will decode the second channel of video data Rendered as a continuous video frame, and output to the second window on the display according to a certain frame rate.
  • the first channel of media stream data can be played through the playback module in the display device; on the other hand, the video frame can be rendered frame by frame based on the browser's own rendering function, so as to realize the playback of the second channel of media stream data; In this way, the function of dual-channel media stream data playback on the display device is realized.
  • the second video data in RGB format can be compressed into YUV data and then sent to the browser function module, so that the efficiency of data transmission and data processing can be improved, and the video playback can be made smoother.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present application provides a media stream data playback method, comprising: acquiring first media stream data comprising first video data and first audio data, as well as second media stream data comprising at least second video data; outputting the first video data to a first window on a display and outputting the first audio data to an audio output interface; rendering the second video data into continuous video frames and outputting same to a second window on the display according to a particular frame rate.

Description

媒体流数据播放方法及设备Media stream data playback method and equipment
本申请要求在2019年12月3日提交中国专利局、申请号为201911222288.6、发明名称为“一种双路媒体流数据的播放方法及显示设备”,的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911222288.6, and the invention title is "A method and display device for playing dual-channel media stream data" on December 3, 2019, and its entire content Incorporated in this application by reference.
技术领域Technical field
本申请涉及显示技术领域,尤其涉及一种双路媒体流数据播放方法及显示设备。This application relates to the field of display technology, and in particular to a two-channel media stream data playback method and display device.
背景技术Background technique
随着网络技术的普及,显示设备不仅可以用来播放TV信号,还可以用来播放网络信号。随着用户需求的增加,显示设备需要支持双路媒体流数据的播放,如何使之实现已成为一个函需解决的问题。With the popularization of network technology, display devices can be used not only to play TV signals, but also to play network signals. As user needs increase, display devices need to support the playback of dual-channel media stream data. How to achieve this has become a problem that needs to be solved.
发明内容Summary of the invention
有鉴于此,本申请提供一种双路媒体流数据的播放方法及显示设备,用以实现双路媒体流数据的播放,提高用户体验。In view of this, the present application provides a dual-channel media stream data playback method and display device, which are used to implement dual-channel media stream data playback and improve user experience.
具体地,本申请是通过如下技术方案实现的:Specifically, this application is implemented through the following technical solutions:
第一方面,本申请提供一种显示设备,包括:In the first aspect, this application provides a display device, including:
显示器;monitor;
音频输出接口;Audio output interface;
浏览器功能模块,由控制器控制,用于获取两路媒体流数据;Browser function module, controlled by the controller, used to obtain two channels of media stream data;
解复用模块,由所述控制器控制,用于将所述浏览器功能模块获取的媒体流数据解复用为视频数据和音频数据;A demultiplexing module, controlled by the controller, for demultiplexing the media stream data acquired by the browser function module into video data and audio data;
解码模块,用于将解复用后的媒体流数据进行解码,以得到包括第一路视频数据和第一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据;The decoding module is used to decode the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel including at least the second channel of video data Media stream data;
播放模块,由所述控制器控制,用于将解码后的第一路媒体流数据中的第一路视频数据输出至所述显示器上的第一窗口,以及将第一路音频数据输出至所述音频输出接口;The playback module, controlled by the controller, is used to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to all The audio output interface;
浏览器功能模块,由所述控制器控制,还用于将解码后的第二路媒体流数据中的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至所述显示器上的第二窗口。The browser function module, controlled by the controller, is also used to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the display according to a certain frame rate The second window.
第二方面,本申请还提供一种双路媒体流数据的播放方法,所述方法应用于显示设备,该方法包括:In the second aspect, the present application also provides a method for playing dual-channel media stream data. The method is applied to a display device, and the method includes:
控制器控制浏览器功能模块获取两路媒体流数据;The controller controls the browser function module to obtain two channels of media stream data;
控制解复用模块将所述浏览器功能模块获取的两路媒体流数据解复用为视频数据和音频数据;Controlling the demultiplexing module to demultiplex the two media stream data acquired by the browser function module into video data and audio data;
由解码模块将解复用后的媒体流数据进行解码,以得到包括第一路视频数据和第一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据;The decoding module decodes the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream including at least the second channel of video data data;
控制器控制播放模块将解码后的第一路媒体流数据中的第一路视频数据输出至所述显示器上的第一窗口,以及将第一路音频数据输出至所述音频输出接口;The controller controls the playback module to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to the audio output interface;
控制器控制浏览器功能模块将解码后的第二路媒体流数据中的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至所述显示器上的第二窗口。The controller controls the browser function module to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the second window on the display according to a certain frame rate.
附图说明Description of the drawings
图1A中示例性示出了显示设备与控制装置之间操作场景的示意图;FIG. 1A exemplarily shows a schematic diagram of an operation scene between a display device and a control device;
图1B中示例性示出了图1A中控制装置100的配置框图;FIG. 1B exemplarily shows a configuration block diagram of the control device 100 in FIG. 1A;
图1C中示例性示出了图1A中显示设备200的配置框图;FIG. 1C exemplarily shows a configuration block diagram of the display device 200 in FIG. 1A;
图1D中示例性示出了显示设备200存储器中操作系统的架构配置框图;FIG. 1D exemplarily shows a block diagram of the architecture configuration of the operating system in the memory of the display device 200;
图1E中示例性示出了显示器中双路媒体流数据播放的示意图;Fig. 1E exemplarily shows a schematic diagram of dual-channel media stream data playback in the display;
图2-1、2-2中示例性示出了第二视频数据压缩的流程图;Figures 2-1 and 2-2 exemplarily show a flow chart of the second video data compression;
图3中示例性示出了渲染的流程图;Fig. 3 exemplarily shows a flow chart of rendering;
图4中示例性示出了双路视频播放方法的交互流程图;Fig. 4 exemplarily shows an interactive flowchart of a two-channel video playback method;
图5中示例性示出了双路视频播放方法的流程图。Fig. 5 exemplarily shows a flowchart of a two-channel video playback method.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信 息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to determination".
图1A中示例性示出了显示设备与控制装置之间操作场景的示意图。如图1A所示,控制装置100和显示设备200之间可以有线或无线方式进行通信。FIG. 1A exemplarily shows a schematic diagram of an operation scene between the display device and the control device. As shown in FIG. 1A, the control device 100 and the display device 200 can communicate in a wired or wireless manner.
其中,控制装置100被配置为控制显示设备200,其可接收用户输入的操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起着用户与显示设备200之间交互的中介作用。如:用户通过操作控制装置100上频道加减键,显示设备200响应频道加减的操作。Among them, the control device 100 is configured to control the display device 200, which can receive operation instructions input by the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and act as an intermediary for the interaction between the user and the display device 200 effect. For example, the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operations.
控制装置100可以是遥控器100A,包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等输入用户指令,来控制显示设备200。如:用户可以通过遥控器上音量加减键、频道控制键、上/下/左/右的移动按键、语音输入按键、菜单键、开关机按键等输入相应控制指令,来实现控制显示设备200的功能。The control device 100 may be a remote controller 100A, including infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, etc., to control the display device 200 in a wireless or other wired manner. The user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, etc. For example, the user can control the display device 200 by inputting corresponding control commands through the volume plus and minus keys, channel control keys, up/down/left/right movement keys, voice input keys, menu keys, and power on/off keys on the remote control. Function.
控制装置100也可以是智能设备,如移动终端100B、平板电脑、计算机、笔记本电脑等。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,通过直观的用户界面(UI)为用户提供各种控制。The control device 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a computer, a notebook computer, and the like. For example, an application program running on a smart device is used to control the display device 200. The application can be configured to provide users with various controls through an intuitive user interface (UI) on the screen associated with the smart device.
示例性的,移动终端100B可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。如:可以使 移动终端100B与显示设备200建立控制指令协议,通过操作移动终端100B上提供的用户界面的各种功能键或虚拟按钮,来实现如遥控器100A布置的实体按键的功能。也可以将移动终端100B上显示的音视频内容传输到显示设备200上,实现同步显示功能。Exemplarily, the mobile terminal 100B may install a software application with the display device 200, realize connection communication through a network communication protocol, and realize the purpose of one-to-one control operation and data communication. For example, the mobile terminal 100B can establish a control instruction protocol with the display device 200, and realize the functions of the physical keys arranged in the remote control 100A by operating various function keys or virtual buttons of the user interface provided on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B can also be transmitted to the display device 200 to realize the synchronous display function.
显示设备200可提供广播接收功能和计算机支持功能的网络电视功能。显示设备可以实施为,数字电视、网络电视、互联网协议电视(IPTV)等。The display device 200 may provide a broadcast receiving function and a network TV function of a computer support function. The display device can be implemented as digital TV, Internet TV, Internet Protocol TV (IPTV), and so on.
显示设备200,可以是液晶显示器、有机发光显示器、投影设备。具体显示设备类型、尺寸大小和分辨率等不作限定。The display device 200 may be a liquid crystal display, an organic light emitting display, or a projection device. The specific display device type, size and resolution are not limited.
显示设备200还与服务器300通过多种通信方式进行数据通信。这里可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器300可以向显示设备200提供各种内容和互动。示例的,显示设备200可以发送和接收信息,例如:接收电子节目指南(EPG)数据、接收软件程序更新、或访问远程储存的数字媒体库。服务器300可以一组,也可以多组,可以一类或多类服务器。通过服务器300提供视频点播和广告服务等其他网络服务内容。The display device 200 also performs data communication with the server 300 through a variety of communication methods. Here, the display device 200 may be allowed to communicate through a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 300 may provide various contents and interactions to the display device 200. For example, the display device 200 can send and receive information, such as receiving electronic program guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library. The server 300 can be one group or multiple groups, and can be one type or multiple types of servers. The server 300 provides other network service content such as video-on-demand and advertising services.
图1B中示例性示出了控制装置100的配置框图。如图1B所示,控制装置100包括控制器110、存储器120、通信器130、用户输入接口140、输出接口150、供电电源160。FIG. 1B exemplarily shows a configuration block diagram of the control device 100. As shown in FIG. 1B, the control device 100 includes a controller 110, a memory 120, a communicator 130, a user input interface 140, an output interface 150, and a power supply 160.
控制器110包括随机存取存储器(RAM)111、只读存储器(ROM)112、处理器113、通信接口以及通信总线。控制器110用于控制控制装置100的运行和操作,以及内部各部件之间的通信协作、外部和内部的数据处理功能。The controller 110 includes a random access memory (RAM) 111, a read only memory (ROM) 112, a processor 113, a communication interface, and a communication bus. The controller 110 is used to control the operation and operation of the control device 100, as well as the communication and cooperation between internal components, and external and internal data processing functions.
示例性的,当检测到用户按压在遥控器100A上布置的按键的交互或触摸在 遥控器100A上布置的触摸面板的交互时,控制器110可控制产生与检测到的交互相应的信号,并将该信号发送到显示设备200。Exemplarily, when an interaction of a user pressing a button arranged on the remote control 100A or an interaction of touching a touch panel arranged on the remote control 100A is detected, the controller 110 may control to generate a signal corresponding to the detected interaction, and This signal is sent to the display device 200.
存储器120,用于在控制器110的控制下存储驱动和控制控制装置100的各种运行程序、数据和应用。存储器120,可以存储用户输入的各类控制信号指令。The memory 120 is used to store various operating programs, data, and applications for driving and controlling the control device 100 under the control of the controller 110. The memory 120 can store various control signal instructions input by the user.
通信器130在控制器110的控制下,实现与显示设备200之间控制信号和数据信号的通信。如:控制装置100经由通信器130将控制信号(例如触摸信号或按钮信号)发送至显示设备200上,控制装置100可经由通信器130接收由显示设备200发送的信号。通信器130可以包括红外信号接口131和射频信号接口132。例如:红外信号接口时,需要将用户输入指令按照红外控制协议转化为红外控制信号,经红外发送模块进行发送至显示设备200。再如:射频信号接口时,需将用户输入指令转化为数字信号,然后按照射频控制信号调制协议进行调制后,由射频发送端子发送至显示设备200。The communicator 130 realizes the communication of control signals and data signals with the display device 200 under the control of the controller 110. For example, the control device 100 sends a control signal (such as a touch signal or a button signal) to the display device 200 via the communicator 130, and the control device 100 can receive the signal sent by the display device 200 via the communicator 130. The communicator 130 may include an infrared signal interface 131 and a radio frequency signal interface 132. For example, in the case of an infrared signal interface, the user input instruction needs to be converted into an infrared control signal according to the infrared control protocol, and sent to the display device 200 via the infrared sending module. For another example, in the case of a radio frequency signal interface, a user input instruction needs to be converted into a digital signal, which is then modulated according to the radio frequency control signal modulation protocol, and then sent to the display device 200 by the radio frequency sending terminal.
用户输入接口140,可包括麦克风141、触摸板142、传感器143、按键144等中至少一者,从而用户可以通过语音、触摸、手势、按压等将关于控制显示设备200的用户指令输入到控制装置100。The user input interface 140 may include at least one of a microphone 141, a touch panel 142, a sensor 143, a button 144, etc., so that the user can input user instructions for controlling the display device 200 to the control device through voice, touch, gesture, pressing, etc. 100.
输出接口150,通过将用户输入接口140接收的用户指令输出至显示设备200,或者,输出由显示设备200接收的图像或语音信号。这里,输出接口150可以包括LED接口151、产生振动的振动接口152、输出声音的声音输出接口153和输出图像的显示器154等。例如,遥控器100A可从输出接口150接收音频、视频或数据等输出信号,并且将输出信号在显示器154上显示为图像形式、在声音输出接口153输出为音频形式或在振动接口152输出为振动形式。The output interface 150 outputs a user instruction received by the user input interface 140 to the display device 200, or outputs an image or voice signal received by the display device 200. Here, the output interface 150 may include an LED interface 151, a vibration interface 152 that generates vibration, a sound output interface 153 that outputs a sound, a display 154 that outputs an image, and the like. For example, the remote controller 100A can receive output signals such as audio, video, or data from the output interface 150, and display the output signals as images on the display 154, as audio on the sound output interface 153, or as vibration on the vibration interface 152. form.
供电电源160,用于在控制器110的控制下为控制装置100各元件提供运行电力支持。形式可以为电池及相关控制电路。The power supply 160 is used to provide operating power support for each element of the control device 100 under the control of the controller 110. The form can be battery and related control circuit.
图1C中示例性示出了显示设备200的硬件配置框图。如图1C所示,显示设备200中可以包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、存储器260、用户接口265、视频处理器270、显示器275、音频处理器280、音频输出接口285、供电电源290。FIG. 1C exemplarily shows a block diagram of the hardware configuration of the display device 200. As shown in FIG. 1C, the display device 200 may include a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, Audio processor 280, audio output interface 285, and power supply 290.
调谐解调器210,通过有线或无线方式接收广播电视信号,可以进行放大、混频和谐振等调制解调处理,用于从多个无线或有线广播电视信号中解调出用户所选择的电视频道的频率中所携带的音视频信号,以及附加信息(例如EPG数据)。The tuner and demodulator 210, which receives broadcast television signals through wired or wireless means, can perform modulation and demodulation processing such as amplification, mixing and resonance, and is used to demodulate the television selected by the user from multiple wireless or cable broadcast television signals The audio and video signals carried in the frequency of the channel, as well as additional information (such as EPG data).
调谐解调器210,可根据用户选择,以及由控制器250控制,响应用户选择的电视频道的频率以及该频率所携带的电视信号。The tuner and demodulator 210 can be selected by the user and controlled by the controller 250 to respond to the frequency of the television channel selected by the user and the television signal carried by the frequency.
调谐解调器210,根据电视信号的广播制式不同,可以接收信号的途径有很多种,诸如:地面广播、有线广播、卫星广播或互联网广播等;以及根据调制类型不同,可以数字调制方式或模拟调制方式;以及根据接收电视信号的种类不同,可以解调模拟信号和数字信号。The tuner and demodulator 210 can receive signals in many ways according to different broadcasting formats of TV signals, such as terrestrial broadcasting, cable broadcasting, satellite broadcasting or Internet broadcasting; and according to different modulation types, it can be digital modulation or analog Modulation method; and according to different types of received TV signals, analog signals and digital signals can be demodulated.
在其他一些示例性实施例中,调谐解调器210也可在外部设备中,如外部机顶盒等。这样,机顶盒通过调制解调后输出电视信号,经过外部装置接口240输入至显示设备200中。In some other exemplary embodiments, the tuner demodulator 210 may also be in an external device, such as an external set-top box. In this way, the set-top box outputs a TV signal after modulation and demodulation, and is input to the display device 200 through the external device interface 240.
通信器220,是用于根据各种通信协议类型与外部设备或外部服务器进行通信的组件。例如显示设备200可将内容数据发送至经由通信器220连接的外部设备,或者,从经由通信器220连接的外部设备浏览和下载内容数据。通信器 220可以包括WIFI模块221、蓝牙通信协议模块222、有线以太网通信协议模块223等网络通信协议模块或近场通信协议模块,从而通信器220可根据控制器250的控制接收控制装置100的控制信号,并将控制信号实现为WIFI信号、蓝牙信号、射频信号等。The communicator 220 is a component used to communicate with external devices or external servers according to various types of communication protocols. For example, the display device 200 may transmit content data to an external device connected via the communicator 220, or browse and download content data from an external device connected via the communicator 220. The communicator 220 may include a network communication protocol module such as a WIFI module 221, a Bluetooth communication protocol module 222, and a wired Ethernet communication protocol module 223 or a near field communication protocol module, so that the communicator 220 can receive the control device 100 according to the control of the controller 250 Control signals, and implement the control signals as WIFI signals, Bluetooth signals, radio frequency signals, etc.
检测器230,是显示设备200用于采集外部环境或与外部交互的信号的组件。检测器230可以包括声音采集器231,如麦克风,可以用于接收用户的声音,如用户控制显示设备200的控制指令的语音信号;或者,可以采集用于识别环境场景类型的环境声音,实现显示设备200可以自适应环境噪声。The detector 230 is a component of the display device 200 for collecting signals from the external environment or interacting with the outside. The detector 230 may include a sound collector 231, such as a microphone, which may be used to receive a user's voice, such as a voice signal of a control instruction for the user to control the display device 200; or, it may collect environmental sounds used to identify the type of environmental scene to realize display The device 200 can adapt to environmental noise.
在其他一些示例性实施例中,检测器230,还可以包括图像采集器232,如相机、摄像头等,可以用于采集外部环境场景,以自适应变化显示设备200的显示参数;以及用于采集用户的属性或与用户交互手势,以实现显示设备与用户之间互动的功能。In some other exemplary embodiments, the detector 230 may also include an image collector 232, such as a camera, a camera, etc., which may be used to collect external environment scenes to adaptively change the display parameters of the display device 200; and to collect The attributes of the user or interactive gestures with the user to achieve the function of interaction between the display device and the user.
在其他一些示例性实施例中,检测器230,还可以包括光接收器,用于采集环境光线强度,以自适应显示设备200的显示参数变化等。In some other exemplary embodiments, the detector 230 may further include a light receiver, which is used to collect the ambient light intensity to adapt to changes in display parameters of the display device 200 and so on.
在其他一些示例性实施例中,检测器230,还可以包括温度传感器,如通过感测环境温度,显示设备200可自适应调整图像的显示色温。示例性的,当温度偏高的环境时,可调整显示设备200显示图像色温偏冷色调;当温度偏低的环境时,可以调整显示设备200显示图像色温偏暖色调。In some other exemplary embodiments, the detector 230 may also include a temperature sensor. For example, by sensing the ambient temperature, the display device 200 may adaptively adjust the display color temperature of the image. Exemplarily, when the temperature is relatively high, the display device 200 can be adjusted to display an image with a cooler color temperature; when the temperature is relatively low, the display device 200 can be adjusted to display an image with a warmer color temperature.
外部装置接口240,是提供控制器250控制显示设备200与外部设备间数据传输的组件。外部装置接口240可按照有线/无线方式与诸如机顶盒、游戏装置、笔记本电脑等外部设备连接,可接收外部设备的诸如视频信号(例如运动图像)、音频信号(例如音乐)、附加信息(例如EPG)等数据。The external device interface 240 is a component that provides the controller 250 to control data transmission between the display device 200 and external devices. The external device interface 240 can be connected to external devices such as set-top boxes, game devices, notebook computers, etc. in a wired/wireless manner, and can receive external devices such as video signals (such as moving images), audio signals (such as music), and additional information (such as EPG). ) And other data.
其中,外部装置接口240可以包括:高清多媒体接口(HDMI)端子241、复合视频消隐同步(CVBS)端子242、模拟或数字分量端子243、通用串行总线(USB)端子244、组件(Component)端子(图中未示出)、红绿蓝(RGB)端子(图中未示出)等任一个或多个。Among them, the external device interface 240 may include: a high-definition multimedia interface (HDMI) terminal 241, a composite video blanking synchronization (CVBS) terminal 242, an analog or digital component terminal 243, a universal serial bus (USB) terminal 244, and a component (Component) Any one or more of terminals (not shown in the figure), red, green and blue (RGB) terminals (not shown in the figure), etc.
控制器250,通过运行存储在存储器260上的各种软件控制程序(如操作系统和各种应用程序),来控制显示设备200的工作和响应用户的操作。The controller 250 controls the work of the display device 200 and responds to user operations by running various software control programs (such as an operating system and various application programs) stored on the memory 260.
如图1C所示,控制器250包括随机存取存储器(RAM)251、只读存储器(ROM)252、图形处理器253、CPU处理器254、通信接口255、以及通信总线256。其中,RAM251、ROM252以及图形处理器253、CPU处理器254通信接口255通过通信总线256相连接。As shown in FIG. 1C, the controller 250 includes a random access memory (RAM) 251, a read only memory (ROM) 252, a graphics processor 253, a CPU processor 254, a communication interface 255, and a communication bus 256. Among them, the RAM 251, the ROM 252, the graphics processor 253, and the CPU processor 254 communication interface 255 are connected via a communication bus 256.
ROM252,用于存储各种系统启动指令。如在接收到开机信号时,显示设备200电源开始启动,CPU处理器254运行ROM252中的系统启动指令,将存储在存储器260的操作系统拷贝至RAM251中,以开始运行启动操作系统。当操作系统启动完成后,CPU处理器254再将存储器260中各种应用程序拷贝至RAM251中,然后,开始运行启动各种应用程序。ROM252, used to store various system startup instructions. For example, when the power-on signal is received, the power of the display device 200 starts to start, and the CPU processor 254 runs the system start-up instruction in the ROM 252, and copies the operating system stored in the memory 260 to the RAM 251 to start running the start-up operating system. After the operating system is started up, the CPU processor 254 copies various application programs in the memory 260 to the RAM 251, and then starts to run and start various application programs.
图形处理器253,用于产生各种图形对象,如图标、操作菜单、以及用户输入指令显示图形等。图形处理器253可以包括运算器,用于通过接收用户输入各种交互指令进行运算,进而根据显示属性显示各种对象;以及包括渲染器,用于产生基于运算器得到的各种对象,将进行渲染的结果显示在显示器275上。The graphics processor 253 is used to generate various graphics objects, such as icons, operation menus, and user input instructions to display graphics. The graphics processor 253 may include an arithmetic unit, which is used to perform operations by receiving various interactive instructions input by the user, and then display various objects according to the display attributes; and includes a renderer, which is used to generate various objects obtained based on the arithmetic unit, and perform operations. The rendered result is displayed on the display 275.
CPU处理器254,用于执行存储在存储器260中的操作系统和应用程序指令。以及根据接收的用户输入指令,来执行各种应用程序、数据和内容的处理,以便最终显示和播放各种音视频内容。The CPU processor 254 is configured to execute operating system and application program instructions stored in the memory 260. And according to the received user input instructions, to execute various applications, data and content processing, so as to finally display and play various audio and video content.
在一些示例性实施例中,CPU处理器254,可以包括多个处理器。多个处理器可包括一个主处理器以及多个或一个子处理器。主处理器,用于在显示设备预加载模式中执行显示设备200的一些初始化操作,和/或,在正常模式下显示画面的操作。多个或一个子处理器,用于执行在显示设备待机模式等状态下的一种操作。In some exemplary embodiments, the CPU processor 254 may include multiple processors. The multiple processors may include a main processor and multiple or one sub-processors. The main processor is configured to perform some initialization operations of the display device 200 in the display device preloading mode, and/or, to display screen operations in the normal mode. Multiple or one sub-processor, used to perform an operation in the standby mode of the display device.
通信接口255,可包括第一接口到第n接口。这些接口可以是经由网络被连接到外部设备的网络接口。The communication interface 255 may include the first interface to the nth interface. These interfaces may be network interfaces connected to external devices via a network.
控制器250可以控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器275上显示的GUI对象的用户输入命令,控制器250便可以执行与由用户输入命令选择的对象有关的操作。The controller 250 may control the overall operation of the display device 200. For example, in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user input command.
其中,该对象可以是可选对象中的任何一个,例如超链接或图标。该与所选择的对象有关的操作,例如显示连接到超链接页面、文档、图像等操作,或者执行与对象相对应的程序的操作。该用于选择GUI对象的用户输入命令,可以是通过连接到显示设备200的各种输入装置(例如,鼠标、键盘、触摸板等)输入命令或者与由用户说出语音相对应的语音命令。Among them, the object can be any one of the selectable objects, such as a hyperlink or an icon. The operation related to the selected object, for example, the operation of displaying the page, document, image, etc. connected to the hyperlink, or the operation of executing the program corresponding to the object. The user input command for selecting the GUI object may be a command input through various input devices (for example, a mouse, a keyboard, a touch pad, etc.) connected to the display device 200 or a voice command corresponding to a voice spoken by the user.
存储器260,用于存储驱动和控制显示设备200运行的各种类型的数据、软件程序或应用程序。存储器260可以包括易失性和/或非易失性存储器。而术语“存储器”包括存储器260、控制器250的RAM251和ROM252、或显示设备200中的存储卡。The memory 260 is used to store various types of data, software programs or application programs for driving and controlling the operation of the display device 200. The memory 260 may include volatile and/or non-volatile memory. The term “memory” includes the memory 260, the RAM 251 and ROM 252 of the controller 250, or the memory card in the display device 200.
在一些实施例中,存储器260具体用于存储驱动显示设备200中控制器250的运行程序;存储显示设备200内置的和用户从外部设备下载的各种应用程序;存储用于配置由显示器275提供的各种GUI、与GUI相关的各种对象及用于选 择GUI对象的选择器的视觉效果图像等数据。In some embodiments, the memory 260 is specifically used to store the operating program that drives the controller 250 in the display device 200; to store various application programs built in the display device 200 and downloaded from an external device by the user; and to store the configuration provided by the display 275 Data such as various GUIs, various objects related to the GUI, and visual effect images of the selector used to select GUI objects.
在一些实施例中,存储器260具体用于存储调谐解调器210、通信器220、检测器230、外部装置接口240、视频处理器270、显示器275、音频处理器280等的驱动程序和相关数据,例如从外部装置接口接收的外部数据(例如音视频数据)或用户接口接收的用户数据(例如按键信息、语音信息、触摸信息等)。In some embodiments, the memory 260 is specifically used to store drivers and related data of the tuner and demodulator 210, the communicator 220, the detector 230, the external device interface 240, the video processor 270, the display 275, the audio processor 280, etc. For example, external data (such as audio and video data) received from an external device interface or user data (such as key information, voice information, touch information, etc.) received from a user interface.
在一些实施例中,存储器260具体存储用于表示操作系统(OS)的软件和/或程序,这些软件和/或程序可包括,例如:内核、中间件、应用编程接口(API)和/或应用程序。示例性的,内核可控制或管理系统资源,以及其它程序所实施的功能(如所述中间件、API或应用程序);同时,内核可以提供接口,以允许中间件、API或应用程序访问控制器,以实现控制或管理系统资源。In some embodiments, the memory 260 specifically stores software and/or programs for representing an operating system (OS). These software and/or programs may include, for example, a kernel, middleware, application programming interface (API), and/or application. Exemplarily, the kernel can control or manage system resources and functions implemented by other programs (such as the middleware, API, or application program); at the same time, the kernel can provide interfaces to allow middleware, API, or application program access control To control or manage system resources.
图1D中示例性示出了显示设备200存储器中操作系统的架构配置框图。该操作系统架构从上到下依次是应用层、中间件层和内核层。FIG. 1D exemplarily shows a block diagram of the architecture configuration of the operating system in the memory of the display device 200. The operating system architecture consists of the application layer, the middleware layer, and the kernel layer from top to bottom.
应用层,系统内置的应用程序以及非系统级的应用程序都是属于应用层。负责与用户进行直接交互。应用层可包括多个应用程序,如设置应用程序、电子帖应用程序、媒体中心应用程序等。这些应用程序可被实现为Web应用,其基于WebKit引擎来执行,具体可基于HTML5、层叠样式表(CSS)和JavaScript来开发并执行,通常为显示设备中的浏览器功能模块来控制操作或执行。Application layer, system built-in applications and non-system-level applications belong to the application layer. Responsible for direct interaction with users. The application layer can include multiple applications, such as settings applications, e-post applications, media center applications, and so on. These applications can be implemented as web applications, which are executed based on the WebKit engine, and can be developed and executed based on HTML5, Cascading Style Sheets (CSS) and JavaScript, usually the browser function module in the display device to control the operation or execution .
这里,HTML,全称为超文本标记语言(HyperText Markup Language),是一种用于创建网页的标准标记语言,通过标记标签来描述网页,HTML标签用以说明文字、图形、动画、声音、表格、链接等,浏览器会读取HTML文档,解释文档内标签的内容,并以网页的形式显示出来。Here, HTML, the full name of HyperText Markup Language (HyperText Markup Language), is a standard markup language used to create web pages. Web pages are described through markup tags. HTML tags are used to describe text, graphics, animations, sounds, tables, For links, the browser will read the HTML document, explain the content of the tags in the document, and display it in the form of a web page.
CSS,全称为层叠样式表(Cascading Style Sheets),是一种用来表现 HTML文件样式的计算机语言,可以用来定义样式结构,如字体、颜色、位置等的语言。CSS样式可以直接存储与HTML网页或者单独的样式文件中,实现对网页中样式的控制。CSS, the full name of Cascading Style Sheets (Cascading Style Sheets), is a computer language used to express the style of HTML files, and can be used to define style structures, such as fonts, colors, and positions. CSS styles can be directly stored in HTML web pages or in separate style files to achieve control over styles in web pages.
JavaScript,是一种应用于Web网页编程的语言,可以插入HTML页面并由浏览器解释执行。其中Web应用的交互逻辑都是通过JavaScript实现。JavaScript可以通过浏览器,封装JavaScript扩展接口,实现与内核层的通信,JavaScript is a language used in web page programming, which can be inserted into HTML pages and interpreted and executed by the browser. The interaction logic of the web application is implemented through JavaScript. JavaScript can encapsulate the JavaScript extension interface through the browser to realize the communication with the kernel layer,
中间件层,可以提供一些标准化的接口,以支持各种环境和系统的操作。例如,中间件层可以实现为与数据广播相关的中间件的多媒体和超媒体信息编码专家组(MHEG),还可以实现为与外部设备通信相关的中间件的DLNA中间件,还可以实现为提供显示设备内各应用程序所运行的浏览器环境的中间件等。The middleware layer can provide some standardized interfaces to support the operation of various environments and systems. For example, the middleware layer can be implemented as the Multimedia and Hypermedia Information Coding Expert Group (MHEG) of the middleware related to data broadcasting, and can also be implemented as the DLNA middleware of the middleware related to external device communication, and can also be implemented as providing Display the middleware of the browser environment in which each application in the device runs.
内核层,提供核心系统服务,例如:文件管理、内存管理、进程管理、网络管理、系统安全权限管理等服务。内核层可以被实现为基于各种操作系统的内核,例如,基于Linux操作系统的内核。The kernel layer provides core system services, such as file management, memory management, process management, network management, system security authority management and other services. The kernel layer can be implemented as a kernel based on various operating systems, for example, a kernel based on the Linux operating system.
内核层也同时提供系统软件和硬件之间的通信,为各种硬件提供设备驱动服务,例如:为显示器提供显示驱动程序、为摄像头提供摄像头驱动程序、为遥控器提供按键驱动程序、为WIFI模块提供WiFi驱动程序、为音频输出接口提供音频驱动程序、为电源管理(PM)模块提供电源管理驱动等。The kernel layer also provides communication between system software and hardware, and provides device driver services for various hardware, such as: providing display drivers for displays, camera drivers for cameras, button drivers for remote controls, and WIFI modules Provide WiFi driver, audio driver for audio output interface, power management driver for power management (PM) module, etc.
用户接口265,接收各种用户交互。具体的,用于将用户的输入信号发送给控制器250,或者,将从控制器250的输出信号传送给用户。示例性的,遥控器100A可将用户输入的诸如电源开关信号、频道选择信号、音量调节信号等输入信号发送至用户接口265,再由用户接口265转送至控制器250;或者,遥控器100A可接收经控制器250处理从用户接口265输出的音频、视频或数据 等输出信号,并且显示接收的输出信号或将接收的输出信号输出为音频或振动形式。The user interface 265 receives various user interactions. Specifically, it is used to send the input signal of the user to the controller 250, or to transmit the output signal from the controller 250 to the user. Exemplarily, the remote control 100A may send input signals input by the user, such as a power switch signal, a channel selection signal, and a volume adjustment signal, to the user interface 265, and then the user interface 265 transfers to the controller 250; or the remote control 100A may Receive output signals such as audio, video, or data output from the user interface 265 after the controller 250 processes, and display the received output signal or output the received output signal as audio or vibration.
在一些实施例中,用户可在显示器275上显示的图形用户界面(GUI)输入用户命令,则用户接口265通过GUI接收用户输入命令。确切的说,用户接口265可接收用于控制选择器在GUI中的位置以选择不同的对象或项目的用户输入命令。In some embodiments, the user may input a user command on a graphical user interface (GUI) displayed on the display 275, and the user interface 265 receives the user input command through the GUI. Specifically, the user interface 265 may receive user input commands for controlling the position of the selector in the GUI to select different objects or items.
或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户接口265通过传感器识别出声音或手势,来接收用户输入命令。视频处理器270,用于接收外部的视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等视频数据处理,可得到直接在显示器275上显示或播放的视频信号。Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user interface 265 recognizes the sound or gesture through the sensor to receive the user input command. The video processor 270 is used to receive external video signals, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal. The video signal displayed or played directly on the display 275.
示例的,视频处理器270,包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等。For example, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.
其中,解复用模块,用于对输入音视频数据流进行解复用处理,如输入MPEG-2流(基于数字存储媒体运动图像和语音的压缩标准),则解复用模块将其进行解复用成视频信号和音频信号等。Among them, the demultiplexing module is used to demultiplex the input audio and video data stream, such as the input MPEG-2 stream (based on the compression standard of digital storage media moving images and voice), then the demultiplexing module will demultiplex it Multiplexed into video signals and audio signals, etc.
视频解码模块,用于对解复用后的视频信号进行处理,包括解码和缩放处理等。The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。An image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator with the zoomed video image according to the user input or itself, so as to generate an image signal for display.
帧率转换模块,用于对输入视频的帧率进行转换,如将输入的60Hz视频的 帧率转换为120Hz或240Hz的帧率,通常的格式采用如插帧方式实现。The frame rate conversion module is used to convert the frame rate of the input video, such as converting the frame rate of the input 60Hz video to a frame rate of 120Hz or 240Hz, and the usual format is realized by such as frame interpolation.
显示格式化模块,用于将帧率转换模块输出的信号,改变为符合诸如显示器显示格式的信号,如将帧率转换模块输出的信号进行格式转换以输出RGB数据信号。The display formatting module is used to change the signal output by the frame rate conversion module to a signal conforming to the display format such as a display, for example, format the signal output by the frame rate conversion module to output RGB data signals.
显示器275,用于接收源自视频处理器270输入的图像信号,进行显示视频内容、图像以及菜单操控界面。显示视频内容,可以来自调谐解调器210接收的广播信号中的视频内容,也可以来自通信器220或外部装置接口240输入的视频内容。显示器275,同时显示显示设备200中产生且用于控制显示设备200的用户操控界面UI。The display 275 is used to receive the image signal input from the video processor 270 to display video content, images, and a menu control interface. The displayed video content can be from the video content in the broadcast signal received by the tuner and demodulator 210, or from the video content input by the communicator 220 or the external device interface 240. The display 275 simultaneously displays a user manipulation interface UI generated in the display device 200 and used to control the display device 200.
以及,显示器275可以包括用于呈现画面的显示屏组件以及驱动图像显示的驱动组件。或者,倘若显示器275为一种投影显示器,还可以包括一种投影装置和投影屏幕。And, the display 275 may include a display screen component for presenting a picture and a driving component for driving image display. Alternatively, if the display 275 is a projection display, it may also include a projection device and a projection screen.
音频处理器280,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等音频数据处理,得到可以在扬声器286中播放的音频信号。The audio processor 280 is used to receive external audio signals, and perform decompression and decoding according to the standard codec protocol of the input signal, as well as audio data processing such as noise reduction, digital-to-analog conversion, and amplification processing, so that the audio data can be processed in the speaker 286 The audio signal to be played.
示例性的,音频处理器280可以支持各种音频格式。例如MPEG-2、MPEG-4、高级音频编码(AAC)、高效AAC(HE-AAC)等格式。Exemplarily, the audio processor 280 may support various audio formats. Such as MPEG-2, MPEG-4, Advanced Audio Coding (AAC), High Efficiency AAC (HE-AAC) and other formats.
音频输出接口285,用于在控制器250的控制下接收音频处理器280输出的音频信号,音频输出接口285可包括扬声器286,或输出至外接设备的发生装置的外接音响输出端子287,如耳机输出端子。The audio output interface 285 is used to receive the audio signal output by the audio processor 280 under the control of the controller 250. The audio output interface 285 may include a speaker 286, or output to an external audio output terminal 287 of a generator of an external device, such as a headset Output terminal.
在其他一些示例性实施例中,视频处理器270可以包括一个或多个芯片组成。音频处理器280,也可以包括一个或多个芯片组成。In some other exemplary embodiments, the video processor 270 may include one or more chips. The audio processor 280 may also include one or more chips.
以及,在其他一些示例性实施例中,视频处理器270和音频处理器280,可以为单独的芯片,也可以与控制器250一起集成在一个或多个芯片中。And, in some other exemplary embodiments, the video processor 270 and the audio processor 280 may be separate chips, or may be integrated with the controller 250 in one or more chips.
供电电源290,用于在控制器250的控制下,将外部电源输入的电力为显示设备200提供电源供电支持。供电电源290可以是安装在显示设备200内部的内置电源电路,也可以是安装在显示设备200外部的电源。The power supply 290 is used to provide power supply support for the display device 200 with power input from an external power supply under the control of the controller 250. The power supply 290 may be a built-in power supply circuit installed inside the display device 200, or may be a power supply installed outside the display device 200.
结合图1B中的显示设备来说,本申请的显示设备在实现双路视频播放时,该显示设备中的部分组件具体执行如下操作:With reference to the display device in FIG. 1B, when the display device of the present application realizes dual-channel video playback, some components in the display device specifically perform the following operations:
显示器,用于显示播放画面。The monitor is used to display the playback screen.
音频输出接口,用于输出音频数据;Audio output interface, used to output audio data;
浏览器功能模块,由控制器控制,用于从服务器获取两路媒体流数据;Browser function module, controlled by the controller, used to obtain two channels of media stream data from the server;
解复用模块,由所述控制器控制,用于将所述浏览器功能模块获取的媒体流数据解复用为视频数据和音频数据;A demultiplexing module, controlled by the controller, for demultiplexing the media stream data acquired by the browser function module into video data and audio data;
解码模块,用于将解复用后的媒体流数据进行解码,以得到包括第一路视频数据和第一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据;The decoding module is used to decode the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel including at least the second channel of video data Media stream data;
播放模块,由所述控制器控制,用于将解码后的第一路媒体流数据中的第一路视频数据输出至所述显示器上的第一窗口,以及将第一路音频数据输出至所述音频输出接口;The playback module, controlled by the controller, is used to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to all The audio output interface;
浏览器功能模块,由所述控制器控制,还用于将解码后的第二路媒体流数据中的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至所述显示器上的第二窗口。The browser function module, controlled by the controller, is also used to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the display according to a certain frame rate The second window.
示例性的,如图1E所示,显示器中全屏播放一路媒体流数据,例如一综艺 节目;在显示器左上角的窗口内播放另一路媒体流数据,例如广告视频。这样在不影响用户观看综艺节目的同时,还能向用户提供广告信息,以提高用户体验。Exemplarily, as shown in FIG. 1E, one channel of media stream data, such as a variety show, is played in full screen on the display; another channel of media stream data, such as an advertisement video, is played in the window at the upper left corner of the display. In this way, while not affecting users to watch variety shows, it can also provide users with advertising information to improve user experience.
在一个实施例中,所述控制器,具体可以用于控制解码模块将RGB格式的第二视频数据压缩成YUV数据之后发送到所述浏览器功能模块。具体来讲,媒体流数据经过解码模块处理得到的第二视频数据,该第二视频数据是RGB数据,一般来说视频图像采用的都是RGB模式,RGB实际上就是红绿蓝三原色的组合。通常情况下,每个像素点可由3bit的RGB数据集构成。比如,对于4×2图片来说,RGB数据存储方式如下:In an embodiment, the controller may specifically be used to control the decoding module to compress the second video data in RGB format into YUV data and then send it to the browser function module. Specifically, the media stream data is processed by the decoding module to obtain the second video data. The second video data is RGB data. Generally speaking, the video image adopts the RGB mode. RGB is actually a combination of the three primary colors of red, green and blue. Under normal circumstances, each pixel can be composed of a 3bit RGB data set. For example, for 4×2 pictures, the RGB data storage method is as follows:
R1R2R3R4R5R6R7R8G1G2G3G4G5G6G7G8B1B2B3B4B5B6B7B8;R1R2R3R4R5R6R7R8G1G2G3G4G5G6G7G8B1B2B3B4B5B6B7B8;
为了提升处理性能,进一步对数据存储空间的压缩,可以将RGB数据格式转换成YUV数据格式,其中Y用于表示亮度,也就是灰度值,而U和V表示的是色度,作用是描述影像的色彩及饱和度,用于指定像素的颜色。以YUV420的数据格式为例,其中4个Y共用一组UV分量。对于4×2的图片来说,YUV420的数据格式的存储方式包括如下两种形式:In order to improve the processing performance and further compress the data storage space, the RGB data format can be converted into the YUV data format, where Y is used to represent the brightness, that is, the gray value, while U and V represent the chromaticity, and the role is to describe The color and saturation of the image are used to specify the color of the pixel. Take the data format of YUV420 as an example, where 4 Ys share a set of UV components. For 4×2 pictures, the storage method of YUV420 data format includes the following two forms:
NV12数据格式:NV12 data format:
Y1Y2Y3Y4Y5Y6Y7Y8U1V1U2V2;Y1Y2Y3Y4Y5Y6Y7Y8U1V1U2V2;
YV12数据格式:YV12 data format:
Y1Y2Y3Y4Y5Y6Y7Y8U1U2V1V2;Y1Y2Y3Y4Y5Y6Y7Y8U1U2V1V2;
通过上述RGB数据格式和YUV数据格式对比发现,由于YUV数据通过共用UV的方式可以节省一半的内存存储空间,因此在本实施例中可以通过将RGB数据转换成YUV数据进而实现数据压缩的目的。Through the comparison of the above RGB data format and YUV data format, it is found that since YUV data can save half of the memory storage space by sharing UV, in this embodiment, RGB data can be converted into YUV data to achieve the purpose of data compression.
其中,将RGB数据压缩成YUV数据的方法有两种:Among them, there are two ways to compress RGB data into YUV data:
第一种是,控制器可以控制解码模块将所述RGB格式的第二视频数据转换成YUV数据后,再将YUV数据中的Y、U、V三组数据排序成预设格式的第三视频数据,将所述第三视频数据发送至所述浏览器功能模块。所述预设格式为NV12格式或YV12格式。The first is that the controller can control the decoding module to convert the second video data in the RGB format into YUV data, and then sort the three groups of Y, U, and V data in the YUV data into a third video in a preset format. Data, sending the third video data to the browser function module. The preset format is NV12 format or YV12 format.
例如图2-1所示,解码模块可以将H264格式的媒体流数据通过硬件解码得到RGB数据,假设该RGB数据为4×2像素,则该RGB数据可以表示为:For example, as shown in Figure 2-1, the decoding module can decode H264 format media stream data through hardware to obtain RGB data. Assuming that the RGB data is 4×2 pixels, the RGB data can be expressed as:
R1R2R3R4R5R6R7R8G1G2G3G4G5G6G7G8B1B2B3B4B5B6B7B8;R1R2R3R4R5R6R7R8G1G2G3G4G5G6G7G8B1B2B3B4B5B6B7B8;
将该RGB数据经过转换算法转换成YUV数据,具体为:The RGB data is converted into YUV data through a conversion algorithm, specifically:
Y:Y1Y2Y3Y4Y5Y6Y7Y8;Y: Y1Y2Y3Y4Y5Y6Y7Y8;
U:U1U2;U: U1U2;
V:V1V2;V: V1V2;
经过编码(此处以NV12为例)后,得到NV12数据,即:After encoding (here, NV12 is taken as an example), NV12 data is obtained, namely:
Y1Y2Y3Y4Y5Y6Y7Y8U1V1U2V2。Y1Y2Y3Y4Y5Y6Y7Y8U1V1U2V2.
该NV12数据为最终输入到浏览器功能模块的第二视频数据。The NV12 data is the second video data that is finally input to the browser function module.
第二种是,所述控制器还可以控制解码模块将所述RGB格式的第二视频数据转换成YUV数据后,再将YUV数据中的Y、U、V三组数据分别封装得到虚拟YV12数据,将所述虚拟YV12数据发送至所述浏览器功能模块。The second is that the controller can also control the decoding module to convert the second video data in the RGB format into YUV data, and then encapsulate the three groups of Y, U, and V data in the YUV data to obtain virtual YV12 data. , Sending the virtual YV12 data to the browser function module.
例如图2-2所示,解码模块可以将H264格式的媒体流数据通过硬件解码得到RGB数据,假设该RGB数据为4×2像素,则该RGB数据可以表示为:For example, as shown in Figure 2-2, the decoding module can decode H264 format media stream data through hardware to obtain RGB data. Assuming that the RGB data is 4×2 pixels, the RGB data can be expressed as:
R1R2R3R4R5R6R7R8G1G2G3G4G5G6G7G8B1B2B3B4B5B6B7B8;R1R2R3R4R5R6R7R8G1G2G3G4G5G6G7G8B1B2B3B4B5B6B7B8;
将该RGB数据经过转换算法转换成YUV数据,具体为:The RGB data is converted into YUV data through a conversion algorithm, specifically:
Y:Y1Y2Y3Y4Y5Y6Y7Y8;Y: Y1Y2Y3Y4Y5Y6Y7Y8;
U:U1U2;U: U1U2;
V:V1V2;V: V1V2;
将该YUV数据直接封装,得到虚拟YV12数据,即:The YUV data is directly encapsulated to obtain the virtual YV12 data, namely:
Y:Y1Y2Y3Y4Y5Y6Y7Y8;Y: Y1Y2Y3Y4Y5Y6Y7Y8;
U:U1U2;U: U1U2;
V:V1V2。V: V1V2.
该虚拟YV12数据为最终输入到浏览器功能模块的第二视频数据。The virtual YV12 data is the second video data finally input to the browser function module.
由于上述第一种方法中,需要将YUV数据中的Y、U、V三组数据排序成预设格式(如NV12)的视频数据;而上述第二种方法中,可以根据YV12数据中的U和V数据没有交叉排列的特点,直接对U、V数据进行单独存储,因此当RGB数据解码得到YUV数据之后,不用根据NV12或YV12的格式进行YUV排序处理,而是根据YUV数据中的Y、U、V三组数据分别封装得到虚拟YV12数据,从而将所述虚拟YV12数据发送至所述浏览器功能模块。因此第二种方法相比于第一种方法减少了数据排序的过程,进一步对此编解码过程进行了优化。Because in the first method above, the three groups of Y, U, and V data in the YUV data need to be sorted into video data in a preset format (such as NV12); and in the second method above, you can use the U in the YV12 data The U and V data are directly stored separately. Therefore, after the RGB data is decoded to obtain the YUV data, it is not necessary to perform the YUV sort processing according to the format of NV12 or YV12, but according to the Y, V data in the YUV data. The U and V three sets of data are respectively encapsulated to obtain virtual YV12 data, so that the virtual YV12 data is sent to the browser function module. Therefore, the second method reduces the data sorting process compared with the first method, and further optimizes the encoding and decoding process.
在一个实施例中,所述浏览器功能模块,具体用于通过OPENGL对YUV格式的所述第二视频数据进行渲染得到连续的视频帧图像。所述浏览器功能模块,可以针对每一帧YUV格式的第二视频数据,将第二视频数据封装成指定数据包,获取在显示器的显示屏幕中所述第二窗口的位置坐标,根据所述第二窗口的位置坐标确定第二视频数据中的每一个像素点的位置坐标,将所述指定数据包中的数据基于像素点的位置坐标填充到所述第二窗口中,通过显示器在显 示屏幕上的所述第二窗口中显示第二视频数据对应视频帧图像。In one embodiment, the browser function module is specifically configured to render the second video data in the YUV format through OPENGL to obtain continuous video frame images. The browser function module can encapsulate the second video data into a designated data packet for each frame of the second video data in the YUV format, and obtain the position coordinates of the second window on the display screen of the display, according to the The position coordinates of the second window determine the position coordinates of each pixel in the second video data, the data in the specified data packet is filled into the second window based on the position coordinates of the pixel, and the display is displayed on the screen through the display. The video frame image corresponding to the second video data is displayed in the second window above.
具体实施方式可以如图3所示,首先在流程A阶段,浏览器功能模块会通过解析HTML和CSS构建一棵渲染树RenderTree,渲染树中的数据节点决定显示器中视频播放窗口(即第二窗口)的位置和大小,该位置和大小都通过坐标表示。然后在流程B阶段,浏览器功能模块可以将第二视频数据封装成指定数据包,例如DecodeTarget数据,通过打包Box和布局Layout确认每一个像素点的位置坐标,然后将DecodeTarget数据中的每个像素点根据其位置坐标填充到第二窗口所在的显示区域中,从而使第二窗口中显示视频帧图像。The specific implementation mode can be shown in Figure 3. First, in the process A stage, the browser function module will construct a RenderTree by parsing HTML and CSS. The data nodes in the rendering tree determine the video playback window in the display (ie, the second window). ) Position and size, the position and size are expressed by coordinates. Then in the B stage of the process, the browser function module can encapsulate the second video data into a specified data package, such as DecodeTarget data, confirm the position coordinates of each pixel by packaging Box and layout Layout, and then convert each pixel in the DecodeTarget data The point is filled into the display area where the second window is located according to its position coordinates, so that the video frame image is displayed in the second window.
图4中示例性示出了双路视频播放方法的交互流程,其中,控制器可以控制浏览器功能模块从服务器获取两路媒体流数据,如图4中的步骤①所示,然后控制解复用模块将所述浏览器功能模块获取的两路媒体流数据解复用为视频数据和音频数据。在本实施例中,主要关注视频数据的处理过程,音频数据的处理过程可以参考相关技术的操作,例如将音频数据转发到音频输出接口进行音频播放。Figure 4 exemplarily shows the interactive process of the dual-channel video playback method, where the controller can control the browser function module to obtain two-channel media stream data from the server, as shown in step ① in Figure 4, and then control the de-multiplexing A module is used to demultiplex the two-channel media stream data obtained by the browser function module into video data and audio data. In this embodiment, the main focus is on the processing of video data, and the processing of audio data can refer to operations of related technologies, such as forwarding audio data to an audio output interface for audio playback.
由解码模块将解复用后的媒体流数据进行解码,如图4中的步骤②所示,以得到第一路视频数据和第二路视频数据。控制器控制视频播放模块将解码后的第一路媒体流数据中的第一路视频数据输出至所述显示器上的第一窗口。The decoding module decodes the demultiplexed media stream data, as shown in step ② in Figure 4, to obtain the first channel of video data and the second channel of video data. The controller controls the video playing module to output the first channel of video data in the decoded first channel of media stream data to the first window on the display.
控制器控制解码模块将RGB格式的第二视频数据压缩为YUV格式的第二视频数据,如图4中的步骤③所示。The controller controls the decoding module to compress the second video data in the RGB format into the second video data in the YUV format, as shown in step ③ in FIG. 4.
控制器控制浏览器功能模块针对每一帧YUV数据,先将YUV数据封装成指定数据包,如图4中箭头④所示,其中,该指定数据包可以为DecodeTarget数据包。The controller controls the browser function module to first encapsulate the YUV data into a specified data packet for each frame of YUV data, as shown by arrow ④ in Figure 4, where the specified data packet can be a DecodeTarget data packet.
然后浏览器功能模块可以获取所述第二窗口在显示屏幕中的位置坐标,根据所述第二窗口的位置坐标确定视频图像中每一个像素点的位置坐标,将所述指定数据包中的数据基于像素点的位置坐标填充到所述第二窗口中,这一过程为视频图像的渲染过程,如图4中箭头⑤所示。Then the browser function module can obtain the position coordinates of the second window on the display screen, determine the position coordinates of each pixel in the video image according to the position coordinates of the second window, and combine the data in the specified data packet The position coordinates based on the pixel are filled into the second window. This process is the rendering process of the video image, as shown by the arrow ⑤ in FIG. 4.
渲染后的视频帧图像可以从GPU的内存发送到显示器的内存中,从而可以通过显示器在显示屏幕上的所述第二窗口显示第二视频数据对应的视频帧图像。如图4中箭头⑥所示。由于浏览器对于每一帧第二视频数据都是进行如上操作,从而可以在第二窗口中显示所述连续的视频帧图像。The rendered video frame image can be sent from the memory of the GPU to the memory of the display, so that the video frame image corresponding to the second video data can be displayed through the second window on the display screen of the display. As shown by the arrow ⑥ in Figure 4. Since the browser performs the above operation for each frame of second video data, the continuous video frame images can be displayed in the second window.
一些实施方式中,如果控制器(如芯片)具备强大的双路播放的能力,例如具有双路解码模块以支持双路视频解码、具有双路播放模块(如控制器提供的播放器)以支持双路视频播放,那么可以实现双路视频播放功能。但是一些实施方式中,如果控制器(如芯片)不具有双路视频播放功能,例如仅具有一路解码模块或者仅具有一路播放模块,那么一方面可以基于该一路播放模块实现视频播放,另一方面可以基于浏览器自身的渲染功能,实现对视频帧的逐帧渲染,从而达到视频播放的效果,以此来实现显示设备上的双路视频播放的功能。In some embodiments, if the controller (such as a chip) has a powerful dual-channel playback capability, for example, it has a dual-channel decoding module to support dual-channel video decoding, and a dual-channel playback module (such as a player provided by the controller) to support Dual-channel video playback, then the dual-channel video playback function can be realized. However, in some embodiments, if the controller (such as a chip) does not have a dual-channel video playback function, for example, it has only one decoding module or only one playback module, on the one hand, video playback can be realized based on the one-channel playback module, and on the other hand, Based on the rendering function of the browser itself, the video frame can be rendered frame by frame, so as to achieve the effect of video playback, so as to realize the function of dual-channel video playback on the display device.
在一些实施例中,本申请的视频处理器将RGB格式的第二视频数据压缩成YUV数据之后发送到浏览器,从而可以提高数据传输效率以及数据处理,从而使视频播放更加顺畅。In some embodiments, the video processor of the present application compresses the second video data in RGB format into YUV data and sends it to the browser, thereby improving data transmission efficiency and data processing, thereby making video playback smoother.
图5示例性示出了双路视频播放方法的流程图。Fig. 5 exemplarily shows a flowchart of a two-channel video playback method.
结合上述显示设备结构,在显示设备上进行双路视频播放的方法包括以下步骤501~步骤505:In combination with the above-mentioned display device structure, the method for dual-channel video playback on the display device includes the following steps 501 to 505:
步骤501:控制器控制浏览器功能模块从服务器获取两路媒体流数据。Step 501: The controller controls the browser function module to obtain two channels of media stream data from the server.
步骤502:控制解复用模块将所述浏览器功能模块获取的两路媒体流数据解复用为视频数据和音频数据。Step 502: Control the demultiplexing module to demultiplex the two channels of media stream data acquired by the browser function module into video data and audio data.
步骤503:由解码模块将解复用后的媒体流数据进行解码,以得到包括第一路视频数据和第一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据。Step 503: The decoding module decodes the demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream data including at least the second channel of video data. Road media stream data.
步骤504:控制器控制播放模块将解码后的第一路媒体流数据中的第一路视频数据输出至所述显示器上的第一窗口,以及将第一路音频数据输出至所述音频输出接口。Step 504: The controller controls the playback module to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to the audio output interface .
步骤505、控制器控制浏览器功能模块将解码后的第二路媒体流数据中的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至所述显示器上的第二窗口。Step 505: The controller controls the browser function module to render the second-channel video data in the decoded second-channel media stream data into continuous video frames, and output them to the second window on the display according to a certain frame rate.
在一个实施例中,解码模块将RGB格式的第二视频数据压缩成YUV数据之后发送到所述浏览器功能模块。In one embodiment, the decoding module compresses the second video data in RGB format into YUV data and then sends it to the browser function module.
在一个实施例中,解码模块将RGB格式的第二视频数据压缩成YUV数据之后发送到所述浏览器功能模块,具体包括:解码模块将所述RGB格式的第二视频数据转换成YUV数据后,再将YUV数据中的Y、U、V三组数据分别封装得到虚拟YV12数据,将所述虚拟YV12数据发送至所述浏览器。In an embodiment, the decoding module compresses the second video data in RGB format into YUV data and sends it to the browser function module, which specifically includes: after the decoding module converts the second video data in RGB format into YUV data , And then encapsulate the three groups of Y, U, and V data in the YUV data to obtain virtual YV12 data, and send the virtual YV12 data to the browser.
关于在显示设备上进行双路视频播放的方法的具体实施例可以参考上述显示设备中各个模块处理的实施例,此处不再赘述。For the specific embodiment of the method for dual-channel video playback on the display device, reference may be made to the embodiment of the processing of each module in the display device, which will not be repeated here.
在上述实施例中,显示设备可以通过浏览器功能模块从服务器获取两路媒体流数据,解复用模块将两路媒体流数据解复用为视频数据和音频数据;解码 模块将解复用后的媒体流数据进行解码,以得到包括第一路视频数据和第一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据;播放模块将解码后的第一路媒体流数据中的第一路视频数据输出至显示器上的第一窗口,以及将第一路音频数据输出至所述音频输出接口;浏览器功能模块将解码后的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至显示器上的第二窗口。In the above embodiment, the display device can obtain two channels of media stream data from the server through the browser function module, and the demultiplexing module demultiplexes the two channels of media stream data into video data and audio data; the decoding module demultiplexes the data after demultiplexing. The media stream data is decoded to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream data including at least the second channel of video data; the playback module will decode the The first channel of video data in the first channel of media stream data is output to the first window on the display, and the first channel of audio data is output to the audio output interface; the browser function module will decode the second channel of video data Rendered as a continuous video frame, and output to the second window on the display according to a certain frame rate.
由于一方面可以通过显示设备中的播放模块播放第一路媒体流数据;另一方面可以基于浏览器自身的渲染功能,实现对视频帧的逐帧渲染,从而实现播放第二路媒体流数据;以此来实现显示设备上的双路媒体流数据播放的功能。On the one hand, the first channel of media stream data can be played through the playback module in the display device; on the other hand, the video frame can be rendered frame by frame based on the browser's own rendering function, so as to realize the playback of the second channel of media stream data; In this way, the function of dual-channel media stream data playback on the display device is realized.
在一些实施例中,本申请中可以控制将RGB格式的第二视频数据压缩成YUV数据之后发送到浏览器功能模块,从而可以提高数据传输以及数据处理的效率,从而使视频播放更加顺畅。In some embodiments, in this application, the second video data in RGB format can be compressed into YUV data and then sent to the browser function module, so that the efficiency of data transmission and data processing can be improved, and the video playback can be made smoother.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (11)

  1. 一种显示设备,其特征在于,包括:A display device, characterized in that it comprises:
    显示器;monitor;
    音频输出接口;Audio output interface;
    控制器,用于控制浏览器功能模块、解复用模块、解码模块和播放模块;其中,所述浏览器功能模块用于获取两路媒体流数据;The controller is used to control the browser function module, the demultiplexing module, the decoding module and the playback module; wherein the browser function module is used to obtain two channels of media stream data;
    解复用模块,用于将所述浏览器功能模块获取的两路媒体流数据分别解复用为视频数据和音频数据;The demultiplexing module is used to demultiplex the two channels of media stream data obtained by the browser function module into video data and audio data respectively;
    解码模块,用于将两路解复用后的媒体流数据分别进行解码,以得到包括第一路视频数据和第一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据;The decoding module is used to decode the two channels of demultiplexed media stream data respectively to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and at least the second channel of video data. The second media stream data;
    播放模块,用于将解码后的第一路媒体流数据中的第一路视频数据输出至所述显示器上的第一窗口,以及将第一路音频数据输出至所述音频输出接口;A playback module, configured to output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to the audio output interface;
    浏览器功能模块,还用于将解码后的第二路媒体流数据中的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至所述显示器上的第二窗口。The browser function module is also used to render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output to the second window on the display according to a certain frame rate.
  2. 如权利要求1所述的显示设备,其特征在于,所述浏览器功能模块,具体用于:The display device according to claim 1, wherein the browser function module is specifically used for:
    通过OPENGL对YUV格式的所述第二视频数据进行渲染得到连续的视频帧图像。The second video data in the YUV format is rendered through OPENGL to obtain continuous video frame images.
  3. 如权利要求2所述的显示设备,其特征在于,所述浏览器功能模块,具体用于:The display device according to claim 2, wherein the browser function module is specifically used for:
    针对每一帧YUV格式的第二视频数据,将第二视频数据封装成指定数据包;For each frame of second video data in YUV format, encapsulate the second video data into a specified data packet;
    获取在显示器的显示屏幕中所述第二窗口的位置坐标;Acquiring the position coordinates of the second window on the display screen of the display;
    根据所述第二窗口的位置坐标确定第二视频数据中的每一个像素点的位置坐标;Determine the position coordinates of each pixel in the second video data according to the position coordinates of the second window;
    将所述指定数据包中的数据基于像素点的位置坐标填充到所述第二窗口中,通过显示器在所述第二窗口中显示第二视频数据对应视频帧图像。The data in the designated data packet is filled into the second window based on the position coordinates of the pixel, and the video frame image corresponding to the second video data is displayed in the second window through a display.
  4. 如权利要求1所述的显示设备,其特征在于,所述控制器,用于:The display device of claim 1, wherein the controller is configured to:
    控制将RGB格式的第二视频数据压缩成YUV数据之后发送到所述浏览器功能模块。Control the second video data in RGB format to be compressed into YUV data and then sent to the browser function module.
  5. 根据权利要求4所述的显示设备,其特征在于,所述控制器,还用于:The display device according to claim 4, wherein the controller is further configured to:
    控制将所述RGB格式的第二视频数据转换成YUV数据后,再将YUV数据中的Y、U、V三组数据排序成预设格式的第三视频数据,将所述第三视频数据发送至所述浏览器功能模块。After controlling the conversion of the second video data in the RGB format into YUV data, the three groups of Y, U, and V data in the YUV data are sorted into third video data in a preset format, and the third video data is sent To the browser function module.
  6. 根据权利要求5所述的显示设备,其特征在于,The display device according to claim 5, wherein:
    所述预设格式为NV12格式或YV12格式。The preset format is NV12 format or YV12 format.
  7. 根据权利要求4所述的显示设备,其特征在于,所述控制器,还用于:The display device according to claim 4, wherein the controller is further configured to:
    控制将所述RGB格式的第二视频数据转换成YUV数据后,再将YUV数据中的Y、U、V三组数据分别封装得到虚拟YV12数据,将所述虚拟YV12数据发送至所述浏览器功能模块。After controlling the conversion of the second video data in the RGB format into YUV data, the three groups of Y, U, and V data in the YUV data are respectively encapsulated to obtain virtual YV12 data, and the virtual YV12 data is sent to the browser functional module.
  8. 一种显示设备中双路媒体流数据的播放方法,其特征在于,该方法包括:A method for playing dual-channel media stream data in a display device, characterized in that the method includes:
    获取两路媒体流数据;Obtain two channels of media stream data;
    将获取的两路媒体流数据解复用为视频数据和音频数据;Demultiplex the acquired two-channel media stream data into video data and audio data;
    将两路解复用后的媒体流数据进行解码,以得到包括第一路视频数据和第 一路音频数据的第一路媒体流数据、至少包括第二路视频数据的第二路媒体流数据;Decode the two channels of demultiplexed media stream data to obtain the first channel of media stream data including the first channel of video data and the first channel of audio data, and the second channel of media stream data including at least the second channel of video data ;
    将解码后的第一路媒体流数据中的第一路视频数据输出至显示器上的第一窗口,以及将第一路音频数据输出至音频输出接口;Output the first channel of video data in the decoded first channel of media stream data to the first window on the display, and output the first channel of audio data to the audio output interface;
    将解码后的第二路媒体流数据中的第二路视频数据渲染为连续的视频帧,并按照一定帧率输出至显示器上的第二窗口。Render the second channel of video data in the decoded second channel of media stream data into continuous video frames, and output them to the second window on the display according to a certain frame rate.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    将RGB格式的第二视频数据压缩成YUV数据。Compress the second video data in RGB format into YUV data.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    将所述RGB格式的第二视频数据转换成YUV数据后,再将YUV数据中的Y、U、V三组数据排序成预设格式的排序后的第二视频数据,或者,分别封装得到虚拟YV12数据,以供后续渲染。After the second video data in the RGB format is converted into YUV data, the three groups of Y, U, and V data in the YUV data are sorted into the sorted second video data in a preset format, or the virtual data is encapsulated separately. YV12 data for subsequent rendering.
  11. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    针对每一帧YUV格式的第二视频数据,将第二视频数据封装成指定数据包;For each frame of second video data in YUV format, encapsulate the second video data into a specified data packet;
    获取在显示器的显示屏幕中所述第二窗口的位置坐标;Acquiring the position coordinates of the second window on the display screen of the display;
    根据所述第二窗口的位置坐标确定第二视频数据中的每一个像素点的位置坐标;Determine the position coordinates of each pixel in the second video data according to the position coordinates of the second window;
    将所述指定数据包中的数据基于像素点的位置坐标填充到所述第二窗口中,通过显示器在所述第二窗口中显示第二视频数据对应视频帧图像。The data in the designated data packet is filled into the second window based on the position coordinates of the pixel, and the video frame image corresponding to the second video data is displayed in the second window through a display.
PCT/CN2020/079175 2019-12-03 2020-03-13 Media stream data playback method and device WO2021109354A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911222288.6 2019-12-03
CN201911222288.6A CN111107428A (en) 2019-12-03 2019-12-03 Method for playing two-way media stream data and display equipment

Publications (1)

Publication Number Publication Date
WO2021109354A1 true WO2021109354A1 (en) 2021-06-10

Family

ID=70420914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079175 WO2021109354A1 (en) 2019-12-03 2020-03-13 Media stream data playback method and device

Country Status (2)

Country Link
CN (1) CN111107428A (en)
WO (1) WO2021109354A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601158B (en) * 2020-05-14 2021-11-02 青岛海信传媒网络技术有限公司 Method for optimizing audio track cutting of streaming media pipeline and display equipment
CN111757176B (en) * 2020-06-11 2021-11-30 青岛海信传媒网络技术有限公司 Streaming media file safe playing method and display equipment
CN112911371B (en) * 2021-01-29 2023-05-05 Vidaa美国公司 Dual-channel video resource playing method and display equipment
CN113038221B (en) * 2021-03-02 2023-02-28 Vidaa(荷兰)国际控股有限公司 Double-channel video playing method and display equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021370A1 (en) * 1994-06-28 2002-02-21 Nguyen Julien T. Method and apparatus for automatic calibration of analog video chromakey mixer
US20120092450A1 (en) * 2010-10-18 2012-04-19 Silicon Image, Inc. Combining video data streams of differing dimensionality for concurrent display
CN105491435A (en) * 2014-10-01 2016-04-13 索尼公司 Sign language window using picture-in-picture
CN105491436A (en) * 2014-10-01 2016-04-13 索尼公司 Selective sign language location
CN105916002A (en) * 2016-02-05 2016-08-31 四川长虹电器股份有限公司 Player multi-window displaying system and method of realizing hard and soft decoding switching
CN106604097A (en) * 2016-12-07 2017-04-26 广东威创视讯科技股份有限公司 Method and system for transmitting multipath video signals

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724472B (en) * 2012-06-20 2015-07-08 杭州海康威视数字技术股份有限公司 Method and system for image data format conversion in image processing
WO2014080508A1 (en) * 2012-11-26 2014-05-30 日立マクセル株式会社 Network terminal system, display device, terminal device, information processing method in display device, and program
JP6369043B2 (en) * 2013-03-15 2018-08-08 株式会社リコー Delivery control system, delivery system, delivery control method, and program
CN104079597B (en) * 2013-03-26 2018-08-21 华为终端有限公司 The transfer method and user equipment of Media Stream
CN106095241B (en) * 2016-06-14 2019-07-02 武汉深之度科技有限公司 The window display method of Web application a kind of, device and calculate equipment
CN106210703B (en) * 2016-09-08 2018-06-08 北京美吉克科技发展有限公司 The utilization of VR environment bust shot camera lenses and display methods and system
CN106331850B (en) * 2016-09-18 2020-01-24 上海幻电信息科技有限公司 Browser live broadcast client, browser live broadcast system and browser live broadcast method
KR102130429B1 (en) * 2016-11-07 2020-07-07 한화테크윈 주식회사 Method and device for decoding multimedia file
CN106973320A (en) * 2017-04-18 2017-07-21 深圳创维-Rgb电子有限公司 A kind of multi-path flash demo method, system and intelligent television
CN109547838B (en) * 2018-12-06 2021-06-01 青岛海信传媒网络技术有限公司 Video window processing method and device
CN110519628A (en) * 2019-09-20 2019-11-29 青岛海信移动通信技术股份有限公司 A kind of picture-in-picture display methods and display equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021370A1 (en) * 1994-06-28 2002-02-21 Nguyen Julien T. Method and apparatus for automatic calibration of analog video chromakey mixer
US20120092450A1 (en) * 2010-10-18 2012-04-19 Silicon Image, Inc. Combining video data streams of differing dimensionality for concurrent display
CN105491435A (en) * 2014-10-01 2016-04-13 索尼公司 Sign language window using picture-in-picture
CN105491436A (en) * 2014-10-01 2016-04-13 索尼公司 Selective sign language location
CN105916002A (en) * 2016-02-05 2016-08-31 四川长虹电器股份有限公司 Player multi-window displaying system and method of realizing hard and soft decoding switching
CN106604097A (en) * 2016-12-07 2017-04-26 广东威创视讯科技股份有限公司 Method and system for transmitting multipath video signals

Also Published As

Publication number Publication date
CN111107428A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
WO2021109487A1 (en) Control method for audio data stream output and display device
WO2021109491A1 (en) Method for displaying epg user interface, and display device
CN111698551B (en) Content display method and display equipment
WO2021109354A1 (en) Media stream data playback method and device
CN114073098B (en) Streaming media synchronization method and display device
CN111601142B (en) Subtitle display method and display equipment
CN111343492B (en) Display method and display device of browser in different layers
WO2021189712A1 (en) Method for switching webpage video from full-screen playing to small-window playing, and display device
CN111654743B (en) Audio playing method and display device
WO2021189708A1 (en) Method for turning on screen protection for display device, and display device
CN111629249B (en) Method for playing startup picture and display device
CN111246309A (en) Method for displaying channel list in display device and display device
WO2021134998A1 (en) Function setting method and display device
WO2021109450A1 (en) Epg interface presentation method and display device
CN111093106B (en) Display device
CN111885415B (en) Audio data rapid output method and display device
CN111405329B (en) Display device and control method for EPG user interface display
CN113497906B (en) Volume adjusting method and device and terminal
CN111050197B (en) Display device
WO2021227232A1 (en) Method for displaying language options and country options, and display device
CN111343498B (en) Mute control method and device and smart television
WO2021253592A1 (en) Method for starting sports mode and display device
CN112040285A (en) Interface display method and display equipment
CN113407346B (en) Browser memory adjusting method and display device
CN111405332B (en) Display device and control method for EPG user interface display

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

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 24/10/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20895607

Country of ref document: EP

Kind code of ref document: A1