WO2022193475A1 - Display device, method for receiving screen projection content, and screen projection method - Google Patents

Display device, method for receiving screen projection content, and screen projection method Download PDF

Info

Publication number
WO2022193475A1
WO2022193475A1 PCT/CN2021/103779 CN2021103779W WO2022193475A1 WO 2022193475 A1 WO2022193475 A1 WO 2022193475A1 CN 2021103779 W CN2021103779 W CN 2021103779W WO 2022193475 A1 WO2022193475 A1 WO 2022193475A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
screen
video
display device
information
Prior art date
Application number
PCT/CN2021/103779
Other languages
French (fr)
Chinese (zh)
Inventor
张敬坤
朱雪生
刘美玉
林乐
宋子全
王之奎
于颜梅
Original Assignee
青岛海信传媒网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海信传媒网络技术有限公司 filed Critical 青岛海信传媒网络技术有限公司
Publication of WO2022193475A1 publication Critical patent/WO2022193475A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/64Constructional details of receivers, e.g. cabinets or dust covers
    • H04N5/655Construction or mounting of chassis, e.g. for varying the elevation of the tube
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Definitions

  • the present application relates to the technical field of smart TVs, and in particular, to a display device, a method for receiving screencast content, and a screencasting method.
  • Screen sharing is the interactive operation of multiple display devices.
  • a wireless network is used to transmit media resources, so that the content displayed on one display device can be synchronized to the second display device for the user to watch.
  • the screencasting operation command can be executed through the mobile phone to send the screen displayed on the mobile phone to the smart TV in the form of video stream, so as to use Big screen of smart TV for better user experience.
  • media assets can be vertical assets and landscape assets
  • the media asset stream is synchronized on one device to a second display device
  • the aspect ratio of the media asset may be different from the presentation method of the display device.
  • a media resource with a 4:3 display size and a display device with a 3:4 display size such as a media resource with a 4:3 display size and a display device with a 3:4 display size.
  • the display device In order to fully display the screen on the mobile phone with the largest display ratio, the display device needs to adapt the media resources.
  • the present application provides a display device, a method for receiving screen-casting content, and a screen-casting method, so that the presentation state of the display is adapted to the screen-casting content.
  • the present application provides a display device, comprising: a display;
  • a rotation component configured to drive the display to rotate, so that the display is in a rotation state of a landscape screen state or a portrait screen state
  • the communication is configured to connect to a terminal
  • Controller configured as:
  • the media resource attribute is video
  • detect the horizontal and vertical screen status of the display obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen status of the display, and determine the matching situation according to the matching Circumstances determine whether the display needs to be rotated;
  • the screen is filled and displayed according to the original aspect ratio of the current image.
  • the present application provides a method for receiving screencast content, including:
  • the media resource attribute is video
  • detect the horizontal and vertical screen status of the display obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen status of the display, and determine the matching situation according to the matching Circumstances determine whether the display needs to be rotated;
  • the screen is filled and displayed according to the original aspect ratio of the current image.
  • the present application provides a display device, including:
  • a rotation component configured to drive the display to rotate, so that the display is in a rotation state of a landscape screen state or a portrait screen state
  • the communication is configured to connect to a terminal
  • Controller configured as:
  • the image information includes valid information and left and right black information, and the valid information corresponds to the screen display content of the terminal;
  • the display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by amplifying the valid information by a preset multiple.
  • a screen projection method applied to a display device, includes:
  • the image information includes valid information and left and right black information, and the valid information corresponds to the screen display content of the terminal;
  • the display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by amplifying the valid information by a preset multiple.
  • 1 is an application scenario diagram of a display device of the present application
  • Fig. 2 is the hardware configuration block diagram of the control device of the application
  • 3A is a schematic diagram of a landscape mode of a mobile terminal of the present application.
  • 3B is a schematic diagram of a portrait mode of the mobile terminal of the present application.
  • FIG. 4 is a schematic diagram of receiving a horizontal media resource when a display device is in a landscape orientation according to an embodiment of the application
  • FIG. 5 is a schematic diagram of receiving a horizontal media resource and rotating to a horizontal screen when the display device is in a vertical screen according to an embodiment of the present application;
  • FIG. 6 is a schematic diagram of receiving a vertical media resource when a display device is in a vertical screen according to an embodiment of the present application
  • FIG. 7 is a schematic diagram of receiving a vertical media resource and rotating to a vertical screen when the display device is in a landscape orientation according to an embodiment of the present application;
  • FIG. 8 is a schematic flowchart of a processing method for receiving screen projection data according to the present application.
  • FIG. 9 is a schematic flow chart of the application comparing sampling resolution and initial resolution
  • FIG. 10A is a schematic diagram of a mobile terminal in a landscape mode sending image information to a display device in a landscape state according to an embodiment of the application;
  • 10B is a schematic diagram of a mobile terminal in a landscape mode sending image information to a display device in a portrait screen state according to an embodiment of the application;
  • 11A is a schematic diagram of a mobile terminal in a portrait mode sending image information to a display device in a landscape state according to an embodiment of the application;
  • 11B is a schematic diagram of the effect of presenting a picture when the display device is in a vertical screen state according to the screen projection protocol;
  • 11C is a schematic diagram of a mobile terminal in a portrait mode sending image information to a display device in a portrait state according to an embodiment of the application;
  • FIG. 12 is a schematic flowchart of a method for detecting an effective resolution of a projected video stream according to the present application
  • 13 is a schematic flow chart of the application for comparing sampling resolution and initial resolution
  • FIG. 14A is a schematic flowchart of calculating a reference value and a comparison value for the application
  • 14B is a schematic diagram of black border data and initial screen data of the present application.
  • 15 is a schematic flowchart of the application for judging preset execution conditions
  • 16 is a schematic flowchart of the application comparing multiple sampling resolutions and initial resolutions
  • FIG. 17 is a schematic flowchart of the execution of a controller of an exemplary display device of the present application.
  • 18 is a schematic flowchart of the application for determining the magnification of effective information according to the ratio of the height and width of the display device and the effective screen;
  • 19 is a schematic structural diagram of a display device of the application.
  • 20A is a schematic diagram of a mobile terminal in a portrait mode sending image information to a display device in a portrait state according to an embodiment of the application;
  • 20B is a schematic diagram of a display device when the mobile terminal is in a portrait mode and sends image information to a portrait screen state and the picture is enlarged by 1 times in accordance with an embodiment of the application;
  • 20C is a schematic diagram of a display device when the mobile terminal is in a portrait mode and sends image information to a portrait screen state and magnifies the picture by 3 times according to an embodiment of the present application.
  • the display device may be an electrical device with a larger screen, such as a smart TV, that presents video and audio signals to the user.
  • the display device can have an independent operating system and support function expansion.
  • Various applications can be installed in the display device according to user needs, for example, traditional video applications, social applications such as short videos, and reading applications such as comics and book reading. These applications can use the screen of the display device to display the application screen and provide users with richer media resources.
  • the display device can also perform data interaction and resource sharing with different terminals.
  • a smart TV can be connected to a mobile phone through a wireless communication method such as a local area network or Bluetooth, so as to play the resources in the mobile phone or directly perform screen projection to display the picture on the mobile phone.
  • Embodiments of the present application provide a display device and a computer storage medium.
  • the display device such as a TV that can support horizontal and vertical screen rotation, is referred to as a rotatable TV.
  • the method provided in this embodiment is not only applicable to rotatable TVs, but also applicable to other display devices, such as computers, tablet computers, etc., so as to facilitate the user to display the details page of the target media asset in different horizontal and vertical screen states of the display, so as to improve the Displays the user viewing experience of the device in different viewing states.
  • module used in the various embodiments of the present application may refer to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware or/and software codes capable of executing the execution associated with the element function.
  • remote control used in various embodiments of the present application refers to a component of an electronic device (such as the display device disclosed in the present application), which can usually wirelessly control the electronic device within a short distance range.
  • the component can generally use infrared and/or radio frequency (RF) signals and/or Bluetooth to connect with electronic devices, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors.
  • RF radio frequency
  • a hand-held touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
  • gesture used in various embodiments of the present application refers to a user behavior that is used by a user to express an expected idea, action, purpose/or result through an action such as a change of hand shape or hand movement.
  • the term "hardware system” used in the various embodiments of this application may refer to a computer system composed of mechanical, optical, electrical, and magnetic devices such as an integrated circuit (IC) and a printed circuit board (PCB). , physical components that control, store, input, and output functions.
  • IC integrated circuit
  • PCB printed circuit board
  • the hardware system is also commonly referred to as a motherboard or a main chip or a controller.
  • FIG. 1 it is an application scenario diagram of a display device provided by some embodiments of the present application. As shown in FIG. 1 , communication between the control apparatus 100 and the display device 200 may be performed in a wired or wireless manner.
  • the control device 100 is configured to control the display device 200 , which can receive operation instructions input by the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, acting as an intermediary for the interaction between the user and the display device 200 . effect.
  • the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operation.
  • the control apparatus 100 may be a remote controller 100A, including infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, etc., and controls the display device 200 by wireless or other wired methods.
  • the user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, and the like.
  • the user can control the display device 200 by inputting corresponding control commands through the volume up/down key, channel control key, up/down/left/right movement keys, voice input key, menu key, power-on/off key, etc. on the remote control. function.
  • the control apparatus 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a computer, a notebook computer, and the like.
  • the display device 200 is controlled using an application running on the smart device.
  • the app can be configured to provide users with various controls through an intuitive user interface (UI) on the screen associated with the smart device.
  • UI intuitive user interface
  • the mobile terminal 100B can install a software application with the display device 200, and realize connection communication through a network communication protocol, so as to realize the purpose of one-to-one control operation and data communication.
  • the mobile terminal 100B and the display device 200 can be made to establish a control instruction protocol, and by operating various function keys or virtual controls of the user interface provided on the mobile terminal 100B, the functions of the physical keys arranged by the remote control 100A can be realized.
  • the audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200 to implement a synchronous display function.
  • the display device 200 may be a liquid crystal display, an organic light emitting display, or a projection device.
  • the specific display device type, size and resolution are not limited.
  • the display device 200 also performs data communication with the server 300 through various communication methods.
  • 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 300 may provide various contents and interactions to the display device 200 .
  • display device 200 may send and receive information, such as receiving electronic program guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library.
  • EPG electronic program guide
  • the server 300 may be in one group, or in multiple groups, or in one or more types of servers.
  • Other network service contents such as video-on-demand and advertising services are provided through the server 300 .
  • FIG. 2 A block diagram of a hardware configuration of the display device 200 is exemplarily shown in FIG. 2 .
  • the display device 200 may include a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, Rotating assembly 276 , audio processor 280 , audio output interface 285 , power supply 290 .
  • the rotating assembly 276 may include components such as a drive motor, a rotating shaft, and the like.
  • the drive motor can be connected to the controller 250, and is controlled by the controller 250 to output a rotation angle; one end of the rotating shaft is connected to the power output shaft of the drive motor, and the other end is connected to the display 275, so that the display 275 can be fixedly installed on the rotating assembly 276. on a wall or stand.
  • the rotating assembly 276 may also include other components, such as transmission components, detection components, and the like.
  • the transmission component can adjust the rotational speed and torque output by the rotating component 276 through a specific transmission ratio, which can be a gear transmission mode;
  • the detection component can be composed of sensors arranged on the rotating shaft, such as an angle sensor, an attitude sensor, and the like. These sensors can detect parameters such as the rotation angle of the rotating component 276, and send the detected parameters to the controller 250, so that the controller 250 can judge or adjust the state of the display device 200 according to the detected parameters.
  • the rotating assembly 276 may include, but is not limited to, one or more of the above components.
  • the tuner and demodulator 210 receives broadcast television signals through wired or wireless means, and can perform modulation and demodulation processing such as amplification, frequency mixing, and resonance, so as to demodulate the television selected by the user from multiple wireless or wired broadcast television signals
  • modulation and demodulation processing such as amplification, frequency mixing, and resonance
  • the audio and video signals carried in the frequency of the channel, as well as additional information (eg EPG data).
  • the tuner 210 may also be in an external device, such as an external set-top box or the like. In this way, the set-top box outputs the TV signal after modulation and demodulation, and then inputs the TV signal to the display device 200 through the external device interface 240 .
  • the communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types.
  • the display device 200 may transmit content data to an external device connected via the communicator 220 , or browse and download content data from an external device connected via the communicator 220 .
  • the communicator 220 may include a network communication protocol module such as a WIFI module 221 , a Bluetooth communication protocol module 222 , a wired Ethernet communication protocol module 223 or a near field communication protocol module, so that the communicator 220 can receive the information from the control device 100 according to the control of the controller 250 .
  • Control signal, and realize the control signal as WIFI signal, Bluetooth signal, radio frequency signal, etc.
  • the detector 230 is a component of the display device 200 for collecting external environment or external interaction signals.
  • the detector 230 can include a sound collector 231, such as a microphone, which can be used to receive the user's voice, such as the voice signal of the user's control instruction to control the display device 200;
  • Device 200 can adapt to ambient noise.
  • the external device interface 240 is a component that provides the controller 250 to control data transmission between the display device 200 and the external device.
  • the external device interface 240 can be connected with external devices such as set-top boxes, game devices, notebook computers, etc. in a wired/wireless manner, and can receive external devices such as video signals (such as moving images), audio signals (such as music), additional information (such as EPG) and other data.
  • the controller 250 controls the operation of the display device 200 and responds to user operations by running various software control programs (such as an operating system and various application programs) stored in the memory 260 .
  • various software control programs such as an operating system and various application programs
  • controller 250 includes random access memory (RAM), read only memory (ROM), a graphics processor, a CPU processor, a communication interface, and a communication bus.
  • RAM random access memory
  • ROM read only memory
  • the RAM, the ROM, the graphics processor, and the CPU processor communication interface are connected through a communication bus.
  • ROM used to store various system startup instructions. For example, when the power-on signal is received, the power supply of the display device 200 starts, and the CPU processor 254 executes the system startup instruction in the ROM 252, and copies the operating system stored in the memory 260 to the RAM 251 to start the operating system. After the startup of the operating system is completed, the CPU processor 254 copies the various application programs in the memory 260 to the RAM 251, and then starts to run and activate the various application programs.
  • the communication interface 255 may include a first interface to an nth interface. These interfaces may be network interfaces connected to external devices via a network.
  • the controller 250 may control the overall operation of the display apparatus 200 . For example, in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform operations related to the object selected by the user input command.
  • the object can be any of the optional objects, such as a hyperlink or an icon.
  • the operation related to the selected object for example, the operation of displaying links to hyperlinked pages, documents, images, etc., or the operation of executing the program corresponding to the object.
  • the user input command for selecting a GUI object may be an input command through various input devices (eg, mouse, keyboard, touchpad, etc.) connected to the display device 200 or a voice command corresponding to the voice spoken by the user.
  • the memory 260 is used to store various types of data, software programs or application programs that drive and control the operation of the display device 200 .
  • Memory 260 may include volatile and/or nonvolatile memory.
  • the term “memory” includes the memory 260 , the RAM and ROM of the controller 250 , or a memory card in the display device 200 .
  • the memory 260 is specifically used to store the operating program for driving the controller 250 in the display device 200 ; to store various application programs built in the display device 200 and downloaded by the user from external devices; Various GUIs, various GUI-related objects, and visual effect images of selectors used to select GUI objects.
  • memory 260 is specifically used to store drivers and related data for tuner demodulator 210, communicator 220, detector 230, external device interface 240, video processor 270, display 275, audio processor 280, etc. , such as external data (such as audio and video data) received from an external device interface or user data (such as key information, voice information, touch information, etc.) received from a user interface.
  • external data such as audio and video data
  • user data such as key information, voice information, touch information, etc.
  • user interface 265, receives various user interactions. Specifically, it is used to send the user's input signal to the controller 250, or to transmit the output signal from the controller 250 to the user.
  • the remote control 100A may send input signals input by the user, such as power switch signals, channel selection signals, volume adjustment signals, etc., to the user interface 265, and then the user interface 265 forwards them to the controller 250; or, the remote control 100A may The controller 250 processes an output signal such as audio, video or data output from the user interface 265, and displays the received output signal or outputs the received output signal in the form of audio or vibration.
  • the user may input user commands on a graphical user interface (GUI) displayed on the display 275, and the user interface 265 receives the user input commands through the GUI.
  • GUI graphical user interface
  • user interface 265 may receive user input commands for controlling the position of selectors in the GUI to select different objects or items.
  • the "user interface” is the medium interface for interaction and information exchange between the application program or the operating system and the user, which realizes the conversion between the internal form of the information and the form acceptable to the user.
  • GUI graphical user interface
  • GUI can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, controls, menus, tabs, text boxes, dialog boxes, status bars, channel bars, Widgets, etc. visual interface elements.
  • the user can input a user command by inputting a specific sound or gesture, and the user interface 265 recognizes the sound or gesture through a sensor to receive the user input command.
  • the video processor 270 is used to receive an external video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal, and can obtain A video signal that is displayed or played directly on display 275 .
  • the display 275 is used for receiving the image signal input from the video processor 270 to display the video content, the image and the menu manipulation interface.
  • the displayed video content can be from the video content in the broadcast signal received by the tuner and demodulator 210 , or from the video content input from the communicator 220 or the external device interface 240 .
  • the display 275 simultaneously displays a user manipulation interface UI generated in the display device 200 and used to control the display device 200 .
  • the display 275 may include a display screen component for presenting a picture and a driving component for driving image display.
  • the display 275 may also include a projection device and a projection screen.
  • Rotating assembly 276, the controller may issue a control signal to cause rotating assembly 276 to rotate display 255.
  • the audio processor 280 is used for receiving an external audio signal, decompressing and decoding according to the standard codec protocol of the input signal, and performing audio data processing such as noise reduction, digital-to-analog conversion, and amplification processing to obtain a signal that can be displayed in the speaker 286. Played audio signal.
  • the power supply 290 is used to provide power supply support for the display device 200 with the power input from the external power supply under the control of the controller 250 .
  • the power supply 290 may be a built-in power supply circuit installed inside the display device 200 , or may be a power supply installed outside the display device 200 .
  • the mobile terminal 100B may send display screen data to the display device 200 through a wireless connection, such as through the Miracast protocol or the DLNA protocol, to form a screen projection video stream.
  • the display device 200 can decode the screen projection video stream through the controller 250, parse out the frame images and process them to form the screen projection images and send them to the display 275 for display.
  • the mobile terminal 100B may be an intelligent terminal device with display and human-computer interaction functions, such as a mobile phone, a tablet computer, and the like.
  • the video or picture on the mobile terminal may be content whose horizontal orientation is in the positive orientation, such as a TV drama played when the mobile phone is placed horizontally.
  • the aspect ratio of the screen is greater than 1.
  • the video or picture on the mobile terminal may also be the content whose vertical mode is the positive direction, such as a picture taken when the user's mobile phone is placed vertically.
  • the aspect ratio of the screen is less than 1.
  • the TV can support horizontal and vertical rotation driven by the rotating assembly. For example, when a TV series or a movie is played, since these media resources are generally horizontal resources, the TV is placed horizontally to present horizontal media resources. When playing fitness or vertical media resources, the TV is placed vertically to present vertical resources.
  • the TV is placed horizontally, and when the rotation instruction is not triggered, it can also present the received screen projection and present the vertical resource. And the TV is placed vertically. When the rotation command is triggered, it can also present the received screen projection and present the horizontal resource.
  • the display device when screen sharing is performed through the DLNA protocol, can obtain the horizontal and vertical presentation states of the image. Since the mobile terminal 100B can present media resources in a horizontal or vertical layout, the projected screen also has different layout modes. . For example, when a user presents a horizontal media resource on a mobile phone, the width of the screen is greater than the height of the screen, as shown in FIG. 3A . When the user presents vertical media resources on the mobile phone, the width of the screen is smaller than the height of the screen, as shown in FIG. 3B .
  • a screen projection protocol may be configured between the display device 200 and the mobile terminal 100B, for example, based on DLNA A standard screen projection protocol, a screen projection protocol based on the Airplay standard, etc., the transmission of the picture and video stream is realized through the screen projection protocol, so that the picture on the mobile terminal 100B can be projected to the display device 200 .
  • the projected content may be a video or a picture.
  • users browse videos for a long time, while browsing pictures is relatively short.
  • the horizontal and vertical screen relationship of the video content can be detected, and combined with the current display presentation mode to determine whether to rotate. Then keep the original state and play the video directly, as shown in Figure 4. If the horizontal video is received in the vertical screen state, and it is intelligently presented on part of the display interface due to the inconsistent aspect ratio, then while the video is played in the vertical screen first, the rotation component is controlled to rotate the display device 275 to the horizontal screen state. Full-screen playback has been achieved, as shown in Figure 5.
  • the user may be browsing the application related to the photo collection. At this time, the user can stay on a single image for a limited time. One picture becomes vertical, and the next one becomes horizontal. Moreover, when the presentation state of the display device changes, that is, it takes a certain amount of time for the rotating component to drive the display device to rotate, and the display device placed in the horizontal screen just receives the vertical resource and starts to rotate to the vertical, the user may trigger the next page to browse. The instructions need to be changed back to landscape again. Such frequent rotation of the display device not only affects the user experience, but also reduces the service life of the display device.
  • a display device of the present application it is necessary to determine whether the display needs to be rotated according to the received media resource information, the horizontal and vertical states of the media resources, and the presentation state of the display itself.
  • the TV terminal rotates and zooms in/out of the TV and video playback interface with the video screen, always maintains the vertical state of the video, and finally adapts to the display effect of the entire screen.
  • the horizontal and vertical screens of the TV end shall prevail.
  • the horizontal screen means that the horizontal screen is displayed at the maximum scale according to the original scale
  • the vertical screen means that the vertical screen is displayed at the maximum scale according to the original scale.
  • the rotation angle is reset when rotating, and finally the display screen is adapted to the maximum scale.
  • the TV terminal when the TV terminal receives the video link from the mobile terminal, it accesses the video resources, determines the horizontal and vertical screens of the TV terminal, and registers the angle monitoring, and then adapts the entire video terminal according to the original proportion after obtaining the width and height of the video.
  • the screen is displayed and played.
  • a rotation command is sent, and the angle information of the current TV rotation is obtained through the angle monitoring.
  • the zoom factor is set to the frame capture interface.
  • the frame capture interface obtains the angle information and zoom factor, the angle and zoom settings of the current video playback screen are set, and the image is always displayed vertically until the rotation ends.
  • the TV terminal when the TV terminal receives a picture push request from the mobile phone terminal, it determines the horizontal and vertical screen of the current TV terminal, and displays the entire screen with the original ratio of the current image width and height.
  • the user's remote control manually rotates the TV
  • setting the angle and set the zoom factor to ensure that the picture screen is displayed on the entire screen according to the original ratio.
  • a display device provided by this application includes:
  • a rotation component configured to drive the display to rotate, so that the display is in one of a horizontal screen state or a vertical screen state
  • the communication is configured to connect to a terminal
  • controller see Figure 8, is configured to execute:
  • S01 Receive screen projection media resources, and determine attributes of the media resources
  • the user may first perform a screen projection display operation on the mobile terminal 100B to send the display screen of the mobile terminal 100B to the display device 200 .
  • the user selects "settings - connection and sharing - screencasting" on the mobile phone, and selects a display device in the current network as the screencasting object in the screencasting device list to perform the screencasting operation.
  • the mobile terminal 100B After performing the screen projection operation, the mobile terminal 100B will send the displayed picture to the display device 200 through a screen projection protocol, such as using the DLNA protocol or other mirroring protocols. As new interactive pictures are continuously generated during the screen projection process, the mobile terminal 100B will send the pictures to the display device 200 frame by frame to form a screen projection data stream (hereinafter referred to as a screen projection video stream).
  • a screen projection video stream a screen projection data stream
  • users can also perform screen casting operations through third-party applications.
  • a screen-casting icon is provided on the video playback interface of the video application. Users can click this icon to perform screen casting operations.
  • the screencasting of the screencasting operation performed by a third-party application is based on the played video resource. For example, when the video resources played are horizontal media assets such as movies and TV series, the width of the effective screen in the projection screen is greater than the height; when the video resources played are vertical media resources such as short videos and comics, the screen projection screen The width of the effective picture in is less than the height.
  • the TV receives media resources, and judges whether it is a video or an image according to the attributes of the media resources.
  • S02 If the media resource attribute is video, detect the horizontal and vertical screen states of the display, obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen states of the display, and determine the The match determines whether the display needs to be rotated.
  • the display device 200 After receiving the screencast video stream, the display device 200 starts to register the monitoring of the rotation angle, recalls the current real-time rotation angle data of the machine, and obtains the current rotation direction and angle information of the TV, and then judges the horizontal and vertical screen status of the TV. And obtain the width and height data of the video, first display the video screen in the original ratio on the TV side, and compare the horizontal and vertical screen of the TV side with the video width and height. , the video is horizontal screen, it will drive the TV to rotate automatically.
  • the video in order to realize that the video aspect ratio does not match the horizontal and vertical screen states of the display, while driving the display to rotate, the video may be synchronously enlarged.
  • Obtain the current rotation angle in real time calculate the zoom factor, rotate the UI in the opposite direction at the same time through the rotation direction and angle data, and simultaneously zoom in or zoom out the display effect.
  • driving the display to rotate when the video aspect ratio does not match the horizontal and vertical screen states of the display when the aspect ratio of the video matches the horizontal and vertical screen states of the display, it is directly displayed on the display to adapt the screen according to the original ratio to present the video content.
  • not all videos can trigger rotation, and it is also necessary to determine whether to rotate according to the video duration, so that when the projected content is a longer video, the video aspect ratio and the display state can match the display state.
  • the user experience is better.
  • the user may play the last shorter video, and the display device will end the display as soon as the display rotates, and wait for the next video projected by the user, and then according to the aspect ratio Again, rotating the display so frequently will give the user a bad user experience.
  • the controller can start playing on the user interface after receiving the projected screen content, and then detect the video aspect ratio and the presentation state of the display when the video duration is greater than or equal to a certain time value T min .
  • the rotating component is controlled to drive the display to rotate.
  • the video duration is less than the time value T min , it is determined that the video duration is too short, and the TV does not need to be rotated.
  • driving the display to rotate further comprising:
  • S022 Determine the zoom factor of the video picture according to the original resolution and the full-screen resolution of the display
  • S023 Monitor the rotation angle information of the display, and gradually scale the video image according to the rotation angle information to ensure that the video image is finally displayed in full screen.
  • the initial resolution is F1 and the full-screen resolution is F2, and the video picture needs to be enlarged by F2/F1 times during the rotation process.
  • the entire rotation process can be divided into 90 parts according to the rotation angle, and each degree of rotation will be enlarged (F2/F1)/90. This rotates to full screen at a constant speed.
  • the user interface presented by the display is shown in (a) in Figure 7: the length of the vertical side of the video image is the same as the length of the long side of the display, and the display . Since the display device is in the horizontal screen state and the video interface is in the vertical screen state at this time, the horizontal and vertical screens of the TV terminal and the video screen do not match, so the rotation interface of the display device is called to control the rotating component to drive the rotating display.
  • the controller obtains the rotation direction and angle information through the rotation angle callback, and the change of the video playback screen is calculated in real time according to the angle information of the TV rotation.
  • the angle data and zoom factor are set to the frame capture interface, and the video screen is rotated and zoomed in real time.
  • the video playback screen is always in a vertical state relative to the user. At this time, the TV screen and the video screen are overlapped and displayed, as shown in Figure 7 (c ).
  • the magnification factor can also be calculated according to the length of the long side of the display and the height of the video picture, and the length of the short side of the display and the width of the video picture.
  • the default multiplier is 1 when the rotation starts, and the video playback screen is enlarged by 1 degree in height (long side length of TV screen - video screen height)/90, and wide zoom (short side width of TV screen - video screen width)/90.
  • a relevant prompt or rotation may be popped up on the user interface, and then the display is driven to rotate.
  • the user interface presented by the display is shown in (b) in FIG. 5 : the length of the horizontal side of the video image is the same as the length of the short side of the display, and which shows.
  • the horizontal and vertical screens of the display device and the video screen do not match, so the rotation interface of the TV terminal is called to notify the TV terminal to rotate, and the rotation direction and angle information are obtained through the rotation angle callback, and the change of the video playback screen is calculated in real time according to the angle information of the TV rotation.
  • the video playback screen is highly enlarged (the length of the short side of the TV screen - the height of the video screen)/90, Width zoom (long side length of TV screen - width of video screen)/90, set the current angle data and zoom factor to the frame capture interface, rotate and zoom the video screen in real time, and the video playback screen is always in a vertical state relative to the user , and the final TV screen and the video playback screen are displayed superimposed, as shown in (c) in FIG. 5 .
  • the display device after the display device receives a picture push request from the mobile phone, the display device is displayed at the maximum original scale of the current picture, regardless of whether the display of the picture and the display match whether the display is rotated.
  • the above-mentioned screen projection of pictures is only an exemplary illustration.
  • the rotation component can be triggered to perform the display operation on the display. rotate.
  • the display device is not only rotated according to the screen projection data, no matter whether the display device is in a landscape state or a portrait state, the user can still actively issue a rotation instruction to rotate the display device to rotate the TV to a different level than before. the state of.
  • the rotating component 276 can rotate the display screen to a vertical screen state, that is, a state in which the vertical side length of the screen is greater than the horizontal side length, or can rotate the screen to a landscape screen state, that is, the screen is in a horizontal screen state. A state where the side length is greater than the vertical side length.
  • the user can manually trigger the display to rotate, and when a subjectively conscious instruction is input, the priority execution level can be set to be high.
  • a rotation instruction input by the user is received regardless of whether the presentation of the video picture and the display match, even if the video picture and the presentation of the display match, a trigger instruction may be received to rotate the display.
  • the screencasting protocol is the Miracast screencasting protocol.
  • the video stream projected to the display device 200 is always a 1920 ⁇ 1080 landscape stream.
  • the aspect ratio obtains the horizontal and vertical relationship of the screen, so that the display device 200 cannot realize the automatic rotation of the TV screen through the video stream.
  • a mobile terminal when a mobile terminal interacts with a display device for screen projection, when the mobile terminal is in a landscape mode, no matter whether the display device interacting with the mobile terminal is in a landscape state or a portrait state, the image information sent to the display device will not be changed. Contains left and right black information, as shown in Figures 10A and 10B.
  • the image information sent to the display device includes left and right black information, as shown in FIGS. 11A and 11B .
  • the screenshot has been processed by adding black borders to ensure that the original display device is in the horizontal screen state. In this case, regardless of whether the mobile terminal is placed horizontally or vertically, a horizontal screen can be displayed.
  • the image information shown in the black areas on both sides of the screen is black information, or called black borders
  • the displayed screen area in the middle of the screen is called the effective screen (that is, the image corresponding to the mobile terminal).
  • screen display picture) the effective picture is the effective information in the image information of the mobile terminal.
  • the operation screen on the mobile terminal 100B is displayed, and the black border has different widths and heights according to the screen ratio of the display 275 of the mobile terminal 100B.
  • the display device 200 displays the screen projection image
  • the direction corresponding to the shorter side is used as a reference, such as the height direction in the horizontal screen state. Therefore, the height direction of the projected video stream presented by the display device 200 is generally unchanged. That is, regardless of whether the placement direction of the mobile terminal 100B is horizontal or vertical, the height of the projected screen received by the display device 200 is 1080P.
  • the display 275 is rotated to the vertical screen state, it cannot display the display state shown in FIG. 11C , but is displayed according to the height of the entire image information including left and right black information, as shown in FIG. 11B . That is, in the vertical screen state, not only the left and right sides of the effective screen are filled with black information, but the top and bottom of the projected screen also display black areas because there is no effective screen to fill, which will greatly affect the user's viewing experience.
  • the screen projection video stream received by the display device 200 corresponds to a screen display resolution of 1920 ⁇ 1080, that is, in the height direction, the screen projection image is based on the screen on the terminal, and requires 1080 pixels for display.
  • the projection screen is based on the terminal display screen plus the width of the black borders on both sides, and requires 1920 pixels to display.
  • the height of the effective area in the projection screen is 1080, and the width is scaled and displayed in proportion to the height, which will greatly waste the display area on the display 275 .
  • the effective information is enlarged in a certain proportion to adapt to the screen projection video stream sent by the mobile terminal 100B.
  • the state shown in FIG. 3A is presented, and when screencasting is performed, the parsed frame data of the video stream sent to the display device has no left and right black borders.
  • the display device receives image information that does not contain left and right black borders, it is detected whether the display is in a landscape state.
  • the controller 250 receives the image information, and can directly present the image information on the display.
  • the controller 250 may send a rotation instruction to the rotation component 276 to control the rotation component 276 to rotate, so as to rotate the display to the landscape state.
  • the state shown in FIG. 3B is presented, and when screen projection is performed, the parsed frame data of the video stream sent to the display device has left and right black borders and an effective picture.
  • the display device receives image information with left and right black borders, it detects whether the display is in a vertical screen state.
  • the controller 250 may send a rotation instruction to the rotation component 276 to control the rotation component 276 to rotate the display 275 to the portrait state.
  • the width of the display 275 is smaller than the height, which is in line with the display ratio of the terminal screen.
  • the frame data in the projected video stream is enlarged, and the effective screen is displayed on the display.
  • the left and right black areas are enlarged due to the enlargement. cannot be displayed on the display, thereby reducing the black border area on both sides of the effective screen, as shown in Figure 11C.
  • the present application provides a display device, which can judge whether the display needs to be rotated and the screen needs to be rotated according to whether the image information of the projected screen data stream contains left and right black information. Make adjustments to maximize the use of the display area.
  • a display device provided by this application includes:
  • a rotation component configured to drive the display to rotate, so that the display is in one of a horizontal screen state or a vertical screen state
  • the communication is configured to connect to a terminal
  • controller see Figure 12, is configured to execute:
  • the user may first perform a screen projection display operation on the mobile terminal 100B to send the display screen of the mobile terminal 100B to the display device 200 .
  • the user selects "settings - connection and sharing - screencasting" on the mobile phone, and selects a display device in the current network as the screencasting object in the screencasting device list to perform the screencasting operation.
  • the mobile terminal 100B After performing the screen projection operation, the mobile terminal 100B will send the displayed picture to the display device 200 through a screen projection protocol, such as using the Miracast protocol or other mirroring protocols. As new interactive pictures are continuously generated during the screen projection process, the mobile terminal 100B will send the pictures to the display device 200 frame by frame to form a screen projection data stream (hereinafter referred to as a screen projection video stream).
  • a screen projection video stream a screen projection data stream
  • users can also perform screen casting operations through third-party applications.
  • a screen-casting icon is provided on the video playback interface of the video application. Users can click this icon to perform screen casting operations.
  • the screencasting of the screencasting operation performed by a third-party application is based on the played video resource. For example, when the video resources played are horizontal media assets such as movies and TV series, the width of the effective screen in the projection screen is greater than the height; when the video resources played are vertical media resources such as short videos and comics, the screen projection screen The width of the effective picture in is less than the height.
  • the controller 250 of the display device 200 may perform frame-by-frame analysis on the received screen projection video stream to extract the initial resolution.
  • the initial resolution is the overall resolution of the first frame in the projected video stream.
  • the aspect ratio of the screencast video stream sent by the mobile terminal 100B is 1920:1080.
  • the controller 250 can obtain each frame of the picture by parsing the screencast video stream. And the initial resolution is extracted from the first frame picture (the first frame picture), that is, the extracted initial resolution is 1920 ⁇ 1080.
  • the first frame picture is not limited to the first frame picture in the whole screen projection process, but may also be the first few frames of the screen projection video stream or the corresponding frame pictures at a specified time node. Since the initial resolution is the overall resolution of the projected screen, it is easier to obtain the resolution information, and in practical applications, the earlier the initial resolution is obtained, the more conducive to timely detection of the effective resolution of the projected video stream. Therefore, the display screen can be adjusted to a better state as soon as possible.
  • the images in the screen projection video stream can be further sampled to extract the sampling resolution.
  • the frame of picture used for sampling is called a sampling picture.
  • the sampling resolution is the resolution of the effective area (ie, the effective picture) on the sampling picture, which is extracted from the projection video stream according to a preset time interval.
  • the preset time interval for the designated sampling may be set according to the computing capability of the controller 250 , for example, a picture 10 s after the first frame picture is taken as a sampling picture.
  • the pixel color of the sampled picture can be traversed.
  • the pixel color value of the black border area is black
  • the pixel color value of the effective area is usually not all black. Therefore, it can be determined by traversing each pixel of the sampled image that the black and rectangular area is the black border, and the other areas are valid area.
  • the sampling resolution can be compared with the initial resolution, so as to determine the valid data in the current projected video stream according to the difference between the sampling resolution and the initial resolution.
  • Screen conditions such as scale, orientation, etc., so as to choose whether to display according to the effective screen.
  • the sampling resolution is equal to the initial resolution, that is, the resolution of the first frame is 1920 ⁇ 1080, and the resolution of the effective area determined in the sampling image is also 1920 ⁇ 1080, it means that there is no blackness in the current projected screen.
  • the projected screen can fill the display area. That is, the display requirements of the screen projection image can be satisfied by directly displaying the screen in the horizontal screen state of the display 275 .
  • the resolution of the display screen is usually represented by the number of pixels occupied in the width and height directions of the screen, for example, 1920 ⁇ 1080.
  • a resolution of 1920 ⁇ 1080 is equal to 1080 ⁇ 1920. Therefore, in the actual comparison process, a comparison result between the sampling resolution and the initial resolution can be obtained by extracting part of the value in the resolution or converting the resolution into other comparable values, and then performing the comparison.
  • the width or height of the overall picture can be extracted from the initial resolution, and compared with the height or width of the effective picture extracted from the sampling resolution to determine its effective resolution.
  • the value corresponding to the sampling resolution is greater than or equal to the value corresponding to the initial resolution, it means that the black border area in the current projection screen is the smallest on the premise of ensuring complete display. At this time, even if the screen is zoomed, the area of the small black border area will not be increased, so it is determined that the effective resolution of the video stream has not changed and is still the initial resolution.
  • the display device 200 can improve the display effect by rotating the display 275 and scaling the projection image.
  • the method for detecting the effective resolution of a screencast video stream can extract the initial resolution and the sampling resolution from the screencast video stream after receiving the screencast video stream, and compare them to determine the current video.
  • the effective resolution of the stream If the sampling resolution is smaller than the initial resolution, set the effective resolution of the video stream to the sampling resolution.
  • the projected screen can be displayed according to the effective resolution, so as to adapt to the display direction of the projected screen, reduce the influence of black borders, and achieve a better user experience.
  • the step of comparing the sampling resolution and the initial resolution further includes:
  • some data can be extracted from the initial resolution as a reference value. For example, when the height of the projected image in the projected video stream does not change, the overall image height of the first frame image is used as the reference value. Then, by traversing the pixel color values in the sampled picture, the ratio of the effective picture is determined, thereby generating the contrast value.
  • the contrast value is a picture width of an effective picture in the sampled picture.
  • the extraction reference value is 1080. Then, by traversing the pixel color values in the sampled image, the resolution of the effective image after removing the black area is determined as
  • the relationship between the sampling resolution and the initial resolution can be determined directly by comparing the size of the reference value and the contrast value, that is, if the contrast value is greater than or equal to the reference value, it is determined that the sampling resolution is greater than or equal to Equal to the initial resolution; if the contrast value is smaller than the reference value, it is determined that the sampling resolution is smaller than the initial resolution.
  • the reference value is 1080 and the contrast value is 960. Since the contrast value of 960 is smaller than the reference value of 1080, it is determined that the sampling resolution is smaller than the initial resolution, that is, the effective resolution of the current projected video stream is set to the sampling resolution. And in the subsequent display process, the screen projected image of the projected video stream can be scaled and displayed according to the effective resolution.
  • the method further includes:
  • the range of continuous black areas can be detected from the left side of the image corresponding to the sampled screen, and the range of the black border area can be obtained. : Left side black border width HL , left side black border height VL . Then start to detect the range of the continuous black area from the right side of the image, and obtain the range of the black border area: the right black border width HR and the right black border height VR , forming black border data.
  • the initial picture data can also be extracted from the first frame picture.
  • the initial picture data includes the initial width H 0 and initial height V 0 of the first frame picture, so as to calculate the reference value and the contrast value.
  • the reference value and the contrast value can be calculated according to the following formula:
  • the method further includes:
  • S14231 Determine whether the sampled picture satisfies a preset execution condition.
  • the picture display status in the sampling picture may be first judged to determine whether it satisfies the preset execution condition.
  • the effective resolution can be further judged, that is, the steps of calculating the reference value and the comparison value can be performed to compare the the sampling resolution and the initial resolution.
  • the step of extracting the sampling resolution in the projected video stream further includes:
  • S1201 Acquire multiple frames of sampled images at equal time intervals in the projected screen video stream
  • S1202 Calculate the sampling resolution of the sampling picture of each frame respectively.
  • sampling can be performed multiple times in the screen projection video stream, and the sampling resolution of the picture in each sampling can be extracted separately.
  • a frame of picture image is acquired every T time, and the sampling resolution values obtained by the above-mentioned resolution algorithm are: S x0 , S x1 , ..., S xn .
  • multi-frame sampling pictures are not all affected by the black picture content. Therefore, collecting multi-frame sampling pictures can reduce the influence of the picture content on the judgment of the black border area, thereby improving the accuracy of the effective resolution judgment.
  • the sampling resolutions can also be judged respectively to obtain the comparison results between the sampling resolutions and the initial resolutions, that is, the method further includes: :
  • the method further includes: if the effective resolution of the video stream is set to be the sampling resolution, then controlling to rotate the display 275 of the display device 200 to a vertical screen state.
  • the initial resolution is 1920 ⁇ 1080 and the sampling resolution is 960 ⁇ 1080.
  • the vertical screen is more suitable for displaying in the vertical screen state. Therefore, after determining that the effective resolution is the sampling resolution, the controller 250 can send a control command to the rotating component 276, so that the rotating component 276 drives the display 275 counterclockwise (or clockwise). Hour hand) rotate to portrait orientation.
  • the screen projection image can be displayed according to the aspect ratio of 960:1080.
  • the display resolution is usually 3840 ⁇ 2160 (in a horizontal screen state, and 2160 ⁇ 3840 in a corresponding vertical screen state). Therefore, in order to display a screen projection image with a resolution of 960 ⁇ 1080, the screen projection image needs to be scaled, so that the display 275 can completely display the screen projection image.
  • the displayed projected screen image is likely to be blurred on a large screen, which seriously reduces the user experience. Therefore, while zooming the projected screen image, the image quality adjustment related to pixel interpolation can also be performed on the projected screen image, so as to improve the blurred image and improve the image display effect.
  • the method for detecting the effective resolution of a screencast video stream can extract the initial resolution and the sampling resolution from the screencast video stream after receiving the screencast video stream, and compare them to determine the current video.
  • the effective resolution of the stream If the sampling resolution is smaller than the initial resolution, set the effective resolution of the video stream to the sampling resolution.
  • the projected screen can be displayed according to the effective resolution, so as to adapt to the display direction of the projected screen, reduce the influence of black borders, and achieve a better user experience.
  • another method for processing screen projection images is provided, and specifically another display device is provided, including:
  • a rotation component configured to drive the display to rotate, so that the display is in one of a horizontal screen state or a vertical screen state
  • the communication is configured to connect to a terminal
  • the image information includes valid information and left and right black area information.
  • the user may first perform a screen projection display operation on the mobile terminal 100B to send the display screen of the mobile terminal 100B to the display device 200 .
  • the user selects "settings - connection and sharing - screencasting" on the mobile phone, and selects a display device in the current network as the screencasting object in the screencasting device list to perform the screencasting operation.
  • the mobile terminal 100B After performing the screen projection operation, the mobile terminal 100B will send the displayed picture to the display device 200 through a screen projection protocol, such as Miracast protocol or other screen projection and mirroring protocols. As new interactive pictures are continuously generated during the screen projection process, the mobile terminal 100B will send the pictures to the display device 200 frame by frame to form a screen projection video stream.
  • a screen projection protocol such as Miracast protocol or other screen projection and mirroring protocols.
  • the controller acquires the rotation angle callback information of the display, and determines the target rotation state of the display according to whether the image information acquired from the mobile terminal includes left and right black borders.
  • the image information does not contain left and right black information, it means that the mobile terminal is currently in the landscape mode, and when the current rotation state of the detected display is the landscape state, the two are matched. No need to rotate the TV.
  • the current optional state of the monitor is the portrait state, the two do not match, and the monitor needs to be rotated to the landscape state.
  • the image information contains left and right black areas, it means that the mobile terminal is currently in portrait mode, and when the current rotation state of the display is detected to be landscape, the two do not match, and the display needs to be rotated to portrait.
  • the current optional state of the detection monitor is vertical, the two are matched, and the monitor does not need to be rotated.
  • the mobile terminal 100B After the user performs the screen projection operation through the mobile terminal 100B, the mobile terminal 100B sends the screen projection image to the display device 200 through the mirroring protocol or the screen projection protocol.
  • the controller 250 can receive the image information sent by the terminal, and detect the current rotation state of the display 275 . Wherein, the detection of the rotation state of the display 275 can be completed by a sensor built in the display device 200 .
  • sensor devices such as a gyroscope and a gravitational acceleration sensor may be provided on the display 275 of the display device 200 to determine the attitude data of the display 275 relative to the gravitational direction by measuring angular acceleration or gravitational direction. Then, the detected attitude data is compared with the attitude data in the horizontal screen state and the vertical screen state, respectively, to determine the current rotation state of the display 275 .
  • a grating angle sensor, a magnetic field angle sensor or a sliding resistance angle sensor, etc. can be provided on the rotating component 276, and the angle rotated by the rotating component 276 is measured and compared with the angles in the horizontal screen state and the vertical screen state, respectively, to determine The rotation state that the display 275 is currently in.
  • the controller is further configured to:
  • the controller 250 of the display device 200 may perform frame-by-frame analysis on the received screen projection video stream.
  • the aspect ratio of the screencast video stream sent by the mobile terminal 100B is 1920:1080.
  • the controller 250 can obtain frame images by parsing the screencast video stream.
  • the resolution of the extracted frame image is 1920 ⁇ 1080, which is the initial resolution.
  • the frame image in the projected video stream can be sampled again to extract the effective resolution.
  • the frame of picture used for sampling is called a sampling picture.
  • the effective resolution is the resolution of the effective picture on the frame data extracted from the screen projection video stream. Specifically, the effective resolution may be obtained from the screen-casting video stream at preset time intervals.
  • the pixel color of the sampled picture can be traversed.
  • the pixel color value of the black area is black
  • the pixel color value of the valid area is usually not all black. Therefore, it can be determined by traversing each pixel of the sampled image that the black and rectangular area is a black border, and other areas are valid. screen.
  • the color filled in the black area is not limited to black only.
  • the black area can be gray, blue, or other colors, as well as gradient colors, specific patterns, etc.
  • black areas or black borders are still referred to as black areas or black borders.
  • the effective resolution can be compared with the frame image resolution to determine the current The status of the valid images in the projected video stream (such as scale, orientation, etc.), so as to choose whether to display according to the valid images.
  • the effective resolution is equal to the frame image resolution, that is, the resolution of the first frame is 1920 ⁇ 1080, and the effective area resolution determined in the sampled image is also 1920 ⁇ 1080, it means that the current projection screen does not exist With black borders, the projected screen can fill the display area. That is, the display requirements of the screen projection image can be satisfied by directly displaying the screen in the horizontal screen state of the display 275 .
  • the resolution of the display screen is usually represented by the number of pixels occupied in the width and height directions of the screen, for example, 1920 ⁇ 1080.
  • a resolution of 1920 ⁇ 1080 is equal to 1080 ⁇ 1920. Therefore, in the actual comparison process, the comparison between the effective resolution and the frame image resolution can be obtained by extracting part of the value in the resolution or converting the resolution into other comparable values, and then performing the comparison. result.
  • the width or height of the overall picture can be extracted from the frame image resolution and compared with the height or width of the effective picture to determine its effective resolution.
  • the method for detecting the effective resolution of a screencast video stream provided by the present application can extract the frame image resolution and the effective resolution from the screencast video stream after receiving the screencast video stream, and compare them to determine the current resolution.
  • the effective resolution of the video stream By setting the effective resolution of the video stream, the projected screen can be displayed according to the effective resolution, so as to adapt to the display direction of the projected screen, reduce the influence of black borders, and achieve a better user experience.
  • the method further includes:
  • S1131 Extract black border data by traversing the number of consecutive black pixels in the sampling picture
  • the width of the image frame transmitted from the mobile terminal is a or denoted as H 0
  • the height is H ph or denoted as VL
  • the width of the display device in the vertical screen state is W tv
  • the height is H tv .
  • the range of the continuous black area can be detected from the left side of the image corresponding to the effective picture, and the range of the black area can be obtained: the left black border width a and the left black border height H ph .
  • the resolution of the effective picture is (H 0 -2a)*V Lh .
  • the resolution of the display device is W tv *H tv .
  • the display device provided by the present application can determine whether the mobile terminal is in portrait mode according to the image information, and automatically adjust the rotation state of the display, so as to use a larger display space to display the projected screen, Alleviates the problem that traditional smart TVs cannot display the projected screen normally.
  • the display device can obtain the real video stream of the mobile terminal.
  • the Airplay protocol can send the image data of the screen of the mobile terminal itself to the display device; in this way, the display device can directly Determines whether the image is landscape or portrait.
  • the display device cannot obtain the real screen video stream of the mobile terminal, that is, the mobile device first processes the screen data information before transmitting the screen projection data to the display device, such as the Miracast standard screen projection protocol.
  • the smart device always sends horizontal media resources to the display device, whether the screen is placed horizontally or vertically, the display device always obtains horizontal video data.
  • the current Miracast standard screencasting protocol does not adapt to the vertical screen display device for the time being, and still sends horizontal screen resources with black borders to the display device.
  • the display device when the display device receives the screen projection resource, it judges whether the image has black borders. Therefore, the display device cannot know the actual placement of the mobile terminal. In this case, the display device will not be able to rotate according to the active frame in the image. That is, regardless of whether the mobile phone has a horizontal screen or a vertical screen, after receiving the horizontal screen projection data, the screen projection data is directly displayed.
  • the display device just does not rotate according to the screen projection data. Regardless of whether the display device is in a landscape or portrait state, the user can still actively issue a rotation command to rotate the display device to a different state than before.
  • the rotating component 276 can rotate the display screen to a vertical screen state, that is, a state in which the vertical side length of the screen is greater than the horizontal side length, or can rotate the screen to a landscape screen state, that is, the screen is in a horizontal screen state. A state where the side length is greater than the vertical side length.
  • the display device For example, if the display device is in a landscape position, the screen shown in FIG. 10A or 11A is displayed.
  • the mobile terminal For FIG. 10A , the mobile terminal is placed horizontally, and the screen projection data stream is a full-screen horizontal resource with no black borders on both sides.
  • the mobile terminal For FIG. 11A , the mobile terminal is placed vertically, and the screen projection data stream is a horizontal resource in which the effective picture with black borders on both sides is only in the middle of the data stream. In these two display placements, for the display device, it receives all horizontal and vertical screen resources.
  • a control command can be issued through a remote control, voice, gesture, etc., to control the current mirroring interface.
  • a zoom scale is shown, as shown in Figure 20A.
  • the operation bar automatically disappears between presets.
  • the remote control can be used to call up, down, left, and right, and the remote control can be manually enlarged to an appropriate multiple, as shown in FIGS. 20B and 20C .
  • the maximum value of the maximum magnification corresponds to a full-screen display of an effective picture.
  • the present application also provides a non-volatile computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the various embodiments of the method provided by the present application. , when the controller of the display device provided by the present application executes the computer program instructions, the controller executes the steps in which the controller described in the present application is configured.
  • the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), and the like.

