CN112449229B - Sound and picture synchronous processing method and display equipment - Google Patents

Sound and picture synchronous processing method and display equipment Download PDF

Info

Publication number
CN112449229B
CN112449229B CN201910832295.1A CN201910832295A CN112449229B CN 112449229 B CN112449229 B CN 112449229B CN 201910832295 A CN201910832295 A CN 201910832295A CN 112449229 B CN112449229 B CN 112449229B
Authority
CN
China
Prior art keywords
sound
chip
image quality
picture
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910832295.1A
Other languages
Chinese (zh)
Other versions
CN112449229A (en
Inventor
陈俊宁
李慧娟
初德进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201910832295.1A priority Critical patent/CN112449229B/en
Priority to PCT/CN2020/071103 priority patent/WO2021042655A1/en
Publication of CN112449229A publication Critical patent/CN112449229A/en
Application granted granted Critical
Publication of CN112449229B publication Critical patent/CN112449229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/439Processing of audio elementary 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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast

Landscapes

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

Abstract

The application discloses a sound and picture synchronous processing method and display equipment, wherein the display equipment comprises a first chip and a second chip, the first chip is provided with a first video processor, a first audio processor and a controller, and the second chip is provided with a second video processor and a second audio processor; the second video processor acquires second image quality processing time consumption, and the second audio processor acquires second audio processing time consumption; the first video processor acquires the time consumed by the first image quality processing; the first audio processor acquires the first sound processing time; and the controller calculates the sound and picture synchronization time difference according to the first picture quality processing time consumption, the second picture quality processing time consumption, the first sound processing time consumption and the second sound processing time consumption, judges whether the sound and picture synchronization time difference is within a threshold range, and if not, performs synchronous compensation on the video signal and the audio signal output by the second chip. The method and the device for displaying the video can achieve synchronization of sound and pictures, so that the video playing effect of the display device is improved, and especially the scheme can be applied to the social television.

Description

Sound and picture synchronous processing method and display equipment
Technical Field
The application relates to the technical field of display equipment, in particular to a sound and picture synchronous processing method and display equipment.
Background
Fig. 1 is a flowchart of a video processing process of a dual system display device, where the dual system includes a first chip (a chip) and a second chip (N chip), and the first chip and the second chip can communicate with each other through an Interface module, such as an HDMI (High Definition Multimedia Interface), a network Interface, and a USB (Universal Serial Bus). Decoding video signals such as a network chip source and a local media in an A chip to separate sound data and image data in a video, carrying out PQ (Picture-Quality) processing on the image data in the video by the A chip, carrying out sound processing on the sound data in the video, transmitting the processed image data and sound data to a second chip by a first chip through HDMI, receiving the data sent by the A chip by an N chip, carrying out PQ processing on the image data again, and outputting the processed image data to a display screen to display a video image; and carrying out sound processing on the sound data, and outputting the processed sound data to a loudspeaker to play video sound so as to finish playing the video sound picture.
Generally, the PQ processing step mainly includes brightness, contrast, chroma, hue, sharpness, image noise reduction, dynamic contrast, gamma, color temperature, white balance, color correction, brightness dynamic range, motion picture compensation, etc.; the sound processing steps mainly include sound noise reduction, AVC (Advanced Video Coding), dts (digital television system) sound, Dolby (Dolby Atmos) sound, GEQ (Graphic Equalizer) processing, and PEQ (Parametric Equalizer). However, when the dual-system display device performs the video playing process, the time consumption of the PQ process is greater than that of the sound process, and thus the time for the image data to reach the screen for display is longer than the playing time for the sound data to reach the speaker, resulting in a phenomenon that the sound and the picture are different in steps when the display device plays the video.
Disclosure of Invention
The application provides a sound and picture synchronous processing method and display equipment, which are used for solving the problem that sound and pictures are not synchronous when the existing double-system display equipment plays video.
In a first aspect, the present application provides a display device, including a display and a sound player, where the display is configured to display a video image, the sound player is configured to play a sound, the display device further includes a first chip and a second chip, the first chip and the second chip are in communication connection, the first chip is provided with a first video processor, a first audio processor and a controller, and the second chip is provided with a second video processor and a second audio processor;
the first video processor is used for receiving a video signal through an input interface, and performing image quality processing on the video signal to obtain first image quality processing time;
the first audio processor receives an audio signal through an input interface, performs sound processing on the audio signal, and obtains first sound processing time consumption;
the second video processor receives the video signal output by the first chip through a communication interface, and performs image quality processing on the video signal output by the first chip to obtain second image quality processing time consumption;
the second audio processor receives the audio signal output by the first chip through a communication interface, performs sound processing on the audio signal output by the first chip, and obtains second sound processing time consumption;
the controller is configured to:
calculating a sound-picture synchronization time difference according to the first image quality processing time consumption, the second image quality processing time consumption, the first sound processing time consumption and the second sound processing time consumption;
judging whether the sound and picture synchronization time difference is within a threshold range;
if the sound-picture synchronization time difference is not within the threshold range, performing synchronization compensation on the video signal and the audio signal output by the second chip, transmitting the video signal after the synchronization compensation to the display, and outputting the audio signal after the synchronization compensation to the sound player;
and if the sound-picture synchronization time difference is within a threshold value range, transmitting the video signal output by the second chip to the display, and outputting the audio signal output by the second chip to the sound player.
In a first possible implementation manner of the first aspect, the sound-picture synchronization time difference is calculated according to the following formula:
N=T1+T2-(T3+T4)
in the formula, N is a sound-picture synchronization time difference, T1 is the first image quality processing time consumption, T2 is the second image quality processing time consumption, T3 is the first sound processing time consumption, and T4 is the second sound processing time consumption.
In a second possible implementation manner of the first aspect,
in the video playing process, the first chip detects whether an image setting operation or a sound setting operation is received;
if the first chip receives an image setting operation or a sound setting operation, the first video processor reacquires the first image quality processing time consumption, the first audio processor reacquires the first sound processing time consumption, the second video processor reacquires the second image quality processing time consumption, and the second audio processor reacquires the second sound processing time consumption, so that the controller corrects the sound and picture synchronization time difference;
and the controller is also configured to synchronously compensate the video signal and the audio signal output by the second chip according to the corrected sound-picture synchronous time difference if the corrected sound-picture synchronous time difference is not within the threshold range.
In a third possible implementation manner of the first aspect,
in the video playing process, the first video processor acquires the consumed time of image quality processing at intervals of preset time, the first audio processor acquires the consumed time of first sound processing at intervals of preset time, the second video processor acquires the consumed time of second image quality processing at intervals of preset time, and the second audio processor acquires the consumed time of second sound processing at intervals of preset time, so that the controller corrects the sound and picture synchronization time difference;
the controller is also configured to perform synchronous compensation on the video signal and the audio signal output by the second chip according to the corrected sound-picture synchronous time difference if the corrected sound-picture synchronous time difference is not within the threshold range
In a fourth possible implementation manner of the first aspect, the first image quality processing time and the second image quality processing time are calculated according to the following formulas:
Figure BDA0002191101980000021
wherein T1 is the time consumed by the first image quality processing; t2 represents the time consumed by the second image quality processing; tn is the time consumption generated when each frame image is subjected to image quality processing of each link; td is a delay generated when each frame of image is subjected to image quality processing; f is the refresh frequency in Hz; r is a frame processing threshold value which is used for indicating to read the image data of the current frame and the R-1 frame after the current frame so as to complete the image quality processing of the current frame; and S is the frame number of video playing.
In a fifth possible implementation manner of the first aspect, the controller performs synchronous compensation on the video signal and the audio signal output by the second chip as follows:
if the sound-picture synchronization time difference is larger than the upper limit value of the threshold range, frame loss or audio delay is carried out so that the sound and the picture are adjusted and synchronized; wherein the upper limit value of the threshold range is a time when the image is allowed to appear more delayed than the sound.
In a sixth possible implementation manner of the first aspect, the controller performs synchronous compensation on the video signal and the audio signal output by the second chip as follows:
if the sound-picture synchronization time difference is smaller than the lower limit value of the threshold range, performing frame interpolation to enable the sound and the picture to be adjusted and synchronized; wherein the lower limit value of the threshold range is a time when the image is allowed to appear ahead of the sound.
In a seventh possible implementation manner of the first aspect, the performing frame dropping includes:
if a compensation mode for immediately synchronizing sound and picture is adopted, the number DZ of the immediately lost frames is f multiplied by N/1000; wherein f is a refresh frequency for representing the number of frames of image display per second; n is the sound and picture synchronous time difference, and the unit is millisecond;
if a compensation mode for adjusting the synchronization of the sound and the picture within a preset threshold time is adopted, calculating an interval frame number JZ1, JZ1 being Z/N, wherein Z is the threshold time; one frame of image is discarded per interval JZ1 frames.
In an eighth possible implementation manner of the first aspect, the frame interpolation includes:
if a compensation mode for immediately adjusting and synchronizing the sound and the picture is adopted, the number CZ of the immediate frame insertion is f x N/1000; wherein f is a refresh frequency for representing the number of frames of image display per second; the unit of | N | is the absolute value of the sound-picture synchronous time difference and is millisecond;
if a compensation mode that the sound and the picture are adjusted to be synchronous within a preset threshold time is adopted, calculating an interval frame number JZ2, JZ2 being Z/| N |, wherein Z is the threshold time; one frame of image is inserted every interval JZ2 frames.
In a second aspect, the present application further provides a sound and picture synchronization processing method, for a display device according to any one of the first to eighth possible implementation manners of the first aspect, where the method includes:
the first video processor is used for receiving a video signal through an input interface, and performing image quality processing on the video signal to acquire first image quality processing time;
the method comprises the steps that a first audio processor receives audio signals through an input interface and performs sound processing on the audio signals to obtain first sound processing time;
the second video processor receives the video signal output by the first chip through the communication interface, performs image quality processing on the video signal output by the first chip, and acquires second image quality processing time consumption;
the second audio processor receives the audio signal output by the first chip through a communication interface, performs sound processing on the audio signal output by the first chip, and obtains second sound processing time consumption;
the controller calculates the sound-picture synchronization time difference according to the first picture quality processing time consumption, the second picture quality processing time consumption, the first sound processing time consumption and the second sound processing time consumption;
the controller judges whether the sound-picture synchronous time difference is within a threshold range;
if the sound-picture synchronization time difference is not within the threshold range, the controller performs synchronous compensation on the video signal and the audio signal output by the second chip, transmits the video signal after synchronous compensation to the display and outputs the audio signal after synchronous compensation to the sound player;
and if the sound-picture synchronous time difference is within a threshold range, the controller transmits the video signal output by the second chip to the display and outputs the audio signal output by the second chip to the sound player.
The technical scheme that this application provided possesses following beneficial effect: aiming at the display equipment with a dual-system structure, video decoding is carried out on a first chip, after image data and sound data are separated, first image quality processing time consumption and first sound processing time consumption are obtained, second image quality processing time consumption and second sound processing time consumption are obtained, so that time consumption generated when two chips process sound effects and image quality respectively is accurately obtained, then a sound and picture synchronous time difference is calculated by utilizing the parameters, namely, a time difference value existing between images played by a display and sounds played by a sound playing device is calculated, if the sound and picture synchronous time difference is not within a threshold range, the sounds and the pictures are not played synchronously, according to the sound and picture synchronous time difference, whether the images are ahead of the sounds or behind the sounds can be determined, and therefore, the video signals and the audio signals output by the second chip are synchronously compensated in a targeted manner, the sound and picture synchronization is realized, so that the video playing effect of the display equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a dual system display device video processing;
fig. 2 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment of the present application;
fig. 3 is a block diagram of a hardware configuration of the control device 100 according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a hardware configuration of a display device 200 according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a hardware architecture of a display device 200 according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating a functional configuration of a display device 200 according to an embodiment of the present application;
fig. 7(a) is a schematic diagram illustrating a software configuration in the display device 200 according to an embodiment of the present application;
fig. 7(b) is a schematic configuration diagram of an application program in the display device 200 according to the embodiment of the present application;
FIG. 8 is a schematic diagram of a user interface in the display device 200 according to an embodiment of the present disclosure;
FIG. 9 is a flowchart of a method for processing audio and video synchronization according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a manner of acquiring frames during image quality processing according to an embodiment of the present application;
fig. 11 is a schematic diagram of modules of each link of sound processing performed by the first chip/the second chip according to an embodiment of the present disclosure;
fig. 12 is a flowchart illustrating time consuming image quality processing and time consuming sound processing for obtaining the first chip/the second chip according to an embodiment of the disclosure;
FIG. 13 is a flowchart illustrating another method for synchronizing sound and picture according to an embodiment of the present application;
fig. 14 is a flowchart illustrating a method for performing sound and picture synchronization by a display device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present application is mainly directed to audio and video synchronization processing of a display device having a dual-system structure, that is, having a first chip (a first hardware system, a chip) and a second chip (a second hardware system, N chip), and the structure, function, implementation manner, and other aspects of the display device having the dual-system hardware structure are first described in detail below.
For the convenience of users, various external device interfaces are generally provided on the display device so as to connect different external devices or cables to implement corresponding functions. When a high-definition camera is connected to an interface of the display device, if a hardware system of the display device does not have a hardware interface of a high-pixel camera receiving the source code, data received by the camera cannot be displayed on a display screen of the display device.
Furthermore, due to the hardware structure, the hardware system of the conventional display device only supports one path of hard decoding resources, and usually only supports video decoding with a resolution of 4K at most, so when a user wants to perform video chat while watching a network television, the user needs to use the hard decoding resources (usually GPU in the hardware system) to decode the network video without reducing the definition of the network video screen, and in this case, the user can only process the video chat screen by using a general-purpose processor (e.g. CPU) in the hardware system to perform soft decoding on the video.
The soft decoding is adopted to process the video chat picture, so that the data processing burden of a CPU (central processing unit) can be greatly increased, and when the data processing burden of the CPU is too heavy, the problem of picture blocking or unsmooth flow can occur. Further, due to the data processing capability of the CPU, when the CPU performs soft decoding on the video chat screen, multi-channel video calls cannot be generally implemented, and when a user wants to perform video chat with multiple other users in the same chat scene, access is blocked.
In view of the above aspects, to overcome the above drawbacks, the present application discloses a dual hardware system architecture to implement multiple channels of video chat data (at least one channel of local video).
The concept to which the present application relates will be first explained below with reference to the drawings. It should be noted that the following description of the various concepts is only for the purpose of facilitating understanding of the present application and is not intended to limit the scope of the present application.
The term "module," as used in various embodiments of the present application, may refer to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
The term "remote control" as used in the embodiments of the present application refers to a component of an electronic device (such as the display device disclosed in the present application) that is capable of wirelessly controlling the electronic device, typically over a short distance. The components may generally be connected to the electronic device using infrared and/or Radio Frequency (RF) signals and/or bluetooth, and may also include functional modules such as WiFi, wireless USB, bluetooth, motion sensors, etc. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in the common remote control device with the user interface in the touch screen.
The term "gesture" as used in the embodiments of the present application refers to a user behavior used to express an intended idea, action, purpose, or result through a change in hand shape or an action such as hand movement.
The term "hardware system" used in the embodiments of the present application may refer to a physical component having computing, controlling, storing, inputting and outputting functions, which is formed by a mechanical, optical, electrical and magnetic device such as an Integrated Circuit (IC), a Printed Circuit Board (PCB) and the like. In various embodiments of the present application, a hardware system may also be referred to as a motherboard (or chip).
Fig. 2 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 2, a user may operate the display apparatus 200 through the control device 100.
The control device 100 may be a remote controller 100A, which can communicate with the display device 200 through an infrared protocol communication, a bluetooth protocol communication, a ZigBee (ZigBee) protocol communication, or other short-range communication, and is used to control the display device 200 through a wireless or other wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
The control apparatus 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a notebook computer, etc., which may communicate with the display device 200 through a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), or other networks, and may control the display device 200 through an application program corresponding to the display device 200.
For example, the mobile terminal 100B and the display device 200 may each be installed with a software application, so that connection communication between the two can be realized through a network communication protocol, and thus, the purpose of one-to-one control operation and data communication can be realized. Such as: a control instruction protocol can be established between the mobile terminal 100B and the display device 200, a remote control keyboard is synchronized to the mobile terminal 100B, and the function of controlling the display device 200 is realized by controlling a user interface on the mobile terminal 100B; the audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
As shown in fig. 2, the display apparatus 200 may also perform data communication with the server 300 through various communication means. In various embodiments of the present application, the display device 200 may be allowed to communicatively connect with the server 300 via a local area network, a wireless local area network, or other network. The server 300 may provide various contents and interactions to the display apparatus 200.
Illustratively, the display device 200 receives software Program updates, or accesses a remotely stored digital media library by sending and receiving information, and Electronic Program Guide (EPG) interactions. The servers 300 may be a group or groups, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.
The display device 200 may be, for example, a liquid crystal display, an oled (organic Light Emitting diode) display, or a projection display device; in another aspect, the display device is a display system that may be a smart television or a combination of a display and a set-top box. The specific display device type, size, resolution, etc. are not limiting, and those skilled in the art will appreciate that the display device 200 may be modified in performance and configuration as desired.
The display apparatus 200 may additionally provide an intelligent network tv function of a computer support function in addition to the broadcast receiving tv function. Examples include a web tv, a smart tv, an Internet Protocol Tv (IPTV), and the like. In some embodiments, the display device may not have a broadcast receiving television function.
As shown in fig. 2, a camera may be connected or disposed on the display device, and is used to present a picture taken by the camera on a display interface of the display device or other display devices, so as to implement interactive chat between users. Specifically, the picture shot by the camera can be displayed on the display device in a full screen mode, a half screen mode or any optional area.
As an optional connection mode, the camera is connected with the display rear shell through the connecting plate, and is fixedly installed in the middle of the upper side of the display rear shell, and as an installable mode, the camera can be fixedly installed at any position of the display rear shell, so that it can be ensured that an image acquisition area is not shielded by the rear shell, for example, the display orientation of the image acquisition area is the same as that of the display device.
As another alternative connection mode, the camera is connected to the display rear shell through a connection board or other conceivable connector, the camera is capable of lifting and descending, a lifting motor is installed on the connector, when a user wants to use the camera or an application program wants to use the camera, the camera is lifted out of the display, and when the camera is not needed to be used, the camera can be embedded in the rear shell, so that the camera is protected from being damaged, and privacy safety of the user is protected.
As an embodiment, the camera adopted in the present application may have 1600 ten thousand pixels, so as to achieve the purpose of ultra high definition display. In actual use, cameras higher or lower than 1600 ten thousand pixels may also be used.
After the camera is installed on the display device, the contents displayed by different application scenes of the display device can be fused in various different modes, so that the function which cannot be realized by the traditional display device is achieved.
Illustratively, a user may conduct a video chat with at least one other user while watching a video program. The presentation of the video program may be as a background frame over which a window for video chat is displayed. The function is called 'chat while watching'.
Optionally, in a scene of "chat while watching", at least one video chat is performed across terminals while watching a live video or a network video.
In another example, a user can conduct a video chat with at least one other user while entering the educational application for learning. For example, a student may interact remotely with a teacher while learning content in an educational application. Pictorially, this function may be referred to as "chatting while learning".
In another example, a user conducts a video chat with a player entering a card game while playing the game. For example, a player may enable remote interaction with other players when entering a gaming application to participate in a game. Figuratively, this function may be referred to as "watch while playing".
Optionally, the game scene is fused with the video picture, the portrait in the video picture is scratched and displayed in the game picture, and the user experience is improved.
Optionally, in the motion sensing game (such as ball hitting, boxing, running and dancing), the human posture and motion, limb detection and tracking and human skeleton key point data detection are obtained through the camera, and then the human posture and motion and the limb detection and tracking and the human skeleton key point data detection are fused with the animation in the game, so that the game of scenes such as sports and dancing is realized.
In another example, a user may interact with at least one other user in a karaoke application in video and voice. Vividly, this function can be called "sing while watching". Optionally, when at least one user enters the application in a chat scenario, multiple users may jointly complete recording of a song.
In another example, a user may turn on a camera locally to take pictures and videos, figurative, which may be referred to as "looking into the mirror".
In other examples, more or less functionality may be added. The function of the display device is not particularly limited in the present application.
Fig. 3 is a block diagram schematically showing the configuration of the control apparatus 100 according to the exemplary embodiment. As shown in fig. 3, the control device 100 includes a controller 110, a communicator 130, a user input/output interface 140, a memory 190, and a power supply 180.
The control apparatus 100 is configured to control the display device 200, and to receive an input operation instruction from a user, and convert the operation instruction into an instruction recognizable and responsive by the display device 200, and to mediate interaction between the user and the display device 200. Such as: the user operates the channel up/down key on the control device 100, and the display device 200 responds to the channel up/down operation.
In some embodiments, the control device 100 may be a smart device. Such as: the control apparatus 100 may install various applications that control the display device 200 according to user demands.
In some embodiments, as shown in fig. 2, the mobile terminal 100B or other intelligent electronic device may function similar to the control apparatus 100 after installing an application for manipulating the display device 200. Such as: the user may implement the function of controlling the physical keys of apparatus 100 by installing applications, and using various function keys or virtual buttons of a graphical user interface available on mobile terminal 100B or other intelligent electronic devices.
The controller 110 includes a processor 112, a RAM113 and a ROM114, a communication interface, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the internal components for communication and coordination and external and internal data processing functions.
The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the received user input signal is transmitted to the display apparatus 200. The communicator 130 may include at least one of a WIFI module 131, a bluetooth module 132, an NFC module 133, and the like.
A user input/output interface 140, wherein the input interface includes at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like. Such as: the user can implement a user command input function through voice, touch, gesture, pressing, and the like, and the input interface converts the received analog signal into a digital signal and converts the digital signal into a corresponding command signal, and transmits the command signal to the display device 200.
The output interface includes an interface that transmits the received user instruction to the display apparatus 200. In some embodiments, the interface may be an infrared interface or a radio frequency interface. Such as: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the radio frequency signal interface is used, a user input instruction needs to be converted into a digital signal, and then the digital signal is modulated according to a radio frequency control signal modulation protocol and then is sent to the display device 200 through the radio frequency sending terminal.
In some embodiments, the control device 100 includes at least one of a communicator 130 and an output interface. The communicator 130 is configured in the control device 100, such as: the modules of WIFI, bluetooth, NFC, etc. may send the user input command to the display device 200 through a WIFI protocol, or a bluetooth protocol, or an NFC protocol code.
And a memory 190 for storing various operation sequences, data and applications for driving and controlling the control apparatus 100 under the control of the controller 110. The memory 190 may store various control signal commands input by a user.
And a power supply 180 for providing operation power support for each electrical component of the control device 100 under the control of the controller 110. A battery and associated control circuitry.
A hardware configuration block diagram of a hardware system in the display apparatus 200 according to an exemplary embodiment is exemplarily shown in fig. 4.
When a dual hardware system architecture is adopted, the mechanism relationship of the hardware system can be shown in fig. 4. For convenience of description, one hardware system in the dual hardware system architecture will be referred to as a first hardware system or a system, a-chip, and the other hardware system will be referred to as a second hardware system or N-system, N-chip. The chip A comprises a controller of the chip A and various modules connected with the controller of the chip A through various interfaces, and the chip N comprises a controller of the chip N and various modules connected with the controller of the chip N through various interfaces. The chip a and the chip N may each have a relatively independent operating system, and the operating system of the chip a and the operating system of the chip N may communicate with each other through a communication protocol, which is exemplary: the frame layer of the operating system of the a-chip and the frame layer of the operating system of the N-chip can communicate to transmit commands and data, so that two independent subsystems, which are associated with each other, exist in the display device 200.
As shown in fig. 4, the a chip and the N chip may be connected, communicated and powered through a plurality of different types of interfaces. The interface type of the interface between the a chip and the N chip may include a General-purpose input/output (GPIO) interface, a USB interface, an HDMI interface, a UART interface, and the like. One or more of these interfaces may be used for communication or power transfer between the a-chip and the N-chip. For example, as shown in fig. 4, in a dual hardware system architecture, the N-chip may be powered by an external power source (power), and the a-chip may not be powered by the external power source but by the N-chip. Optionally, the external power supply may also be connected to the N chip and the a chip, respectively, to supply power to the N chip and the a chip.
In addition to the interface for connecting with the N chip, the a chip may further include an interface for connecting other devices or components, such as an MIPI interface for connecting a Camera (Camera), a bluetooth interface, and the like shown in fig. 4.
Similarly, in addition to the interface for connecting with the N chip, the N chip may further include an VBY interface for connecting with a display screen tcon (timer Control register), and an I2S interface for connecting with a power Amplifier (AMP) and a Speaker (Speaker); and an IR/Key interface, a USB interface, a Wifi interface, a bluetooth interface, an HDMI interface, a Tuner interface, and the like.
The dual hardware system architecture of the present application is further described below with reference to fig. 5. It should be noted that fig. 5 is only an exemplary illustration of the dual hardware system architecture of the present application, and does not represent a limitation of the present application. In actual practice, both hardware systems may contain more or less hardware or interfaces as desired.
A block diagram of the hardware architecture of the display device 200 according to fig. 4 is exemplarily shown in fig. 5. As shown in fig. 5, the hardware system of the display apparatus 200 may include an a chip and an N chip, and a module connected to the a chip or the N chip through various interfaces.
The N-chip may include a tuner demodulator 220, a communicator 230, an external device interface 250, a controller 210, a memory 290, a user input interface 260-3, a video processor 260-1, an audio processor 260-2, a display 280, an audio output interface 270, and a power supply module 240. The N-chip may also include more or fewer modules in other embodiments.
The tuning demodulator 220 is configured to perform modulation and demodulation processing such as amplification, mixing, resonance and the like on a broadcast television signal received in a wired or wireless manner, so as to demodulate an audio/video signal carried in a frequency of a television channel selected by a user and additional information (e.g., an EPG data signal) from a plurality of wireless or wired broadcast television signals. The signal path of the tuning demodulator 220 may be various according to the broadcasting system of the tv signal, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; according to different modulation types, the adjustment mode of the signal can be a digital modulation mode or an analog modulation mode; and depending on the type of television signal being received, tuner demodulator 220 may demodulate analog and/or digital signals.
The tuner demodulator 220 is also operative to respond to the user-selected television channel frequency and the television signals carried thereby, in accordance with the user selection, and as controlled by the controller 210.
In other exemplary embodiments, the tuner/demodulator 220 may be in an external device, such as an external set-top box. In this way, the set-top box outputs television audio/video signals after modulation and demodulation, and the television audio/video signals are input into the display device 200 through the external device interface 250.
The communicator 230 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 230 may include a WIFI module 231, a bluetooth communication protocol module 232, a wired ethernet communication protocol module 233, and other network communication protocol modules such as an infrared communication protocol module or a near field communication protocol module (not shown).
The display apparatus 200 may establish a connection of a control signal and a data signal with an external control apparatus or a content providing apparatus through the communicator 230. For example, the communicator may receive a control signal of the remote controller 100 according to the control of the controller.
The external device interface 250 is a component for providing data transmission between the N-chip controller 210 and the a-chip and other external devices. The external device interface 250 may be connected with an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 250 may include: a High Definition Multimedia Interface (HDMI) terminal is also referred to as HDMI251, a Composite Video Blanking Sync (CVBS) terminal is also referred to as AV252, an analog or digital component terminal is also referred to as component 253, a Universal Serial Bus (USB) terminal 254, a Red Green Blue (RGB) terminal (not shown in the figure), and the like. The number and type of external device interfaces are not limited by this application.
The controller 210 controls the operation of the display device 200 and responds to the user's operation by running various software control programs (e.g., an operating system and/or various application programs) stored on the memory 290.
As shown in fig. 5, the controller 210 includes a read only memory RAM213, a random access memory ROM214, a graphics processor 216, a CPU processor 212, a communication interface 218, and a communication bus. The RAM213 and the ROM214, the graphic processor 216, the CPU processor 212, and the communication interface 218 are connected via a bus.
A ROM213 for storing instructions for various system boots. If the display device 200 is powered on upon receipt of the power-on signal, the CPU processor 212 executes a system boot instruction in the ROM and copies the os stored in the memory 290 to the RAM214 to start running the boot os. After the start of the operating system is completed, the CPU processor 212 copies the various application programs in the memory 290 to the RAM214, and then starts running and starting the various application programs.
A graphics processor 216 for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And a renderer for generating various objects based on the operator, and displaying the rendered result on the display 280.
A CPU processor 212 for executing operating system and application program instructions stored in memory 290. And executing various application programs, data and contents according to various interaction instructions received from the outside so as to finally display and play various audio and video contents.
In some exemplary embodiments, the CPU processor 212 may include a plurality of processors. The plurality of processors may include a main processor and a plurality of or a sub-processor. A main processor for performing some operations of the display apparatus 200 in a pre-power-up mode and/or operations of displaying a screen in a normal mode. A plurality of or one sub-processor for performing an operation in a state of a standby mode or the like.
The communication interface 218 may include a first interface 218-1 through an nth interface 218-n. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 210 may control the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
Wherein the object may be any one of selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as: displaying an operation connected to a hyperlink page, document, image, etc., or performing an operation of a program corresponding to an icon. The user command for selecting the UI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch pad, etc.) connected to the display apparatus 200 or a voice command corresponding to a voice spoken by the user.
The memory 290 includes a memory for storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 290, including: a base module, a detection module, a communication module, a display control module, a browser module, and various service modules, etc. (not shown in the figure).
The basic module is a bottom layer software module for signal communication between hardware in the display device 200 and sending processing and control signals to an upper layer module. The detection module is a management module used for collecting various information from various sensors or user input interfaces, and performing digital-to-analog conversion and analysis management. The voice recognition module comprises a voice analysis module and a voice instruction database module. The display control module is a module for controlling the display 280 to display image contents, and may be used to play information such as multimedia image contents and UI interfaces. The communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing data communication between the browsing servers. The service module is a module for providing various services and various application programs.
Meanwhile, the memory 290 is also used to store visual effect maps and the like for receiving external data and user data, images of respective items in various user interfaces, and a focus object.
The user input interface 260-3 serves to transmit an input signal of a user to the controller 210 or transmit a signal output from the controller 210 to the user. For example, the control device (e.g., a mobile terminal or a remote controller) may transmit an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by the user to the user input interface, and then the input signal is forwarded to the controller 210 through the user input interface 260-3; alternatively, the control device may receive an output signal such as audio, video, or data output from the user input interface 260-3 via the controller 210, and display the received output signal or output the received output signal in audio or vibration form.
In some embodiments, the user may input a user command on a Graphical User Interface (GUI) displayed on the display 280, and the user input interface 260-3 receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface 260-3 receives the user input command by recognizing the sound or gesture through the sensor.
The video processor 260-1 is configured to receive a video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard encoding and decoding protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 280.
Illustratively, the video processor 260-1 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like (not shown in the figure).
The demultiplexing module is used for demultiplexing the input audio and video data stream, and if the input MPEG-2 is input, the demultiplexing module demultiplexes the input audio and video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like.
And the image synthesis module, such as an image synthesizer, is used for performing superposition mixing processing on the GUI signal input by the user or generated by the user and the video picture after the zooming processing by the graphics generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert a frame rate of an input video, such as a 24Hz, 25Hz, 30Hz, or 60Hz video, into a 60Hz, 120Hz, or 240Hz frame rate, wherein the input frame rate may be related to a source video stream, and the output frame rate may be related to a refresh rate of a display. And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.
And a display 280 for receiving the image signal input from the video processor 260-1 and displaying the video content and image and the menu manipulation interface. The display 280 includes a display component for presenting a picture and a driving component for driving the display of an image. The video content may be displayed from the video in the broadcast signal received by the tuner/demodulator 220, or from the video content input from the communicator or the external device interface. The display 280 simultaneously displays a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.
And, a driving component for driving the display according to the type of the display 280. Alternatively, a projection device and projection screen may be included, provided that the display 280 is a projection display.
The audio processor 260-2 is configured to receive an audio signal, decompress and decode the audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, amplification and other audio data processing to obtain an audio signal that can be played in the speaker 272.
An audio output interface 270 for receiving audio signals output by the audio processor 260-2 under the control of the controller 210, wherein the audio output interface may include a speaker 272 or an external audio output terminal 274 for outputting to a generating device of an external device, such as: external sound terminal or earphone output terminal.
In other exemplary embodiments, video processor 260-1 may comprise one or more chip components. The audio processor 260-2 may also comprise one or more chips.
And, in other exemplary embodiments, the video processor 260-1 and the audio processor 260-2 may be separate chips or may be integrated in one or more chips with the controller 210.
And a power supply module 240 for providing power supply support for the display device 200 by the power input from the external power source under the control of the controller 210. The power supply module 240 may include a built-in power supply circuit installed inside the display apparatus 200, or may be a power supply installed outside the display apparatus 200, such as a power supply interface for providing an external power supply in the display apparatus 200.
Similar to the N-chip, as shown in fig. 5, the a-chip may include a controller 310, a communicator 330, a detector 340, and a memory 390. A user input interface, a video processor 360-1, an audio processor 360-2, a display, an audio output interface (not shown) may also be included in some embodiments. In some embodiments, there may also be a power module (not shown) that independently powers the a-chip.
The communicator 330 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 330 may include a WIFI module 331, a bluetooth communication protocol module 332, a wired ethernet communication protocol module 333, and other network communication protocol modules such as an infrared communication protocol module or a near field communication protocol module. (not shown in the figure)
The communicator 330 of the a-chip and the communicator 230 of the N-chip also interact with each other. For example, the WiFi module 231 within the N-chip hardware system is used to connect to an external network, generate network communication with an external server, and the like. The WiFi module 331 in the a-chip hardware system is used to connect to the N-chip WiFi module 231 without direct connection to an external network or the like, and the a-chip is connected to an external network through the N-chip. Therefore, for the user, a display device as in the above embodiment displays a WiFi account to the outside.
The detector 340 is a component of the display device a chip for collecting signals of an external environment or interacting with the outside. The detector 340 may include a light receiver 342, a sensor for collecting the intensity of ambient light, which may be used to adapt to display parameter changes, etc. by collecting ambient light; the system can further include an image collector 341, such as a camera, a video camera, etc., which can be used to collect external environment scenes, collect attributes of the user or interact gestures with the user, adaptively change display parameters, and recognize user gestures, so as to realize the function of interaction with the user.
An external device interface 350, which provides a component for data transmission between the controller 310 and the N-chip or other external devices. The external device interface may be connected with an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner.
A video processor 360-1 for processing the associated video signal.
The controller 310 controls the operation of the display apparatus 200 and responds to the user's operation by running various software control programs stored on the memory 390 (e.g., with an installed third party application, etc.), and interacting with the N-chip.
As shown in fig. 5, the controller 310 includes a read only memory ROM313, a random access memory RAM314, a graphics processor 316, a CPU processor 312, a communication interface 318, and a communication bus. The ROM313 and the RAM314, the graphic processor 316, the CPU processor 312, and the communication interface 318 are connected via a bus.
A ROM313 for storing instructions for various system boots. The CPU processor 312 executes a system boot instruction in ROM and copies the operating system stored in memory 390 to RAM314 to begin running the boot operating system. After the start of the operating system is completed, the CPU processor 312 copies various application programs in the memory 390 to the RAM314, and then starts running and starting various application programs.
The CPU processor 312 is used for executing the operating system and application program instructions stored in the memory 390, communicating with the N chip, transmitting and interacting signals, data, instructions, etc., and executing various application programs, data and contents according to various interaction instructions received from the outside, so as to finally display and play various audio and video contents.
The communication interface 318 is plural and may include a first interface 318-1 to an nth interface 318-n. These interfaces may be network interfaces connected to external devices via a network, or may be network interfaces connected to the N-chip via a network.
The controller 310 may control the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
A graphics processor 316 for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And a renderer for generating various objects based on the operator, and displaying the rendered result on the display 280.
Both the A-chip graphics processor 316 and the N-chip graphics processor 216 are capable of generating various graphics objects. In distinction, if application 1 is installed on the a-chip and application 2 is installed on the N-chip, the a-chip graphics processor 316 generates a graphics object when a user performs a command input by the user in application 1 at the interface of application 1. When a user makes a command input by the user in the interface of the application 2 and within the application 2, a graphic object is generated by the graphic processor 216 of the N chip.
Fig. 6 is a diagram schematically illustrating a functional configuration of a display device according to an exemplary embodiment.
As shown in fig. 6, the memory 390 of the a-chip and the memory 290 of the N-chip are used to store an operating system, an application program, contents, user data, and the like, respectively, and perform system operations for driving the display device 200 and various operations in response to a user under the control of the controller 310 of the a-chip and the controller 210 of the N-chip. The A-chip memory 390 and the N-chip memory 290 may include volatile and/or non-volatile memory.
The memory 290 is specifically configured to store an operating program for driving the controller 210 in the display device 200, and to store various applications installed in the display device 200, various applications downloaded by a user from an external device, various graphical user interfaces related to the applications, various objects related to the graphical user interfaces, user data information, and internal data of various supported applications. The memory 290 is used to store system software such as an Operating System (OS) kernel, middleware, and applications, and to store input video data and audio data, and other user data.
The memory 290 is specifically used for storing drivers and related data such as the video processor 260-1 and the audio processor 260-2, the display 280, the communicator 230, the tuning demodulator 220, the input/output interface, and the like.
In some embodiments, memory 290 may store software and/or programs, software programs for representing an Operating System (OS) including, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. For example, the kernel may control or manage system resources, or functions implemented by other programs (e.g., the middleware, APIs, or applications), and the kernel may provide interfaces to allow the middleware and APIs, or applications, to access the controller to implement controlling or managing system resources.
The memory 290, for example, includes a broadcast receiving module 2901, a channel control module 2902, a volume control module 2903, an image control module 2904, a display control module 2905, a first audio control module 2906, an external instruction identification module 2907, a communication control module 2908, a light receiving module 2909, a power control module 2910, an operating system 2911, and an application program 2912, a browser module (not shown in the figure), and the like. The controller 210 performs functions such as: the system comprises a broadcast television signal receiving and demodulating function, a television channel selection control function, a volume selection control function, an image control function, a display control function, an audio control function, an external instruction identification function, a communication control function, an optical signal receiving function, an electric power control function, a software control platform supporting various functions, a browser function and other various functions.
The memory 390 includes a memory storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 390, including: a base module, a detection module, a communication module, a display control module, a browser module, and various service modules, etc. (not shown in the figure). Since the functions of the memory 390 and the memory 290 are similar, reference to the memory 290 is only needed for the relevant points, and thus, the detailed description is omitted here.
Illustratively, the memory 390 includes an image control module 3904, a second audio control module 3906, an external instruction recognition module 3907, a communication control module 3908, a light receiving module 3909, an operating system 3911, and an application 3912, a browser module 3913, and the like. The controller 210 performs functions such as: the system comprises an image control function, a display control function, an audio control function, an external instruction identification function, a communication control function, an optical signal receiving function, an electric power control function, a software control platform supporting various functions, a browser function and other various functions.
Differently, the external instruction recognition module 2907 of the N-chip and the external instruction recognition module 3907 of the a-chip may recognize different instructions.
Illustratively, since the image receiving device such as a camera is connected to the a-chip, the external instruction identification module 3907 of the a-chip may include the pattern identification module 2907-1, a pattern database is stored in the pattern identification module 3907-1, and when the camera receives an external pattern instruction, the camera corresponds to the instruction in the pattern database to perform instruction control on the display device. Since the voice receiving device and the remote controller are connected to the N-chip, the external command recognition module 2907 of the N-chip may include a voice recognition module 2907-2, a voice database is stored in the voice recognition module 2907-2, and when receiving an external voice command or the like, the voice receiving device, etc. performs a corresponding relationship with a command in the voice database to perform command control on the display device. Similarly, a control device 100 such as a remote controller is connected to the N-chip, and the key instruction recognition module 2907-3 performs instruction interaction with the control device 100.
Fig. 7(a) is a block diagram schematically showing a configuration of a software system in the display device 200 according to the exemplary embodiment.
For an N-chip, as shown in fig. 7(a), the operating system 2911, including the executing operating software for handling various basic system services and for carrying out hardware-related tasks, serves as an intermediary between applications and hardware components for data processing.
In some embodiments, portions of the operating system kernel may contain a series of software to manage the display device hardware resources and provide services to other programs or software code.
In other embodiments, portions of the operating system kernel may include one or more device drivers, which may be a set of software code in the operating system that assists in operating or controlling the devices or hardware associated with the display device. The drivers may contain code to operate video, audio, and/or other multimedia components. Examples include a display, a camera, Flash, WiFi, and audio drivers.
The accessibility module 2911-1 is configured to modify or access the application program to achieve accessibility of the application program and operability of the displayed content.
A communication module 2911-2 for connection to other peripherals via associated communication interfaces and a communication network.
The user interface module 2911-3 is configured to provide an object for displaying a user interface for access by each application program, so that user operability can be achieved.
Control applications 2911-4 for controlling process management, including runtime applications and the like.
The event transmission system 2914 may be implemented within the operating system 2911 or within the application 2912. In some embodiments, one aspect is implemented within the operating system 2911 and the other aspect is implemented within the application 2912 for listening for various user input events, and one or more sets of predefined operations may be performed in response to the identification of various events or sub-events, depending on the various event references.
The event monitoring module 2914-1 is configured to monitor an event or a sub-event input by the user input interface.
The event identification module 2914-2 is used to input various event definitions for various user input interfaces, identify various events or sub-events, and transmit them to the process for executing one or more sets of their corresponding handlers.
The event or sub-event refers to an input detected by one or more sensors in the display device 200 and an input of an external control device (e.g., the control apparatus 100). Such as: the method comprises the following steps of inputting various sub-events through voice, inputting a gesture sub-event through gesture recognition, inputting a remote control key command of a control device and the like. Illustratively, the one or more sub-events in the remote control include a variety of forms including, but not limited to, one or a combination of key press up/down/left/right/, ok key, key press hold, and the like. And non-physical key operations such as move, hold, release, etc.
The interface layout management module 2913, directly or indirectly receiving the input events or sub-events from the event transmission system 2914, monitors the input events or sub-events, and updates the layout of the user interface, including but not limited to the position of each control or sub-control in the interface, and the size, position, and level of the container, which are related to the layout of the interface.
Since the functions of the operating system 3911 of the a chip are similar to those of the operating system 2911 of the N chip, reference may be made to the operating system 2911 for relevant points, and details are not repeated here.
As shown in fig. 7(b), the application programs of the display device include various application programs executable at the display device 200.
The N-chip applications 2912 may include, but are not limited to, one or more applications such as: video-on-demand applications, application centers, gaming applications, and the like. The a-chip applications 3912 may include, but are not limited to, one or more applications such as: live television applications, media center applications, and the like. It should be noted that what applications are respectively contained in the a chip and the N chip is determined according to an operating system and other designs, and the present invention does not need to make specific limitations and divisions on the applications contained in the a chip and the N chip.
The live television application program can provide live television through different signal sources. For example, a live television application may provide a television signal using input from cable television, radio, satellite service, or other types of live television services. And, the live television application may display video of the live television signal on the display device 200.
A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides a video display from some storage source. For example, the video on demand may come from a server side of the cloud storage, from a local hard disk storage containing stored video programs.
The media center application program can provide various applications for playing multimedia contents. For example, a media center, which may be other than live television or video on demand, may provide services that a user may access to various images or audio through a media center application.
The application program center can provide and store various application programs. The application may be a game, an application, or some other application associated with a computer system or other device that may be run on a display device. The application center may obtain these applications from different sources, store them in local storage, and then be operable on the display device 200.
A schematic diagram of a user interface in a display device 200 according to an exemplary embodiment is illustrated in fig. 8. As shown in fig. 8, the user interface includes a plurality of view display areas, illustratively, a first view display area 201 and a play screen 202, wherein the play screen includes a layout of one or more different items. And a selector in the user interface indicating that an item is selected, the position of the selector being movable by user input to change the selection of a different item.
It should be noted that the multiple view display areas may present display screens of different hierarchies. For example, a first view display area may present video chat project content and a second view display area may present application layer project content (e.g., web page video, VOD presentations, application screens, etc.).
Optionally, the different view display areas are presented with different priorities, and the display priorities of the view display areas are different among the view display areas with different priorities. If the priority of the system layer is higher than that of the application layer, when the user uses the acquisition selector and picture switching in the application layer, the picture display of the view display area of the system layer is not blocked; and when the size and the position of the view display area of the application layer are changed according to the selection of the user, the size and the position of the view display area of the system layer are not influenced.
The display frames of the same hierarchy can also be presented, at this time, the selector can switch between the first view display area and the second view display area, and when the size and the position of the first view display area are changed, the size and the position of the second view display area can be changed along with the change.
Since the a-chip and the N-chip may have independent operating systems installed therein, there are two independent but interrelated subsystems in the display device 200. For example, Android (Android) and various kinds of APPs can be independently installed on the a chip and the N chip, so that each chip can realize a certain function, and the a chip and the N chip can cooperatively realize a certain function.
On the basis of the foregoing dual-system display device, as shown in fig. 9, an embodiment of the present application provides a sound-picture synchronization processing method, where the method includes the following steps:
in step S10, the first image quality processing time, the first sound processing time, the second image quality processing time, and the second sound processing time are obtained.
The first chip (namely, A chip) mainly plays videos such as network film sources and local media; the second chip (i.e., the N chip) may be externally connected to a set-top box or other device through the HDMI 2.0, so as to realize playing of the live television, and is configured to output image data after image quality processing to a display screen to display a video image, and further configured to output sound data after sound processing to a sound player (i.e., the audio output interface 270 in fig. 5) to play the sound of the video.
The first image quality processing time consumption is the time consumption generated by the image quality processing of the video signal by the first chip and can be acquired by a first video processor in the first chip; the first sound processing time consumption is the time consumption generated by the first chip performing picture processing on the audio signal, and can be acquired by a first audio processor in the first chip; the second chip receives the video signal output by the first chip through a communication interface (such as an HDMI), and performs picture processing on the video signal output by the first chip, so that second image quality processing time consumption is generated in the second chip, and the second image quality processing time consumption can be acquired by a second video processor in the second chip; the second chip receives the audio signal output by the first chip through a communication interface (such as HDMI), and performs sound processing on the audio signal output by the first chip, so that second sound processing time consumption is generated in the second chip, and the second sound processing time consumption can be acquired by a second audio processor in the second chip.
In this embodiment, the image quality processing includes processing links such as brightness, contrast, chromaticity, hue, sharpness, image noise reduction, dynamic contrast, gamma, color temperature, white balance, color correction, brightness dynamic range, and motion picture compensation.
For the first chip and the second chip, the image quality processing time consumption mainly includes two aspects: on one hand, the time required for completing the conventional image processing task to enable the image to reach the specific image quality effect is the time consumed by finishing all processing links such as brightness, contrast, chroma, hue, definition, image noise reduction, dynamic contrast, gamma, color temperature, white balance, color correction, brightness dynamic range, motion picture compensation and the like; on the other hand, the PQ delay is generated when each frame of image is processed, because the first chip and the second chip perform frame-by-frame processing on the image, when the current frame is processed, the image data of the current frame and a plurality of frames after the current frame are read, and the image quality processing on the current frame is completed by referring to the image data of the plurality of frames after the current frame, because the image data of the plurality of frames after the current frame needs to be read in the image quality processing process, the PQ delay is generated when each frame of image is subjected to PQ processing. The image quality processing time consumption in this embodiment is the sum of the image processing time consumption of the first aspect and the PQ delay of the second aspect. Therefore, the time taken to acquire the first image quality processing and the time taken to acquire the second image quality processing can be calculated by the following formula:
Figure BDA0002191101980000151
wherein T1 is the time consumed by the first image quality processing; t2 represents the time consumed by the second image quality processing; tn is the time consumption generated when each frame image is subjected to image quality processing of each link; td is a PQ delay generated when each frame of image is subjected to image quality processing; f is the refresh frequency in Hz; r is a frame processing threshold value which is used for indicating reading of image data of a current frame and a frame N-1 after the current frame so as to complete image quality processing of the current frame; and S is the frame number of video playing.
As shown in fig. 10, taking the frame processing threshold equal to 4 as an example, when the PQ processing needs to be performed on the first frame image, four frame images, namely, the first frame and the second frame, the third frame and the fourth frame after the first frame image need to be read, the PQ processing needs to be performed with reference to the second frame, the third frame and the fourth frame, and then the processed image data is written into the first frame image, so that the PQ processing on the first frame image is completed, and the PQ delay Td generated by processing the first frame image is equal to 4/60 and equal to 66ms, assuming that the refresh frequency is 60 Hz. The frame processing threshold is greater than or equal to 2, the smaller the frame processing threshold is, the smaller the PQ delay generated, and the larger the frame processing threshold is, the better the picture quality processing effect is, and therefore, the frame processing threshold can be set according to the actual application requirements, and the present embodiment is not limited.
As shown in fig. 11, the sound processing includes a noise reduction (noise reduction) processing module, a sound signal amplitude (Prescale) processing module, an AVC (Auto Volume Control) module, a sound effect processing module, a GEQ (Graphic Equalizer) module, a PEQ (Parametric Equalizer) module, and the like. The sound processing module may process the sound into sound effects such as DTS (Digital cinema System) or Dolby (Dolby Atmos). According to the links and the flow shown in fig. 11, audio is subjected to sound processing, and the time consumed for sound processing of the first chip and the second chip, that is, the first sound processing time and the second sound processing time, is the total time consumed for sound processing of each module of the processing path in fig. 11.
The noise reduction process is used to remove noise caused by a PCM (Pulse Code Modulation) board, and is advantageous to improve sound quality by denoising. Prescale is to process the amplitude of the sound signal, let different signal sources enter the process, and keep the same signal amplitude. AVC can realize automatic volume control, limit the sound output amplitude of the signal source, the display device can automatically adjust the output volume level according to the volume level of video input, keep the sound stable, reduce or eliminate the popping sound, and amplify the smaller sound to a proper range; the DTS sound effect and the Dolby sound effect are used for processing the sound effect of the sound and improving the playing effect of the sound.
The GEQ module can visually reflect the called balance compensation curve through the distribution of push-pull keys on the panel, the lifting and attenuation conditions of each frequency are clear at a glance, a constant Q value technology is adopted, each frequency point is provided with a push-pull potentiometer, and the frequency bandwidth of the filter is always unchanged no matter a certain frequency is lifted or attenuated. The conventional professional graphic equalizer divides the 20 Hz-20 kHz signal into 10 segments, 15 segments, 27 segments and 31 segments for adjustment. Thus, frequency equalizers with different sections are respectively selected according to different requirements. Generally, the frequency points of a 10-segment equalizer are distributed at octave intervals, and in a general occasion, a 15-segment equalizer is an 2/3 octave equalizer, and in professional sound amplification, a 31-segment equalizer is a 1/3 octave equalizer, and in most important occasions needing fine compensation. The parameter equalizer can finely adjust various parameters of equalization adjustment, is additionally arranged on a sound console, but is also provided with an independent parameter equalizer, and the adjusted parameter contents comprise frequency bands, frequency points, gains, quality factor Q values and the like, so that the sound can be beautified and modified, the sound style is more vivid and prominent, and the artistic effect is colorful and required.
In the present application, the types of image quality processing and sound processing, the specific processing process, and other contents may refer to the related art, and are not described in detail in this embodiment.
In step S20, a sound-picture synchronization time difference is calculated according to the first image-quality processing time consumption, the first sound-quality processing time consumption, the second image-quality processing time consumption, and the second sound-quality processing time consumption.
After the step S10 is completed, the sound-picture synchronization time difference may be calculated according to the following formula:
N=T1+T2-(T3+T4)
where N is the sound-picture synchronization time difference, T1 is the first image processing elapsed time, T2 is the second image processing elapsed time, T3 is the first sound processing elapsed time, and T4 is the second sound processing elapsed time. And calculating the difference between the total image quality processing time consumption of the double chips and the total sound processing time consumption of the double chips, namely the sound-picture synchronization time difference.
As shown in fig. 12, in a possible implementation manner of this embodiment, immediately before a network video or local media application of an a chip starts playing, after a first chip performs video decoding, an instruction for acquiring PQ time consumption and voice time consumption may be sent to an N chip through a communication module of the a chip; the communication module of the N chip receives and analyzes the instruction sent by the A chip, and calculates the second image quality processing time consumption and the second sound processing time consumption of the N chip; then the N chip communication module packs the second image quality processing time consumption and the second sound processing time consumption and sends the second image quality processing time consumption and the second sound processing time consumption to the A chip; the A chip communication module receives the parameter data sent by the N chip, and the A chip analyzes the related data, so that the second image quality processing time and the second sound processing time of the N chip can be obtained. When the network video or local media application is played, the chip A acquires the first image quality processing time and the first sound processing time of the chip A, and acquires the second image quality processing time and the second sound processing time of the chip N, so as to obtain T1, T2, T3 and T4, and sends the data of T1, T2, T3 and T4 to a controller in the chip A; after the controller in the a chip receives T1, T2, T3 and T4, that is, after the step S10 is completed, the sound-picture synchronization time difference can be calculated according to the step S20. In this application, the time-consuming parameters of the a chip and the N chip may be obtained simultaneously, or the time-consuming parameter of the a chip is obtained first and then the time-consuming parameter of the N chip is obtained, or the time-consuming parameter of the N chip is obtained first and then the time-consuming parameter of the a chip is obtained, which is not limited in this embodiment.
And step S30, judging whether the sound and picture synchronization time difference is within a threshold value range.
Optionally, the threshold range is-30 ms to +20ms, 20ms is an upper limit value of the threshold range, and the upper limit value of the threshold range is a time for allowing the image to appear later than the sound, that is, the image appears 20ms later than the sound at most; -30ms is the lower limit of the threshold range, which is the time allowed for the image to appear before the sound, i.e. the image appears at most 30ms earlier than the sound. If the sound-picture synchronization time difference is within the threshold value range, the sound and the picture are considered to be synchronized; on the contrary, if the difference of the synchronization time of the sound and the picture is not within the threshold value range, the phenomenon that the sound and the picture are not synchronized is considered.
If the sound-picture synchronization time difference is larger than the upper limit value of the threshold range, the image quality processing time consumption of the double chip is considered to be larger than the sound processing time consumption of the double chip, so that the image lags behind the sound; if the difference between the synchronous time of the sound and the picture is less than the lower limit value of the threshold range, the time consumption of the image quality processing of the double chip is considered to be less than the time consumption of the sound processing of the double chip, so that the image is ahead of the sound. Therefore, by comparing the sound-picture synchronization time difference with the threshold range, the state that the picture and the sound are not synchronized can be accurately known, and images can appear later than the sound or earlier than the sound, so that a synchronization adjusting means is pertinently adopted.
If the sound-picture synchronization time difference is not within the threshold range, step S40 is executed, and then the video signal and the audio signal output by the second chip are synchronously compensated, so as to synchronize the sound and picture adjustment played by the display device.
If the sound-picture synchronization time difference is larger than the upper limit value of the threshold range, which indicates that the sound appears earlier than the image, an Audio Delay (Audio Delay) mode can be adopted; or frame dropping to synchronize the audio with the image conditioning by dropping a portion of the image frames that are not synchronized with the audio. If the sound-picture synchronization time difference is smaller than the lower limit value of the threshold range, the image appears earlier than the sound, and the image playing can be interfered in a frame inserting mode, so that the sound and picture synchronization is adjusted.
When the sound and the picture are adjusted in synchronization by frame dropping or frame inserting, two synchronous compensation modes can be included, one is to immediately synchronize the sound and the picture adjustment, and the other is to synchronize the sound and the picture adjustment within a preset threshold time Z.
After performing steps S10 to S30, if the sound-picture synchronization time difference is not within the threshold range, in step S40, as shown in fig. 13, the method may further include:
step S401, judging whether the sound-picture synchronization time difference is larger than the upper limit of the threshold range. If the sound-picture synchronization time difference is greater than the upper limit of the threshold range, indicating that the sound leads the image playing, step S402, step S403 or step S404 may be performed; if the picture synchronization time difference is not greater than the upper limit of the threshold range, i.e., the picture synchronization time difference is less than the lower limit of the threshold range, it is described that the image leads the sound playback, step S405 or step S406 may be performed.
When the sound is played in advance, if N is T1+ T2- (T3+ T4) is greater than 0, that is, the image quality processing time consumption T1+ T2 of the two chips is greater than the sound processing time consumption T3+ T4 of the two chips, in step S402, if a compensation mode for immediately synchronizing the sound and the picture is adopted, and the number DZ of lost frames is f × N/1000, when it is determined that the sound-picture synchronization time difference is greater than the upper limit value of the threshold range, the image of the DZ frame is immediately discarded. Wherein f is a refresh frequency for representing the number of frames per second(s) of image display; and N is the sound-picture synchronous time difference and the unit is millisecond.
When the sound leads the picture playing, if the interval frame number JZ1 is calculated in step S403 using a compensation mode for adjusting the sound and picture synchronization within the preset threshold time Z, and JZ1 is Z/N, one frame of image is discarded per interval JZ1 frames upon judging that the sound-picture synchronization time difference is greater than the upper limit value of the threshold range.
Alternatively, when the sound is advanced for image playback, the compensation mode of Audio Delay is performed to Delay the Audio playback so that the sound is synchronized with the picture adjustment in step S404.
When the image advance sound is played, if N is T1+ T2- (T3+ T4) is less than 0, that is, the image quality processing time consumption T1+ T2 of the dual chip is less than the sound processing time consumption T3+ T4 of the dual chip, in step S405, if the compensation mode for immediately synchronizing the sound and the picture is adopted, the immediate frame insertion number CZ is f x N/1000, and when the difference in sound picture synchronization time is determined to be less than the lower limit value of the threshold range, the CZ frame image is immediately inserted. Wherein f is a refresh frequency for representing the number of frames of image display per second; and | N | is the absolute value of the sound-picture synchronous time difference and has the unit of millisecond.
When the image advances the sound playing, in step S406, if a compensation mode is adopted in which the sound and the picture are synchronized within a preset threshold time Z, the interval frame number JZ2 is calculated, and JZ2 is Z/| N |, and when it is determined that the difference in sound-picture synchronization is less than the lower limit value of the threshold range, one frame of image is inserted per interval JZ2 frame. In this embodiment, the threshold time Z may be set according to an actual application situation, and this embodiment is not limited.
After the state of the asynchronization between the sound and the picture is obtained by comparing the sound-picture synchronization time difference with the threshold range, the synchronization between the sound and the picture can be adjusted by other methods, without being limited to the synchronization adjustment methods listed in this embodiment. During the video playing process, the user may adjust the image setting or the sound setting, for example, the user adjusts the image mode to the game mode in the image setting, and in order to ensure that the image is displayed quickly and the user obtains a better game experience, the picture delay needs to be reduced as much as possible in the game mode. For another example, the user turns off the advanced sound effect in the sound setting, or chooses to enter the low delay mode of song K, and then the sound delay needs to be as low as possible to ensure that the user has a better experience of song K. Since the game mode requires a low-delay state of the image, some aspects of the image quality processing may be set to be minimum, for example, reading 1 frame of image for image quality processing may reduce the time consumption of image quality processing, and after adjusting the sound setting, the time consumption of sound processing may also change, so that the sound-picture synchronization time difference needs to be recalculated, thereby ensuring the sound-picture synchronization.
In a possible implementation manner of this embodiment, the method further includes: detecting whether an image setting operation is received or not in the video playing process; if the image setting operation is received, acquiring the first image quality processing time consumption, the first sound processing time consumption, the second image quality processing time consumption and the second sound processing time consumption again so as to correct the sound and picture synchronization time difference; and if the corrected sound and picture synchronous time difference is not within the threshold range, performing synchronous compensation on the video signal and the audio signal output by the second chip according to the corrected sound and picture synchronous time difference, so as to adjust and synchronize the sound and the picture.
In a possible implementation manner of this embodiment, the method further includes: detecting whether a sound setting operation is received or not in the video playing process; if the sound setting operation is received, the first image quality processing time consumption, the first sound processing time consumption, the second image quality processing time consumption and the second sound processing time consumption are obtained again so as to correct the sound and picture synchronization time difference; and if the corrected sound and picture synchronous time difference is not within the threshold range, performing synchronous compensation on the video signal and the audio signal output by the second chip according to the corrected sound and picture synchronous time difference, so as to adjust and synchronize the sound and the picture.
The image setting operation and the sound setting operation are operations of a user on the display device, for example, by using a remote controller, a mouse or a touch screen operation, and the like, through starting an "image setting" and a "sound setting" option in a display interface, a user can adaptively set playing states of images and sounds according to use requirements. The image setting operation and the sound setting operation are detected by the first chip.
In a possible implementation manner of this embodiment, the method further includes: acquiring first image quality processing time consumption, first sound processing time consumption, second image quality processing time consumption and second sound processing time consumption at intervals of preset time in the video playing process so as to correct the sound and picture synchronization time difference; and if the corrected sound and picture synchronous time difference is not within the threshold range, performing synchronous compensation on the video signal and the audio signal output by the second chip according to the corrected sound and picture synchronous time difference, so as to adjust and synchronize the sound and the picture. And updating and correcting the sound and picture synchronous time difference at regular intervals of preset time, such as 2 seconds, so that the video playing is ensured to keep the sound and picture synchronous playing state as far as possible.
The present application further provides an embodiment of a display device, which is configured to implement the sound-picture synchronization processing method as described above, and at least includes a first chip, a second chip, a display screen, and an audio output interface, and reference may be made to the foregoing detailed description on the dual system architecture. The first chip is used for decoding playing data to separate a video signal from an audio signal, perform image quality processing on the video signal, perform sound processing on the audio signal, and then send the video signal and the audio signal after primary processing to the second chip through a communication interface (such as HDMI); the second chip is used for carrying out image quality processing on the video signal sent by the first chip, outputting the video signal subjected to secondary processing to the display screen, carrying out sound processing on the audio signal sent by the first chip and outputting the audio signal subjected to secondary processing to the audio output interface. The display device further includes:
a memory for storing program instructions;
and the processor is configured to call and execute the program instructions in the memory, and execute all the steps in the sound-picture synchronization processing method embodiment.
In this embodiment, the memory and the processor may be integrated or connected via a bus. The processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), or an application specific integrated circuit. The memory can be high-speed RAM memory, magnetic disk memory, read-only memory, a usb disk, a hard disk, flash memory, nonvolatile memory, or the like. The method steps related to the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Aiming at the display equipment with a dual-system structure, video decoding is carried out on a first chip, after image data and sound data are separated, first image quality processing time consumption and first sound processing time consumption are obtained, second image quality processing time consumption and second sound processing time consumption are obtained, so that time consumption generated when two chips process sound effects and image quality respectively is accurately obtained, then sound and picture synchronous time difference is calculated by utilizing the parameters, namely, the time difference between the image played by a display and the sound played by a sound playing device is calculated, if the sound and picture synchronous time difference is not within the threshold range, the sound and the picture are not played synchronously, according to the sound and picture synchronous time difference, whether the image is ahead of the sound or behind the sound can be determined, and therefore, the video signal and the audio signal output by the second chip are synchronously compensated in a targeted manner, the sound and picture synchronization is realized, so that the video playing effect of the display equipment is improved.
In the present embodiment, an implementation is shown in which a memory and a processor are separately provided in addition in the display device to perform the sound-picture synchronization processing method. The present application further provides another embodiment of a display device, where the display device includes a first chip, a second chip, a display (i.e., the display 280 in fig. 5), and a sound player, where the first chip is communicatively connected to the second chip, the display is configured to display a video image, the sound player is configured to play a sound, the first chip is provided with a first video processor (i.e., the video processor 360-1 in fig. 5), a first audio processor (i.e., the audio processor 360-2 in fig. 5), and a controller, and the second chip is provided with a second video processor (i.e., the video processor 260-1 in fig. 5) and a second audio processor (i.e., the audio processor 260-2 in fig. 5); in the embodiments of the present application, the audio player is the audio output interface 270 in fig. 5, and the audio output interface 270 is a speaker 272 of a display device, or includes an external audio output terminal 274, which is used for externally connecting an audio device to implement audio playing. As shown in fig. 14, in the display device:
the first video processor is used for receiving a video signal through an input interface, and performing image quality processing on the video signal to obtain first image quality processing time;
the first audio processor receives an audio signal through an input interface, performs sound processing on the audio signal, and obtains first sound processing time consumption;
the second video processor receives the video signal output by the first chip through a communication interface, and performs image quality processing on the video signal output by the first chip to obtain second image quality processing time consumption;
the second audio processor receives the audio signal output by the first chip through a communication interface, performs sound processing on the audio signal output by the first chip, and obtains second sound processing time consumption;
the controller in the first chip is configured to:
calculating a sound-picture synchronization time difference according to the first image quality processing time consumption, the second image quality processing time consumption, the first sound processing time consumption and the second sound processing time consumption;
judging whether the sound and picture synchronization time difference is within a threshold range;
if the sound-picture synchronization time difference is not within the threshold range, performing synchronization compensation on the video signal and the audio signal output by the second chip, transmitting the video signal after the synchronization compensation to the display, and outputting the audio signal after the synchronization compensation to the sound player;
and if the sound-picture synchronization time difference is within a threshold value range, transmitting the video signal output by the second chip to the display, and outputting the audio signal output by the second chip to the sound player.
In the aforementioned method embodiment, in step S10, the step of receiving the image setting operation or the synchronous correction at the sound setting operation and the synchronous correction at every preset time are performed by the first video processor obtaining the first time consumption for image quality processing, the first audio processor obtaining the first time consumption for sound processing, the second video processor obtaining the second time consumption for sound processing, and the controller receiving the first time consumption for image quality processing, the first time consumption for sound processing, the second time consumption for image quality processing and the time consumption for sound processing of the two chips, so that the controller calculates the sound-image synchronous time difference; steps S20 to S40 and the corresponding refinement steps/formulas and the like are all executed by the controller provided in the first chip.
Those skilled in the art will clearly understand that the techniques in the embodiments of the present application may be implemented by means of software plus a required general hardware platform. In a specific implementation manner, the present application further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in the embodiment of the sound-picture synchronization processing method provided by the present application. The computer storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. The specification and examples are to be regarded in an illustrative manner only and are not intended to limit the scope of the present invention. With a true scope and spirit of the invention being indicated by the following claims.
The same and similar parts in the various embodiments are referred to each other in this specification.

