CN111787377B - Display device and screen projection method - Google Patents

Display device and screen projection method Download PDF

Info

Publication number
CN111787377B
CN111787377B CN202010837992.9A CN202010837992A CN111787377B CN 111787377 B CN111787377 B CN 111787377B CN 202010837992 A CN202010837992 A CN 202010837992A CN 111787377 B CN111787377 B CN 111787377B
Authority
CN
China
Prior art keywords
hdcp
thread
data
screen projection
interaction
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
CN202010837992.9A
Other languages
Chinese (zh)
Other versions
CN111787377A (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.)
Vidaa Netherlands International Holdings BV
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN202010837992.9A priority Critical patent/CN111787377B/en
Publication of CN111787377A publication Critical patent/CN111787377A/en
Application granted granted Critical
Publication of CN111787377B publication Critical patent/CN111787377B/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/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/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Abstract

The embodiment of the application provides a display device and a screen projection method, wherein the display device comprises a display, a loudspeaker and a controller, and the controller is configured to: starting an RTSP (real time streaming protocol) interactive thread in response to receiving a screen projection signal; before the RTSP interactive thread receives screen projection data of the terminal equipment, judging whether the HDCP authentication of the terminal equipment is successful or not; controlling an RTSP (real time streaming protocol) interaction thread to enter a screen projection data interaction stage according to successful HDCP (high-level data protection protocol) authentication of the terminal equipment, and controlling the RTSP interaction thread to start an encryption stream thread to analyze screen projection data to obtain first analysis data; controlling an RTSP (real time streaming protocol) interaction thread to enter a screen projection data interaction stage according to HDCP (high-level data protection protocol) authentication failure of the terminal equipment, and controlling the RTSP interaction thread to start a stream clearing thread to analyze screen projection data to obtain second analysis data; and controlling the display and the loudspeaker to play the content corresponding to the first analytic data or the second analytic data. The screen projection method and the screen projection device improve screen projection compatibility and screen projection success rate.

Description