Landscapes

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

Abstract

A display device, a method for receiving screen projection content, and a screen projection method. A controller of the display device is configured to: receive a screen projection media resource, and determine the attribute of the media resource; if the media resource attribute is video, detect the horizontal and vertical screen state of a display, acquire the aspect ratio of the video, and determine whether the aspect ratio of the video matches the horizontal and vertical screen state of the display; and if the media resource attribute is image, fill a screen according to the original proportion of the aspect ratio of the current image for displaying.

Description

显示设备、接收投屏内容的方法及投屏方法Display device, method for receiving screencast content, and screencasting method
本申请要求在2021年3月19日提交中国专利局,申请号为202110297114.7、申请名称为“一种显示设备及投屏方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110297114.7 and the application title "A display device and screen projection method", which was submitted to the Chinese Patent Office on March 19, 2021, the entire contents of which are incorporated into this application by reference middle.
技术领域technical field
本申请涉及智能电视技术领域,尤其涉及显示设备、接收投屏内容的方法及投屏方法。The present application relates to the technical field of smart TVs, and in particular, to a display device, a method for receiving screencast content, and a screencasting method.
背景技术Background technique
屏幕共享是多个显示设备的互动操作。一般利用无线网络传递媒体资源,使得在一个显示设备显示的内容可以同步到第二显示设备上供用户观看。以手机投屏为例,对于连接在同一个WiFi网络中的手机和智能电视,可以通过手机端执行投屏操作指令,以将手机端显示的画面以视频流的方式发送给智能电视,以利用智能电视的大屏幕,获得更好的用户体验。Screen sharing is the interactive operation of multiple display devices. Generally, a wireless network is used to transmit media resources, so that the content displayed on one display device can be synchronized to the second display device for the user to watch. Taking mobile phone screencasting as an example, for mobile phones and smart TVs connected to the same WiFi network, the screencasting operation command can be executed through the mobile phone to send the screen displayed on the mobile phone to the smart TV in the form of video stream, so as to use Big screen of smart TV for better user experience.
由于媒体资源可以是竖向的资源和可以是横向资源,当媒体资源流在一个设备上同步到第二个显示设备上时,有出现媒体资源的宽高比与显示设备的呈现方式不同可能性,如媒体资源为4:3的显示尺寸,而显示设备为3:4的显示尺寸。Since media assets can be vertical assets and landscape assets, when the media asset stream is synchronized on one device to a second display device, there is a possibility that the aspect ratio of the media asset may be different from the presentation method of the display device. , such as a media resource with a 4:3 display size and a display device with a 3:4 display size.
为了将手机上的画面完全显示且显示比例最大,显示设备需要适应性比配媒体资源。In order to fully display the screen on the mobile phone with the largest display ratio, the display device needs to adapt the media resources.
发明内容SUMMARY OF THE INVENTION
本申请提供了显示设备、接收投屏内容的方法及投屏方法,以使得显示器的呈现状态适配投屏内容。The present application provides a display device, a method for receiving screen-casting content, and a screen-casting method, so that the presentation state of the display is adapted to the screen-casting content.
一方面,本申请提供一种显示设备,包括:显示器;In one aspect, the present application provides a display device, comprising: a display;
旋转组件,被配置为带动所述显示器旋转,以使所述显示器处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in a rotation state of a landscape screen state or a portrait screen state;
用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
控制器,被配置为:Controller, configured as:
接收投屏媒体资源,确定所述媒资资源属性;Receive screen projection media resources, and determine the attributes of the media resources;
如果所述媒体资源属性为视频,则检测所述显示器的横竖屏状态,获取视频宽高比,以及判断所述视频宽高比和所述显示器的横竖屏状态的匹配情况,并根据所述匹配情况确定是否需要旋转所述显示器;If the media resource attribute is video, detect the horizontal and vertical screen status of the display, obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen status of the display, and determine the matching situation according to the matching Circumstances determine whether the display needs to be rotated;
如果所述媒体资源属性为图片,则按照当前图像宽高比的原始比例填充屏幕进行显示。If the media resource attribute is a picture, the screen is filled and displayed according to the original aspect ratio of the current image.
第二方面,本申请提供一种接收投屏内容的方法,包括:In a second aspect, the present application provides a method for receiving screencast content, including:
接收投屏媒体资源,确定所述媒资资源属性;Receive screen projection media resources, and determine the attributes of the media resources;
如果所述媒体资源属性为视频,则检测所述显示器的横竖屏状态,获取视频宽高比,以及判断所述视频宽高比和所述显示器的横竖屏状态的匹配情况,并根据所述匹配情况确 定是否需要旋转所述显示器;If the media resource attribute is video, detect the horizontal and vertical screen status of the display, obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen status of the display, and determine the matching situation according to the matching Circumstances determine whether the display needs to be rotated;
如果所述媒体资源属性为图片,则按照当前图像宽高比的原始比例填充屏幕进行显示。If the media resource attribute is a picture, the screen is filled and displayed according to the original aspect ratio of the current image.
第三方面,本申请提供一种显示设备,包括:In a third aspect, the present application provides a display device, including:
显示器;monitor;
旋转组件,被配置为带动所述显示器旋转,以使所述显示器处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in a rotation state of a landscape screen state or a portrait screen state;
用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
控制器,被配置为:Controller, configured as:
接收所述终端发送的图像信息,其中,当所述终端处于纵向模式时,所述图像信息包括有效信息和左、右黑色信息,所述有效信息对应于所述终端的屏幕显示内容;receiving image information sent by the terminal, wherein, when the terminal is in a portrait mode, the image information includes valid information and left and right black information, and the valid information corresponds to the screen display content of the terminal;
若所述显示器的当前旋转状态与所述终端的纵向模式不匹配时,将所述显示器旋转至竖屏状态;If the current rotation state of the display does not match the portrait mode of the terminal, rotate the display to the portrait state;
基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的。The display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by amplifying the valid information by a preset multiple.
第四方面,一种投屏方法,应用于显示设备,包括:In a fourth aspect, a screen projection method, applied to a display device, includes:
接收所述终端发送的图像信息,其中,当所述终端处于纵向模式时,所述图像信息包括有效信息和左、右黑色信息,所述有效信息对应于所述终端的屏幕显示内容;receiving image information sent by the terminal, wherein, when the terminal is in a portrait mode, the image information includes valid information and left and right black information, and the valid information corresponds to the screen display content of the terminal;
若所述显示器的当前旋转状态与所述终端的纵向模式不匹配时,将所述显示器旋转至竖屏状态;If the current rotation state of the display does not match the portrait mode of the terminal, rotate the display to the portrait state;
基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的。The display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by amplifying the valid information by a preset multiple.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, without creative work, the Additional drawings can be obtained from these drawings.
图1为本申请一种显示设备的应用场景图;1 is an application scenario diagram of a display device of the present application;
图2为本申请控制装置的硬件配置框图;Fig. 2 is the hardware configuration block diagram of the control device of the application;
图3A为本申请移动终端横向模式示意图;3A is a schematic diagram of a landscape mode of a mobile terminal of the present application;
图3B为本申请移动终端纵向模式示意图;3B is a schematic diagram of a portrait mode of the mobile terminal of the present application;
图4为本申请一实施例中显示设备处于横屏时,接收横向媒资资源的示意图;4 is a schematic diagram of receiving a horizontal media resource when a display device is in a landscape orientation according to an embodiment of the application;
图5为本申请一实施例中显示设备处于竖屏时,接收横向的媒体资源旋转至横屏的示意图;FIG. 5 is a schematic diagram of receiving a horizontal media resource and rotating to a horizontal screen when the display device is in a vertical screen according to an embodiment of the present application;
图6为本申请一实施例中显示设备处于竖屏时,接收竖向媒资资源的示意图;6 is a schematic diagram of receiving a vertical media resource when a display device is in a vertical screen according to an embodiment of the present application;
图7为本申请一实施例中显示设备处于横屏时,接收竖向的媒体资源旋转至竖屏的示意图;FIG. 7 is a schematic diagram of receiving a vertical media resource and rotating to a vertical screen when the display device is in a landscape orientation according to an embodiment of the present application;
图8为本申请一种接收投屏数据的处理方法流程示意图;8 is a schematic flowchart of a processing method for receiving screen projection data according to the present application;
图9为本申请对比采样分辨率与初始分辨率流程示意图;FIG. 9 is a schematic flow chart of the application comparing sampling resolution and initial resolution;
图10A为本申请一实施例中移动终端处于横向模式下发送图像信息至处于横屏状态的显示设备的示意图;10A is a schematic diagram of a mobile terminal in a landscape mode sending image information to a display device in a landscape state according to an embodiment of the application;
图10B为本申请一实施例中移动终端处于横向模式下发送图像信息至处于竖屏状态的显示设备的示意图;10B is a schematic diagram of a mobile terminal in a landscape mode sending image information to a display device in a portrait screen state according to an embodiment of the application;
图11A为本申请一实施例中移动终端处于纵向模式下发送图像信息至处于横屏状态的显示设备的示意图;11A is a schematic diagram of a mobile terminal in a portrait mode sending image information to a display device in a landscape state according to an embodiment of the application;
图11B为根据投屏协议在显示设备为竖屏状态下呈现画面的效果示意图;11B is a schematic diagram of the effect of presenting a picture when the display device is in a vertical screen state according to the screen projection protocol;
图11C为本申请一实施例中移动终端处于纵向模式下发送图像信息至处于竖屏状态的显示设备的示意图;11C is a schematic diagram of a mobile terminal in a portrait mode sending image information to a display device in a portrait state according to an embodiment of the application;
图12为本申请一种投屏视频流有效分辨率检测方法流程示意图;12 is a schematic flowchart of a method for detecting an effective resolution of a projected video stream according to the present application;
图13为本申请对比采样分辨率与初始分辨率流程示意图;13 is a schematic flow chart of the application for comparing sampling resolution and initial resolution;
图14A为本申请计算基准值和对比值的流程示意图;FIG. 14A is a schematic flowchart of calculating a reference value and a comparison value for the application;
图14B为本申请黑边数据和初始画面数据示意图;14B is a schematic diagram of black border data and initial screen data of the present application;
图15为本申请判断预设执行条件的流程示意图;15 is a schematic flowchart of the application for judging preset execution conditions;
图16为本申请对比多个采样分辨率和初始分辨率的流程示意图;16 is a schematic flowchart of the application comparing multiple sampling resolutions and initial resolutions;
图17为本申请一示例性的显示设备的控制器执行的流程示意图;FIG. 17 is a schematic flowchart of the execution of a controller of an exemplary display device of the present application;
图18为本申请根据显示设备和有效画面的高度和宽度的比例确定有效信息放大倍数的流程示意图;18 is a schematic flowchart of the application for determining the magnification of effective information according to the ratio of the height and width of the display device and the effective screen;
图19为本申请一种显示设备的结构示意图;19 is a schematic structural diagram of a display device of the application;
图20A为本申请一实施例中移动终端处于纵向模式下发送图像信息至处于竖屏状态的显示设备的示意图;20A is a schematic diagram of a mobile terminal in a portrait mode sending image information to a display device in a portrait state according to an embodiment of the application;
图20B为本申请一实施例中移动终端处于纵向模式下发送图像信息至处于竖屏状态的下将图片放大1倍时显示设备的示意图;20B is a schematic diagram of a display device when the mobile terminal is in a portrait mode and sends image information to a portrait screen state and the picture is enlarged by 1 times in accordance with an embodiment of the application;
图20C为本申请一实施例中移动终端处于纵向模式下发送图像信息至处于竖屏状态的下将图片放大3倍时显示设备的示意图。20C is a schematic diagram of a display device when the mobile terminal is in a portrait mode and sends image information to a portrait screen state and magnifies the picture by 3 times according to an embodiment of the present application.
具体实施方式Detailed ways
下面将详细地对实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。仅是与权利要求书中所详述的、本申请的一些方面相一致的系统和方法的示例。Embodiments will be described in detail below, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following examples are not intended to represent all implementations consistent with this application. are merely exemplary of systems and methods consistent with some aspects of the present application as recited in the claims.
本申请提供的技术方案中,所述显示设备可以为智能电视等带有较大屏幕、为用户呈现视频和音频信号的电器设备。显示设备可以拥有独立的操作系统,并支持功能扩展。可以根据用户需要在显示设备中安装各种应用程序,例如,传统视频应用、短视频等社交应 用以及漫画、看书等阅读应用。这些应用可利用显示设备的屏幕展示应用画面,为用户提供更丰富的媒体资源。同时,显示设备还可以与不同的终端进行数据交互和资源共享。例如,智能电视可以通过局域网、蓝牙等无线通信方式与手机连接,从而播放手机中的资源或者直接进行投屏显示手机上的画面。In the technical solution provided by the present application, the display device may be an electrical device with a larger screen, such as a smart TV, that presents video and audio signals to the user. The display device can have an independent operating system and support function expansion. Various applications can be installed in the display device according to user needs, for example, traditional video applications, social applications such as short videos, and reading applications such as comics and book reading. These applications can use the screen of the display device to display the application screen and provide users with richer media resources. At the same time, the display device can also perform data interaction and resource sharing with different terminals. For example, a smart TV can be connected to a mobile phone through a wireless communication method such as a local area network or Bluetooth, so as to play the resources in the mobile phone or directly perform screen projection to display the picture on the mobile phone.
本申请实施例提供了一种显示设备及计算机存储介质,显示设备,如可支持横竖屏旋转的电视,简称可旋转电视。需要说明的是,本实施例提供的方法不仅适用于可旋转电视,还适用于其它显示设备,如计算机、平板电脑等,以方便用户在显示器不同的横竖屏状态展示目标媒资详情页,提升显示设备在不同观看状态时的用户观看体验。Embodiments of the present application provide a display device and a computer storage medium. The display device, such as a TV that can support horizontal and vertical screen rotation, is referred to as a rotatable TV. It should be noted that the method provided in this embodiment is not only applicable to rotatable TVs, but also applicable to other display devices, such as computers, tablet computers, etc., so as to facilitate the user to display the details page of the target media asset in different horizontal and vertical screen states of the display, so as to improve the Displays the user viewing experience of the device in different viewing states.
本申请各实施例中使用的术语“模块”,可以是指任何已知或后来开发的硬件、软件、固件、人工智能、模糊逻辑或硬件或/和软件代码的组合,能够执行与该元件相关的功能。The term "module" used in the various embodiments of the present application may refer to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware or/and software codes capable of executing the execution associated with the element function.
本申请各实施例中使用的术语“遥控器”,是指电子设备(如本申请中公开的显示设备)的一个组件,该组件通常可在较短的距离范围内无线控制电子设备。该组件一般可以使用红外线和/或射频(RF)信号和/或蓝牙与电子设备连接,也可以包括WiFi、无线USB、蓝牙、动作传感器等功能模块。例如:手持式触摸遥控器,是以触摸屏中用户界面取代一般遥控装置中的大部分物理内置硬键。The term "remote control" used in various embodiments of the present application refers to a component of an electronic device (such as the display device disclosed in the present application), which can usually wirelessly control the electronic device within a short distance range. The component can generally use infrared and/or radio frequency (RF) signals and/or Bluetooth to connect with electronic devices, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors. For example, a hand-held touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
本申请各实施例中使用的术语“手势”,是指用户通过一种手型的变化或手部运动等动作,用于表达预期想法、动作、目的/或结果的用户行为。The term "gesture" used in various embodiments of the present application refers to a user behavior that is used by a user to express an expected idea, action, purpose/or result through an action such as a change of hand shape or hand movement.
本申请各实施例中使用的术语“硬件系统”,可以是指由集成电路(Integrated Circuit,IC)、印刷电路板(Printed circuit board,PCB)等机械、光、电、磁器件构成的具有计算、控制、存储、输入和输出功能的实体部件。在本申请各个实施例中,硬件系统通常也会被称为主板(motherboard)或主芯片或控制器。The term "hardware system" used in the various embodiments of this application may refer to a computer system composed of mechanical, optical, electrical, and magnetic devices such as an integrated circuit (IC) and a printed circuit board (PCB). , physical components that control, store, input, and output functions. In various embodiments of the present application, the hardware system is also commonly referred to as a motherboard or a main chip or a controller.
参见图1,为本申请一些实施例提供的一种显示设备的应用场景图。如图1所示,控制装置100和显示设备200之间可以有线或无线方式进行通信。Referring to FIG. 1 , it is an application scenario diagram of a display device provided by some embodiments of the present application. As shown in FIG. 1 , communication between the control apparatus 100 and the display device 200 may be performed in a wired or wireless manner.
其中,控制装置100被配置为控制显示设备200,其可接收用户输入的操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起着用户与显示设备200之间交互的中介作用。如:用户通过操作控制装置100上频道加减键,显示设备200响应频道加减的操作。The control device 100 is configured to control the display device 200 , which can receive operation instructions input by the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, acting as an intermediary for the interaction between the user and the display device 200 . effect. For example, the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operation.
控制装置100可以是遥控器100A,包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等输入用户指令,来控制显示设备200。如:用户可以通过遥控器上音量加减键、频道控制键、上/下/左/右的移动按键、语音输入按键、菜单键、开关机按键等输入相应控制指令,来实现控制显示设备200的功能。The control apparatus 100 may be a remote controller 100A, including infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, etc., and controls the display device 200 by wireless or other wired methods. The user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, and the like. For example, the user can control the display device 200 by inputting corresponding control commands through the volume up/down key, channel control key, up/down/left/right movement keys, voice input key, menu key, power-on/off key, etc. on the remote control. function.
控制装置100也可以是智能设备,如移动终端100B、平板电脑、计算机、笔记本电脑等。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,通过直观的用户界面(UI)为用户提供各种控制。The control apparatus 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a computer, a notebook computer, and the like. For example, the display device 200 is controlled using an application running on the smart device. The app can be configured to provide users with various controls through an intuitive user interface (UI) on the screen associated with the smart device.
示例性的,移动终端100B可与显示设备200安装软件应用,通过网络通信协议实现 连接通信,实现一对一控制操作的和数据通信的目的。如:可以使移动终端100B与显示设备200建立控制指令协议,通过操作移动终端100B上提供的用户界面的各种功能键或虚拟控件,来实现如遥控器100A布置的实体按键的功能。也可以将移动终端100B上显示的音视频内容传输到显示设备200上,实现同步显示功能。Exemplarily, the mobile terminal 100B can install a software application with the display device 200, and realize connection communication through a network communication protocol, so as to realize the purpose of one-to-one control operation and data communication. For example, the mobile terminal 100B and the display device 200 can be made to establish a control instruction protocol, and by operating various function keys or virtual controls of the user interface provided on the mobile terminal 100B, the functions of the physical keys arranged by the remote control 100A can be realized. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200 to implement a synchronous display function.
显示设备200,可以是液晶显示器、有机发光显示器、投影设备。具体显示设备类型、尺寸大小和分辨率等不作限定。The display device 200 may be a liquid crystal display, an organic light emitting display, or a projection device. The specific display device type, size and resolution are not limited.
显示设备200还与服务器300通过多种通信方式进行数据通信。这里可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器300可以向显示设备200提供各种内容和互动。示例的,显示设备200可以发送和接收信息,例如:接收电子节目指南(EPG)数据、接收软件程序更新、或访问远程储存的数字媒体库。服务器300可以一组,也可以多组,可以一类或多类服务器。通过服务器300提供视频点播和广告服务等其他网络服务内容。The display device 200 also performs data communication with the server 300 through various communication methods. Here, 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 300 may provide various contents and interactions to the display device 200 . By way of example, display device 200 may send and receive information, such as receiving electronic program guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library. The server 300 may be in one group, or in multiple groups, or in one or more types of servers. Other network service contents such as video-on-demand and advertising services are provided through the server 300 .
图2中示例性示出了显示设备200的硬件配置框图。如图2所示,显示设备200中可以包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、存储器260、用户接口265、视频处理器270、显示器275、旋转组件276、音频处理器280、音频输出接口285、供电电源290。A block diagram of a hardware configuration of the display device 200 is exemplarily shown in FIG. 2 . As shown in FIG. 2, the display device 200 may include a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, Rotating assembly 276 , audio processor 280 , audio output interface 285 , power supply 290 .
其中,旋转组件276可以包括驱动电机、旋转轴等部件。其中,驱动电机可以连接控制器250,受控制器250的控制输出旋转角度;旋转轴的一端连接驱动电机的动力输出轴,另一端连接显示器275,以使显示器275可以通过旋转组件276固定安装在墙壁或支架上。The rotating assembly 276 may include components such as a drive motor, a rotating shaft, and the like. The drive motor can be connected to the controller 250, and is controlled by the controller 250 to output a rotation angle; one end of the rotating shaft is connected to the power output shaft of the drive motor, and the other end is connected to the display 275, so that the display 275 can be fixedly installed on the rotating assembly 276. on a wall or stand.
旋转组件276还可以包括其他部件,如传动部件、检测部件等。其中,传动部件可以通过特定传动比,调整旋转组件276输出的转速和力矩,可以为齿轮传动方式;检测部件可以由设置在旋转轴上的传感器组成,例如角度传感器、姿态传感器等。这些传感器可以对旋转组件276旋转的角度等参数进行检测,并将检测的参数发送给控制器250,以使控制器250能够根据检测的参数判断或调整显示设备200的状态。实际应用中,旋转组件276可以包括但不限于上述部件中的一种或多种。The rotating assembly 276 may also include other components, such as transmission components, detection components, and the like. The transmission component can adjust the rotational speed and torque output by the rotating component 276 through a specific transmission ratio, which can be a gear transmission mode; the detection component can be composed of sensors arranged on the rotating shaft, such as an angle sensor, an attitude sensor, and the like. These sensors can detect parameters such as the rotation angle of the rotating component 276, and send the detected parameters to the controller 250, so that the controller 250 can judge or adjust the state of the display device 200 according to the detected parameters. In practical applications, the rotating assembly 276 may include, but is not limited to, one or more of the above components.
调谐解调器210,通过有线或无线方式接收广播电视信号,可以进行放大、混频和谐振等调制解调处理,用于从多个无线或有线广播电视信号中解调出用户所选择的电视频道的频率中所携带的音视频信号,以及附加信息(例如EPG数据)。在其他一些示例性实施例中,调谐解调器210也可在外部设备中,如外部机顶盒等。这样,机顶盒通过调制解调后输出电视信号,经过外部装置接口240输入至显示设备200中。The tuner and demodulator 210 receives broadcast television signals through wired or wireless means, and can perform modulation and demodulation processing such as amplification, frequency mixing, and resonance, so as to demodulate the television selected by the user from multiple wireless or wired broadcast television signals The audio and video signals carried in the frequency of the channel, as well as additional information (eg EPG data). In some other exemplary embodiments, the tuner 210 may also be in an external device, such as an external set-top box or the like. In this way, the set-top box outputs the TV signal after modulation and demodulation, and then inputs the TV signal to the display device 200 through the external device interface 240 .
通信器220,是用于根据各种通信协议类型与外部设备或外部服务器进行通信的组件。例如显示设备200可将内容数据发送至经由通信器220连接的外部设备,或者,从经由通信器220连接的外部设备浏览和下载内容数据。通信器220可以包括WIFI模块221、蓝牙通信协议模块222、有线以太网通信协议模块223等网络通信协议模块或近场通信协议模块,从而通信器220可根据控制器250的控制接收控制装置100的控制信号,并将控制信号实现为WIFI信号、蓝牙信号、射频信号等。The communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the display device 200 may transmit content data to an external device connected via the communicator 220 , or browse and download content data from an external device connected via the communicator 220 . The communicator 220 may include a network communication protocol module such as a WIFI module 221 , a Bluetooth communication protocol module 222 , a wired Ethernet communication protocol module 223 or a near field communication protocol module, so that the communicator 220 can receive the information from the control device 100 according to the control of the controller 250 . Control signal, and realize the control signal as WIFI signal, Bluetooth signal, radio frequency signal, etc.
检测器230,是显示设备200用于采集外部环境或与外部交互的信号的组件。检测器230可以包括声音采集器231,如麦克风,可以用于接收用户的声音,如用户控制显示设备200的控制指令的语音信号;或者,可以采集用于识别环境场景类型的环境声音,实现显示设备200可以自适应环境噪声。The detector 230 is a component of the display device 200 for collecting external environment or external interaction signals. The detector 230 can include a sound collector 231, such as a microphone, which can be used to receive the user's voice, such as the voice signal of the user's control instruction to control the display device 200; Device 200 can adapt to ambient noise.
外部装置接口240,是提供控制器250控制显示设备200与外部设备间数据传输的组件。外部装置接口240可按照有线/无线方式与诸如机顶盒、游戏装置、笔记本电脑、等外部设备连接,可接收外部设备的诸如视频信号(例如运动图像)、音频信号(例如音乐)、附加信息(例如EPG)等数据。The external device interface 240 is a component that provides the controller 250 to control data transmission between the display device 200 and the external device. The external device interface 240 can be connected with external devices such as set-top boxes, game devices, notebook computers, etc. in a wired/wireless manner, and can receive external devices such as video signals (such as moving images), audio signals (such as music), additional information (such as EPG) and other data.
控制器250,通过运行存储在存储器260上的各种软件控制程序(如操作系统和各种应用程序),来控制显示设备200的工作和响应用户的操作。The controller 250 controls the operation of the display device 200 and responds to user operations by running various software control programs (such as an operating system and various application programs) stored in the memory 260 .
在一些示例性的实施方式中,控制器250包括随机存取存储器(RAM)、只读存储器(ROM)、图形处理器、CPU处理器、通信接口、以及通信总线。其中,RAM、ROM以及图形处理器、CPU处理器通信接口通过通信总线相连接。ROM,用于存储各种系统启动指令。如在接收到开机信号时,显示设备200电源开始启动,CPU处理器254运行ROM252中的系统启动指令,将存储在存储器260的操作系统拷贝至RAM251中,以开始运行启动操作系统。当操作系统启动完成后,CPU处理器254再将存储器260中各种应用程序拷贝至RAM251中,然后,开始运行启动各种应用程序。In some exemplary embodiments, controller 250 includes random access memory (RAM), read only memory (ROM), a graphics processor, a CPU processor, a communication interface, and a communication bus. The RAM, the ROM, the graphics processor, and the CPU processor communication interface are connected through a communication bus. ROM, used to store various system startup instructions. For example, when the power-on signal is received, the power supply of the display device 200 starts, and the CPU processor 254 executes the system startup instruction in the ROM 252, and copies the operating system stored in the memory 260 to the RAM 251 to start the operating system. After the startup of the operating system is completed, the CPU processor 254 copies the various application programs in the memory 260 to the RAM 251, and then starts to run and activate the various application programs.
通信接口255,可包括第一接口到第n接口。这些接口可以是经由网络被连接到外部设备的网络接口。The communication interface 255 may include a first interface to an nth interface. These interfaces may be network interfaces connected to external devices via a network.
控制器250可以控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器275上显示的GUI对象的用户输入命令,控制器250便可以执行与由用户输入命令选择的对象有关的操作。The controller 250 may control the overall operation of the display apparatus 200 . For example, in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform operations related to the object selected by the user input command.
其中,该对象可以是可选对象中的任何一个,例如超链接或图标。该与所选择的对象有关的操作,例如显示连接到超链接页面、文档、图像等操作,或者执行与对象相对应的程序的操作。该用于选择GUI对象的用户输入命令,可以是通过连接到显示设备200的各种输入装置(例如,鼠标、键盘、触摸板等)输入命令或者与由用户说出语音相对应的语音命令。where the object can be any of the optional objects, such as a hyperlink or an icon. The operation related to the selected object, for example, the operation of displaying links to hyperlinked pages, documents, images, etc., or the operation of executing the program corresponding to the object. The user input command for selecting a GUI object may be an input command through various input devices (eg, mouse, keyboard, touchpad, etc.) connected to the display device 200 or a voice command corresponding to the voice spoken by the user.
存储器260,用于存储驱动和控制显示设备200运行的各种类型的数据、软件程序或应用程序。存储器260可以包括易失性和/或非易失性存储器。而术语“存储器”包括存储器260、控制器250的RAM和ROM、或显示设备200中的存储卡。The memory 260 is used to store various types of data, software programs or application programs that drive and control the operation of the display device 200 . Memory 260 may include volatile and/or nonvolatile memory. Whereas, the term “memory” includes the memory 260 , the RAM and ROM of the controller 250 , or a memory card in the display device 200 .
在一些实施例中,存储器260具体用于存储驱动显示设备200中控制器250的运行程序;存储显示设备200内置的和用户从外部设备下载的各种应用程序;存储用于配置由显示器275提供的各种GUI、与GUI相关的各种对象及用于选择GUI对象的选择器的视觉效果图像等数据。In some embodiments, the memory 260 is specifically used to store the operating program for driving the controller 250 in the display device 200 ; to store various application programs built in the display device 200 and downloaded by the user from external devices; Various GUIs, various GUI-related objects, and visual effect images of selectors used to select GUI objects.
在一些实施例中,存储器260具体用于存储调谐解调器210、通信器220、检测器230、外部装置接口240、视频处理器270、显示器275、音频处理器280等的驱动程序和相关数 据,例如从外部装置接口接收的外部数据(例如音视频数据)或用户接口接收的用户数据(例如按键信息、语音信息、触摸信息等)。In some embodiments, memory 260 is specifically used to store drivers and related data for tuner demodulator 210, communicator 220, detector 230, external device interface 240, video processor 270, display 275, audio processor 280, etc. , such as external data (such as audio and video data) received from an external device interface or user data (such as key information, voice information, touch information, etc.) received from a user interface.
图2中,用户接口265,接收各种用户交互。具体的,用于将用户的输入信号发送给控制器250,或者,将从控制器250的输出信号传送给用户。示例性的,遥控器100A可将用户输入的诸如电源开关信号、频道选择信号、音量调节信号等输入信号发送至用户接口265,再由用户接口265转送至控制器250;或者,遥控器100A可接收经控制器250处理从用户接口265输出的音频、视频或数据等输出信号,并且显示接收的输出信号或将接收的输出信号输出为音频或振动形式。In Figure 2, user interface 265, receives various user interactions. Specifically, it is used to send the user's input signal to the controller 250, or to transmit the output signal from the controller 250 to the user. Exemplarily, the remote control 100A may send input signals input by the user, such as power switch signals, channel selection signals, volume adjustment signals, etc., to the user interface 265, and then the user interface 265 forwards them to the controller 250; or, the remote control 100A may The controller 250 processes an output signal such as audio, video or data output from the user interface 265, and displays the received output signal or outputs the received output signal in the form of audio or vibration.
在一些实施例中,用户可在显示器275上显示的图形用户界面(GUI)输入用户命令,则用户接口265通过GUI接收用户输入命令。确切的说,用户接口265可接收用于控制选择器在GUI中的位置以选择不同的对象或项目的用户输入命令。其中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、控件、菜单、选项卡、文本框、对话框、状态栏、频道栏、Widget等可视的界面元素。In some embodiments, the user may input user commands on a graphical user interface (GUI) displayed on the display 275, and the user interface 265 receives the user input commands through the GUI. Specifically, user interface 265 may receive user input commands for controlling the position of selectors in the GUI to select different objects or items. Among them, the "user interface" is the medium interface for interaction and information exchange between the application program or the operating system and the user, which realizes the conversion between the internal form of the information and the form acceptable to the user. A commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed graphically. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, controls, menus, tabs, text boxes, dialog boxes, status bars, channel bars, Widgets, etc. visual interface elements.
或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户接口265通过传感器识别出声音或手势,来接收用户输入命令。Alternatively, the user can input a user command by inputting a specific sound or gesture, and the user interface 265 recognizes the sound or gesture through a sensor to receive the user input command.
视频处理器270,用于接收外部的视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等视频数据处理,可得到直接在显示器275上显示或播放的视频信号。The video processor 270 is used to receive an external video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal, and can obtain A video signal that is displayed or played directly on display 275 .
显示器275,用于接收源自视频处理器270输入的图像信号,进行显示视频内容、图像以及菜单操控界面。显示视频内容,可以来自调谐解调器210接收的广播信号中的视频内容,也可以来自通信器220或外部装置接口240输入的视频内容。显示器275,同时显示显示设备200中产生且用于控制显示设备200的用户操控界面UI。The display 275 is used for receiving the image signal input from the video processor 270 to display the video content, the image and the menu manipulation interface. The displayed video content can be from the video content in the broadcast signal received by the tuner and demodulator 210 , or from the video content input from the communicator 220 or the external device interface 240 . The display 275 simultaneously displays a user manipulation interface UI generated in the display device 200 and used to control the display device 200 .
以及,显示器275可以包括用于呈现画面的显示屏组件以及驱动图像显示的驱动组件。或者,倘若显示器275为一种投影显示器,还可以包括一种投影装置和投影屏幕。And, the display 275 may include a display screen component for presenting a picture and a driving component for driving image display. Alternatively, if the display 275 is a projection display, it may also include a projection device and a projection screen.
旋转组件276,控制器可以发出控制信号使旋转组件276旋转显示器255。Rotating assembly 276, the controller may issue a control signal to cause rotating assembly 276 to rotate display 255.
音频处理器280,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等音频数据处理,得到可以在扬声器286中播放的音频信号。The audio processor 280 is used for receiving an external audio signal, decompressing and decoding according to the standard codec protocol of the input signal, and performing audio data processing such as noise reduction, digital-to-analog conversion, and amplification processing to obtain a signal that can be displayed in the speaker 286. Played audio signal.
供电电源290,用于在控制器250的控制下,将外部电源输入的电力为显示设备200提供电源供电支持。供电电源290可以是安装在显示设备200内部的内置电源电路,也可以是安装在显示设备200外部的电源。The power supply 290 is used to provide power supply support for the display device 200 with the power input from the external power supply under the control of the controller 250 . The power supply 290 may be a built-in power supply circuit installed inside the display device 200 , or may be a power supply installed outside the display device 200 .
在投屏过程中,移动终端100B可以通过无线连接方式,如通过Miracast协议或者DLNA协议,向显示设备200发送显示画面数据,形成投屏视频流。当显示设备200在接 收到投屏视频流后,可以通过控制器250对投屏视频流进行解码,解析出帧画面经处理后形成投屏画面发送给显示器275进行显示。During the screen projection process, the mobile terminal 100B may send display screen data to the display device 200 through a wireless connection, such as through the Miracast protocol or the DLNA protocol, to form a screen projection video stream. After receiving the screen projection video stream, the display device 200 can decode the screen projection video stream through the controller 250, parse out the frame images and process them to form the screen projection images and send them to the display 275 for display.
下面以移动终端给电视投屏为例进行说明。移动终端100B可以为具有显示和人机交互功能的智能终端设备,例如手机、平板电脑等。移动终端上的视频或者图片可以是横向方式为正方向的内容,如当手机横向放置时,播放的电视剧。当手机横向放置时,屏幕的宽高比大于1。移动终端上的视频或者图片也可以是竖向方式为正方向的内容,如当用户手机竖向放置拍摄的图片。当手机竖向放置时,屏幕的宽高比小于1。The following description will be given by taking the mobile terminal projecting a screen to a TV as an example. The mobile terminal 100B may be an intelligent terminal device with display and human-computer interaction functions, such as a mobile phone, a tablet computer, and the like. The video or picture on the mobile terminal may be content whose horizontal orientation is in the positive orientation, such as a TV drama played when the mobile phone is placed horizontally. When the phone is placed in landscape orientation, the aspect ratio of the screen is greater than 1. The video or picture on the mobile terminal may also be the content whose vertical mode is the positive direction, such as a picture taken when the user's mobile phone is placed vertically. When the phone is placed in portrait orientation, the aspect ratio of the screen is less than 1.
在一些实施例中,电视可在旋转组件的驱动下支持横竖旋转。如当在播放电视剧或带电影的情况下,由于这些媒体资源一般为横向资源,则电视横向放,以呈现横向媒体资源。当在播放健身或者竖向媒体资源时,电视转为竖向放置,呈现竖向资源。In some embodiments, the TV can support horizontal and vertical rotation driven by the rotating assembly. For example, when a TV series or a movie is played, since these media resources are generally horizontal resources, the TV is placed horizontally to present horizontal media resources. When playing fitness or vertical media resources, the TV is placed vertically to present vertical resources.
在一些实施例中,电视横向放置,在未触发旋转指令时,也可以呈现接收投屏而呈现竖向资源。以及电视竖向放置,在触发旋转指令时,也可以呈现接收投屏而呈现横向资源。In some embodiments, the TV is placed horizontally, and when the rotation instruction is not triggered, it can also present the received screen projection and present the vertical resource. And the TV is placed vertically. When the rotation command is triggered, it can also present the received screen projection and present the horizontal resource.
在一些实施例中,通过DLNA协议进行屏幕共享时,显示设备可获取图像的横竖呈现状态,由于移动终端100B上可呈现横向或者竖向布局的媒体资源,因此投屏画面也具有不同的布局模式。例如,当用户在手机上呈现横向媒体资源时,画面的宽度大于画面的高度,如图3A所示。当用户在手机上呈现竖向媒体资源时,画面的宽度小于画面的高度,如图3B所示。In some embodiments, when screen sharing is performed through the DLNA protocol, the display device can obtain the horizontal and vertical presentation states of the image. Since the mobile terminal 100B can present media resources in a horizontal or vertical layout, the projected screen also has different layout modes. . For example, when a user presents a horizontal media resource on a mobile phone, the width of the screen is greater than the height of the screen, as shown in FIG. 3A . When the user presents vertical media resources on the mobile phone, the width of the screen is smaller than the height of the screen, as shown in FIG. 3B .
为了使显示设备200能够根据移动终端100B在投屏时画面的横竖状态实现自动旋转屏幕,从而达到更好的用户体验,显示设备200和移动终端100B之间可以配置有投屏协议,例如基于DLNA标准的投屏协议,基于Airplay标准的投屏协议等,通过投屏协议实现画面视频流的传输,使移动终端100B上的画面能够投屏给显示设备200。In order to enable the display device 200 to automatically rotate the screen according to the horizontal and vertical states of the screen of the mobile terminal 100B during screen projection, so as to achieve a better user experience, a screen projection protocol may be configured between the display device 200 and the mobile terminal 100B, for example, based on DLNA A standard screen projection protocol, a screen projection protocol based on the Airplay standard, etc., the transmission of the picture and video stream is realized through the screen projection protocol, so that the picture on the mobile terminal 100B can be projected to the display device 200 .
在一些实施例中,投屏内容可以是视频也可以是图片。一般情况下,用户浏览视频的时间较长,而浏览图片的相对较短。In some embodiments, the projected content may be a video or a picture. In general, users browse videos for a long time, while browsing pictures is relatively short.
当显示设备接收的投屏内容是视频时,可检测视频内容的横竖屏关系,并结合当前的显示器呈现模式判断是否要进行旋转,若在横屏状态下接收了横向视频,可实现全屏播放,则保持原状态直接播放视频即可,如图4。若在竖屏状态下接收了横向视频,由于宽高比不一致而智能呈现在部分显示界面上,则在竖屏先播放视频的同时,控制旋转组件将显示设备的显示器275旋转至横屏状态,已实现全屏播放,如图5。When the projected screen content received by the display device is a video, the horizontal and vertical screen relationship of the video content can be detected, and combined with the current display presentation mode to determine whether to rotate. Then keep the original state and play the video directly, as shown in Figure 4. If the horizontal video is received in the vertical screen state, and it is intelligently presented on part of the display interface due to the inconsistent aspect ratio, then while the video is played in the vertical screen first, the rotation component is controlled to rotate the display device 275 to the horizontal screen state. Full-screen playback has been achieved, as shown in Figure 5.
若在竖屏状态下接收了竖向视频时,可实现全屏播放,则保持原状态直接播放视频即可,如图6。若在横屏状态下接收了竖向视频,由于宽高比不一致而智能呈现在部分显示界面上,则在横屏先播放视频的同时,控制旋转组件将显示设备的显示器275旋转至竖屏状态,已实现全屏播放,如图7。If the vertical video is received in the vertical screen state, full-screen playback can be achieved, and the video can be played directly in the original state, as shown in Figure 6. If a vertical video is received in the landscape state, and it is intelligently presented on part of the display interface due to inconsistent aspect ratios, then the rotation component is controlled to rotate the display 275 of the display device to the portrait state while the video is first played in the landscape state. , full-screen playback has been achieved, as shown in Figure 7.
当投屏内容是图片时,用户有可能是在浏览照片集相关的应用,此时,用户在单个图片上停留是时间有限的,用户可能选择投屏的上一张图片还是横向的,下一张图片就变为了竖向,在下一张又变为了横向。而且,显示设备的呈现状态的改变,即旋转组件驱动显示设备旋转需要一定的时间,横屏放置的显示设备刚接收到竖向资源开始转动到竖向,用 户又有可能触发浏览下一张的指示,又需要变回到横向。如此显示设备频繁转动,既影响用户的体验,又会降低显示设备的使用寿命。When the projected content is a picture, the user may be browsing the application related to the photo collection. At this time, the user can stay on a single image for a limited time. One picture becomes vertical, and the next one becomes horizontal. Moreover, when the presentation state of the display device changes, that is, it takes a certain amount of time for the rotating component to drive the display device to rotate, and the display device placed in the horizontal screen just receives the vertical resource and starts to rotate to the vertical, the user may trigger the next page to browse. The instructions need to be changed back to landscape again. Such frequent rotation of the display device not only affects the user experience, but also reduces the service life of the display device.
在一些实施例中,本申请的一种显示设备中,需根据接收到的媒体资源信息以及媒资的横竖向状态以及自身显示器的呈现状态判断是否需要旋转显示器。对于视频播放,当手机端推送时,电视端以视频的画面对电视及视频播放界面进行旋转并放大/缩小,始终保持视频的竖直状态,并最终适配整个屏幕的显示效果。对于图片播放,以电视端横竖屏为准,横屏即横屏按原比例最大显示,竖屏即竖屏按原比例最大显示,旋转时重新设置旋转角度,最终以最大比例适配显示画面。In some embodiments, in a display device of the present application, it is necessary to determine whether the display needs to be rotated according to the received media resource information, the horizontal and vertical states of the media resources, and the presentation state of the display itself. For video playback, when the mobile phone terminal pushes, the TV terminal rotates and zooms in/out of the TV and video playback interface with the video screen, always maintains the vertical state of the video, and finally adapts to the display effect of the entire screen. For picture playback, the horizontal and vertical screens of the TV end shall prevail. The horizontal screen means that the horizontal screen is displayed at the maximum scale according to the original scale, and the vertical screen means that the vertical screen is displayed at the maximum scale according to the original scale. The rotation angle is reset when rotating, and finally the display screen is adapted to the maximum scale.
在一些实施例中,对于视频播放:当电视端收到手机端的视频链接后,访问视频资源,判断电视端横竖屏,并注册角度监听,获取视频宽高后在电视端按原比例适配整个屏幕进行显示播放,当视频宽高和电视横竖屏不一致时,发送旋转指令,通过角度监听获取当前电视旋转的角度信息,通过计算得到的视频画面需要进行的放缩倍数,将当前的角度信息及放缩倍数设置给捞帧接口,捞帧接口获取到角度信息和放缩倍数时对当前视频播放画面进行角度及放缩设置,始终保证图像竖直显示,直到旋转结束。In some embodiments, for video playback: when the TV terminal receives the video link from the mobile terminal, it accesses the video resources, determines the horizontal and vertical screens of the TV terminal, and registers the angle monitoring, and then adapts the entire video terminal according to the original proportion after obtaining the width and height of the video. The screen is displayed and played. When the width and height of the video are inconsistent with the horizontal and vertical screens of the TV, a rotation command is sent, and the angle information of the current TV rotation is obtained through the angle monitoring. The zoom factor is set to the frame capture interface. When the frame capture interface obtains the angle information and zoom factor, the angle and zoom settings of the current video playback screen are set, and the image is always displayed vertically until the rotation ends.
在一些实施例中,对于图片播放:当电视端收到手机端的图片推送请求后,判断当前电视端的横竖屏,以当前图像宽高的原始比例充满整个屏幕进行显示,当用户遥控器手动旋转电视时,监听到ConfigurationChange时设置角度并设置放缩倍数,保证图片画面按原比例铺满整个屏幕显示。In some embodiments, for picture playback: when the TV terminal receives a picture push request from the mobile phone terminal, it determines the horizontal and vertical screen of the current TV terminal, and displays the entire screen with the original ratio of the current image width and height. When the user's remote control manually rotates the TV When listening to ConfigurationChange, set the angle and set the zoom factor to ensure that the picture screen is displayed on the entire screen according to the original ratio.
本申请提供的一种显示设备包括:A display device provided by this application includes:
显示器;monitor;
旋转组件,被配置为带动所述显示器旋转,以使所述显示处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in one of a horizontal screen state or a vertical screen state;
用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
以及控制器,参见图8,被配置为执行:And the controller, see Figure 8, is configured to execute:
S01:接收投屏媒体资源,确定所述媒资资源属性;S01: Receive screen projection media resources, and determine attributes of the media resources;
实际应用中,用户可以先在移动终端100B上执行投屏显示操作,以将移动终端100B的显示画面发送给显示设备200。例如,用户通过在手机上先后选择“设置-连接与共享-投屏”,并且在投屏操作的设备列表中选中当前网络中的一个显示设备作为投屏对象,执行投屏操作。In practical applications, the user may first perform a screen projection display operation on the mobile terminal 100B to send the display screen of the mobile terminal 100B to the display device 200 . For example, the user selects "settings - connection and sharing - screencasting" on the mobile phone, and selects a display device in the current network as the screencasting object in the screencasting device list to perform the screencasting operation.
在执行投屏操作后,移动终端100B会通过投屏协议,如采用DLNA协议或其他镜像协议,将所显示的画面发送给显示设备200。随着投屏过程中不断产生新的交互画面,移动终端100B会逐帧将画面发送给显示设备200,形成投屏数据流(下面以投屏视频流)。After performing the screen projection operation, the mobile terminal 100B will send the displayed picture to the display device 200 through a screen projection protocol, such as using the DLNA protocol or other mirroring protocols. As new interactive pictures are continuously generated during the screen projection process, the mobile terminal 100B will send the pictures to the display device 200 frame by frame to form a screen projection data stream (hereinafter referred to as a screen projection video stream).
需要说明的是,用户还可以根据通过第三方应用程序执行投屏操作。例如,用户打开视频应用,在视频应用的视频播放界面上,设有投屏图标。用户可以点击该图标执行投屏操作。通常,通过第三方应用程序执行的投屏操作的投屏画面以所播放的视频资源为准。例如,在播放的视频资源为电影、电视剧等横向媒资时,则投屏画面中有效画面的宽度大 于高度;在播放的视频资源为短视频、漫画等竖向媒资时,则投屏画面中有效画面的宽度小于高度。It should be noted that users can also perform screen casting operations through third-party applications. For example, when a user opens a video application, a screen-casting icon is provided on the video playback interface of the video application. Users can click this icon to perform screen casting operations. Generally, the screencasting of the screencasting operation performed by a third-party application is based on the played video resource. For example, when the video resources played are horizontal media assets such as movies and TV series, the width of the effective screen in the projection screen is greater than the height; when the video resources played are vertical media resources such as short videos and comics, the screen projection screen The width of the effective picture in is less than the height.
电视接收媒体资源,根据媒体资源的属性判断是否接收的是视频还是图像。The TV receives media resources, and judges whether it is a video or an image according to the attributes of the media resources.
S02:如果所述媒体资源属性为视频,则检测所述显示器的横竖屏状态,获取视频宽高比,以及判断所述视频宽高比和所述显示器的横竖屏状态的匹配情况,并根据所述匹配情况确定是否需要旋转所述显示器。S02: If the media resource attribute is video, detect the horizontal and vertical screen states of the display, obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen states of the display, and determine the The match determines whether the display needs to be rotated.
显示设备200在接收到投屏视频流后,开始注册旋转角度的监听,回调机器当前实时旋转角度数据,得到当前电视的旋转方向以及角度信息,此时判断电视端横竖屏状态。并获取到视频的宽高数据,先在电视端按原始比例显示视频画面,通过电视端横竖屏和视频宽高进行对比,若电视端此时竖屏,视频横屏或者此时电视端横屏,视频横屏,则驱动电视自动旋转。After receiving the screencast video stream, the display device 200 starts to register the monitoring of the rotation angle, recalls the current real-time rotation angle data of the machine, and obtains the current rotation direction and angle information of the TV, and then judges the horizontal and vertical screen status of the TV. And obtain the width and height data of the video, first display the video screen in the original ratio on the TV side, and compare the horizontal and vertical screen of the TV side with the video width and height. , the video is horizontal screen, it will drive the TV to rotate automatically.
S03:如果所述媒体资源属性为图片,则按照当前图像宽高比的原始比例填充屏幕进行显示。S03: If the media resource attribute is a picture, fill the screen according to the original aspect ratio of the current image for display.
在一种实现方式中,为了实现在视频宽高比和所述显示器的横竖屏状态不匹配,驱动显示器旋转的同时,可对视频进行同步的放大。实时获取当前旋转角度,计算放缩倍数,通过旋转方向以及角度数据同时反方向转动UI以及同步放大或者缩小显示效果。In an implementation manner, in order to realize that the video aspect ratio does not match the horizontal and vertical screen states of the display, while driving the display to rotate, the video may be synchronously enlarged. Obtain the current rotation angle in real time, calculate the zoom factor, rotate the UI in the opposite direction at the same time through the rotation direction and angle data, and simultaneously zoom in or zoom out the display effect.
在一些实施例中,当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转。当所述视频宽高比和所述显示器的横竖屏状态匹配,则直接显示在显示器上按照原比例适配屏幕,呈现所述视频内容。In some embodiments, driving the display to rotate when the video aspect ratio does not match the horizontal and vertical screen states of the display. When the aspect ratio of the video matches the horizontal and vertical screen states of the display, it is directly displayed on the display to adapt the screen according to the original ratio to present the video content.
在一些示例性的实施例中,并不是所有的视频都可以触发旋转,还需要根据视频时长确定是否旋转,以使得投屏内容为较长的视频时,视频宽高比和显示器状态匹配才能使得用户体验更佳,当视频时间太短时,用户有可能上一个较短视频播放时,显示设备刚完成一次显示器旋转,就结束播放,等待用户投屏的下一个视频的,再根据宽高比再确定一次,如此过于频繁的旋转显示器,会给用户不好的用户体验。In some exemplary embodiments, not all videos can trigger rotation, and it is also necessary to determine whether to rotate according to the video duration, so that when the projected content is a longer video, the video aspect ratio and the display state can match the display state. The user experience is better. When the video time is too short, the user may play the last shorter video, and the display device will end the display as soon as the display rotates, and wait for the next video projected by the user, and then according to the aspect ratio Again, rotating the display so frequently will give the user a bad user experience.
例如,控制器可以在接收到投屏内容后,在用户界面上先开始播放,获取到视频时长大于等于一定时间值T min时,再去检测视频宽高比和显示器的呈现状态,当在宽高比与显示器的呈现状态不匹配时,控制旋转组件驱动显示器进行旋转。而当视频时长小于该时间值T min时,则确定所述视频时间过短,无需旋转电视。 For example, the controller can start playing on the user interface after receiving the projected screen content, and then detect the video aspect ratio and the presentation state of the display when the video duration is greater than or equal to a certain time value T min . When the aspect ratio does not match the presentation state of the display, the rotating component is controlled to drive the display to rotate. When the video duration is less than the time value T min , it is determined that the video duration is too short, and the TV does not need to be rotated.
如图9所示,当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转,还包括:As shown in FIG. 9 , if the aspect ratio of the video does not match the horizontal and vertical screen states of the display, driving the display to rotate, further comprising:
S021:获取所述视频的与所述显示器适配在旋转前的原始分辨率;S021: Obtain the original resolution of the video that is adapted to the display before rotation;
S022:根据所述原始分辨率和所述显示器的全屏分辨率确定所述视频画面的缩放倍数;S022: Determine the zoom factor of the video picture according to the original resolution and the full-screen resolution of the display;
S023:监听所述显示器的旋转角度信息,根据所述旋转角度信息渐变缩放所述视频画面以保证最终全屏显示所述视频画面。S023: Monitor the rotation angle information of the display, and gradually scale the video image according to the rotation angle information to ensure that the video image is finally displayed in full screen.
在一些实施例中,初始分辨率为F1,全屏分辨率为F2,则所述视频画面在旋转过程中,需要放大F2/F1倍。监听到显示器从横屏旋转至竖屏的旋转角度,可将整个旋转过程 按照旋转角度划分为90分份,每旋转一度,则放大(F2/F1)/90。这样以匀速旋转至全屏显示。In some embodiments, the initial resolution is F1 and the full-screen resolution is F2, and the video picture needs to be enlarged by F2/F1 times during the rotation process. After listening to the rotation angle of the display from landscape to portrait, the entire rotation process can be divided into 90 parts according to the rotation angle, and each degree of rotation will be enlarged (F2/F1)/90. This rotates to full screen at a constant speed.
例如,当显示设备在横屏状态下,接收了竖向视频资源,显示器呈现的用户界面如图7中的(a):视频画面的竖边长与显示器的长边边长一致,且其中显示。由于此时显示设备是横屏状态,视频界面是竖屏状态,电视端和视频画面的横竖屏不匹配,于是调用显示设备的旋转接口,控制旋转组件驱动旋转显示器。控制器通过旋转角度回调获取旋转方向和角度信息,视频播放画面变化根据电视旋转的角度信息实时计算,电视端从横屏旋转到竖屏时,默认旋转开始时的倍数为F2/F1,将当前的角度数据和放缩倍数设置给捞帧接口,实时进行视频画面旋转和放缩,视频播放画面相对用户始终保持竖直状态,此时电视画面与视频画面重合显示,如下图7中的(c)。For example, when the display device is in the horizontal screen state and receives vertical video resources, the user interface presented by the display is shown in (a) in Figure 7: the length of the vertical side of the video image is the same as the length of the long side of the display, and the display . Since the display device is in the horizontal screen state and the video interface is in the vertical screen state at this time, the horizontal and vertical screens of the TV terminal and the video screen do not match, so the rotation interface of the display device is called to control the rotating component to drive the rotating display. The controller obtains the rotation direction and angle information through the rotation angle callback, and the change of the video playback screen is calculated in real time according to the angle information of the TV rotation. The angle data and zoom factor are set to the frame capture interface, and the video screen is rotated and zoomed in real time. The video playback screen is always in a vertical state relative to the user. At this time, the TV screen and the video screen are overlapped and displayed, as shown in Figure 7 (c ).
在一些实施例中,放大倍数还可以按照显示器长边与视频画面的高,以及显示器短边边长与视频画面的宽进行计算。如,默认旋转开始时倍数为1,每转1度时视频播放画面高放大(电视画面长边长-视频画面高)/90,宽放大(电视画面短边宽-视频画面宽)/90。In some embodiments, the magnification factor can also be calculated according to the length of the long side of the display and the height of the video picture, and the length of the short side of the display and the width of the video picture. For example, the default multiplier is 1 when the rotation starts, and the video playback screen is enlarged by 1 degree in height (long side length of TV screen - video screen height)/90, and wide zoom (short side width of TV screen - video screen width)/90.
在一些实施例中,在旋转过程开始前,可在用户界面上弹出相关提示或者旋转,再驱动显示器进行旋转。In some embodiments, before the rotation process starts, a relevant prompt or rotation may be popped up on the user interface, and then the display is driven to rotate.
在一些实施例中,当显示设备竖屏展示,视频资源为横向状态时,显示器呈现的用户界面如图5中的(b):视频画面的横边长与显示器的短边边长一致,且其中显示。此时,显示设备和视频画面的横竖屏不匹配,于是调用电视端的旋转接口通知电视端进行旋转,通过旋转角度回调获取旋转方向和角度信息,视频播放画面变化根据电视旋转的角度信息实时计算。作为一种可选方式,电视端从横屏旋转到竖屏时,默认旋转开始时的倍数为1,转1度时视频播放画面高放大(电视画面短边长-视频画面高)/90,宽放大(电视画面长边长-视频画面宽)/90,将当前的角度数据和放缩倍数设置给捞帧接口,实时进行视频画面旋转和放缩,视频播放画面相对用户始终保持竖直状态,最终电视画面与视频播放画面重合显示,如图5中的(c)所示。In some embodiments, when the display device is displayed in a vertical screen and the video resource is in a horizontal state, the user interface presented by the display is shown in (b) in FIG. 5 : the length of the horizontal side of the video image is the same as the length of the short side of the display, and which shows. At this time, the horizontal and vertical screens of the display device and the video screen do not match, so the rotation interface of the TV terminal is called to notify the TV terminal to rotate, and the rotation direction and angle information are obtained through the rotation angle callback, and the change of the video playback screen is calculated in real time according to the angle information of the TV rotation. As an optional method, when the TV end rotates from landscape to portrait, the default multiplier at the beginning of the rotation is 1, and when the rotation is 1 degree, the video playback screen is highly enlarged (the length of the short side of the TV screen - the height of the video screen)/90, Width zoom (long side length of TV screen - width of video screen)/90, set the current angle data and zoom factor to the frame capture interface, rotate and zoom the video screen in real time, and the video playback screen is always in a vertical state relative to the user , and the final TV screen and the video playback screen are displayed superimposed, as shown in (c) in FIG. 5 .
在一些实施例中,当显示设备接收到手机端的图片推送请求后,则以当前图片的原比例最大化进行显示,不根据图片和显示器的显示是否匹配为旋转显示器。In some embodiments, after the display device receives a picture push request from the mobile phone, the display device is displayed at the maximum original scale of the current picture, regardless of whether the display of the picture and the display match whether the display is rotated.
当然,上述对于图片的投屏仅仅是一种示例性说明,在一些实施例中,无论投屏媒资是视频还是图片,当与显示器的显示状态不匹配时,就可以触发旋转组件对显示器进行旋转。Of course, the above-mentioned screen projection of pictures is only an exemplary illustration. In some embodiments, regardless of whether the projected media asset is a video or a picture, when it does not match the display state of the display, the rotation component can be triggered to perform the display operation on the display. rotate.
在一些实施例中,显示设备不仅仅是根据投屏数据进行旋转,不论显示设备处在是横屏状态还是竖屏状态,用户仍然可以主动发出旋转指令,将显示设备旋转电视旋转至与之前不同的所处状态。从显示设备正面观看的角度,旋转组件276可以将显示屏旋转到竖屏状态,即屏幕竖向的边长大于横向的边长的状态,也可以将屏幕旋转至横屏状态,即屏幕横向的边长大于竖向的边长的状态。例如,可实现用户手动触发显示器旋转,当具有主观意识的指令输入时,可设置优先执行的级别为高。如无论视频画面和显示器的呈现是否匹配,接收到用户输入的旋转指令,即便是视频画面和显示器呈现相匹配,也可以接收触发 指令而旋转所述显示器。In some embodiments, the display device is not only rotated according to the screen projection data, no matter whether the display device is in a landscape state or a portrait state, the user can still actively issue a rotation instruction to rotate the display device to rotate the TV to a different level than before. the state of. Viewed from the front of the display device, the rotating component 276 can rotate the display screen to a vertical screen state, that is, a state in which the vertical side length of the screen is greater than the horizontal side length, or can rotate the screen to a landscape screen state, that is, the screen is in a horizontal screen state. A state where the side length is greater than the vertical side length. For example, the user can manually trigger the display to rotate, and when a subjectively conscious instruction is input, the priority execution level can be set to be high. For example, a rotation instruction input by the user is received regardless of whether the presentation of the video picture and the display match, even if the video picture and the presentation of the display match, a trigger instruction may be received to rotate the display.
在一些实施例中,投屏协议为Miracast投屏协议。In some embodiments, the screencasting protocol is the Miracast screencasting protocol.
目前Miracast投屏协议的规定中,无论移动终端100B处于横向模式还是竖向模式,投屏给显示设备200的视频流一直为1920×1080的横屏流,显示设备无法根据视频流的分辨率或者宽高比获取屏幕的横竖关系,导致显示设备200无法通过视频流实现自动旋转电视屏幕。According to the current Miracast screen projection protocol, regardless of whether the mobile terminal 100B is in landscape mode or portrait mode, the video stream projected to the display device 200 is always a 1920×1080 landscape stream. The aspect ratio obtains the horizontal and vertical relationship of the screen, so that the display device 200 cannot realize the automatic rotation of the TV screen through the video stream.
例如,移动终端在与显示设备进行投屏交互时,当移动终端处于横向模式时,无论与该移动终端交互的显示设备处于横屏状态还是竖屏状态,其向显示设备发送的图像信息均不包含左和右黑色信息,如图10A和10B。For example, when a mobile terminal interacts with a display device for screen projection, when the mobile terminal is in a landscape mode, no matter whether the display device interacting with the mobile terminal is in a landscape state or a portrait state, the image information sent to the display device will not be changed. Contains left and right black information, as shown in Figures 10A and 10B.
而当移动终端处于纵向模式时,无论与该移动终端交互的显示设备处于横屏状态还是竖屏状态,其向显示设备发送的图像信息均包含左和右黑色信息,如图11A和11B。When the mobile terminal is in portrait mode, no matter whether the display device interacting with the mobile terminal is in landscape or portrait state, the image information sent to the display device includes left and right black information, as shown in FIGS. 11A and 11B .
在Miracast协议中,当移动终端与显示设备建立通信连接,移动终端在将截屏画面传出至显示设备之前,已经对截屏画面作了加黑边的处理,目的在于保证原显示设备在横屏状态下,无论是移动终端是横向放置还是竖向放置,都可以展现横向画面。In the Miracast protocol, when the mobile terminal establishes a communication connection with the display device, before the mobile terminal transmits the screenshot to the display device, the screenshot has been processed by adding black borders to ensure that the original display device is in the horizontal screen state. In this case, regardless of whether the mobile terminal is placed horizontally or vertically, a horizontal screen can be displayed.
在图11A所对应的投屏画面中,画面两侧的黑色区域所示的图像信息为黑色信息,或者称为黑边,画面中部的显示画面区域称为有效画面(即为移动终端相对应的屏幕显示画面),其该有效画面即为移动终端的图像信息中的有效信息。在有效画面对应的区域内,显示的是移动终端100B上的操作画面,黑边为根据移动终端100B显示器275的屏幕比例确定具有不同的宽度和高度。In the projection screen corresponding to FIG. 11A , the image information shown in the black areas on both sides of the screen is black information, or called black borders, and the displayed screen area in the middle of the screen is called the effective screen (that is, the image corresponding to the mobile terminal). screen display picture), the effective picture is the effective information in the image information of the mobile terminal. In the area corresponding to the effective screen, the operation screen on the mobile terminal 100B is displayed, and the black border has different widths and heights according to the screen ratio of the display 275 of the mobile terminal 100B.
即,显示设备200显示投屏画面时,以较短边对应的方向为基准,如在横屏状态下的高度方向。因此,显示设备200呈现的投屏视频流高度方向一般是不变的。即无论移动终端100B的放置方向为横向还是竖向,显示设备200接收到的投屏画面高度都是1080P的。即使显示器275在旋转到竖屏状态后,并不能呈现如图11C所示的显示状态,而是按照整个包含左、右黑色信息的图像信息的高度进行显示,如图11B所示。即在竖屏状态下,不仅有效画面的左右两侧填充有黑色信息,投屏画面的顶部和底部也因没有有效画面做填充而显示黑色区域,这将大大影响用户的观看体验。That is, when the display device 200 displays the screen projection image, the direction corresponding to the shorter side is used as a reference, such as the height direction in the horizontal screen state. Therefore, the height direction of the projected video stream presented by the display device 200 is generally unchanged. That is, regardless of whether the placement direction of the mobile terminal 100B is horizontal or vertical, the height of the projected screen received by the display device 200 is 1080P. Even if the display 275 is rotated to the vertical screen state, it cannot display the display state shown in FIG. 11C , but is displayed according to the height of the entire image information including left and right black information, as shown in FIG. 11B . That is, in the vertical screen state, not only the left and right sides of the effective screen are filled with black information, but the top and bottom of the projected screen also display black areas because there is no effective screen to fill, which will greatly affect the user's viewing experience.
在实际投屏过程中,显示设备200接收到的投屏视频流对应画面显示分辨率为1920×1080,即在高度方向,投屏画面以终端上的画面为基准,需要1080个像素点进行显示。而在宽度方向,投屏画面以终端显示画面加两侧黑边宽度为基准,需要1920个像素点进行显示。相应的,投屏画面中有效区域的高度为1080,宽度按照高度的比例进行缩放显示,这将大大浪费显示器275上的显示区域。In the actual screen projection process, the screen projection video stream received by the display device 200 corresponds to a screen display resolution of 1920×1080, that is, in the height direction, the screen projection image is based on the screen on the terminal, and requires 1080 pixels for display. . In the width direction, the projection screen is based on the terminal display screen plus the width of the black borders on both sides, and requires 1920 pixels to display. Correspondingly, the height of the effective area in the projection screen is 1080, and the width is scaled and displayed in proportion to the height, which will greatly waste the display area on the display 275 .
为了提高显示设备上显示区域的利用率,并对有效信息进行一定比例的放大,以适应移动终端100B发送的投屏视频流。In order to improve the utilization rate of the display area on the display device, the effective information is enlarged in a certain proportion to adapt to the screen projection video stream sent by the mobile terminal 100B.
在一些实施方式中,当移动终端处于横向模式时,呈现图3A所示的状态,进行投屏时,发送到显示设备的视频流被解析后的帧数据没有左、右黑边。当显示设备接收到不包含左、右黑边的图像信息时,检测显示器是否处于横屏状态。当时横屏状态 时,控制器250接收到图像信息,可直接将该图像信息呈现在显示器上。当显示器处于竖屏状态时,控制器250可以向旋转组件276发送旋转指令,控制旋转组件276旋转,以使显示器旋转至横屏状态。In some embodiments, when the mobile terminal is in landscape mode, the state shown in FIG. 3A is presented, and when screencasting is performed, the parsed frame data of the video stream sent to the display device has no left and right black borders. When the display device receives image information that does not contain left and right black borders, it is detected whether the display is in a landscape state. When the screen is in a landscape state, the controller 250 receives the image information, and can directly present the image information on the display. When the display is in the portrait state, the controller 250 may send a rotation instruction to the rotation component 276 to control the rotation component 276 to rotate, so as to rotate the display to the landscape state.
当移动终端处于纵向模式时,呈现图3B所示的状态,进行投屏时,发送到显示设备的视频流被解析后的帧数据带有左、右黑边和有效画面。当显示设备接收到带有左、右黑边的图像信息时,检测显示器是否处于竖屏状态。当处于横屏状态时,控制器250可以向旋转组件276发送旋转指令,控制旋转组件276,以使显示器275旋转至竖屏状态。在竖屏状态下,显示器275的宽度小于高度,与终端画面的显示比例相符,此时,对投屏视频流中的帧数据进行放大,将有效画面显示到显示器上,左右黑色区域因放大而无法显示在显示器上,从而减小有效画面两侧的黑边面积,如图11C所示。When the mobile terminal is in portrait mode, the state shown in FIG. 3B is presented, and when screen projection is performed, the parsed frame data of the video stream sent to the display device has left and right black borders and an effective picture. When the display device receives image information with left and right black borders, it detects whether the display is in a vertical screen state. When in the landscape state, the controller 250 may send a rotation instruction to the rotation component 276 to control the rotation component 276 to rotate the display 275 to the portrait state. In the vertical screen state, the width of the display 275 is smaller than the height, which is in line with the display ratio of the terminal screen. At this time, the frame data in the projected video stream is enlarged, and the effective screen is displayed on the display. The left and right black areas are enlarged due to the enlargement. cannot be displayed on the display, thereby reducing the black border area on both sides of the effective screen, as shown in Figure 11C.
为了改善用户的观影体验,减少画面两侧的黑色信息,本申请提供一种显示设备,可以根据投屏数据流的图像信息中是否包含左、右黑色信息,判断是否需要旋转显示器并对画面进行调整,以最大化利用显示区域。In order to improve the user's viewing experience and reduce the black information on both sides of the screen, the present application provides a display device, which can judge whether the display needs to be rotated and the screen needs to be rotated according to whether the image information of the projected screen data stream contains left and right black information. Make adjustments to maximize the use of the display area.
本申请提供的一种显示设备包括:A display device provided by this application includes:
显示器;monitor;
旋转组件,被配置为带动所述显示器旋转,以使所述显示处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in one of a horizontal screen state or a vertical screen state;
用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
以及控制器,参见图12,被配置为执行:And the controller, see Figure 12, is configured to execute:
S11:接收投屏视频流。S11: Receive a screencast video stream.
实际应用中,用户可以先在移动终端100B上执行投屏显示操作,以将移动终端100B的显示画面发送给显示设备200。例如,用户通过在手机上先后选择“设置-连接与共享-投屏”,并且在投屏操作的设备列表中选中当前网络中的一个显示设备作为投屏对象,执行投屏操作。In practical applications, the user may first perform a screen projection display operation on the mobile terminal 100B to send the display screen of the mobile terminal 100B to the display device 200 . For example, the user selects "settings - connection and sharing - screencasting" on the mobile phone, and selects a display device in the current network as the screencasting object in the screencasting device list to perform the screencasting operation.
在执行投屏操作后,移动终端100B会通过投屏协议,如采用Miracast协议或其他镜像协议,将所显示的画面发送给显示设备200。随着投屏过程中不断产生新的交互画面,移动终端100B会逐帧将画面发送给显示设备200,形成投屏数据流(下面以投屏视频流)。After performing the screen projection operation, the mobile terminal 100B will send the displayed picture to the display device 200 through a screen projection protocol, such as using the Miracast protocol or other mirroring protocols. As new interactive pictures are continuously generated during the screen projection process, the mobile terminal 100B will send the pictures to the display device 200 frame by frame to form a screen projection data stream (hereinafter referred to as a screen projection video stream).
需要说明的是,用户还可以根据通过第三方应用程序执行投屏操作。例如,用户打开视频应用,在视频应用的视频播放界面上,设有投屏图标。用户可以点击该图标执行投屏操作。通常,通过第三方应用程序执行的投屏操作的投屏画面以所播放的视频资源为准。例如,在播放的视频资源为电影、电视剧等横向媒资时,则投屏画面中有效画面的宽度大于高度;在播放的视频资源为短视频、漫画等竖向媒资时,则投屏画面中有效画面的宽度小于高度。It should be noted that users can also perform screen casting operations through third-party applications. For example, when a user opens a video application, a screen-casting icon is provided on the video playback interface of the video application. Users can click this icon to perform screen casting operations. Generally, the screencasting of the screencasting operation performed by a third-party application is based on the played video resource. For example, when the video resources played are horizontal media assets such as movies and TV series, the width of the effective screen in the projection screen is greater than the height; when the video resources played are vertical media resources such as short videos and comics, the screen projection screen The width of the effective picture in is less than the height.
S12:在所述投屏视频流中提取初始分辨率。S12: Extract the initial resolution from the screen projection video stream.
显示设备200在接收到投屏视频流后,其控制器250可以对接收到的投屏视频流进行逐帧分析,从而提取初始分辨率。其中,所述初始分辨率为所述投屏视频流中首帧画面整体的分辨率。After the display device 200 receives the screen projection video stream, the controller 250 of the display device 200 may perform frame-by-frame analysis on the received screen projection video stream to extract the initial resolution. The initial resolution is the overall resolution of the first frame in the projected video stream.
例如,移动终端100B发送的投屏视频流的画面宽高比为1920:1080,控制器250在接收到投屏视频流后,可以通过解析该投屏视频流,获取每一帧画面。并且在第一帧画面(首帧画面)中提取初始分辨率,即提取初始分辨率为1920×1080。For example, the aspect ratio of the screencast video stream sent by the mobile terminal 100B is 1920:1080. After receiving the screencast video stream, the controller 250 can obtain each frame of the picture by parsing the screencast video stream. And the initial resolution is extracted from the first frame picture (the first frame picture), that is, the extracted initial resolution is 1920×1080.
显然,所述首帧画面并不仅仅局限于整个投屏过程中第一帧画面,还可以是投屏视频流的前几帧或者在指定时间节点上的对应帧画面。由于初始分辨率是投屏画面的整体分辨率,因此较容易获取该分辨率信息,并且在实际应用时,越早获得初始分辨率,越有利于及时检测出投屏视频流的有效分辨率,从而越早将显示画面调整至较佳的状态。Obviously, the first frame picture is not limited to the first frame picture in the whole screen projection process, but may also be the first few frames of the screen projection video stream or the corresponding frame pictures at a specified time node. Since the initial resolution is the overall resolution of the projected screen, it is easier to obtain the resolution information, and in practical applications, the earlier the initial resolution is obtained, the more conducive to timely detection of the effective resolution of the projected video stream. Therefore, the display screen can be adjusted to a better state as soon as possible.
S13:在所述投屏视频流中提取采样分辨率。S13: Extract the sampling resolution from the screen projection video stream.
在提取初始分辨率后,还可以针对投屏视频流中的画面再进行采样,提取出采样分辨率。其中,用于进行采样的那一帧画面称为采样画面。所述采样分辨率为按照预设时间间隔在所述投屏视频流中提取的,采样画面上有效区域(即有效画面)的分辨率。After the initial resolution is extracted, the images in the screen projection video stream can be further sampled to extract the sampling resolution. The frame of picture used for sampling is called a sampling picture. The sampling resolution is the resolution of the effective area (ie, the effective picture) on the sampling picture, which is extracted from the projection video stream according to a preset time interval.
在采样过程中,指定采样的预设时间间隔可以根据控制器250的运算能力进行设定,例如相对于首帧画面10s后的画面作为采样画面。为了从采样画面中确定有效画面,可以对采样画面的像素点颜色进行遍历。显然,黑边区域的像素色值为黑色,有效区域的像素色值通常不全是黑色,因此,可以通过遍历采样画面的每个像素,确定黑色且呈矩形的区域为黑边,其他区域则为有效区域。During the sampling process, the preset time interval for the designated sampling may be set according to the computing capability of the controller 250 , for example, a picture 10 s after the first frame picture is taken as a sampling picture. In order to determine an effective picture from the sampled picture, the pixel color of the sampled picture can be traversed. Obviously, the pixel color value of the black border area is black, and the pixel color value of the effective area is usually not all black. Therefore, it can be determined by traversing each pixel of the sampled image that the black and rectangular area is the black border, and the other areas are valid area.
S14:对比所述采样分辨率与所述初始分辨率。S14: Compare the sampling resolution with the initial resolution.
在针对投屏视频流提取初始分辨率和采样分辨率后,可以将采样分辨率与初始分辨率进行对比,以根据采样分辨率和初始分辨率之间的差异,确定当前投屏视频流中有效画面情况(如比例、方向等),从而选择是否根据有效画面进行显示。After extracting the initial resolution and sampling resolution for the projected video stream, the sampling resolution can be compared with the initial resolution, so as to determine the valid data in the current projected video stream according to the difference between the sampling resolution and the initial resolution. Screen conditions (such as scale, orientation, etc.), so as to choose whether to display according to the effective screen.
例如,如果采样分辨率与初始分辨率相等,即第一帧画面的分辨率为1920×1080,在采样画面中确定的有效区域分辨率也为1920×1080,则代表当前投屏画面不存在黑边,投屏画面可以充满显示区域。即,直接通过显示器275横屏状态显示即可满足投屏画面的显示要求。For example, if the sampling resolution is equal to the initial resolution, that is, the resolution of the first frame is 1920×1080, and the resolution of the effective area determined in the sampling image is also 1920×1080, it means that there is no blackness in the current projected screen. On the other hand, the projected screen can fill the display area. That is, the display requirements of the screen projection image can be satisfied by directly displaying the screen in the horizontal screen state of the display 275 .
需要说明的是,由于显示画面的分辨率通常采用画面宽度和高度方向所占像素数量进行表示,例如1920×1080。而单纯通过分辨率的数值通常难以直接进行对比。例如,从数值上比较,分辨率1920×1080等于1080×1920。因此,在实际对比过程中,可以通过提取分辨率中的部分数值或者将分辨率转化为其他可比较的数值后,再进行对比,以获得所述采样分辨率与所述初始分辨率的对比结果。例如,可以在初始分辨率中提取整体画面的宽度或高度,并与采样分辨率中提取的有效画面的高度或宽度进行比较,从而确定其有效分辨率。It should be noted that, because the resolution of the display screen is usually represented by the number of pixels occupied in the width and height directions of the screen, for example, 1920×1080. However, it is usually difficult to directly compare the value of resolution alone. For example, from a numerical comparison, a resolution of 1920×1080 is equal to 1080×1920. Therefore, in the actual comparison process, a comparison result between the sampling resolution and the initial resolution can be obtained by extracting part of the value in the resolution or converting the resolution into other comparable values, and then performing the comparison. . For example, the width or height of the overall picture can be extracted from the initial resolution, and compared with the height or width of the effective picture extracted from the sampling resolution to determine its effective resolution.
S15:如果所述采样分辨率大于或等于所述初始分辨率,设置所述视频流的有效分辨率为初始分辨率。S15: If the sampling resolution is greater than or equal to the initial resolution, set the effective resolution of the video stream as the initial resolution.
实际应用中,如果采样分辨率对应的数值大于或等于初始分辨率对应的数值,则说明在保证显示完全的前提下,当前投屏画面中黑边区域已是最小情况。此时,即使对画面进行缩放,也不会增缩小黑边区域面积,则确定视频流的有效分辨率未发生改变,仍为初始分辨率。In practical applications, if the value corresponding to the sampling resolution is greater than or equal to the value corresponding to the initial resolution, it means that the black border area in the current projection screen is the smallest on the premise of ensuring complete display. At this time, even if the screen is zoomed, the area of the small black border area will not be increased, so it is determined that the effective resolution of the video stream has not changed and is still the initial resolution.
S16:如果所述采样分辨率小于所述初始分辨率,设置所述视频流的有效分辨率为采样分辨率。S16: If the sampling resolution is smaller than the initial resolution, set the effective resolution of the video stream as the sampling resolution.
如果采样分辨率对应的数值小于初始分辨率对应的数值,则确定当前投屏画面填充了大量的黑色区域,显示设备200可以通过对显示器275的旋转以及投屏画面的缩放提高显示效果。If the value corresponding to the sampling resolution is smaller than the value corresponding to the initial resolution, it is determined that the current projection image fills a large amount of black areas, and the display device 200 can improve the display effect by rotating the display 275 and scaling the projection image.
由以上技术方案可知,本申请提供的投屏视频流有效分辨率检测方法可以在接收投屏视频流后,从投屏视频流中提取初始分辨率和采样分辨率,并进行对比,确定当前视频流的有效分辨率。如果采样分辨率小于初始分辨率,设置视频流的有效分辨率为采样分辨率。通过设置视频流的有效分辨率,可以按照有效分辨率对投屏画面进行显示,从而适应投屏画面的显示方向,减小黑边影响,达到更优的用户体验。It can be seen from the above technical solutions that the method for detecting the effective resolution of a screencast video stream provided by the present application can extract the initial resolution and the sampling resolution from the screencast video stream after receiving the screencast video stream, and compare them to determine the current video. The effective resolution of the stream. If the sampling resolution is smaller than the initial resolution, set the effective resolution of the video stream to the sampling resolution. By setting the effective resolution of the video stream, the projected screen can be displayed according to the effective resolution, so as to adapt to the display direction of the projected screen, reduce the influence of black borders, and achieve a better user experience.
在一种实现方式中,为了实现采样分辨率与初始分辨率,可以分别在采样分辨率和初始分辨率中,提取能够用于对比的数据。即,如图13所示,对比所述采样分辨率与所述初始分辨率的步骤,还包括:In an implementation manner, in order to achieve the sampling resolution and the initial resolution, data that can be used for comparison may be extracted from the sampling resolution and the initial resolution, respectively. That is, as shown in FIG. 13 , the step of comparing the sampling resolution and the initial resolution further includes:
S141:根据所述初始分辨率提取基准值;S141: Extract a reference value according to the initial resolution;
S142:遍历所述采样画面的有效画面,生成对比值;S142: Traverse the valid pictures of the sampling pictures to generate a contrast value;
S143:如果所述对比值大于或等于所述基准值,确定所述采样分辨率大于或等于所述初始分辨率;S143: If the contrast value is greater than or equal to the reference value, determine that the sampling resolution is greater than or equal to the initial resolution;
S144:如果所述对比值小于所述基准值,确定所述采样分辨率小于所述初始分辨率。S144: If the contrast value is smaller than the reference value, determine that the sampling resolution is smaller than the initial resolution.
在获取初始分辨率后,可以在初始分辨率中提取部分数据作为基准值。例如,在投屏视频流中投屏画面高度不改变时,以首帧画面的整体画面高度作为所述基准值。再通过遍历采样画面中的像素点色值,确定有效画面的比例,从而生成对比值。所述对比值为所述采样画面中有效画面的画面宽度。After the initial resolution is obtained, some data can be extracted from the initial resolution as a reference value. For example, when the height of the projected image in the projected video stream does not change, the overall image height of the first frame image is used as the reference value. Then, by traversing the pixel color values in the sampled picture, the ratio of the effective picture is determined, thereby generating the contrast value. The contrast value is a picture width of an effective picture in the sampled picture.
例如,在首帧画面中提取初始分辨率为1920×1080,则提取基准值为1080。再通过遍历采样画面中的像素点色值,确定剔除黑色区域后的有效画面的分辨率为For example, if the initial resolution extracted from the first frame is 1920×1080, the extraction reference value is 1080. Then, by traversing the pixel color values in the sampled image, the resolution of the effective image after removing the black area is determined as
960×1080,生成对比值为960。960×1080, resulting in a contrast value of 960.
在确定基准值和对比值后,可以直接通过对比基准值和对比值的大小,确定采样分辨率和初始分辨率之间的关系,即如果对比值大于或等于基准值,确定采样分辨率大于或等于初始分辨率;如果对比值小于基准值,确定采样分辨率小于初始分辨率。After the reference value and the contrast value are determined, the relationship between the sampling resolution and the initial resolution can be determined directly by comparing the size of the reference value and the contrast value, that is, if the contrast value is greater than or equal to the reference value, it is determined that the sampling resolution is greater than or equal to Equal to the initial resolution; if the contrast value is smaller than the reference value, it is determined that the sampling resolution is smaller than the initial resolution.
例如,基准值为1080,对比值为960,由于对比值960小于基准值1080,则确定 采样分辨率小于初始分辨率,即设置当前投屏视频流的有效分辨率为采样分辨率。并且在后续显示过程中,可以按照有效分辨率对投屏视频流的投屏画面进行缩放显示。For example, the reference value is 1080 and the contrast value is 960. Since the contrast value of 960 is smaller than the reference value of 1080, it is determined that the sampling resolution is smaller than the initial resolution, that is, the effective resolution of the current projected video stream is set to the sampling resolution. And in the subsequent display process, the screen projected image of the projected video stream can be scaled and displayed according to the effective resolution.
为了计算对比值,在本申请的部分实施例中,如图14A所示,所述方法还包括:In order to calculate the contrast value, in some embodiments of the present application, as shown in FIG. 14A , the method further includes:
S1421:通过遍历所述采样画面中连续的黑色像素点数,提取黑边数据;S1421: Extract black border data by traversing the number of consecutive black pixels in the sampling picture;
S1422:提取初始画面数据;S1422: extract initial picture data;
S1423:计算所述基准值和所述对比值。S1423: Calculate the reference value and the comparison value.
为了计算对比值,需要确定投屏画面中有效画面的分辨率,因此,如图14B所示,可以从采样画面对应的图像左侧开始检测连续黑色区域的范围,并得出黑边区域的范围:左侧黑边宽度H L、左侧黑边高度V L。再从图像右侧开始检测连续黑色区域的范围,并得出黑边区域的范围:右侧黑边宽度H R以及右侧黑边高度V R,形成黑边数据。同时,还可以在首帧画面中提取初始画面数据。所述初始画面数据包括首帧画面的初始宽度H 0和初始高度V 0,以计算基准值和对比值。 In order to calculate the contrast value, it is necessary to determine the resolution of the effective screen in the projected screen. Therefore, as shown in Figure 14B, the range of continuous black areas can be detected from the left side of the image corresponding to the sampled screen, and the range of the black border area can be obtained. : Left side black border width HL , left side black border height VL . Then start to detect the range of the continuous black area from the right side of the image, and obtain the range of the black border area: the right black border width HR and the right black border height VR , forming black border data. At the same time, the initial picture data can also be extracted from the first frame picture. The initial picture data includes the initial width H 0 and initial height V 0 of the first frame picture, so as to calculate the reference value and the contrast value.
其中,基准值和对比值可以按照下式进行计算:Among them, the reference value and the contrast value can be calculated according to the following formula:
所述基准值:S 0=V 0=V L=V RThe reference value: S 0 =V 0 =V L =VR ;
所述对比值:S X=H 0-(H L+H R)。 The comparative value: S X =H 0 -( HL +H R ) .
在一种实现方式中,如图15所示,在计算所述基准值和所述对比值的步骤前,所述方法还包括:In an implementation manner, as shown in FIG. 15 , before the steps of calculating the reference value and the comparison value, the method further includes:
S14231:判断所述采样画面是否满足预设执行条件。S14231: Determine whether the sampled picture satisfies a preset execution condition.
S14232:如果所述采样画面不满足预设判断条件,设置所述有效分辨率为所述初始分辨率;S14232: If the sampled picture does not meet the preset judgment condition, set the effective resolution to the initial resolution;
S14233:如果所述采样画面满足预设判断条件,执行计算所述基准值和所述对比值的步骤。S14233: If the sampled picture satisfies a preset judgment condition, execute the step of calculating the reference value and the comparison value.
本实施例中,可以在获取采样画面以后,先对采样画面中的画面显示状况进行判断,确定其是否满足预设执行条件。其中,所述预设执行条件为:左侧黑边宽度H L等于所述右侧黑边宽度H R,且左侧黑边高度V L、所述右侧黑边高度V R与所述初始高度V 0相等。即,判断采样画面是否满足“H L=H R且V L=V R=V 0”。 In this embodiment, after the sampling picture is acquired, the picture display status in the sampling picture may be first judged to determine whether it satisfies the preset execution condition. The preset execution conditions are: the left black border width HL is equal to the right black border width H R , and the left black border height VL , the right black border height VR and the initial Height V 0 is equal. That is, it is determined whether or not the sampled picture satisfies " HL = HR and VL = VR= V0 ".
如果采样画面不满足“H L=H R且V L=V R=V 0”,则确定采样画面的两侧黑边宽度和高度不相等。这种情况一般是由于移动终端100B的显示内容对采样结果造成了影响。由于这种情况下很难判断出有效分辨率,因此可以保持原始分辨率输出投屏画面,即设置所述有效分辨率为所述初始分辨率,有效分辨率对应的画面宽度H S=H 0,对应的画面高度V S=V 0If the sampling picture does not satisfy " HL = HR and VL = VR =V 0 ", it is determined that the width and height of the black bars on both sides of the sampling picture are not equal. This situation is generally due to the influence of the display content of the mobile terminal 100B on the sampling result. Since it is difficult to determine the effective resolution in this case, the original resolution can be maintained to output the projected screen, that is, the effective resolution is set to the initial resolution, and the corresponding picture width of the effective resolution H S =H 0 , the corresponding picture height V S =V 0 .
如果采样画面满足“H L=H R且V L=V R=V 0”,则可以进一步进行有效分辨率的判断,即可以执行计算所述基准值和所述对比值的步骤,以对比所述采样分辨率与所述初始分辨率。 If the sampled picture satisfies “ HL = HR and VL = VR =V 0 ”, the effective resolution can be further judged, that is, the steps of calculating the reference value and the comparison value can be performed to compare the the sampling resolution and the initial resolution.
例如,判断采样画面是否满足“H 0-(H L+H R)<V 0”,若不满足“H 0-(H L+H R)<V 0”,则保持原始分辨率输出,即设置所述有效分辨率为所述初始分辨率,有效分辨率对应 的画面宽度H S=H 0,对应的画面高度V S=V 0。若满足“H 0-(H L+H R)<V 0”,则设置所述有效分辨率为采样分辨率,有效分辨率对应的输出画面宽度H S=H 0-(H L+H R),对应的画面高度V S=V 0For example, it is judged whether the sampled picture satisfies "H 0 -(H L + HR )<V 0 ", if it does not satisfy "H 0 -(H L +H R ) < V 0 " , then keep the original resolution output, that is The effective resolution is set as the initial resolution, and the corresponding picture width H S =H 0 and the corresponding picture height V S =V 0 of the effective resolution. If “H 0 -(H L +H R )<V 0 ” is satisfied, the effective resolution is set as the sampling resolution, and the output picture width corresponding to the effective resolution H S =H 0 -(H L + HR ), the corresponding picture height V S =V 0 .
实际应用中,由于移动终端100B所投屏的画面内容容易对采样画面中有效画面区域的判断造成影响,例如,采样画面对应的移动终端100B的显示画面刚好是黑色时,如果仍旧以投屏画面边缘连续黑色像素点进行范围判断,黑色的画面会影响黑色区域的范围判断,进而影响最终的采样分辨率提取结果。因此,为了缓解黑色画面内容对采样分辨率的影响,在所述投屏视频流提取采样分辨率的步骤,还包括:In practical applications, the content of the screen projected by the mobile terminal 100B easily affects the judgment of the effective screen area in the sampled screen. The range is judged by continuous black pixels on the edge, and the black picture will affect the range judgment of the black area, which in turn affects the final sampling resolution extraction result. Therefore, in order to alleviate the influence of the black picture content on the sampling resolution, the step of extracting the sampling resolution in the projected video stream further includes:
S1201:在所述投屏视频流中按相等时间间隔获取多帧采样画面;S1201: Acquire multiple frames of sampled images at equal time intervals in the projected screen video stream;
S1202:分别计算每一帧所述采样画面的采样分辨率。S1202: Calculate the sampling resolution of the sampling picture of each frame respectively.
通过预设采样时间间隔,可以在投屏视频流中,多次进行采样,并分别提取出每次采样中画面的采样分辨率。例如,每隔T时间获取一帧画面图像,并通过上述分辨率算法得出的采样分辨率数值分别为:S x0、S x1、……、S xnBy presetting the sampling time interval, sampling can be performed multiple times in the screen projection video stream, and the sampling resolution of the picture in each sampling can be extracted separately. For example, a frame of picture image is acquired every T time, and the sampling resolution values obtained by the above-mentioned resolution algorithm are: S x0 , S x1 , ..., S xn .
通过多次进行采样,可以随着移动终端100B上显示画面的变化,采集到多帧采样画面。通常多帧采样画面不会全部都受黑色画面内容的影响,因此采集多帧采样画面可以降低画面内容对黑边区域范围判断造成影响,从而提高有效分辨率判断时的准确率。By performing sampling multiple times, multiple frames of sampling images can be collected along with the changes of the images displayed on the mobile terminal 100B. Usually, the multi-frame sampling pictures are not all affected by the black picture content. Therefore, collecting multi-frame sampling pictures can reduce the influence of the picture content on the judgment of the black border area, thereby improving the accuracy of the effective resolution judgment.
进一步地,如图16所示,在获取多帧画面对应的采样分辨率后,还可以分别对采样分辨率进行判断,以获得采样分辨率与初始分辨率的对比结果,即所述方法还包括:Further, as shown in FIG. 16 , after obtaining the sampling resolutions corresponding to the multi-frame images, the sampling resolutions can also be judged respectively to obtain the comparison results between the sampling resolutions and the initial resolutions, that is, the method further includes: :
S1211:分别对比每一帧所述采样画面的采样分辨率与所述初始分辨率;S1211: Compare the sampling resolution of each frame of the sampling picture with the initial resolution respectively;
S1212:如果所有所述采样分辨率均大于或等于与所述初始分辨率,设置所述视频流的有效分辨率为初始分辨率;S1212: If all the sampling resolutions are greater than or equal to the initial resolution, set the effective resolution of the video stream as the initial resolution;
S1213:如果所有所述采样分辨率均小于所述初始分辨率,设置所述视频流的有效分辨率为采样分辨率。S1213: If all the sampling resolutions are smaller than the initial resolution, set the effective resolution of the video stream as the sampling resolution.
通过分别对比每一帧采样画面的采样分辨率与初始分辨率,若连续S x0≤S 0、S x1≤S 0、……、S xn≤S 0,则得出有效分辨率为S xn,并将S 0=S xn。若连续S x0≥S 0、S x1≥S 0、……、S xn≥S 0则得出有效分辨率为S 0By comparing the sampling resolution and the initial resolution of each frame of sampling images respectively, if consecutive S x0 ≤S 0 , S x1 ≤S 0 , ..., S xn ≤S 0 , the effective resolution is obtained as S xn , and set S 0 =S xn . If consecutive S x0 ≥S 0 , S x1 ≥S 0 , ..., S xn ≥S 0 , the effective resolution is obtained as S 0 .
在一种实现方式中,所述方法还包括:如果设置所述视频流的有效分辨率为采样分辨率,则可以控制旋转显示设备200的显示器275至竖屏状态。例如,初始分辨率为1920×1080,采样分辨率为960×1080。通过计算基准值和对比值,可以确定当前采样画面中有效画面的宽度S X=H 0-(H L+H R)=960,而首帧画面的高度为1080,因此可以确定当前有效分辨率为采样分辨率,即有效画面的分辨率:960×1080。从而可以确定移动终端100B上对应的显示画面为960×1080的竖向画面。 In an implementation manner, the method further includes: if the effective resolution of the video stream is set to be the sampling resolution, then controlling to rotate the display 275 of the display device 200 to a vertical screen state. For example, the initial resolution is 1920×1080 and the sampling resolution is 960×1080. By calculating the reference value and the contrast value, the width of the effective picture in the current sampling picture can be determined S X =H 0 -(H L +H R )=960, and the height of the first frame picture is 1080, so the current effective resolution can be determined is the sampling resolution, that is, the resolution of the effective picture: 960×1080. Therefore, it can be determined that the corresponding display picture on the mobile terminal 100B is a vertical picture of 960×1080.
而竖向画面更适合在竖屏状态下进行显示,因此在确定有效分辨率为采样分辨率后,控制器250可以向旋转组件276发送控制指令,使旋转组件276驱动显示器275逆时针(或顺时针)旋转至竖屏状态。The vertical screen is more suitable for displaying in the vertical screen state. Therefore, after determining that the effective resolution is the sampling resolution, the controller 250 can send a control command to the rotating component 276, so that the rotating component 276 drives the display 275 counterclockwise (or clockwise). Hour hand) rotate to portrait orientation.
显示器275旋转至竖屏状态后,可以按照宽高比为960:1080的比例对投屏画面进行显示。但是由于显示器275的屏幕较大,通常其显示分辨率为3840×2160(横屏状态,对应竖屏状态则为2160×3840)。因此,为了显示分辨率为960×1080的投屏画面需要对投屏画面进行缩放,使显示器275能够完全显示投屏画面。After the display 275 is rotated to the vertical screen state, the screen projection image can be displayed according to the aspect ratio of 960:1080. However, because the screen of the display 275 is relatively large, the display resolution is usually 3840×2160 (in a horizontal screen state, and 2160×3840 in a corresponding vertical screen state). Therefore, in order to display a screen projection image with a resolution of 960×1080, the screen projection image needs to be scaled, so that the display 275 can completely display the screen projection image.
另外,由于单纯的对投屏画面进行大小的调整,容易使显示的投屏画面在大屏幕上较模糊,严重降低用户体验。因此,在对投屏画面进行缩放的同时,还可以对投屏画面进行插像素相关的画质调整,以改善模糊画面,提高画面显示效果。In addition, due to the simple adjustment of the size of the projected screen image, the displayed projected screen image is likely to be blurred on a large screen, which seriously reduces the user experience. Therefore, while zooming the projected screen image, the image quality adjustment related to pixel interpolation can also be performed on the projected screen image, so as to improve the blurred image and improve the image display effect.
由以上技术方案可知,本申请提供的投屏视频流有效分辨率检测方法可以在接收投屏视频流后,从投屏视频流中提取初始分辨率和采样分辨率,并进行对比,确定当前视频流的有效分辨率。如果采样分辨率小于初始分辨率,设置视频流的有效分辨率为采样分辨率。通过设置视频流的有效分辨率,可以按照有效分辨率对投屏画面进行显示,从而适应投屏画面的显示方向,减小黑边影响,达到更优的用户体验。It can be seen from the above technical solutions that the method for detecting the effective resolution of a screencast video stream provided by the present application can extract the initial resolution and the sampling resolution from the screencast video stream after receiving the screencast video stream, and compare them to determine the current video. The effective resolution of the stream. If the sampling resolution is smaller than the initial resolution, set the effective resolution of the video stream to the sampling resolution. By setting the effective resolution of the video stream, the projected screen can be displayed according to the effective resolution, so as to adapt to the display direction of the projected screen, reduce the influence of black borders, and achieve a better user experience.
本申请另一种示例性的实施方式中,提供了另一种处理投屏画面的方式,具体提供另一种显示设备,包括:In another exemplary embodiment of the present application, another method for processing screen projection images is provided, and specifically another display device is provided, including:
显示器;monitor;
旋转组件,被配置为带动所述显示器旋转,以使所述显示处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in one of a horizontal screen state or a vertical screen state;
用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
以及控制器,参见图17,被配置为执行:And the controller, see Figure 17, is configured to execute:
S11′,接收所述终端发送的图像信息,其当所述终端处于纵向模式时,所述图像信息包括有效信息和左、右黑色区信息。S11', receiving image information sent by the terminal, when the terminal is in a portrait mode, the image information includes valid information and left and right black area information.
实际应用中,用户可以先在移动终端100B上执行投屏显示操作,以将移动终端100B的显示画面发送给显示设备200。例如,用户通过在手机上先后选择“设置-连接与共享-投屏”,并且在投屏操作的设备列表中选中当前网络中的一个显示设备作为投屏对象,执行投屏操作。In practical applications, the user may first perform a screen projection display operation on the mobile terminal 100B to send the display screen of the mobile terminal 100B to the display device 200 . For example, the user selects "settings - connection and sharing - screencasting" on the mobile phone, and selects a display device in the current network as the screencasting object in the screencasting device list to perform the screencasting operation.
在执行投屏操作后,移动终端100B会通过投屏协议,如采用Miracast协议或其他投屏以及镜像协议,将所显示的画面发送给显示设备200。随着投屏过程中不断产生新的交互画面,移动终端100B会逐帧将画面发送给显示设备200,形成投屏视频流。After performing the screen projection operation, the mobile terminal 100B will send the displayed picture to the display device 200 through a screen projection protocol, such as Miracast protocol or other screen projection and mirroring protocols. As new interactive pictures are continuously generated during the screen projection process, the mobile terminal 100B will send the pictures to the display device 200 frame by frame to form a screen projection video stream.
S12′,若所述显示器的当前旋转状态与所述终端的纵向模式不匹配时,将所述显示器旋转至竖屏状态;S12', if the current rotation state of the display does not match the portrait mode of the terminal, rotate the display to a portrait state;
实际应用中,可以通过分别分析图像信息中是否包含左、右黑色信息,判断显示器的当前旋转状态与所述终端的显示状态是否匹配。In practical applications, it can be determined whether the current rotation state of the display matches the display state of the terminal by analyzing whether the image information contains left and right black information respectively.
在一些示例性的实施方式中,控制器获取显示器的旋转角度回调信息,根据从移动终端获取的图像信息中是否包含左右黑边确定显示器的目标旋转状态。In some exemplary implementations, the controller acquires the rotation angle callback information of the display, and determines the target rotation state of the display according to whether the image information acquired from the mobile terminal includes left and right black borders.
当图像信息中是否不包含左、右黑色信息,则说明移动终端目前为横向模式,检 测显示器的当前旋转状态为横屏状态时,二者为匹配。不需要旋转电视。检测显示器的当前选装状态为竖屏状态时,二者为不匹配,需要将显示器旋转至横屏状态。When the image information does not contain left and right black information, it means that the mobile terminal is currently in the landscape mode, and when the current rotation state of the detected display is the landscape state, the two are matched. No need to rotate the TV. When it is detected that the current optional state of the monitor is the portrait state, the two do not match, and the monitor needs to be rotated to the landscape state.
当图像信息中是否包含左、右黑色区域,则说明移动终端目前为纵向模式,检测显示器的当前旋转状态为横屏状态时,二者为不匹配,需要将显示器旋转至竖屏状态。检测显示器的当前选装状态为竖屏状态时,二者为匹配,不需要旋转显示器。When the image information contains left and right black areas, it means that the mobile terminal is currently in portrait mode, and when the current rotation state of the display is detected to be landscape, the two do not match, and the display needs to be rotated to portrait. When the current optional state of the detection monitor is vertical, the two are matched, and the monitor does not need to be rotated.
用户通过移动终端100B执行投屏操作后,移动终端100B会通过镜像协议或者投屏协议向显示设备200发送投屏画面。控制器250可以接收终端发送的图像信息,检测显示器275当前的旋转状态。其中,对于显示275旋转状态的检测可以通过显示设备200中内置的传感器完成。After the user performs the screen projection operation through the mobile terminal 100B, the mobile terminal 100B sends the screen projection image to the display device 200 through the mirroring protocol or the screen projection protocol. The controller 250 can receive the image information sent by the terminal, and detect the current rotation state of the display 275 . Wherein, the detection of the rotation state of the display 275 can be completed by a sensor built in the display device 200 .
例如,可以在显示设备200的显示器275上设置陀螺仪、重力加速度传感器等传感器设备,通过测量角加速度或重力方向确定显示器275相对于重力方向的姿态数据。再将检测的姿态数据分别与横屏状态和竖屏状态下的姿态数据进行比较,确定显示器275当前所处的旋转状态。又例如,可以在旋转组件276上设置光栅角度传感器、磁场角度传感器或滑动电阻角度传感器等,通过测量旋转组件276所旋转的角度,分别与横屏状态和竖屏状态下的角度进行比较,确定显示器275当前所处的旋转状态。For example, sensor devices such as a gyroscope and a gravitational acceleration sensor may be provided on the display 275 of the display device 200 to determine the attitude data of the display 275 relative to the gravitational direction by measuring angular acceleration or gravitational direction. Then, the detected attitude data is compared with the attitude data in the horizontal screen state and the vertical screen state, respectively, to determine the current rotation state of the display 275 . For another example, a grating angle sensor, a magnetic field angle sensor or a sliding resistance angle sensor, etc. can be provided on the rotating component 276, and the angle rotated by the rotating component 276 is measured and compared with the angles in the horizontal screen state and the vertical screen state, respectively, to determine The rotation state that the display 275 is currently in.
在一些示例性的实施方式中,控制器被进一步配置为:In some exemplary embodiments, the controller is further configured to:
计算所述投屏画面的旋转方向和旋转角度;所述投屏画面的旋转方向与所述显示器的转动方向相反;所述投屏画面的旋转角度与所述显示器的转动角度相等;Calculate the rotation direction and rotation angle of the screen projection image; the rotation direction of the screen projection image is opposite to the rotation direction of the display; the rotation angle of the screen projection image is equal to the rotation angle of the display;
按照所述旋转方向和所述旋转角度旋转所述投屏画面。Rotate the projection screen according to the rotation direction and the rotation angle.
S13′,基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的。S13', controlling the display to present a screen projection image based on the valid information, wherein the screen projection image is obtained by enlarging the valid information by a preset multiple.
显示设备200在接收到投屏视频流后,其控制器250可以对接收到的投屏视频流进行逐帧分析。例如,移动终端100B发送的投屏视频流的画面宽高比为1920:1080,控制器250在接收到投屏视频流后,可以通过解析该投屏视频流,获取帧图像。提取帧图像分辨率为1920×1080,此为初始分辨率。After the display device 200 receives the screen projection video stream, the controller 250 of the display device 200 may perform frame-by-frame analysis on the received screen projection video stream. For example, the aspect ratio of the screencast video stream sent by the mobile terminal 100B is 1920:1080. After receiving the screencast video stream, the controller 250 can obtain frame images by parsing the screencast video stream. The resolution of the extracted frame image is 1920×1080, which is the initial resolution.
在提取分辨率后,还可以针对投屏视频流中的帧图像再进行采样,提取出有效分辨率。其中,用于进行采样的那一帧画面称为采样画面。有效分辨率为在所述投屏视频流中提取的,帧数据上有效画面的分辨率。具体的,有效分辨率可以按照预设时间间隔在投屏视频流中获取。After the resolution is extracted, the frame image in the projected video stream can be sampled again to extract the effective resolution. The frame of picture used for sampling is called a sampling picture. The effective resolution is the resolution of the effective picture on the frame data extracted from the screen projection video stream. Specifically, the effective resolution may be obtained from the screen-casting video stream at preset time intervals.
在采样过程中,为了从采样画面中确定有效画面,可以对采样画面的像素点颜色进行遍历。显然,黑色区域的像素色值为黑色,有效区域的像素色值通常不全是黑色,因此,可以通过遍历采样画面的每个像素,确定黑色且呈矩形的区域为黑边,其他区域则为有效画面。During the sampling process, in order to determine the valid picture from the sampled picture, the pixel color of the sampled picture can be traversed. Obviously, the pixel color value of the black area is black, and the pixel color value of the valid area is usually not all black. Therefore, it can be determined by traversing each pixel of the sampled image that the black and rectangular area is a black border, and other areas are valid. screen.
需要说明的是,根据不同显示设备200的适应显示方法,黑色区域所填充的颜色不仅仅局限于黑色。例如,为了适应操作系统的整体UI设计风格,黑色区域可以为灰色、蓝色或其他颜色,还可能是渐变色,特定图案等。对于这些情况,本申请为了便 于后续描述,仍然称之为黑色区域或者黑边。It should be noted that, according to different adaptive display methods of the display device 200, the color filled in the black area is not limited to black only. For example, in order to adapt to the overall UI design style of the operating system, the black area can be gray, blue, or other colors, as well as gradient colors, specific patterns, etc. For these cases, in this application, for the convenience of subsequent description, they are still referred to as black areas or black borders.
在针对投屏视频流获取帧图像分辨率和有效分辨率后,可以将有效分辨率与帧图像分辨率进行对比,以根据采样分辨率有效分辨率和帧图像分辨率之间的差异,确定当前投屏视频流中有效画面情况(如比例、方向等),从而选择是否根据有效画面进行显示。After obtaining the frame image resolution and effective resolution for the projected video stream, the effective resolution can be compared with the frame image resolution to determine the current The status of the valid images in the projected video stream (such as scale, orientation, etc.), so as to choose whether to display according to the valid images.
例如,如果有效分辨率与帧图像分辨率相等,即第一帧画面的分辨率为1920×1080,在采样画面中确定的有效区域分辨率也为1920×1080,则代表当前投屏画面不存在黑边,投屏画面可以充满显示区域。即,直接通过显示器275横屏状态显示即可满足投屏画面的显示要求。For example, if the effective resolution is equal to the frame image resolution, that is, the resolution of the first frame is 1920×1080, and the effective area resolution determined in the sampled image is also 1920×1080, it means that the current projection screen does not exist With black borders, the projected screen can fill the display area. That is, the display requirements of the screen projection image can be satisfied by directly displaying the screen in the horizontal screen state of the display 275 .
需要说明的是,由于显示画面的分辨率通常采用画面宽度和高度方向所占像素数量进行表示,例如1920×1080。而单纯通过分辨率的数值通常难以直接进行对比。例如,从数值上比较,分辨率1920×1080等于1080×1920。因此,在实际对比过程中,可以通过提取分辨率中的部分数值或者将分辨率转化为其他可比较的数值后,再进行对比,以获得所述有效分辨率与所述帧图像分辨率的对比结果。例如,可以在帧图像分辨率中提取整体画面的宽度或高度,并与有效画面的高度或宽度进行比较,从而确定其有效分辨率。It should be noted that, because the resolution of the display screen is usually represented by the number of pixels occupied in the width and height directions of the screen, for example, 1920×1080. However, it is usually difficult to directly compare the value of resolution alone. For example, from a numerical comparison, a resolution of 1920×1080 is equal to 1080×1920. Therefore, in the actual comparison process, the comparison between the effective resolution and the frame image resolution can be obtained by extracting part of the value in the resolution or converting the resolution into other comparable values, and then performing the comparison. result. For example, the width or height of the overall picture can be extracted from the frame image resolution and compared with the height or width of the effective picture to determine its effective resolution.
由以上技术方案可知,本申请提供的投屏视频流有效分辨率检测方法可以在接收投屏视频流后,从投屏视频流中提取帧图像分辨率和有效分辨率,并进行对比,确定当前视频流的有效分辨率。通过设置视频流的有效分辨率,可以按照有效分辨率对投屏画面进行显示,从而适应投屏画面的显示方向,减小黑边影响,达到更优的用户体验。It can be seen from the above technical solutions that the method for detecting the effective resolution of a screencast video stream provided by the present application can extract the frame image resolution and the effective resolution from the screencast video stream after receiving the screencast video stream, and compare them to determine the current resolution. The effective resolution of the video stream. By setting the effective resolution of the video stream, the projected screen can be displayed according to the effective resolution, so as to adapt to the display direction of the projected screen, reduce the influence of black borders, and achieve a better user experience.
为了计算有效画面的放大倍数,在本申请的部分实施例中,如图18所示,所述方法还包括:In order to calculate the magnification of the effective picture, in some embodiments of the present application, as shown in FIG. 18 , the method further includes:
S1131:通过遍历所述采样画面中连续的黑色像素点数,提取黑边数据;S1131: Extract black border data by traversing the number of consecutive black pixels in the sampling picture;
S1132:提取初始画面数据;S1132: extract initial picture data;
S1133:计算所述显示设备和所述有效画面的高度比例R H和宽度比例R W S1133 : Calculate the height ratio RH and width ratio RW of the display device and the effective screen;
S1134:判断R H>R W的大小。 S1134: Determine the magnitude of R H > R W.
如图14所示,以移动终端传出的图像帧的宽度为a或者记为H 0,高度为H ph或者记为V L;显示设备在竖屏状态时的宽度为W tv,高度为H tv。可以从有效画面对应的图像左侧开始检测连续黑色区域的范围,并得出黑色区域的范围:左侧黑边宽度a、左侧黑边高度H ph。再从图像右侧开始检测连续黑色区域的范围,并得出黑色区域的范围:右侧黑边宽度a以及右侧黑边高度H ph,形成黑边数据。此时,得到的移动终端发送的图像信息中,有效画面的分辨率为(H 0-2a)*V Lh。显示设备的分辨率为W tv*H tvAs shown in FIG. 14 , the width of the image frame transmitted from the mobile terminal is a or denoted as H 0 , and the height is H ph or denoted as VL ; the width of the display device in the vertical screen state is W tv , and the height is H tv . The range of the continuous black area can be detected from the left side of the image corresponding to the effective picture, and the range of the black area can be obtained: the left black border width a and the left black border height H ph . Then start to detect the range of the continuous black area from the right side of the image, and obtain the range of the black area: the right black border width a and the right black border height H ph , forming black border data. At this time, in the obtained image information sent by the mobile terminal, the resolution of the effective picture is (H 0 -2a)*V Lh . The resolution of the display device is W tv *H tv .
显示设备和所述有效信息的高度比例R H=H tv/H ph;宽度比例R W=W 0/(W 0-2a),若R H>R W,则执行S1135,将所述有效信息放大R W倍,得到投屏画面;若R H<R W,则执行S1136,将所述有效信息放大R H倍,得到投屏画面。 The height ratio of the display device and the effective information RH =H tv /H ph ; the width ratio RW = W 0 /( W 0 -2a), if RH >RW , then execute S1135, and the effective information Enlarge RW times to obtain a screen projection image; if R H < R W , execute S1136, and magnify the valid information by RH times to obtain a screen projection image.
由以上技术方案可知,如图19所示,本申请提供的显示设备可以根据图像信息判断移动终端是否处于纵向模式,并自动调整显示器的旋转状态,从而使用更大的显示空间显示投屏画面,缓解传统智能电视无法正常显示投屏画面的问题。It can be seen from the above technical solutions that, as shown in FIG. 19 , the display device provided by the present application can determine whether the mobile terminal is in portrait mode according to the image information, and automatically adjust the rotation state of the display, so as to use a larger display space to display the projected screen, Alleviates the problem that traditional smart TVs cannot display the projected screen normally.
目前投屏以及镜像的协议众多,如例如基于Miracast标准的投屏协议,基于DLNA标准的投屏协议,基于Airplay标准的投屏协议或者可自定义的投屏方式等。At present, there are many protocols for screen projection and mirroring, such as the Miracast standard-based screen projection protocol, the DLNA standard-based screen projection protocol, the Airplay standard-based screen projection protocol, or the customizable screen projection method.
其中,有的投屏协议中显示设备可获取移动终端真实的视频流,如Airplay协议,可将移动终端本身屏幕本身的图像数据发送至显示设备;这样,显示设备可以根据图像的宽高比直接确定图像是横向还是纵向。Among them, in some screen projection protocols, the display device can obtain the real video stream of the mobile terminal. For example, the Airplay protocol can send the image data of the screen of the mobile terminal itself to the display device; in this way, the display device can directly Determines whether the image is landscape or portrait.
而另一些投屏协议中,显示设备无法获取移动终端真实的屏幕视频流,也即移动设备在将投屏数据传输至显示设备之前,先将屏幕数据信息处理,如于Miracast标准的投屏协议中,智能设备总是发送横向的媒体资源到显示设备,无论是屏幕处于横向放置还是竖向放置,显示设备总是获取到的是横向的视频数据。In other screen projection protocols, the display device cannot obtain the real screen video stream of the mobile terminal, that is, the mobile device first processes the screen data information before transmitting the screen projection data to the display device, such as the Miracast standard screen projection protocol. , the smart device always sends horizontal media resources to the display device, whether the screen is placed horizontally or vertically, the display device always obtains horizontal video data.
例如,在竖向放置移动终端进行镜像时,在将屏幕数据发送至显示设备之前,先将屏幕数据两边做加黑边的处理。其本意在于适配横向放置的显示设备。For example, when the mobile terminal is placed vertically for mirroring, before sending the screen data to the display device, black borders are added on both sides of the screen data. Its original intention is to adapt to display devices placed in landscape orientation.
但是在显示设备可横竖旋转以后,目前的Miracast标准的投屏协议暂时未对竖屏的显示设备进行适配的处理,还是发送带有黑边的横屏资源到显示设备。However, after the display device can be rotated horizontally and vertically, the current Miracast standard screencasting protocol does not adapt to the vertical screen display device for the time being, and still sends horizontal screen resources with black borders to the display device.
在接下来所示出的实施方式中,显示设备在接收到投屏资源时,均对图像是否有黑边进行判断,因此,显示设备将无法获知移动终端的真实放置情况。这种情况下,显示设备将无法根据图像中有效画面的情况进行旋转。也即无论手机是横屏还是竖屏,在接收到横向的投屏数据后,将所述投屏数据直接进行展示。In the embodiment shown next, when the display device receives the screen projection resource, it judges whether the image has black borders. Therefore, the display device cannot know the actual placement of the mobile terminal. In this case, the display device will not be able to rotate according to the active frame in the image. That is, regardless of whether the mobile phone has a horizontal screen or a vertical screen, after receiving the horizontal screen projection data, the screen projection data is directly displayed.
当然,显示设备仅仅是不根据投屏数据进行旋转,不论显示设备处在是横屏状态还是竖屏状态,用户仍然可以主动发出旋转指令,将显示设备旋转电视旋转至与之前不同的所处状态。从显示设备正面观看的角度,旋转组件276可以将显示屏旋转到竖屏状态,即屏幕竖向的边长大于横向的边长的状态,也可以将屏幕旋转至横屏状态,即屏幕横向的边长大于竖向的边长的状态。Of course, the display device just does not rotate according to the screen projection data. Regardless of whether the display device is in a landscape or portrait state, the user can still actively issue a rotation command to rotate the display device to a different state than before. . Viewed from the front of the display device, the rotating component 276 can rotate the display screen to a vertical screen state, that is, a state in which the vertical side length of the screen is greater than the horizontal side length, or can rotate the screen to a landscape screen state, that is, the screen is in a horizontal screen state. A state where the side length is greater than the vertical side length.
例如,如果显示设备处在横向位置时,则显示如图10A或者11A的画面。对于图10A,移动终端横向放置,投屏数据流为两边不存在黑边的满屏的横向资源。对于图11A,移动终端竖向放置,投屏数据流为两边带有黑边的有效画面仅在数据流中间的横向资源。这两中显示放置中,对于显示设备而言,其接收的都是横向的竖屏资源。For example, if the display device is in a landscape position, the screen shown in FIG. 10A or 11A is displayed. For FIG. 10A , the mobile terminal is placed horizontally, and the screen projection data stream is a full-screen horizontal resource with no black borders on both sides. For FIG. 11A , the mobile terminal is placed vertically, and the screen projection data stream is a horizontal resource in which the effective picture with black borders on both sides is only in the middle of the data stream. In these two display placements, for the display device, it receives all horizontal and vertical screen resources.
如果显示设备处在竖向位置时,则显示如图10B或者11B的画面。对于图11B的情况,由于有效画面在屏幕中占比较少,为提高用户体验,在申请示例性的实施方式中,可通过遥控器或者语音、手势等方式,发出控制指令,以对当前镜像界面进行放大,相适应的,在显示设备的用户界面上,示出缩放标尺,如图20A所示。在放大操作接收后,可选的,预设之间内,操作条自动消失。例如,可通过遥控器上下左右OK呼出,可通过遥控器手动放大到合适的倍数,即如图20B和20C所示。If the display device is in a vertical position, the screen shown in FIG. 10B or 11B is displayed. In the case of FIG. 11B , since the effective screen occupies a small proportion of the screen, in order to improve the user experience, in the exemplary embodiment of the application, a control command can be issued through a remote control, voice, gesture, etc., to control the current mirroring interface. Zooming in, where appropriate, on the user interface of the display device, a zoom scale is shown, as shown in Figure 20A. After a zoom-in operation is received, optionally, the operation bar automatically disappears between presets. For example, the remote control can be used to call up, down, left, and right, and the remote control can be manually enlarged to an appropriate multiple, as shown in FIGS. 20B and 20C .
在一些实施例中放大的最大倍数的最大值对应全屏显示有效画面。In some embodiments, the maximum value of the maximum magnification corresponds to a full-screen display of an effective picture.
具体实现中,本申请还提供一种非易失性计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本申请提供的方法的各实施例中的部分或全部步骤,当本申请提供的显示设备的控制器运行所述计算机程序指令时,所述控制器执行本申请所述的控制器被配置的步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等。In a specific implementation, the present application also provides a non-volatile computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the various embodiments of the method provided by the present application. , when the controller of the display device provided by the present application executes the computer program instructions, the controller executes the steps in which the controller described in the present application is configured. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), and the like.
本领域的技术人员可以清楚地了解到本申请实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions in the embodiments of the present application can be embodied in the form of software products in essence or in the parts that make contributions to the prior art, and the computer software products can be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present application.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, as for the embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant part may refer to the description in the method embodiment.
以上所述的本申请实施方式并不构成对本申请保护范围的限定。The above-described embodiments of the present application do not limit the protection scope of the present application.