Claims (10)

1. A display device comprises a display and a sound player, wherein the display is used for displaying video images, the sound player is used for playing audio, and the display device is characterized by further comprising a first chip and a second chip, the first chip and the second chip are in communication connection, a first video processor, a first audio processor and a controller are arranged on the first chip, and a second video processor and a second audio processor are arranged on the second chip;
the first video processor is used for receiving a video signal through an input interface, and performing image quality processing on the video signal to obtain first image quality processing time;
the first audio processor receives an audio signal through an input interface, performs sound processing on the audio signal, and obtains first sound processing time consumption;
the second video processor receives the video signal output by the first chip through a communication interface, and performs image quality processing on the video signal output by the first chip to obtain second image quality processing time consumption;
the second audio processor receives the audio signal output by the first chip through a communication interface, performs sound processing on the audio signal output by the first chip, and obtains second sound processing time consumption;
the controller is configured to:
calculating a sound and picture synchronization time difference according to the first picture quality processing time consumption, the second picture quality processing time consumption, the first sound processing time consumption and the second sound processing time consumption;
judging whether the sound and picture synchronization time difference is within a threshold range;
if the sound-picture synchronization time difference is not within the threshold range, performing synchronization compensation on the video signal and the audio signal output by the second chip, transmitting the video signal after the synchronization compensation to the display, and outputting the audio signal after the synchronization compensation to the sound player;
if the sound-picture synchronization time difference is within a threshold value range, transmitting the video signal output by the second chip to the display, and outputting the audio signal output by the second chip to the sound player;
the first image quality processing time consumption and the second image quality processing time consumption are the sum of image processing time consumption and image quality delay generated by each link in image quality processing, and the image quality delay is delay generated when image quality processing is performed on a current frame by reading and referring to image data of several frames after the current frame;
the first sound processing time consumption and the second sound processing time consumption are the total time consumed by all links in sound processing, and the links in the sound processing comprise volume processing and sound effect processing.
2. The display device according to claim 1,
in the video playing process, the first chip detects whether an image setting operation or a sound setting operation is received;
if the first chip receives an image setting operation or a sound setting operation, the first video processor reacquires the first image quality processing time consumption, the first audio processor reacquires the first sound processing time consumption, the second video processor reacquires the second image quality processing time consumption, and the second audio processor reacquires the second sound processing time consumption, so that the controller corrects the sound and picture synchronization time difference;
and the controller is also configured to synchronously compensate the video signal and the audio signal output by the second chip according to the corrected sound-picture synchronous time difference if the corrected sound-picture synchronous time difference is not within the threshold range.
3. The display device according to claim 1,
in the video playing process, the first video processor acquires the consumed time of image quality processing every preset time, the first audio processor acquires the consumed time of first sound processing every preset time, the second video processor acquires the consumed time of second image quality processing every preset time, and the second audio processor acquires the consumed time of second sound processing every preset time, so that the controller corrects the sound and picture synchronization time difference;
and the controller is also configured to synchronously compensate the video signal and the audio signal output by the second chip according to the corrected sound-picture synchronous time difference if the corrected sound-picture synchronous time difference is not within the threshold range.
4. The display device according to any one of claims 1 to 3, wherein the controller synchronously compensates the video signal and the audio signal output from the second chip by:
if the sound-picture synchronous time difference is larger than the upper limit value of the threshold range, frame loss or audio delay is carried out; wherein the upper limit value of the threshold range is a time when the image is allowed to appear more delayed than the sound.
5. The display device according to any one of claims 1 to 3, wherein the controller synchronously compensates the video signal and the audio signal output from the second chip by:
if the sound-picture synchronization time difference is smaller than the lower limit value of the threshold range, performing frame interpolation; wherein the lower limit value of the threshold range is a time when the image is allowed to appear ahead of the sound.
6. The display device of claim 4, wherein the dropping frames comprises:
if a compensation mode for immediately synchronizing sound and picture is adopted, the number DZ of the immediately lost frames is f multiplied by N/1000; wherein f is a refresh frequency for representing the number of frames of image display per second; n is the sound and picture synchronous time difference, and the unit is millisecond;
if a compensation mode for adjusting the synchronization of the sound and the picture within a preset threshold time is adopted, calculating an interval frame number JZ1, JZ1 being Z/N, wherein Z is the threshold time; one frame of image is discarded per interval JZ1 frames.
7. The display device of claim 5, wherein the interpolating comprises:
if a compensation mode for immediately adjusting and synchronizing the sound and the picture is adopted, the number CZ of the immediate frame insertion is f x N/1000; wherein f is a refresh frequency for representing the number of frames of image display per second; the unit of | N | is the absolute value of the sound-picture synchronous time difference and is millisecond;
if a compensation mode that the sound and the picture are adjusted to be synchronous within a preset threshold time is adopted, calculating an interval frame number JZ2, JZ2 being Z/| N |, wherein Z is the threshold time; one frame of image is inserted every interval JZ2 frames.
8. The display device according to claim 1, wherein the picture-in-time difference is calculated according to the following formula:
N=T1+T2-(T3+T4)
in the formula, N is a sound-picture synchronization time difference, T1 is the first image quality processing time consumption, T2 is the second image quality processing time consumption, T3 is the first sound processing time consumption, and T4 is the second sound processing time consumption.
9. The apparatus according to claim 1 or 8, wherein the first image quality processing elapsed time and the second image quality processing elapsed time are calculated according to the following formula:
Figure FDA0003354447190000021
wherein T1 is the time consumed by the first image quality processing; t2 represents the time consumed by the second image quality processing; tn is time consumption generated when each frame of image is subjected to image quality processing of each link; td is a delay generated when each frame of image is subjected to image quality processing; f is the refresh frequency in Hz; r is a frame processing threshold value which is used for indicating reading of image data of the current frame and a subsequent R-1 frame so as to complete image quality processing of the current frame; and S is the frame number of video playing.
10. A sound-picture synchronization processing method for a display device according to any one of claims 1 to 9, the method comprising:
the first video processor is used for receiving a video signal through an input interface, and performing image quality processing on the video signal to acquire first image quality processing time;
the method comprises the steps that a first audio processor receives an audio signal through an input interface, performs sound processing on the audio signal, and obtains first sound processing time consumption;
the second video processor receives the video signal output by the first chip through the communication interface, and performs image quality processing on the video signal output by the first chip to obtain second image quality processing time consumption;
the second audio processor receives the audio signal output by the first chip through a communication interface, performs sound processing on the audio signal output by the first chip, and obtains second sound processing time consumption;
the controller calculates a sound-picture synchronization time difference according to the first image quality processing time consumption, the second image quality processing time consumption, the first sound processing time consumption and the second sound processing time consumption;
the controller judges whether the sound-picture synchronous time difference is within a threshold range;
if the sound-picture synchronization time difference is not within the threshold range, the controller performs synchronous compensation on the video signal and the audio signal output by the second chip, transmits the video signal after synchronous compensation to the display and outputs the audio signal after synchronous compensation to the sound player;
if the sound-picture synchronous time difference is within a threshold value range, the controller transmits the video signal output by the second chip to the display and outputs the audio signal output by the second chip to the sound player;
the first image quality processing time consumption and the second image quality processing time consumption are the sum of image processing time consumption and image quality delay generated by each link in image quality processing, and the image quality delay is delay generated when image quality processing is performed on a current frame by reading and referring to image data of several frames after the current frame;
the first sound processing time consumption and the second sound processing time consumption are the total time consumed by all links in sound processing, and the links in the sound processing comprise volume processing and sound effect processing.
CN201910832295.1A 2019-09-04 2019-09-04 Sound and picture synchronous processing method and display equipment Active CN112449229B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910832295.1A CN112449229B (en) 2019-09-04 2019-09-04 Sound and picture synchronous processing method and display equipment
PCT/CN2020/071103 WO2021042655A1 (en) 2019-09-04 2020-01-09 Sound and picture synchronization processing method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910832295.1A CN112449229B (en) 2019-09-04 2019-09-04 Sound and picture synchronous processing method and display equipment