Display device and screen projection method
Technical Field
The application relates to the technical field of display equipment, in particular to display equipment and a screen projection method.
Background
The smart television belongs to large-screen display equipment, and has obvious advantages compared with small-screen display equipment such as a smart phone. Sharing the display content on the smart phone to the smart television often brings better audio-visual experience to the user. An important way for the smart tv to share content with the smart phone is Miracast screen casting.
When both the smart television and the smart phone have the Miracast screen projection function, media data sharing can be realized through RTSP (Real Time Streaming protocol). According to the RTSP, the two ends of the device need to perform interaction in multiple stages when performing screen projection, wherein in the M3 stage, the RTSP specifies some capability parameters that need to be negotiated between the two ends of the device, and one of the capability parameters is a content protection option used for determining to encrypt the screen projection data. The screen projection data encryption can be carried out based on HDCP (High-bandwidth Digital Content Protection), the technology can ensure that the transmitted High-definition signals cannot be illegally recorded, and when a user illegally copies the signals, the technology can interfere, the quality of copied images is reduced, and therefore the screen projection data is protected. The smart television can judge the screen projection data sent by the smart phone to be encrypted data according to the content protection option, and the screen projection data are output after being decrypted. However, the content protection option is not a mandatory standard of the RTSP, after the content protection option is sent to the smart television by a part of smart phones, the screen-casting data sent to the smart television is unencrypted data, and decryption of the unencrypted data by the smart television fails, which further results in screen-casting failure.
Disclosure of Invention
In order to solve the technical problem, the application provides a display device and a screen projection method.
In a first aspect, the present application provides a display device comprising:
a display;
a speaker;
a controller connected with the display and speaker, the controller configured to:
starting an RTSP (real time streaming protocol) interactive thread in response to receiving a screen projection signal;
before the RTSP interactive thread receives screen projection data of the terminal equipment, judging whether the HDCP authentication of the terminal equipment is successful;
controlling an RTSP (real time streaming protocol) interaction thread to enter a screen projection data interaction stage according to successful HDCP (high-level data protection protocol) authentication of the terminal equipment, and controlling the RTSP interaction thread to start an encryption stream thread to analyze the screen projection data to obtain first analysis data;
controlling an RTSP (real time streaming protocol) interaction thread to enter a screen projection data interaction stage according to the HDCP authentication failure of the terminal equipment, and controlling the RTSP interaction thread to start a stream clearing thread to analyze the screen projection data to obtain second analysis data;
and controlling the display and the loudspeaker to play the content corresponding to the first analytic data or the second analytic data.
In some embodiments, the controller is further configured to:
starting an HDCP interactive authentication thread, wherein the HDCP interactive authentication thread is used for judging whether an HDCP interactive port number of display equipment receives a data packet from terminal equipment or not, and generating an HDCP authentication result according to whether the data packet from the terminal equipment is received or not;
And acquiring the HDCP authentication result, and determining whether the terminal equipment is successfully subjected to HDCP authentication according to the HDCP authentication result.
In some embodiments, the HDCP mutual authentication thread establishes a timeout mechanism upon initiation, the timeout mechanism defining a time frame for receiving the data packet.
In a second aspect, an embodiment of the present application provides a screen projection method for a display device, where the screen projection method includes:
starting an RTSP (real time streaming protocol) interactive thread in response to receiving a screen projection signal;
before the RTSP interactive thread receives screen projection data of the terminal equipment, judging whether the HDCP authentication of the terminal equipment is successful;
controlling an RTSP (real time streaming protocol) interaction thread to enter a screen projection data interaction stage according to successful HDCP (high-level data protection protocol) authentication of the terminal equipment, and controlling the RTSP interaction thread to start an encryption stream thread to analyze the screen projection data to obtain first analysis data;
controlling an RTSP (real time streaming protocol) interaction thread to enter a screen projection data interaction stage according to the HDCP authentication failure of the terminal equipment, and controlling the RTSP interaction thread to start a stream clearing thread to analyze the screen projection data to obtain second analysis data;
and controlling the display and the loudspeaker to play the content corresponding to the first analytic data or the second analytic data.
The display equipment and the screen projection method provided by the application have the beneficial effects that:
according to the method and the device, the analysis thread of the screen projection data is determined by judging whether the terminal equipment is successfully authenticated, the problem that screen projection data analysis failure possibly occurs due to the fact that the screen projection data is analyzed by adopting the encryption flow thread only according to content protection options, and then screen projection failure occurs is solved, screen projection compatibility is improved, and screen projection success rate is improved.
Drawings
In order to more clearly describe the technical solution of the present application, the drawings required to be used in the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic diagram illustrating an operational scenario between a display device and a control apparatus according to some embodiments;
a block diagram of a hardware configuration of a display device 200 according to some embodiments is illustrated in fig. 2;
fig. 3 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments;
a schematic diagram of a software configuration in a display device 200 according to some embodiments is illustrated in fig. 4;
FIG. 5 illustrates an icon control interface display diagram for an application in the display device 200, according to some embodiments;
an interaction diagram illustrating an RTSP protocol phase according to some embodiments is shown in fig. 6;
FIG. 7 illustrates a flow diagram of a screen-casting interaction, in accordance with some embodiments;
a flow diagram illustrating a method of screen projection according to some embodiments is shown in fig. 8;
a flow diagram illustrating a display device side RTSP interaction thread according to some embodiments is shown in fig. 9;
fig. 10 is a flow diagram illustrating a method of determining whether HDCP authentication of a terminal device is successful, in accordance with some embodiments;
a flowchart of an HDCP interactive authentication thread according to some embodiments is illustrated in fig. 11.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following is a clear and complete description of exemplary embodiments of the present application with reference to the attached drawings in exemplary embodiments of the present application, and it is apparent that the exemplary embodiments described are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without making any inventive step, are intended to be within the scope of the claims appended hereto. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment.
It should be noted that the brief descriptions of the terms in the present application are only for convenience of understanding of the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the foregoing drawings are used for distinguishing between similar or analogous objects or entities and are not necessarily intended to limit the order or sequence Unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term module, as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the functionality associated with that element.
The term "remote control" as used in this application refers to a component of an electronic device, such as the display device disclosed in this application, that is typically wirelessly controllable over a short distance. Typically using infrared and/or Radio Frequency (RF) signals and/or bluetooth to interface with the electronic device, and may also include WiFi, wireless USB, bluetooth, motion sensor, etc. functional modules. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in a common remote control device with a user interface in a touch screen.
The term "gesture" as used in this application refers to a user's behavior through a change in hand shape or an action such as hand motion to convey a desired idea, action, purpose, and/or result.
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, the user may operate the display device 200 through the mobile terminal 300 and the control apparatus 100.
In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, etc., and the display device 200 is controlled by wireless or other wired methods. The user may input a user command through a key on a remote controller, a voice input, a 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.
In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device. The application, through configuration, may provide the user with various controls in an intuitive User Interface (UI) on a screen associated with the smart device.
In some embodiments, the mobile terminal 300 may install a software application with the display device 200, implement connection communication through a network communication protocol, and implement the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 300 and the display device 200 can establish a control instruction protocol, synchronize a remote control keyboard to the mobile terminal 300, and control the display device 200 by controlling a user interface on the mobile terminal 300. The audio/video content displayed on the mobile terminal 300 may also be transmitted to the display device 200, so as to implement the synchronous display function.
As also shown in fig. 1, the display apparatus 200 also performs data communication with the server 400 through various communication means. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 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, as well as Electronic Program Guide (EPG) interactions. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers. Other web service contents such as video on demand and advertisement services are provided through the server 400.
The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The particular 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 including, but not limited to, a network tv, an intelligent tv, an Internet Protocol Tv (IPTV), and the like, in addition to the broadcast receiving tv function.
A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 2.
In some embodiments, at least one of the controller 250, the tuner demodulator 210, the communicator 220, the detector 230, the input/output interface 255, the display 275, the audio output interface 285, the memory 260, the power supply 290, the user interface 265, and the external device interface 240 is included in the display apparatus 200.
In some embodiments, a display 275 receives image signals originating from the first processor output and displays video content and images and components of the menu manipulation interface.
In some embodiments, the display 275, includes a display screen assembly for presenting a picture, and a driving assembly that drives the display of an image.
In some embodiments, the video content is displayed from broadcast television content, or alternatively, from various broadcast signals that may be received via wired or wireless communication protocols. Alternatively, various image contents received from a network communication protocol and transmitted from a network server side can be displayed.
In some embodiments, the display 275 is used to present a user-manipulated UI interface generated in the display device 200 and used to control the display device 200.
In some embodiments, a drive assembly for driving the display is also included, depending on the type of display 275.
In some embodiments, display 275 is a projection display and may also include a projection device and a projection screen.
In some embodiments, communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi chip, a bluetooth communication protocol chip, a wired ethernet communication protocol chip, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
In some embodiments, the display apparatus 200 may establish control signal and data signal transmission and reception with the external control device 100 or the content providing apparatus through the communicator 220.
In some embodiments, user interface 265 may be configured to receive infrared control signals from control device 100 (e.g., an infrared remote control, etc.).
In some embodiments, the detector 230 is a signal used by the display device 200 to collect an external environment or interact with the outside.
In some embodiments, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light, and parameters such as parameter changes can be adaptively displayed by collecting the ambient light.
In some embodiments, the detector 230 may further include an image collector, such as a camera, a video camera, etc., which may be used to collect external environment scenes, and to collect attributes of the user or gestures interacted with the user, which may adaptively change display parameters, and may also recognize user gestures, so as to implement a function of interaction with the user.
In some embodiments, the detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.
In some embodiments, the display apparatus 200 may adaptively adjust a display color temperature of an image. For example, when the temperature is high, the display device 200 may be adjusted to display a color temperature of the image in a cool tone, or when the temperature is low, the display device 200 may be adjusted to display a warm tone.
In some embodiments, the detector 230 may also include a sound collector or the like, such as a microphone, which may be used to receive the user's voice. Illustratively, a voice signal including a control instruction for the user to control the display device 200, or to collect an ambient sound for recognizing an ambient scene type, so that the display device 200 can adaptively adapt to an ambient noise.
In some embodiments, as shown in fig. 2, the input/output interface 255 is configured to allow data transfer between the controller 250 and external other devices or other controllers 250. Such as receiving video signal data and audio signal data of an external device, or command instruction data, etc.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: the interface can be any one or more of a high-definition multimedia interface (HDMI), an analog or data high-definition component input interface, a composite video input interface, a USB input interface, an RGB port, and the like. The plurality of interfaces may form a composite input/output interface.
In some embodiments, as shown in fig. 2, the tuning demodulator 210 is configured to receive a broadcast television signal through a wired or wireless receiving manner, and may perform modulation and demodulation processes such as amplification, mixing, resonance, and the like, and demodulate an audio and video signal from a plurality of wireless or wired broadcast television signals, where the audio and video signal may include a television audio and video signal carried in a television channel frequency selected by a user, and an EPG data signal.
In some embodiments, the frequency points demodulated by the tuner demodulator 210 are controlled by the controller 250, and the controller 250 can send out a control signal according to the user selection so that the modem responds to the television signal frequency selected by the user and modulates and demodulates the television signal carried by the frequency.
In some embodiments, the broadcast television signal may be classified into a terrestrial broadcast signal, a cable broadcast signal, a satellite broadcast signal, an internet broadcast signal, or the like according to a television signal broadcasting system. Or may be classified into a digital modulation signal, an analog modulation signal, and the like according to a modulation type. Or the signals are classified into digital signals, analog signals, and the like according to the type of the signals.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box. Therefore, the set top box outputs the television audio and video signals after the received broadcast television signals are modulated and demodulated to the main device, and the main device receives the audio and video signals through the first input/output interface.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 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 275, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, 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 of connecting to a hyperlink page, document, image, etc., or performing an operation of a program corresponding to the 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.
As shown in fig. 2, the controller 250 includes at least one of a Random Access Memory 251 (RAM), a Read-Only Memory 252 (ROM), a video processor 270, an audio processor 280, other processors 253 (e.g., a Graphics Processing Unit (GPU), a Central Processing Unit (CPU), a Communication Interface (Communication Interface), and a Communication Bus 256 (Bus)).
In some embodiments, RAM 251 is used to store temporary data for the operating system or other programs that are running.
In some embodiments, ROM 252 is used to store instructions for various system boots.
In some embodiments, the ROM 252 is used to store a Basic Input Output System (BIOS). The system is used for completing power-on self-test of the system, initialization of each functional module in the system, a driver of basic input/output of the system and booting an operating system.
In some embodiments, when the power-on signal is received, the display device 200 starts to power up, the CPU executes the system boot instructions in the ROM 252, and copies the temporary data of the operating system stored in the memory into the RAM 251 so as to start or run the operating system. After the start of the operating system is completed, the CPU copies the temporary data of the various application programs in the memory to the RAM 251, and then, the various application programs are started or run.
In some embodiments, CPU processor 254 is used to execute operating system and application program instructions stored in memory. And executing various application programs, data and contents according to various interactive instructions received from the outside so as to finally display and play various audio and video contents.
In some exemplary embodiments, the CPU processor 254 may comprise a plurality of processors. The plurality of processors may include a main processor and one or more sub-processors. 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. One or more sub-processors for one operation in a standby mode or the like.
In some embodiments, a graphics processor 253, 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 the rendering device is used for rendering various objects obtained based on the arithmetic unit, and the rendered objects are used for being displayed on a display.
In some embodiments, video processor 270 is configured to receive an external video signal, perform video processing such as decompression, decoding, scaling, noise reduction, frame number conversion, resolution conversion, image synthesis, etc., according to a standard codec protocol of the input signal, and obtain a signal that can be displayed or played on directly displayable device 200.
In some embodiments, video processor 270 includes a demultiplexing module, a video decoding module, an image compositing module, a frame number conversion module, a display formatting module, and the like.
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, an audio signal and the like.
And the video decoding module is used for processing the demultiplexed video signal, including decoding, scaling and the like.
And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.
The frame conversion module is used for converting the input video frame number, such as converting the 60Hz frame number into the 120Hz frame number or the 240Hz frame number, and the common format is realized by adopting a frame interpolation mode.
The display format module is used for converting the received frame number into a video output signal, and changing the signal to conform to the signal of the display format, such as outputting RGB data signals.
In some embodiments, the graphics processor 253 and the video processor may be integrated or separately configured, and when the graphics processor and the video processor are integrated, the graphics processor and the video processor may perform processing of graphics signals output to the display, and when the graphics processor and the video processor are separately configured, the graphics processor and the video processor may perform different functions, respectively, for example, a GPU + frc (frame Rate conversion) architecture.
In some embodiments, the audio processor 280 is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, and amplification processes to obtain an audio signal that can be played in a speaker.
In some embodiments, video processor 270 may comprise one or more chips. The audio processor may also include one or more chips.
In some embodiments, the video processor 270 and the audio processor 280 may be separate chips or may be integrated together with the controller in one or more chips.
In some embodiments, the audio output, under the control of controller 250, receives sound signals output by audio processor 280, such as: the speaker 286, and an external sound output terminal of the sound generating device that can output to the external device, in addition to the speaker carried by the display device 200 itself, such as: external sound interface or earphone interface, etc., and may also include a near field communication module in the communication interface, for example: and the Bluetooth module is used for outputting sound of the Bluetooth loudspeaker.
The power supply 290 supplies power to the display device 200 from the power input from the external power source under the control of the controller 250. The power supply 290 may include a built-in power supply circuit installed inside the display apparatus 200, or may be a power supply interface installed outside the display apparatus 200 to provide an external power supply in the display apparatus 200.
A user interface 265 for receiving an input signal of a user and then transmitting the received user input signal to the controller 250. The user input signal may be a remote controller signal received through an infrared receiver, and various user control signals may be received through the network communication module.
In some embodiments, the user inputs a user command through the control apparatus 100 or the mobile terminal 300, the user input interface responds to the user input through the controller 250 according to the user input, and the display device 200 responds to the user input through the controller 250.
In some embodiments, the user may input a user command on a Graphical User Interface (GUI) displayed on the display 275, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
The memory 260 includes a memory for storing various software modules for driving the display device 200. Such as: various software modules stored in the first memory, including: at least one of a base module, a detection module, a communication module, a display control module, a browser module, and various service modules.
The base module is a bottom layer software module for signal communication between various hardware in the display device 200 and for sending processing and control signals to the upper layer module. The detection module is used for collecting various information from various sensors or user input interfaces, and the management module is used for performing digital-to-analog conversion and analysis management.
For example, the voice recognition module comprises a voice analysis module and a voice instruction database module. The display control module is used for controlling the display to display the image content, and can be used for playing the multimedia image content, UI interface and other information. And the communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing a module for data communication between the browsing servers. And the service module is used for providing various services and modules including various application programs. Meanwhile, the memory 260 may store a visual effect map for receiving external data and user data, images of various items in various user interfaces, and a focus object, etc.
Fig. 3 exemplarily shows a block diagram of the configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 3, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface, a memory, and a power supply.
The control apparatus 100 is configured to control the display device 200 and may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary 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. 1, a mobile terminal 300 or other intelligent electronic device may function similar to the control apparatus 100 after an application for manipulating the display device 200 is installed. Such as: the user may implement the function of controlling the physical keys of the apparatus 100 by installing an application, various function keys or virtual buttons of a graphical user interface available on the mobile terminal 300 or other intelligent electronic device.
The controller 110 includes a processor 112 and RAM 113 and ROM 114, a communication interface 130, and a communication bus. The controller is used for controlling the operation of the control device 100, as well as the communication cooperation among the internal components and the external and internal data processing functions.
The communication interface 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 communication interface 130 may include at least one of a WiFi chip 131, a bluetooth module 132, an NFC module 133, and other near field communication modules.
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, keys 144, and other input interfaces. Such as: the user can realize a user instruction input function through actions such as 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 instruction signal, and sends the instruction 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 rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.
In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input-output interface 140. The control device 100 is configured with a communication interface 130, such as: the WiFi, bluetooth, NFC, etc. modules may transmit the user input command to the display device 200 through the WiFi protocol, or the bluetooth protocol, or the NFC protocol code.
A memory 190 for storing various operation programs, data and applications for driving and controlling the control apparatus 200 under the control of the controller. 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 element of the control device 100 under the control of the controller. A battery and associated control circuitry.
In some embodiments, the system may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are, from top to bottom, an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer.
In some embodiments, at least one application program runs in the application program layer, and the application programs can be Window (Window) programs carried by an operating system, system setting programs, clock programs, camera applications and the like; or may be an application developed by a third party developer such as a hi program, a karaoke program, a magic mirror program, or the like. In specific implementation, the application packages in the application layer are not limited to the above examples, and may actually include other application packages, which is not limited in this embodiment of the present application.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is to: managing the life cycle of each application program and the general navigation backspacing function, such as controlling the exit of the application program (including switching the user interface currently displayed in the display window to the system desktop), opening, backing (including switching the user interface currently displayed in the display window to the previous user interface of the user interface currently displayed), and the like.
In some embodiments, the window manager is configured to manage all window programs, such as obtaining a size of the display screen, determining whether a status bar exists, locking the screen, clipping the screen, controlling a change of the display window (e.g., zooming the display window out, dithering the display, distorting the display, etc.), and the like.
In some embodiments, the system runtime layer provides support for an upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.), and so on.
In some embodiments, the kernel layer further comprises a power driver module for power management.
In some embodiments, software programs and/or modules corresponding to the software architecture of fig. 4 are stored in the first memory or the second memory shown in fig. 2 or 3.
In some embodiments, for a display device with a touch function, taking a split screen operation as an example, the display device receives an input operation (such as a split screen operation) applied to a display screen by a user, and the kernel layer may generate a corresponding input event according to the input operation and report the event to the application framework layer. The window mode (such as a multi-window mode) corresponding to the input operation, the window position and size, and the like are set by the activity manager of the application framework layer. And the window management of the application program framework layer draws a window according to the setting of the activity manager, then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.
In some embodiments, as shown in fig. 5, the application layer containing at least one application may display a corresponding icon control in the display, such as: the system comprises a live television application icon control, a video on demand application icon control, a media center application icon control, an application center icon control, a game application icon control and the like.
In some embodiments, the live television application may provide live television from different sources. For example, a live television application may provide television signals using input from cable television, radio broadcasts, satellite services, 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.
In some embodiments, a video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides video displays from some storage source. For example, the video on demand may come from a server side of cloud storage, from a local hard disk storage containing stored video programs.
In some embodiments, the media center application may provide various applications for multimedia content playback. For example, a media center, which may be other than live television or video on demand, may provide services for a user to access various images or audio through a media center application.
In some embodiments, an application center may provide storage for various applications. 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 the smart television. The application center may obtain these applications from different sources, store them in local storage, and then be operable on the display device 200.
The hardware or software architecture in some embodiments may be based on the description in the above embodiments, and in some embodiments may be based on other hardware or software architectures that are similar to the above embodiments, and it is sufficient to implement the technical solution of the present application.
In some embodiments, a screen-casting application may be set in the application center, and the screen-casting application may be an application based on Miracast technology, and may transmit audio and video data of the device end to the TV end for playing through a P2P (Point 2 Point, peer-to-peer) network transmission function, so as to achieve the purpose of screen sharing, where the device end may be a terminal device such as a smart phone and a tablet computer.
When a screen is projected, an RTSP (Real Time Streaming protocol) interaction protocol needs to be complied with to implement media data sharing. The RTSP protocol specifies the interaction procedure between the TV end and the device end in the RTSP protocol phase, and referring to fig. 6, the interaction in the RTSP protocol phase may include the following procedures: setup (connection establishment), play (screen transmission play), pause and Teardown (end), wherein the setup includes a connection establishment function, the play includes a screen transmission play function, the device transmits screen content data to the TV end, a play request is initiated according to a format requirement of a command, the pause includes a pause function, the pause is an optional function and can support screen pause and projection, the Teardown includes an end function, and both sides of screen projection can start the end function. In order to smoothly play the screen-cast content, it is necessary to determine an analysis method of screen-cast data at setup, where the screen-cast data may include the above-mentioned screen content data.
setup belongs to the M3 stage of the RTSP protocol stage, in which the RTSP protocol specifies some capability parameters that the TV end and the device end need to negotiate, such as Content Protection option, where the Content Protection option is used to implement Content Protection, and the implementation manner includes using HDCP (High-bandwidth Digital Content Protection technology). The HDCP can ensure that the transmitted high-definition signals cannot be illegally recorded, and when a user illegally copies the signals, the technology can interfere, so that the quality of copied images is reduced, and the contents are protected. The TV end can determine that the analysis method of the screen-casting data is encryption stream thread analysis according to the content protection option, and the encryption stream thread can analyze the encrypted screen-casting data; of course, if the device side does not require content protection, the TV side may also determine that the parsing method of the screen-casting data is parsing by the streaming thread, that is, non-encrypted parsing, and the streaming thread may parse the non-encrypted screen-casting data.
However, since the content protection is not a mandatory standard, after a part of the device side sends content protection options to the TV side, the TV side determines that the analysis method of the screen-casting data is encrypted thread analysis, and the screen-casting data sent by the device side may be unencrypted data, which results in analysis failure of the screen-casting data and further screen-casting failure. For example, the HDCP functional module at the device side is a non-standard module, and the HDCP function of the non-standard module is incomplete, and does not have the capability of encrypting the screen-projected data, but still has the capability of requiring content protection, so that the display device cannot analyze the screen-projected data.
In order to solve the above technical problem, an embodiment of the present application provides a screen projection interaction method, and refer to fig. 7, which is a schematic flowchart of screen projection interaction according to some embodiments.
As shown in fig. 7, a user can input a screen projection instruction at a terminal device, wherein the terminal device needs to have a Miracast screen projection function, the terminal device can be provided with a screen projection icon, when the user clicks the screen projection icon, the screen projection instruction is generated, and the terminal device starts the Miracast screen projection function according to the screen projection instruction.
After the terminal equipment starts the Miracast screen projection function, the terminal equipment starts the self P2P network function.
In some embodiments, the terminal device may send a screen projection signal to the display device, and the display device starts its own P2P network function according to the received screen projection signal.
In some embodiments, the user may click an icon of the screen-casting application on the display device to generate a screen-casting signal, and the display device starts its own P2P network function according to the received screen-casting signal.
On the basis that the terminal device and the display device both start the P2P network function, the terminal device can establish P2P connection with the display device, perform interaction of network parts, and acquire the IP addresses of each other.
And the display equipment and the terminal equipment respectively start an RTSP interactive thread, and setup is carried out in the handshake phase.
When the display device executes to the M3 phase of setup in the RTSP interaction thread, the terminal device sends an M3 Request to the display device, where the M3 Request includes a GET _ PARAMETER list.
In some embodiments, the terminal device is provided with an HDCP function module, and the HDCP function module is a standard module, and when the terminal device requires content protection conforming to an HDCP protocol on the screen-projected data, wfd _ content _ protection, that is, a content protection option, exists in the GET _ PARAMETER list; when the terminal device does not require content protection conforming to the HDCP protocol on the screen projection data, wfd _ content _ protection does not exist in the GET _ PARAMETER PARAMETER list.
In some embodiments, the terminal device is provided with an HDCP function module, but the HDCP function module is a non-standard module, and when the terminal device requires content protection conforming to an HDCP protocol on screen projection data, wfd _ content _ protection exists in a GET _ PARAMETER list; when the terminal device does not require content protection conforming to the HDCP protocol for the screen projection data, there may be wfd _ content _ protection or none in the GET _ PARAMETER list.
When wfd _ content _ protection is included in the GET _ PARAMETER list of the M3 Request, the M3 Request is a content protection Request.
And the display equipment performs the handshake and authorization of the HDCP stage according to the received content protection request. The HDCP phase handshake includes replying HDCP authentication information to the terminal device, where the HDCP authentication information may include an HDCP interaction version and an HDCP interaction port number.
In some embodiments, the HDCP function module of the terminal device is a standard module, and may send authentication information to the display device after receiving the HDCP verification information, and the display device realizes authorization according to the received authentication information, and confirms that the terminal device is successfully authenticated.
In some embodiments, the HDCP function module of the terminal device is a non-standard module, and after receiving the HDCP verification information, the HDCP function module does not send authentication information to the display device, and the display device does not receive the authentication information and cannot authorize the HDCP function module, thereby confirming that the terminal device fails to authenticate.
The terminal device sends screen projection data to the display device, the display device starts an encryption flow thread to analyze the screen projection data according to the successful authentication of the terminal device, starts a clear flow thread to analyze the screen projection data according to the failed authentication of the terminal device, and the terminal device plays screen projection contents according to the analysis result of the screen projection data.
According to the screen projection interaction method, after the display equipment receives the content protection request, the analysis thread of the screen projection data is determined by judging whether the terminal equipment is successfully authenticated, and the problem that the screen projection data analysis is possibly failed and further the screen projection is failed due to the fact that the screen projection data are judged to be analyzed by adopting the encryption flow thread only according to the content protection request is solved.
To further explain the screen-casting interaction method, an embodiment of the present application further provides a screen-casting method, which is used for a display device, and based on Miracast service, the display device may be provided with a function module to execute the screen-casting method, and in some embodiments, the name of the function module may be an arbitrator, see fig. 8, and the screen-casting method may include the following steps:
step S110: and starting the RTSP interactive thread in response to receiving the screen projection signal.
In some embodiments, after a user inputs a screen projecting instruction on the terminal device, the terminal device sends a screen projecting signal to the display device, and the display device starts a P2P network function according to the received screen projecting signal, establishes a P2P network connection with the terminal device, acquires an IP address of the terminal device, and further starts an RTSP interaction thread.
In some embodiments, a user may click an icon of a screen projection application on a display device to generate a screen projection signal, and the display device starts a P2P network function of the display device according to the received screen projection signal, further establishes a P2P network connection with the terminal device, acquires an IP address of the terminal device, and further starts an RTSP interaction thread.
In some embodiments, the RTSP interaction thread includes stages M1-M7, where M1-M4 belong to the capability negotiation stage and M5-M7 belong to the session establishment and playback control stage. After the RTSP interaction thread is started, the interaction between the terminal device and the display device is executed according to the sequence from M1 to M7, and the arbitrator can control the execution of the RTSP interaction thread, such as interruption or recovery.
Step S120: and before the RTSP interaction thread executes screen projection data interaction, judging whether the HDCP authentication of the terminal equipment is successful.
In some embodiments, the M7 stage of the RTSP interaction thread is used for performing screen projection data interaction, and before the M7 stage, a proper screen projection data processing flow can be selected by judging whether the HDCP authentication is successful or not of the terminal device, so that the screen projection data analysis failure in the M7 stage is avoided.
In some embodiments, the arbitrator may pause the RTSP interaction thread before determining whether the HDCP authentication of the terminal device is successful when the M6 phase of the RTSP interaction thread is finished.
Step S130: and if the HDCP authentication of the terminal equipment is successful, controlling the RTSP thread to receive the screen projection data, and controlling the RTSP interaction thread to start the encryption stream thread to analyze the screen projection data to obtain first analysis data.
In some embodiments, the arbitrator may resume the RTSP interaction thread according to the success of the HDCP authentication of the terminal device, and enter the stage M7, so that the terminal device starts to receive the screen projection data, and controls the RTSP interaction thread to select the encryption thread to analyze the screen projection data, thereby obtaining the first analysis data.
Step S140: and if the HDCP authentication of the terminal equipment fails, controlling the RTSP thread to receive the screen projection data, and controlling the RTSP interaction thread to start the stream clearing thread to analyze the screen projection data to obtain second analysis data.
In some embodiments, the arbitrator may recover the RTSP interaction thread according to the HDCP authentication failure of the terminal device, and enter the stage M7, so that the terminal device starts to receive the screen projection data, and controls the RTSP interaction thread to select the streaming clearing thread to parse the screen projection data, thereby obtaining the second parsed data.
Step S150: and controlling the display and the loudspeaker to play the content corresponding to the first analytic data or the second analytic data.
In some embodiments, the arbitrator may control the display and the speaker to perform the screen projection content according to the RTSP thread to obtain the first parsing data or the second parsing data.
In some embodiments, the first parsed data includes video data from which the display device may control the display to display corresponding content.
In some embodiments, the first parsed data includes audio data from which the display device may control the display to display corresponding content.
In some embodiments, the first parsed data includes video data and audio data, and the display device may control the display to display the corresponding content according to the video data and the display to display the corresponding content according to the audio data, respectively.
In some embodiments, the second parsed data includes video data from which the display device may control the display to display corresponding content.
In some embodiments, the second parsed data includes audio data from which the display device may control the display to display corresponding content.
In some embodiments, the second parsed data includes video data and audio data, and the display device may control the display to display the corresponding content according to the video data and the display to display the corresponding content according to the audio data, respectively.
Under the control of the arbitrator, the flow of the RTSP interaction thread may be referred to in fig. 9, which is a schematic diagram of the RTSP interaction thread on the display device side according to some embodiments, and as shown in fig. 9, the RTSP interaction thread may include steps S210-S280.
Step S210: it is determined whether a content protection request is received.
In some embodiments, after the RTSP interaction thread is executed from the stage M1 to the stage M3 in sequence, in the stage M3 of the RTSP interaction thread, the terminal device is provided with an HDCP function module according to itself, and the HDCP function module can send a content protection request to the display device.
In some embodiments, after the RTSP interaction thread is executed from the stage M1 to the stage M3 in sequence, the terminal device does not send a content protection request to the display device in the stage M3 of the RTSP interaction thread according to that the terminal device is not provided with the HDCP function module.
In some embodiments, the display device may determine whether the M3 stage received a content protection request from the terminal device.
In some embodiments, if the M3 stage does not receive a content protection request from the terminal device, the process may proceed to step S270.
Step S220: and sending the HDCP verification information to the terminal equipment.
In some embodiments, the display device sends HDCP authentication information to the end device after receiving a content protection request from the end device during the M3 phase of the RTSP interaction thread. The HDCP authentication information may include an HDCP interaction version and an HDCP interaction port number.
In some embodiments, the HDCP function module of the terminal device is a standard module, and after receiving the HDCP verification information, the terminal device may perform HDCP interaction with the display device according to the HDCP interaction version and the HDCP interaction port number, for example, extract the HDCP interaction port number of the display device from the HDCP verification information, and send a data packet to the HDCP interaction port number of the display device, where the data packet may include authentication information, and the authentication information may include decryption information, such as key information, used by the display device to analyze screen projection data. In some embodiments, the HDCP function module of the terminal device is a non-standard module, and after receiving the HDCP authentication information, the HDCP authentication information may not be processed, and further, a data packet may not be sent to the HDCP interaction port number of the display device.
Step S230: and finishing the current interaction stage, wherein the next interaction stage is a screen projection data interaction stage, and sending stage information to an arbitrator.
In some embodiments, after sending the HDCP authentication information to the terminal device in step S220, the display device continues to perform subsequent stage interaction of the RTSP interaction thread, such as performing the M4-M6 stage interaction. When the display device's M6 phase interaction with the terminal device is over, the display device may send phase information to the arbitrator.
In some embodiments, when the arbiter receives the phase information M6, it has not been determined whether the HDCP authentication of the end device is successful, and at this time, the arbiter may send a pause command to the RTSP interaction thread.
Step S240: and pausing to enter the next interactive stage according to the pause instruction of the arbitrator.
In some embodiments, the RTSP interaction thread may pause from entering the next interaction phase, the M7 phase, according to the pause instruction of the arbiter.
In some embodiments, the arbitrator may generate a screen projection data interaction instruction after determining that the HDCP authentication of the terminal device is successful, where the screen projection data interaction instruction may include an instruction to enter a next stage and an instruction to select an encryption stream thread, so that the RTSP interaction thread enters the next stage, and controls the RTSP interaction thread to select the encryption stream thread to process the screen projection data; in some embodiments, the arbitrator may generate a screen projection data interaction instruction after determining that the HDCP authentication of the terminal device fails, where the screen projection data interaction instruction may include an instruction to enter a next stage and an instruction to select an idle thread, so that the RTSP interaction thread enters the next stage, and controls the RTSP interaction thread to select the idle thread to process the screen projection data.
Step S250: and entering a screen projection data interaction stage according to a screen projection data interaction instruction of an arbitrator, and starting a corresponding screen projection data processing thread.
In some embodiments, the RTSP interaction thread may enter the M7 stage according to the screen-projection data interaction instruction of the arbitrator, and select to start the encrypted streaming thread or the clear streaming thread.
Step S260: and analyzing the screen projection data through the encrypted stream to obtain first analysis data according to the fact that the screen projection data processing thread is an encrypted stream thread.
In some embodiments, the RTSP interaction thread may interact with the terminal device after the encryption stream thread is started, so that the terminal device sends the screen projection data, and the display device analyzes the screen projection data through the encryption stream thread after receiving the screen projection data, to obtain the first analysis data.
Step S270: and obtaining second analysis data by analyzing the screen projection data through flow clearing according to the screen projection data processing thread as a flow clearing thread.
In some embodiments, the RTSP interaction thread may interact with the terminal device after the streaming clearance thread is started, so that the terminal device sends the screen projection data, and the display device analyzes the screen projection data through the streaming clearance thread after receiving the screen projection data, to obtain second analysis data.
Step S280: the first parsed data or the second parsed data is sent to an arbitrator.
In some embodiments, after obtaining the first analytic data or the second analytic data at the stage M7, the RTSP interaction thread sends the first analytic data or the second analytic data to the arbitrator, so that the arbitrator controls the display device to play a screen projection result, such as displaying a screen content of the terminal device on a display, playing an audio from the terminal device, and the like.
Therefore, the display device controls the RTSP interaction thread by setting an arbitrator based on the Miracast service, so that whether the HDCP authentication of the terminal device succeeds or not is judged before the RTSP interaction thread performs screen projection data interaction, and the corresponding screen projection data processing thread is selected by controlling the RTSP interaction thread when screen projection data interaction is performed according to two conditions of success of the HDCP authentication of the terminal device and failure of the HDCP authentication, so that the problem of screen projection failure caused by the failure of the HDCP authentication of the terminal device is solved, and the screen projection success rate is improved.
In some embodiments, the arbitrator may suspend the RTSP interaction thread before the RTSP interaction thread performs the screen projection data interaction, determine whether the HDCP authentication of the terminal device is successful, and then resume the RTSP interaction thread. In the serial mode, if the judgment time for whether the terminal device is successfully authenticated by the HDCP is longer, the execution time of the RTSP interaction thread is prolonged, and the screen projection speed is reduced.
In some embodiments, to increase the screen-casting speed, the arbitrator may start a separate thread to determine whether the HDCP authentication of the terminal device is successful, and the separate thread may be referred to as an HDCP interactive authentication thread. The arbitrator can control the independent thread and the RTSP interactive thread to execute in parallel, so that when the execution time of the independent thread is short, the authentication result of the terminal equipment can be obtained before the RTSP interactive thread executes screen projection data interaction, when the execution time of the independent thread is slightly long, the independent thread is not executed completely before the RTSP interactive thread executes screen projection data interaction, the RTSP interactive thread can be suspended firstly, after the independent thread is not executed completely, the authentication result of the terminal equipment is obtained, and then the RTSP interactive thread is recovered.
In some embodiments, the method for the arbitrator to determine whether the HDCP authentication of the terminal device is successful according to the HDCP interactive authentication thread may be as shown in fig. 10, including steps S1201-S1202.
Step S1201: and starting the HDCP interactive authentication thread according to the content protection request received by the RTSP interactive thread.
In some embodiments, the arbitrator may initiate an HDCP interaction authentication thread based on the content protection request. The HDCP interactive authentication thread and the RTSP interactive thread can be executed in parallel, the execution process of the RTSP interactive thread is not influenced, and the RTSP interactive thread can continue to execute the subsequent flow of the M3 stage in the execution process of the HDCP interactive authentication thread.
Step S1202: and receiving an authentication result from the HDCP interactive authentication thread, and determining whether the HDCP authentication of the terminal equipment is successful according to the authentication result.
In some embodiments, the authentication result of the HDCP interaction authentication thread includes authentication success and authentication failure, and the arbitrator learns the HDCP authentication condition of the terminal device according to the authentication result.
In some embodiments, the HDCP mutual authentication thread may refer to fig. 11, and as shown in fig. 11, the HDCP mutual authentication thread may include the steps of:
step S310: a timeout mechanism is established.
In some embodiments, after the HDCP interactive authentication thread is started, a timeout mechanism may be established, where the timeout mechanism is used to limit a time range for the HDCP interactive authentication thread to be started to the HDCP interactive port number of the display device to receive a data packet of the terminal device, and the time range may be 0 to 200ms or 0 to 500 ms.
Step S320: and judging whether the HDCP interactive port number of the display equipment receives a data packet from the terminal equipment or not.
In some embodiments, within the time range, the HDCP interaction authentication thread determines whether the HDCP interaction port number of the display device receives a data packet from the terminal device.
Step S330: HDCP mutual authentication is stopped.
In some embodiments, the HDCP interactive port number receives a data packet of the terminal device within a time range defined by the timeout mechanism, and stops HDCP interactive authentication, that is, stops determining whether the HDCP interactive port number receives the data packet from the terminal device, and determines that the authentication result of the terminal device is authentication failure.
Step S340: and sending the authentication result to the arbitrator.
In some embodiments, the authentication result of the terminal device is determined to be successful according to the data packet received by the HDCP interaction port number within the time range defined by the timeout mechanism.
In some implementations, the HDCP interaction authentication thread sends the authentication result to the arbitrator, so that the arbitrator determines whether the terminal device is successfully authenticated, and further controls the RTSP interaction thread to enter the M7 stage.
According to the embodiment, the analysis thread of the screen projection data is determined by judging whether the terminal equipment is successfully authenticated, so that the problem that the screen projection data analysis is possibly failed and further the screen projection is failed due to the fact that the screen projection data is judged to be analyzed by adopting the encrypted flow thread only according to the content protection request is solved, and the compatibility of the screen projection function is improved. Furthermore, the method and the device judge whether the screen projection data sent by the terminal equipment is encrypted data through the independent HDCP interactive authentication thread, and inform the RTSP interactive thread authentication result before the HDCP interactive authentication analyzes the screen projection data, so that the normal operation of the RTSP interactive thread is not influenced.
Since the above embodiments are all described by referring to and combining with other embodiments, the same portions are provided between different embodiments, and the same and similar portions between the various embodiments in this specification may be referred to each other. And will not be described in detail herein.
It is noted that, in this specification, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a circuit structure, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such circuit structure, article, or apparatus. Without further limitation, the presence of an element identified by the phrase "comprising an … …" does not exclude the presence of other like elements in a circuit structure, article, or device comprising the element.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims. The above embodiments of the present application do not limit the scope of the present application.