Claims (20)

  1. 一种显示设备,包括:A display device comprising:
    显示器;monitor;
    旋转组件,被配置为带动所述显示器旋转,以使所述显示器处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in a rotation state of a landscape screen state or a portrait screen state;
    用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
    控制器,被配置为:Controller, configured as:
    接收投屏媒体资源,确定所述媒资资源属性;Receive screen projection media resources, and determine the attributes of the media resources;
    如果所述媒体资源属性为视频,则检测所述显示器的横竖屏状态,获取视频宽高比,以及判断所述视频宽高比和所述显示器的横竖屏状态的匹配情况,并根据所述匹配情况确定是否需要旋转所述显示器;If the media resource attribute is video, detect the horizontal and vertical screen status of the display, obtain the video aspect ratio, and determine the matching situation between the video aspect ratio and the horizontal and vertical screen status of the display, and determine the matching situation according to the matching Circumstances determine whether the display needs to be rotated;
    如果所述媒体资源属性为图片,则按照当前图像宽高比的原始比例填充屏幕进行显示。If the media resource attribute is a picture, the screen is filled and displayed according to the original aspect ratio of the current image.
  2. 根据权利要求1所述的显示设备,所述控制器被进一步配置为:The display device of claim 1, the controller is further configured to:
    当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转。当所述视频宽高比和所述显示器的横竖屏状态匹配,则直接显示在显示器上按照原比例适配屏幕,呈现所述视频内容。When the if the video aspect ratio does not match the horizontal and vertical screen states of the display, the display is driven to rotate. When the aspect ratio of the video matches the horizontal and vertical screen states of the display, it is directly displayed on the display to adapt the screen according to the original ratio to present the video content.
  3. 根据权利要求2所述的显示设备,所述控制器执行当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转,进一步被配置为:The display device of claim 2, wherein the controller executes to drive the display to rotate if the video aspect ratio does not match the horizontal and vertical screen states of the display, and is further configured to:
    获取视频宽高比在显示器上按照原比例适配整个屏幕进行显示播放;Obtain the aspect ratio of the video and adapt it to the entire screen according to the original ratio on the monitor for display and playback;
    当所述显示器旋转至于所述视频宽高比适配后,全屏显示所述视频画面。After the display is rotated so that the video aspect ratio is adapted, the video picture is displayed in full screen.
  4. 根据权利要求2所述的显示设备,所述控制器执行当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转,进一步被配置为:The display device of claim 2, wherein the controller executes to drive the display to rotate if the video aspect ratio does not match the horizontal and vertical screen states of the display, and is further configured to:
    获取所述视频的与所述显示器适配在旋转前的原始分辨率;obtaining the original resolution of the video that is adapted to the display before rotation;
    根据所述原始分辨率和所述显示器的全屏分辨率确定所述视频画面的缩放倍数;Determine the zoom factor of the video picture according to the original resolution and the full screen resolution of the display;
    监听所述显示器的旋转角度信息,根据所述旋转角度信息渐变缩放所述视频画面以保证最终全屏显示所述视频画面。Monitor the rotation angle information of the display, and gradually scale the video image according to the rotation angle information to ensure that the video image is finally displayed in full screen.
  5. 根据权利要求4所述的显示设备,所述控制器执进一步被配置为:The display device of claim 4, the controller is further configured to:
    初始分辨率为F1,全屏分辨率为F2,则所述视频画面在旋转过程中,需要放大F2/F1倍。监听到显示器从横屏旋转至竖屏的旋转角度,可将整个旋转过程按照旋转角度划分为90分份,每旋转一度,则放大(F2/F1)/90。If the initial resolution is F1 and the full screen resolution is F2, the video image needs to be enlarged by F2/F1 times during the rotation process. After listening to the rotation angle of the display from landscape to portrait, the entire rotation process can be divided into 90 parts according to the rotation angle, and each degree of rotation is enlarged (F2/F1)/90.
  6. 一种接收投屏内容的方法,应用于显示设备,包括:A method for receiving screencast content, applied to a display device, includes:
    接收投屏媒体资源,确定所述媒资资源属性;Receive screen projection media resources, and determine the attributes of the media resources;
    如果所述媒体资源属性为视频,则检测所述显示器的横竖屏状态,获取视频宽高比,以及判断所述所述视频宽高比和所述显示器的横竖屏状态是否匹配;If the media resource attribute is video, detecting the horizontal and vertical screen states of the display, obtaining the video aspect ratio, and judging whether the video aspect ratio matches the horizontal and vertical screen states of the display;
    如果所述媒体资源属性为图片,则按照当前图像宽高比的原始比例填充屏幕进行显示。If the media resource attribute is a picture, the screen is filled and displayed according to the original aspect ratio of the current image.
  7. 根据权利要求6所述的接收投屏内容的方法,包括:The method for receiving screencast content according to claim 6, comprising:
    当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转,当所述视频宽高比和所述显示器的横竖屏状态匹配,则直接显示在显示器上按照原比例适配屏幕,呈现所述视频内容。When the if the video aspect ratio does not match the horizontal and vertical screen status of the display, drive the display to rotate, and when the video aspect ratio matches the horizontal and vertical screen status of the display, it is directly displayed on the display The video content is displayed by adapting the screen according to the original ratio.
  8. 根据权利要求7所述的接收投屏内容的方法,所述当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转,还包括:The method for receiving screen projection content according to claim 7, wherein the driving the display to rotate if the video aspect ratio does not match the horizontal and vertical screen states of the display, further comprising:
    获取视频宽高比在显示器上按照原比例适配整个屏幕进行显示播放;Obtain the aspect ratio of the video and adapt it to the entire screen according to the original ratio on the monitor for display and playback;
    当所述显示器旋转至于所述视频宽高比适配后,全屏显示所述视频画面。After the display is rotated so that the video aspect ratio is adapted, the video picture is displayed in full screen.
  9. 根据权利要求7所述的接收投屏内容的方法,所述当所述若所述视频宽高比和所述显示器的横竖屏状态不匹配,则驱动所述显示器旋转,还包括:The method for receiving screen projection content according to claim 7, wherein the driving the display to rotate if the video aspect ratio does not match the horizontal and vertical screen states of the display, further comprising:
    获取所述视频的与所述显示器适配在旋转前的原始分辨率;obtaining the original resolution of the video that is adapted to the display before rotation;
    根据所述原始分辨率和所述显示器的全屏分辨率确定所述视频画面的缩放倍数;Determine the zoom factor of the video picture according to the original resolution and the full-screen resolution of the display;
    监听所述显示器的旋转角度信息,根据所述旋转角度信息渐变缩放所述视频画面以保证最终全屏显示所述视频画面。Monitor the rotation angle information of the display, and gradually scale the video image according to the rotation angle information to ensure that the video image is finally displayed in full screen.
  10. 一种非易失性存储介质,执行用于执行上述权利要求6~9所述的方法。A non-volatile storage medium performing the method for performing the above claims 6-9.
  11. 一种显示设备,包括:A display device comprising:
    显示器;monitor;
    旋转组件,被配置为带动所述显示器旋转,以使所述显示器处于横屏状态或竖屏状态中的一种旋转状态;a rotation component, configured to drive the display to rotate, so that the display is in a rotation state of a landscape screen state or a portrait screen state;
    用户接口,所述通信息被配置为连接到终端;a user interface, the communication is configured to connect to a terminal;
    控制器,被配置为:Controller, configured as:
    接收所述终端发送的图像信息,其中,当所述终端处于纵向模式时,所述图像信息包括有效信息和左、右黑色信息,所述有效信息对应于所述终端的屏幕显示内容;receiving image information sent by the terminal, wherein, when the terminal is in a portrait mode, the image information includes valid information and left and right black information, and the valid information corresponds to the screen display content of the terminal;
    若所述显示器的当前旋转状态与所述终端的纵向模式不匹配时,将所述显示器旋转至竖屏状态;If the current rotation state of the display does not match the portrait mode of the terminal, rotate the display to the portrait state;
    基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的。The display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by amplifying the valid information by a preset multiple.
  12. 根据权利要求11所述的显示设备,所述控制器被进一步配置为:The display device of claim 11, the controller is further configured to:
    若所述显示器的当前旋转状态与所述终端的纵向模式匹配,基于所述有效信息控制所述显示器呈现投屏画面。If the current rotation state of the display matches the portrait mode of the terminal, the display is controlled to present a screencast image based on the valid information.
  13. 根据权利要求11所述的显示设备,所述控制器判断所述显示器的当前旋转状态与所述终端的纵向模式是否匹配,被进一步配置为:The display device according to claim 11, wherein the controller determines whether the current rotation state of the display matches the portrait mode of the terminal, and is further configured to:
    获取所述显示器旋转角度回调信息;Obtain the display rotation angle callback information;
    根据所述图像信息确定所述显示器的目标旋转状态。A target rotation state of the display is determined based on the image information.
  14. 根据权利要求13所述的显示设备,所述控制器根据所述图像信息确定所述显示器的目标旋转状态,被进一步配置为:The display device of claim 13, wherein the controller determines a target rotation state of the display according to the image information, further configured to:
    如果接收到所述终端你发送的所述图像信息中包括左、右黑色信息,则确定所述显示器的目标旋转状态为竖屏状态;If it is received that the image information sent by the terminal includes left and right black information, it is determined that the target rotation state of the display is a vertical screen state;
    如果接收到所述终端你发送的所述图像信息中不包括左、右黑色信息,则确定所述显示器的目标旋转状态为横屏状态。If it is received that the image information sent by the terminal does not include left and right black information, it is determined that the target rotation state of the display is a landscape state.
  15. 根据权利要求11所述的显示设备,所述控制器执行基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的,进一步被配置为:The display device according to claim 11, wherein the controller controls the display to present a screen projection image based on the valid information, wherein the screen projection image is obtained by enlarging the valid information by a preset multiple, and is further Configured as:
    计算所述显示设备和所述有效信息的高度比例R H和宽度比例R WCalculate the height ratio RH and width ratio RW of the display device and the effective information,
    若R H>R W,则将所述有效信息放大R W倍,得到投屏画面; If R H > R W , then the effective information is enlarged by R W times to obtain a screen projection image;
    若R H<R W,则将所述有效信息放大R H倍,得到投屏画面。 If R H < R W , the effective information is enlarged by R H times to obtain a screen projection image.
  16. 根据权利要求13所述的显示设备,所述控制器被进一步配置为:The display device of claim 13, the controller is further configured to:
    计算所述投屏画面的旋转方向和旋转角度;所述投屏画面的旋转方向与所述显示器的转动方向相反;所述投屏画面的旋转角度与所述显示器的转动角度相等;Calculate the rotation direction and rotation angle of the screen projection image; the rotation direction of the screen projection image is opposite to the rotation direction of the display; the rotation angle of the screen projection image is equal to the rotation angle of the display;
    按照所述旋转方向和所述旋转角度旋转所述投屏画面。Rotate the projection screen according to the rotation direction and the rotation angle.
  17. 一种投屏方法,应用于显示设备,包括:A screen projection method, applied to a display device, includes:
    接收所述终端发送的图像信息,其中,当所述终端处于纵向模式时,所述图像信息包括有效信息和左、右黑色信息,所述有效信息对应于所述终端的屏幕显示内容;receiving image information sent by the terminal, wherein, when the terminal is in a portrait mode, the image information includes valid information and left and right black information, and the valid information corresponds to the screen display content of the terminal;
    若所述显示器的当前旋转状态与所述终端的纵向模式不匹配时,将所述显示器旋转至竖屏状态;If the current rotation state of the display does not match the portrait mode of the terminal, rotate the display to the portrait state;
    基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的。The display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by amplifying the valid information by a preset multiple.
  18. 根据权利要求17所述的投屏方法,包括:The screen projection method according to claim 17, comprising:
    若所述显示器的当前旋转状态与所述终端的纵向模式匹配,基于所述有效信息控制所述显示器呈现投屏画面,其中,所述投屏画面为所述有效信息放大预设倍数得到的。If the current rotation state of the display matches the portrait mode of the terminal, the display is controlled to present a screen projection image based on the valid information, wherein the screen projection image is obtained by magnifying the valid information by a preset multiple.
  19. 根据权利要求17所述的投屏方法,所述判断所述显示器的当前旋转状态与所述终端的纵向模式是否匹配,包括:The screen projection method according to claim 17, wherein the determining whether the current rotation state of the display matches the portrait mode of the terminal comprises:
    获取所述显示器旋转角度回调信息;Obtain the display rotation angle callback information;
    根据所述图像信息确定所述显示器的目标旋转状态。A target rotation state of the display is determined based on the image information.
  20. 根据权利要求19所述的投屏方法,所述根据所述图像信息确定所述显示器的目标旋转状态,包括:The screen projection method according to claim 19, wherein the determining the target rotation state of the display according to the image information comprises:
    如果接收到所述终端发送的所述图像信息中包括左、右黑色信息,则确定所述显示器的目标旋转状态为竖屏状态;If it is received that the image information sent by the terminal includes left and right black information, determine that the target rotation state of the display is a vertical screen state;
    如果接收到所述终端你发送的所述图像信息中不包括左、右黑色信息,则确定所述显示器的目标旋转状态为横屏状态。If it is received that the image information sent by the terminal does not include left and right black information, it is determined that the target rotation state of the display is a landscape state.
PCT/CN2021/103779 2021-03-19 2021-06-30 Display device, method for receiving screen projection content, and screen projection method WO2022193475A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110297114.7 2021-03-19
CN202110297114 2021-03-19

Publications (1)

Publication Number Publication Date
WO2022193475A1 true WO2022193475A1 (en) 2022-09-22

Family

ID=83321881

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/103779 WO2022193475A1 (en) 2021-03-19 2021-06-30 Display device, method for receiving screen projection content, and screen projection method

Country Status (1)

Country Link
WO (1) WO2022193475A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856385A (en) * 2023-02-06 2023-03-28 深圳市鼎阳科技股份有限公司 Oscilloscope, waveform display method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229370A1 (en) * 2011-03-11 2012-09-13 Cox Communications, Inc. System, Method and Device for Presenting Different Functional Displays When Orientation of the Device Changes
CN104020928A (en) * 2014-06-09 2014-09-03 联想(北京)有限公司 Image display method and device
CN110996175A (en) * 2019-11-19 2020-04-10 深圳创维-Rgb电子有限公司 Method, device and storage medium for controlling horizontal and vertical screen operation of television
CN111885314A (en) * 2020-08-26 2020-11-03 深圳市雷鸟网络传媒有限公司 Screen adjustment method, device, terminal and computer readable storage medium
CN211957067U (en) * 2020-05-20 2020-11-17 昆山龙腾光电股份有限公司 Display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229370A1 (en) * 2011-03-11 2012-09-13 Cox Communications, Inc. System, Method and Device for Presenting Different Functional Displays When Orientation of the Device Changes
CN104020928A (en) * 2014-06-09 2014-09-03 联想(北京)有限公司 Image display method and device
CN110996175A (en) * 2019-11-19 2020-04-10 深圳创维-Rgb电子有限公司 Method, device and storage medium for controlling horizontal and vertical screen operation of television
CN211957067U (en) * 2020-05-20 2020-11-17 昆山龙腾光电股份有限公司 Display device
CN111885314A (en) * 2020-08-26 2020-11-03 深圳市雷鸟网络传媒有限公司 Screen adjustment method, device, terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856385A (en) * 2023-02-06 2023-03-28 深圳市鼎阳科技股份有限公司 Oscilloscope, waveform display method and storage medium