Publications (2)

Publication Number Publication Date
CN112449229A CN112449229A (en) 2021-03-05
CN112449229B true CN112449229B (en) 2022-01-28

Family

ID=74734611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910832295.1A Active CN112449229B (en) 2019-09-04 2019-09-04 Sound and picture synchronous processing method and display equipment

Country Status (2)

Country Link
CN (1) CN112449229B (en)
WO (1) WO2021042655A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115904303A (en) * 2021-05-21 2023-04-04 荣耀终端有限公司 Method and equipment for playing sound
CN113891131A (en) * 2021-09-29 2022-01-04 四川长虹电器股份有限公司 Video playing method and system
CN114189728B (en) * 2021-12-13 2022-08-09 深圳市日声数码科技有限公司 Playing system for converting digital video and audio input into analog format
CN114598917B (en) * 2022-01-27 2024-03-29 海信视像科技股份有限公司 Display device and audio processing method
CN114567813B (en) * 2022-03-08 2024-03-22 深圳创维-Rgb电子有限公司 Image quality improving method, device, playing equipment and computer readable storage medium
CN116017012A (en) * 2022-11-28 2023-04-25 深圳创维-Rgb电子有限公司 Multi-screen synchronization method, device, display equipment and computer readable storage medium
CN117793446B (en) * 2024-01-22 2024-06-21 广州市锐星信息科技有限公司 Mobile data terminal for piano full recording and broadcasting system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902317A (en) * 2015-05-27 2015-09-09 青岛海信电器股份有限公司 Audio video synchronization method and device
CN108833975A (en) * 2016-03-18 2018-11-16 青岛海信电器股份有限公司 The processing method and processing device of video playing
CN109144642A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Display control method, device, electronic equipment and storage medium
CN109275008A (en) * 2018-09-17 2019-01-25 青岛海信电器股份有限公司 A kind of method and apparatus of audio-visual synchronization
CN109379619A (en) * 2018-11-20 2019-02-22 青岛海信电器股份有限公司 Sound draws synchronous method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453655A (en) * 2007-11-30 2009-06-10 深圳华为通信技术有限公司 Method, system and device for customer controllable audio and video synchronization regulation
JP5212473B2 (en) * 2008-06-26 2013-06-19 富士通セミコンダクター株式会社 VIDEO / AUDIO DATA OUTPUT DEVICE AND VIDEO / AUDIO DATA OUTPUT METHOD
CN103219029A (en) * 2013-03-25 2013-07-24 广东欧珀移动通信有限公司 Method and system for automatically adjusting synchronization of audio and video
KR102218908B1 (en) * 2014-05-07 2021-02-23 엘지전자 주식회사 Digital device and method of processing a service thereof
CN104243853A (en) * 2014-08-25 2014-12-24 青岛歌尔声学科技有限公司 High-definition multimedia interface (HDMI) double-display device and display method
CN105376628B (en) * 2014-08-27 2018-09-21 深圳Tcl新技术有限公司 Audio and video frequency signal synchronizing method and device
CN104914580B (en) * 2015-04-24 2018-04-27 北京小鸟看看科技有限公司 A kind of head-mounted display
CN105657489A (en) * 2015-08-21 2016-06-08 乐视致新电子科技(天津)有限公司 Audio/video playing equipment
TWI622018B (en) * 2017-09-13 2018-04-21 緯創資通股份有限公司 Method, device and system for editing video
US10643298B2 (en) * 2018-02-14 2020-05-05 Realtek Semiconductor Corporation Video processing system and processing chip

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902317A (en) * 2015-05-27 2015-09-09 青岛海信电器股份有限公司 Audio video synchronization method and device
CN108833975A (en) * 2016-03-18 2018-11-16 青岛海信电器股份有限公司 The processing method and processing device of video playing
CN109144642A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Display control method, device, electronic equipment and storage medium
CN109275008A (en) * 2018-09-17 2019-01-25 青岛海信电器股份有限公司 A kind of method and apparatus of audio-visual synchronization
CN109379619A (en) * 2018-11-20 2019-02-22 青岛海信电器股份有限公司 Sound draws synchronous method and device