Claims (7)

1. A display device, comprising:
a display;
a speaker;
a controller connected with the display and speaker, the controller configured to:
receiving a screen projection signal of the terminal equipment;
starting an RTSP (real time streaming protocol) interactive thread in response to the received screen projection signal;
judging whether a content protection request of the terminal equipment is received or not;
if the content protection request is received, the terminal equipment is indicated to have an HDCP function module, an HDCP interactive authentication thread is started, and HDCP verification information is sent to the terminal equipment through the HDCP interactive authentication thread;
Judging whether the terminal equipment is successfully authenticated by the HDCP;
if the terminal device HDCP authentication is successful, the terminal device HDCP function module is a standard module, screen projection data to be sent of the terminal device are first screen projection data which are subjected to content protection conforming to an HDCP protocol, the RTSP interaction thread is controlled to enter a screen projection data interaction stage, the first screen projection data are received in the screen projection data interaction stage, the RTSP interaction thread is controlled to start an encryption stream thread to analyze the first screen projection data, and first analysis data are obtained, wherein the encryption stream thread is a thread used for analyzing the data which are subjected to the content protection conforming to the HDCP protocol;
if the terminal device HDCP authentication fails, the terminal device HDCP function module is a non-standard module, screen projection data to be sent of the terminal device are second screen projection data which do not carry out content protection conforming to an HDCP protocol, the RTSP interaction thread is controlled to enter a screen projection data interaction stage, the second screen projection data are received in the screen projection data interaction stage, the RTSP interaction thread is controlled to start a stream clearing thread to analyze the second screen projection data, and second analysis data are obtained, wherein the stream clearing thread is a thread used for analyzing the data which do not carry out content protection conforming to the HDCP protocol;
And controlling the display and the loudspeaker to play the content corresponding to the first analytic data or the second analytic data.
2. The display device according to claim 1, wherein the determining whether the HDCP authentication of the terminal device is successful comprises:
judging whether an HDCP interactive port number of display equipment receives a data packet from terminal equipment or not, and generating an HDCP authentication result according to whether the HDCP interactive port number of the display equipment receives the data packet from the terminal equipment or not;
and acquiring the HDCP authentication result, and determining whether the terminal equipment is successfully subjected to HDCP authentication according to the HDCP authentication result.
3. The display device of claim 2, wherein the HDCP interaction authentication thread establishes a timeout mechanism after being started, the timeout mechanism being configured to limit a time range for the HDCP interaction port number of the display device to receive the data packet.
4. The display device of claim 2, wherein the HDCP interaction authentication thread is executed in parallel with the RTSP interaction thread after being started.
5. A screen projection method for a display device, comprising:
receiving a screen projection signal of the terminal equipment;
starting an RTSP (real time streaming protocol) interactive thread in response to the received screen projection signal;
Judging whether a content protection request of the terminal equipment is received or not;
if the content protection request is received, the terminal equipment is indicated to have an HDCP function module, an HDCP interactive authentication thread is started, and HDCP verification information is sent to the terminal equipment through the HDCP interactive authentication thread;
judging whether the terminal equipment is successfully HDCP authenticated;
if the terminal device HDCP authentication is successful, the terminal device HDCP functional module is a standard module, screen projection data to be sent of the terminal device are first screen projection data which are subjected to content protection conforming to an HDCP protocol, the RTSP interaction thread is controlled to enter a screen projection data interaction stage, the first screen projection data are received in the screen projection data interaction stage, the RTSP interaction thread is controlled to start an encryption stream thread to analyze the first screen projection data, and first analysis data are obtained, wherein the encryption stream thread is a thread used for analyzing the data which are subjected to the content protection conforming to the HDCP protocol;
if the terminal device HDCP authentication fails, the terminal device HDCP functional module is a non-standard module, screen casting data to be sent of the terminal device is second screen casting data which does not carry out content protection conforming to an HDCP protocol, the RTSP interaction thread is controlled to enter a screen casting data interaction stage, the second screen casting data are received in the screen casting data interaction stage, the RTSP interaction thread is controlled to start a stream cleaning thread to analyze the second screen casting data, and second analysis data are obtained, wherein the stream cleaning thread is a thread used for analyzing the data which do not carry out content protection conforming to the HDCP protocol;
And controlling a display and a loudspeaker of the display equipment to play the content corresponding to the first analytic data or the second analytic data.
6. The screen projection method of claim 5, wherein the determining whether the terminal device has successfully HDCP authenticated comprises:
judging whether an HDCP interaction port number of display equipment receives a data packet from terminal equipment, wherein the HDCP interaction port number is configured to carry out HDCP interaction with the terminal equipment;
receiving a data packet from the terminal equipment within the overtime according to the HDCP interactive port number of the display equipment, and judging that the HDCP authentication of the terminal equipment is successful;
and judging that the HDCP authentication of the terminal equipment fails according to the condition that the HDCP interaction port number of the display equipment does not receive a data packet from the terminal equipment within the overtime.
7. The screen-casting method of claim 5, wherein the HDCP interaction authentication thread is executed in parallel with the RTSP interaction thread after being started.
CN202010837992.9A 2020-08-19 2020-08-19 Display device and screen projection method Active CN111787377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010837992.9A CN111787377B (en) 2020-08-19 2020-08-19 Display device and screen projection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010837992.9A CN111787377B (en) 2020-08-19 2020-08-19 Display device and screen projection method

Publications (2)

Publication Number Publication Date
CN111787377A CN111787377A (en) 2020-10-16
CN111787377B true CN111787377B (en) 2022-06-28

Family

ID=72762902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010837992.9A Active CN111787377B (en) 2020-08-19 2020-08-19 Display device and screen projection method

Country Status (1)

Country Link
CN (1) CN111787377B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286165B (en) * 2020-12-21 2023-04-25 海信视像科技股份有限公司 Display equipment, mobile terminal, and screen-throwing data transmission method and system
CN114489532B (en) * 2020-11-12 2023-11-10 聚好看科技股份有限公司 Terminal equipment and method for linking terminal equipment and display equipment
CN115334060A (en) * 2021-04-25 2022-11-11 广州视源电子科技股份有限公司 Data transmission method and data transmission equipment
CN113965789B (en) * 2021-12-15 2022-05-17 荣耀终端有限公司 Screen projection method, terminal and communication system
CN115065851A (en) * 2022-06-09 2022-09-16 深圳创维-Rgb电子有限公司 Screen projection method supporting multi-device connection, electronic device and readable storage medium
CN116981108B (en) * 2023-09-22 2023-11-24 荣耀终端有限公司 Wireless screen-throwing connection method, mobile terminal and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184198A (en) * 2006-11-17 2008-05-21 Lg电子株式会社 Method of optimizing data communication
CN102100065A (en) * 2008-07-14 2011-06-15 松下电器产业株式会社 Video/audio reproduction device and video/audio reproduction method
CN105025349A (en) * 2014-04-24 2015-11-04 英特尔公司 Encrypted screencasting
CN105474691A (en) * 2013-09-05 2016-04-06 索尼公司 Information processing device and information processing method
CN106416280A (en) * 2014-05-28 2017-02-15 高通股份有限公司 Media agnostic display for WI-FI display
CN109862404A (en) * 2019-02-21 2019-06-07 深圳创维-Rgb电子有限公司 A kind of exchange method of smart television, storage medium and smart television
CN111316598A (en) * 2018-07-17 2020-06-19 华为技术有限公司 Multi-screen interaction method and equipment
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157473A1 (en) * 2009-12-30 2011-06-30 Hoon Choi Method, apparatus, and system for simultaneously previewing contents from multiple protected sources
CN202758595U (en) * 2012-07-26 2013-02-27 山东瑞科物联信息技术有限公司 Wireless high definition transmission screen multimedia display
WO2015122080A1 (en) * 2014-02-12 2015-08-20 ソニー株式会社 Information processing device, information processing system, and information processing method
US9432345B2 (en) * 2014-05-16 2016-08-30 Lattice Semiconductor Corporation Authentication engine and stream cipher engine sharing in digital content protection architectures
CN106155606A (en) * 2015-04-07 2016-11-23 中国移动通信集团公司 A kind of multi-screen interaction method and device
US10536438B2 (en) * 2017-03-30 2020-01-14 Intel Corporation Secure provision of inputs to a display transmitter device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184198A (en) * 2006-11-17 2008-05-21 Lg电子株式会社 Method of optimizing data communication
CN102100065A (en) * 2008-07-14 2011-06-15 松下电器产业株式会社 Video/audio reproduction device and video/audio reproduction method
CN105474691A (en) * 2013-09-05 2016-04-06 索尼公司 Information processing device and information processing method
CN105025349A (en) * 2014-04-24 2015-11-04 英特尔公司 Encrypted screencasting
CN106416280A (en) * 2014-05-28 2017-02-15 高通股份有限公司 Media agnostic display for WI-FI display
CN111316598A (en) * 2018-07-17 2020-06-19 华为技术有限公司 Multi-screen interaction method and equipment
CN109862404A (en) * 2019-02-21 2019-06-07 深圳创维-Rgb电子有限公司 A kind of exchange method of smart television, storage medium and smart television
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111787377A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN111787377B (en) Display device and screen projection method
CN111752518A (en) Screen projection method of display equipment and display equipment
CN112055240B (en) Display device and operation prompt display method for pairing display device with remote controller
CN112019782B (en) Control method and display device of enhanced audio return channel
CN112188279A (en) Channel switching method and display equipment
CN112243141B (en) Display method and display equipment for screen projection function
CN112214189A (en) Image display method and display device
CN112399217B (en) Display device and method for establishing communication connection with power amplifier device
CN112087671B (en) Display method and display equipment for control prompt information of input method control
CN111954043B (en) Information bar display method and display equipment
CN112118400B (en) Display method of image on display device and display device
CN112040535B (en) Wifi processing method and display device
CN111818654B (en) Channel access method and display device
CN112040340A (en) Resource file acquisition method and display device
CN112017415A (en) Recommendation method of virtual remote controller, display device and mobile terminal
CN112134855B (en) Cookie encryption method and display device
CN112306604B (en) Progress display method and display device for file transmission
CN111918056B (en) Camera state detection method and display device
CN112256449A (en) Interface calling method of webpage application program, display equipment and server
CN114302197A (en) Voice separation control method and display device
CN111988646A (en) User interface display method and display device of application program
CN113194355B (en) Video playing method and display equipment
CN111935519B (en) Channel switching method and display device
CN113436564B (en) EPOS display method and display equipment
CN114071187B (en) Display device, server and resolution fast switching method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221018

Address after: 83 Intekte Street, Devon, Netherlands

Patentee after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee before: QINGDAO HISENSE MEDIA NETWORKS Ltd.