Similar Documents

Publication Publication Date Title
CN112565839B (en) Display method and display device of screen projection image
WO2021179359A1 (en) Display device and display picture rotation adaptation method
WO2021212463A1 (en) Display device and screen projection method
WO2021179363A1 (en) Display device and boot animation display method
US11662971B2 (en) Display apparatus and cast method
CN113556593B (en) Display device and screen projection method
WO2022048203A1 (en) Display method and display device for manipulation prompt information of input method control
WO2021212470A1 (en) Display device and projected-screen image display method
CN114285985B (en) Method for determining preview direction of camera and display device
WO2022193475A1 (en) Display device, method for receiving screen projection content, and screen projection method
WO2021179361A1 (en) Display apparatus
CN113556591A (en) Display equipment and projection screen image rotation display method
CN111078926A (en) Method for determining portrait thumbnail image and display equipment
CN113556590B (en) Method for detecting effective resolution of screen-projected video stream and display equipment
CN113395600B (en) Interface switching method of display equipment and display equipment
WO2021218473A1 (en) Display method and display device
CN112243147B (en) Video picture scaling method and display device
CN112243148B (en) Display device and video picture scaling method
CN111949179A (en) Control amplifying method and display device
US20240179396A1 (en) Method and display apparatus for image processing
CN113497965B (en) Configuration method of rotary animation and display device
WO2021223517A1 (en) Display device
CN113497962B (en) Configuration method of rotary animation and display device
WO2022151662A1 (en) Display device
CN113825001B (en) Panoramic picture browsing method and display device

Legal Events

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

Ref document number: 21931059

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21931059

Country of ref document: EP

Kind code of ref document: A1