Also Published As

Publication number Publication date
CN112449229A (en) 2021-03-05
WO2021042655A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN112449229B (en) Sound and picture synchronous processing method and display equipment
CN111526415B (en) Double-screen display equipment and HDMI switching method thereof
CN112073788B (en) Video data processing method and device and display equipment
CN112073797A (en) Volume adjusting method and display device
CN111510788B (en) Display method and display device for double-screen double-system screen switching animation
CN110708581B (en) Display device and method for presenting multimedia screen saver information
CN112073774A (en) Image quality processing method and display device
CN111464840B (en) Display device and method for adjusting screen brightness of display device
CN112073795B (en) Video data processing method and device and display equipment
CN112399243A (en) Playing method and display device
CN112783380A (en) Display apparatus and method
CN112068987A (en) Method and device for rapidly restoring factory settings
CN112911354B (en) Display apparatus and sound control method
WO2021031620A1 (en) Display device and backlight brightness adjustment method
CN112995733B (en) Display device, device discovery method and storage medium
CN112073663B (en) Audio gain adjusting method, video chat method and display device
CN113132769A (en) Display device and sound and picture synchronization method
CN113448529B (en) Display apparatus and volume adjustment method
CN112073789B (en) Sound processing method and display device
CN112073803B (en) Sound reproduction method and display device
CN112073808A (en) Color space switching method and display device
CN112399245A (en) Playing method and display device
CN112399223B (en) Method for improving moire fringe phenomenon and display device
CN113630633B (en) Display device and interaction control method
CN112073796B (en) Image motion compensation method and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant