CN-115836528-B - Display equipment and screen projection method
Abstract
The application provides display equipment which comprises a display, a rotating assembly and a controller, wherein the controller is used for receiving image information sent by a terminal, when the terminal is in a longitudinal mode, the image information comprises effective information and left and right black information, the effective information corresponds to screen display content of the terminal, and the display is controlled to display a screen projection picture based on the effective information, wherein the screen projection picture is obtained by amplifying a preset multiple of the effective information.
Inventors
- SONG ZIQUAN
- PANG XIUJUAN
- WANG ZHIKUI
- YU YANMEI
- LI NAIJIN
Assignees
- 海信视像科技股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20210319
- Priority Date
- 20200424
Claims (10)
- 1. A display device, characterized by comprising: A display; a rotation assembly configured to rotate the display to cause the display to be in one of a landscape screen state or a portrait screen state; A user interface configured to communicate with the terminal via a screen-casting protocol; A controller configured to: When the display is in a horizontal screen state, receiving a screen-throwing video stream sent by the terminal based on a Miracast screen-throwing protocol, wherein the screen-throwing video streams of the terminal in a longitudinal mode and the terminal in a horizontal mode are both horizontal screen streams, and when the terminal is in the longitudinal mode, frame images in the screen-throwing video stream comprise effective images and left and right black images, wherein the effective images correspond to screen display contents of the terminal; analyzing the screen-throwing video stream, and if the image information of the screen-throwing video stream comprises effective information and left and right black information, determining that the terminal is in a longitudinal mode; And controlling the display to rotate to a vertical screen state, and controlling the display to display a screen projection picture after amplifying the effective information by a preset multiple, wherein the height of the screen projection picture is consistent with the length of the long side of the display.
- 2. The display device of claim 1, wherein the controller, after executing receiving the on-screen video stream sent by the terminal, the display executes: And extracting frame image resolution information in the screen-throwing video stream according to a preset rule, and performing color traversal on pixel points in the frame image, wherein a region which is black and rectangular in pixel color value representation is a black edge, and other regions are effective pictures.
- 3. The display device of claim 2, wherein the controller performs controlling the display to present a screen based on the effective information, wherein the screen is a preset magnification of the effective information, and is further configured to: Calculating a height ratio R H and a width ratio R W of the display device and the effective information, If R H >R W is R W times, the effective information is amplified to obtain a screen projection picture; and if R H <R W , amplifying the effective information by R H times to obtain a screen projection picture.
- 4. The display device of claim 1, wherein after receiving the on-screen video stream sent by the terminal, the controller is further configured to perform: extracting initial resolution from the screen-casting video stream, wherein the initial resolution is the overall resolution of frame images in the screen-casting video stream; Sampling the frame images in the screen-throwing video stream after extracting the initial resolution, and extracting the sampling resolution, wherein the sampling resolution is the resolution of an effective picture on the frame images extracted in the screen-throwing video stream according to a preset rule; Comparing the sampling resolution with the initial resolution; if the sampling resolution is consistent with the initial resolution, the screen projection picture does not contain a black picture; And if the sampling resolution is inconsistent with the initial resolution, indicating that the screen projection picture comprises a black picture.
- 5. A display device, characterized by comprising: A display; a rotation assembly configured to rotate the display to cause the display to be in one of a landscape screen state or a portrait screen state; A user interface configured to communicate with the terminal via a screen-casting protocol; A controller configured to: Receiving image information sent by the terminal based on a Miracast screen-throwing protocol, wherein the image information at least comprises effective information corresponding to screen display content of the terminal, and when the terminal is in a longitudinal mode, frame images in a screen-throwing video stream comprise the effective information and left and right black information, and the effective information corresponds to the screen display content of the terminal; Detecting whether the image information further comprises left and right black information according to a preset rule; If the image information also comprises the left black information and the right black information and the display is in a horizontal screen state, determining that the target rotation state of the display is a vertical screen state; And controlling the rotating assembly to rotate the display to a vertical screen state, and controlling the display to present a screen projection picture based on the effective information, wherein the screen projection picture is enlarged based on the image information or the effective information and is filled into the display to the maximum degree according to the aspect ratio of the effective information.
- 6. The display device according to claim 5, wherein the controller extracts resolution information for the image information to extract effective resolution in the image information after performing reception of the image information transmitted by the terminal.
- 7. The display device of claim 6, wherein the controller extracts resolution information for the image information to extract an effective resolution in the image information, further configured to: Traversing the colors of the pixel points in the image information, determining that the black and rectangular area is a black edge, and the other areas are effective information.
- 8. The display device of claim 7, wherein the controller performs controlling the display to present a screen based on the effective information, wherein the screen is a preset magnification of the effective information, further configured to: Calculating a height ratio R H and a width ratio R W of the display device and the effective information, If R H >R W is R W times, the effective information is amplified to obtain a screen projection picture; and if R H <R W , amplifying the effective information by R H times to obtain a screen projection picture.
- 9. The display device of claim 5, wherein after receiving the on-screen video stream sent by the terminal, the controller is further configured to perform: extracting initial resolution from the screen-casting video stream, wherein the initial resolution is the overall resolution of frame images in the screen-casting video stream; Sampling the frame images in the screen-throwing video stream after extracting the initial resolution, and extracting the sampling resolution, wherein the sampling resolution is the resolution of an effective picture on the frame images extracted in the screen-throwing video stream according to a preset rule; Comparing the sampling resolution with the initial resolution; if the sampling resolution is consistent with the initial resolution, the screen projection picture does not contain a black picture; And if the sampling resolution is inconsistent with the initial resolution, indicating that the screen projection picture comprises a black picture.
- 10. A screen projection display method of a display device comprises a display and a rotating assembly, wherein the rotating assembly is configured to drive the display to rotate so as to enable the display to be in one of a horizontal screen state and a vertical screen state, and the method is characterized by comprising the following steps: when the display is in a horizontal screen state, receiving a screen-throwing video stream sent by a terminal based on a Miracast screen-throwing protocol, wherein the screen-throwing video stream is in a horizontal screen stream when the terminal is in a longitudinal mode and the screen-throwing video stream is in a horizontal mode; analyzing the screen-throwing video stream, and if the image information of the screen-throwing video stream comprises effective information and left and right black information, determining that the terminal is in a longitudinal mode; And controlling the display to rotate to a vertical screen state, and controlling the display to display a screen projection picture after amplifying the effective information by a preset multiple, wherein the height of the screen projection picture is consistent with the length of the long side of the display.
Description
Display equipment and screen projection method The present application claims priority from chinese patent office, application No. 202010334727.9, application name "a display device and screen method" at 24 th month 4 of 2020, and priority from chinese patent office, application No. 202010331501.3, application name "a screen video stream effective resolution detection method and display device" at 24 th month 4 of 2020, all of which are incorporated herein by reference. Technical Field The application relates to the technical field of intelligent televisions, in particular to a display device and a screen projection method. Background The screen projection is the interactive operation of the terminal and the display equipment. Video streams are typically delivered using a wireless local area network to present pictures on a terminal device via a display device. Taking a mobile phone screen casting as an example, for a mobile phone and an intelligent television connected in the same WiFi network, a screen casting operation instruction can be executed through a mobile phone end so as to send pictures displayed by the mobile phone end to the intelligent television in a video stream mode, so that a large screen of the intelligent television is utilized, and better user experience is obtained. However, there is often a difference between the screen display ratio of a terminal such as a mobile phone and the screen ratio of a display device. For example, in normal operation, the aspect ratio of the screen display of the mobile phone is 1080:1940, and the aspect ratio of the display of the smart television is 1940:1080, that is, the picture of the mobile phone terminal is in a vertical state, and the picture of the smart television is in a horizontal state. Therefore, when the terminal picture is displayed through the smart television screen, the screen-casting picture is easy to be incapable of being displayed normally because the aspect ratio of the terminal picture is not matched with the aspect ratio of the display. In order to display the picture on the mobile phone completely, the picture needs to be scaled based on the height of the picture of the mobile phone. However, when the screen projection picture is scaled, the difference of the picture proportion can lead to that the two sides of the picture displayed by the intelligent television have larger black areas, so that the viewing experience of a user is reduced, and the display space on the screen is wasted. Disclosure of Invention The application provides display equipment and a screen projection method, which are used for solving the problem of wasting display space on a screen when the traditional display equipment displays a screen projection picture. In one aspect, the present application provides a display apparatus, comprising: A display; A rotation assembly configured to rotate the display to cause the display to be in one of a landscape screen state or a portrait screen state; A user interface, the communication information being configured to connect to a terminal; A controller configured to: Receiving image information sent by the terminal, wherein when the terminal is in a longitudinal mode, the image information comprises effective information and left and right black areas; If the current rotation state of the display is not matched with the longitudinal mode of the terminal, rotating the display to a vertical screen state; And controlling the display to display a screen projection picture based on the effective information, wherein the screen projection picture is obtained by amplifying the effective information by a preset multiple. On the other hand, the application also provides a screen projection method, which is applied to display equipment and is characterized by comprising the following steps: receiving image information sent by the terminal, wherein when the terminal is in a portrait mode, the image information comprises effective information and left and right black information, and the effective information corresponds to screen display content of the terminal; If the current rotation state of the display is not matched with the longitudinal mode of the terminal, rotating the display to a vertical screen state; And controlling the display to display a screen projection picture based on the effective information, wherein the screen projection picture is obtained by amplifying the effective information by a preset multiple. According to the technical scheme, the display device and the screen projection method provided by the first aspect of the application, the controller of the display can receive the image information sent by the terminal, the image information comprises effective information and left and right black information when the terminal is in a longitudinal mode, the display is rotated to a vertical screen state if the current rotation state of the display is not matched with the longitudinal mode of the terminal, and